- In the extension bar, click the AdBlock Plus icon
- Click the large blue toggle for this website
- Click refresh
- In the extension bar, click the AdBlock icon
- Under "Pause on this site" click "Always"
- In the extension bar, click on the Adguard icon
- Click on the large green toggle for this website
- In the extension bar, click on the Ad Remover icon
- Click "Disable on This Website"
- In the extension bar, click on the orange lion icon
- Click the toggle on the top right, shifting from "Up" to "Down"
- In the extension bar, click on the Ghostery icon
- Click the "Anti-Tracking" shield so it says "Off"
- Click the "Ad-Blocking" stop sign so it says "Off"
- Refresh the page
- In the extension bar, click on the uBlock Origin icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the uBlock icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the UltraBlock icon
- Check the "Disable UltraBlock" checkbox
- Please disable your Ad Blocker
- Disable any DNS blocking tools such as AdGuardDNS or NextDNS
- Disable any privacy or tracking protection extensions such as Firefox Enhanced Tracking Protection or DuckDuckGo Privacy.
If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).
Question
u.jerks
Well, first... an exe packer/wrapper is a program that packs an exe file in a third party exe. Just like zip files with the exception that the archive will be an exe file and that the third party exe can automatically extract/unpack the first (packed file) to memory (RAM) without even extracting it to disk first. If you don't understand a word of what i am saying then just go to www.aspack.com and find out! (aspack is a very famous and powerful exe wrapper/packer but it is written in delphi).
The whole meaning of this post is to brainstorm about designing an exe wrapper/packer in VB! It may be impossible to write one in VB but we are gonna find out soon enough! (i hope!). I have thought of lots of ideas but the most of them suck so i will explain the best one till now.
exe(1) = exe that we wanna pack in our packer
exe(2) = our packer
So, my thinking is to open the exe(1) in binary... read all the bytes and add them in an array... afterwards we will use a compression methode on the array, (so we can minimize the size of our data) and then add the compressed array in exe(2). So far so good! Now exe(2) after execution must read the added compressed data from its self; load them up in an array... decompress the data and write them to memory (RAM). My difficulty was (and still is :huh: ) - how - can we write it to memory and executing afterwards! (cause we wanna execute it after extraction) anyway, i have ended to the solution to use an api call to write our decompressed array to memory. ("Private Declare Function WriteProcessMemory Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
"). But the question is... would that work? I've been too busy lately to try this and of course TOO lazy! :shifty:
I hope we can end up at a possible solution of this "exe wrapper/packer" soon! or we can just admit that VB is not able to write such programs! but I'm almost 100% sure that there - must - be a way to write this proggie in VB.
By the way... all the exe wrappers/packers I've seen or heard ar written in delphi, assembly or C/C++.
cheerz,
-thelord
Link to comment
https://www.neowin.net/forum/topic/147713-how-to-write-an-exe-packer-in-vb/Share on other sites
8 answers to this question
Recommended Posts