Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WebClient wc = new WebClient();//strings the webclient to wc
- String program = "test";//ur exe name or what ever ur downloading
- String link = "https://pastebin.com/raw/b7NzBUWT";//ur link in RAW
- String download = wc.DownloadString(link);//reads the data of the link
- String path = @"Exploit\" + program + ".txt";//change the txt to exe or what ever u wanna auto download
- String patch = (@"Exploit");//strings directory name
- Directory.CreateDirectory(patch);//creates the directory.
- wc.DownloadFile(download, path);//downloads the actual file
- Process.Start(path);//it will only start ur exploit if its only one exe file and not a folder or a rar it has to be exe.unless u want it to open the folder or the rar file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement