LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-06-2006, 06:24 AM   #1
uma_mahesh_2005
Registered User
 
Registered: Mar 2006
Posts: 9

Rep: Reputation: 0
Security threat with the echo command


Is the following command show the password of the current user?
echo '82 43/25 43+65p80p82p73p76p32p70p79p79p76p10p' | dc
 
Old 04-06-2006, 06:57 AM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Doesn't seem to, no - at least not in Ubuntu.
 
Old 04-06-2006, 07:03 AM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
dc is an old unix command line calculator; haven't seen that installed on any linux distro. The echo string is in the type of format that dc would accept as input. Since that is what is being piped into dc, it is, if anything, a security issue with dc, not echo. I can't test it since I don't have dc installed on any linux system but I seriously doubt it will give you the current user's password.
 
Old 04-06-2006, 07:08 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
April Fools Day joke. The original post says if you run this as root it would give root password.
* Sure you run unknown stuff inside Qemu, right? With -loadvm the system's up from zero to cli in 3 secs...

Last edited by unSpawn; 04-06-2006 at 07:12 AM. Reason: //Promote safe(r) testing
 
Old 04-06-2006, 08:26 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Code:
debian:~/bin# echo '82 43/25 43+65p80p82p73p76p32p70p79p79p76p10p' | dc
65
80
82
73
76
32
70
79
79
76
10
debian:~/bin#
(still alive)
 
Old 04-06-2006, 08:38 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Yr sposed to do this as root account user. The OP just didnt post the full joke.
 
Old 04-06-2006, 08:45 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Yes it was as root,
but since then it has rebooted by itself,
pretty effective
 
Old 04-06-2006, 11:50 AM   #8
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
Interesting. Scary, but interesting.
 
Old 05-04-2006, 06:14 AM   #9
foreverursabhi
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
This produces an output - APRIL FOOL! Somebody please tell me how.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is LimeWire a security threat? BajaNick Linux - Security 3 01-08-2006 02:37 AM
Security threat or automated system - pam_unix?? OmnipotentOscar Linux - Newbie 3 02-23-2005 05:23 PM
Limewire a security threat? JCdude2525 Linux - Security 2 02-06-2005 09:25 AM
rm command : how to minimize threat ? _UnPrEdictAbLe_ Linux - General 2 11-03-2004 07:05 PM
Is this a security threat? ifm Linux - Security 3 06-14-2002 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration