win32 汇编打造 wget 体积3kb

.386.MODEL flat, stdcallOPTION CASEMAP:NONEInclude windows.incinclude kernel32.incinclude user32.incInclude masm32.incInclude shell32.incInclude Comctl32.incInclude oleaut32.incInclude macros.asmincludelib kernel32.libincludelib user32.libIncludeLib masm32.libIncludeLib shell32.libinclude masm32rt.incinclude urlmon.incincludelib urlmon.lib.dataHelloMsgDB “[*] WgetEx 1.0 By Yaseng “, 0 szDownInfoDB ‘[+] start ownload url:%s file:%s’,00Ah, 00Dh,0.codeStart:call maininvoke ExitProcess, 0main procLOCAL szUrl[260]:BYTELOCAL szFileName[260]:BYTELOCAL buffer[260]:BYTEprint SADD(“[*] WgetEx 1.0 By Yaseng “,13,10)sub eax,eaxinvoke GetCL,1,ADDR szUrl.if eax != 1print SADD(“[-] url parameter is missing”,13,10)call helpret.endifinvoke GetCL,2,ADDR szFileName.if eax != 1print SADD(“[-] file parameter is missing”,13,10)call helpret.endifinvoke wsprintf,addr buffer,addr szDownInfo,addr szUrl,addr szFileNameinvoke StdOut,addr bufferinvoke URLDownloadToFile,0,addr szUrl,addr szFileName,0,0invoke exist,ADDR szFileName.if eax != 1print SADD(“[-] download av failed !!! “,13,10).elseprint SADD(“[+] download av succeed !!! “,13,10).endifretmain endphelp procprint SADD(“[*] WgetEx :Thunderbolt Download program”,13,10)print SADD(“[*] Usage :WgetEx av.rmvb”,13,10)rethelp endpEnd Start

,世上再美的风景,都不及回家的那段路。

win32 汇编打造 wget 体积3kb

相关文章:

你感兴趣的文章:

标签云: