![]() |
|
[.NET] Save Data on a EXE file VB6 - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Save Data on a EXE file VB6 (/showthread.php?tid=34164) |
Save Data on a EXE file VB6 - JapaBrz - Nov 8, 2008 [EDITED] the code might not work since i did on the browser if you have ever wondered how the keyloggers saves strings in the EXE(like email, port, address, etc) ill show how they do this: this requires: you know how to encrypt strings with crypting algs made by you you know what a client/server is 😶 you know some VB you know "string threading" first of all ill set the variables and funcs used in this sample: crypting() is the func to crypt the string decrypting() is the func to decrypt the string both is up to you to make 🙂 then a simple program, first open the EXE in read only binary view; Code open app.exename for binary shared as 1then put all the code in a variable and close the file : Code code=Input(LOF(1), #1)now you must search if there is already any data written on the file, if not, write your own data Code If InStr(1, data0, "japabrz") = 0 Thenthi will find the first ocurrency of the string in the code, if dont find any goes to adddata Code private sub adddata()Code Open App.Path + "\trojan.exe" For Binary As 1this will put a string on the last line of the EXE bin. then, if there is already data written on the code, means that there is something written there and you want to retrieve this code to do anything so this is the readdata sub: Code private sub readdata()do you remember the code var on the beggining of the code? that var is the full code, if found a header("japabrz") splits the string in to, the code before the header and the code after the header, the code after the header will be the string that you want, so to get the last bound of a array is Code yourString=variantvar(ubound(variantvar))this retrieves the code of your string that you already saved on the EXE. the main event is form_initiate(), before the form starts. this is the full code: Code dim code as string the crypting code is essencial to avoid reverse engineering by noobs, when make a trojan or something like this. a good reliable way that works on 99% of the skiddies is the ASC changing crypting, vry easy and simple, but still is "decryptable" by experts. thats it, you can even makes it better splitting the code in the middle and the end of the EXE! 🤗 🤝 - Mr Fool - Nov 8, 2008 Cool mate 👍 Thank you alot have nice day CyA 🤝 - nuMERO - Apr 2, 2009 Nice tutorial guy, I was really searching for this ! - Fallen - Apr 5, 2009 Awesome, this should help out many people [Bump for win] - H3LL - Apr 14, 2009 THIS IS DEFINITELY WHAT I WANT too happy to caps - H3LL - Apr 14, 2009 japabrz, a question here, why is there no app in vb8 isn't it the same? I guess i need to dl vb6 - SimplyIgnored - Apr 15, 2009 Thank's again, your tutorials always come in handy. I will sure give you a +rep. Judg3_m3ntal - Sketchy - Apr 15, 2009 (Apr 14, 2009 07:50 PM)H3LL Wrote: japabrz, a question here, why is there no app in vb8 isn't it the same? I guess i need to dl vb6 If your running vista it wont work And Jababrz can you make one in VB8 I know your really good at both langs. -Thanks Sry if I double posted(Back Button) - H3LL - Apr 18, 2009 I've used the wrong language basically =='' it's cool now... - 7h3r1pp3r - Apr 18, 2009 cool thanks for that. later. |