- 0
How-To write an exe packer in VB ?
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By Paul1979UK · Posted
I agree and AMD have done very little to shake up the gpu market, if Intel gets back in the game, I hope it could be a boost to the apu market as AMD are in the lead but the pricing is crazy high. -
By pmrd · Posted
Oh no, god forbit you put actual effort into your work. -
By pmrd · Posted
That's the most insane thing anybody has ever said -
By Usama Jawad96 · Posted
OpenAI asks employees to reject Meta's "ridiculous" poaching offers in stern memo by Usama Jawad OpenAI is the place to be right now, especially for prolific engineers who are willing to join CEO Sam Altman in the quest for Artificial General Intelligence (AGI). It seems that its rivals have recognized that OpenAI's biggest strength is its employees too, and there have been multiple reports that Meta is poaching its staffers. In fact, Altman himself mentioned recently that Meta is hiring his company's members by offering them up to $100 million in signing bonuses. The company obviously isn't pleased with this situation and has asked its staffers in an internal memo to reject any advances from Meta in the weeks to come. Wired (paywall) reports that OpenAI's Chief Research Officer Mark Chen has published a memorandum in the company's Slack, likening the poaching situation to someone breaking into OpenAI's home and stealing from them. Chen further stated that he will be working with senior leadership including Altman to figure out ways to reward employees with Meta offers in hand with financial compensation and even adjust their overall compensation figures. That said, the executive emphasized that his primary aim is to retain top talent. Chen also quoted messages from seven other senior members of OpenAI's research team with guidance about how to tackle the situation if Meta tries to hire them. One of the advice included asking Meta recruiters to back off if they try to pressurize them with "ridiculous" offers. It is important to note that OpenAI employees have reportedly been struggling with intensive 80-hour work-weeks recently and the company will largely experience a shutdown period next week so that its staffers can recharge. OpenAI believes that this period is also vulnerable for its members as Meta will likely ramp up its hiring efforts during this break. Chen reminded OpenAI employees that they should focus on their main quest, which is achieving AGI, and that confrontations with Meta during this difficult period are just side quests. It is unclear how responsive OpenAI staffers will be to the memo's instructions in the coming days, especially when stacking it up against the reported multi-million compensation offers from Meta. Zuckerberg is even reaching out to some OpenAI employees personally, with the most recent report indicating that Meta had hired four senior OpenAI researchers for its superintelligence lab. -
By margrave · Posted
Everyone should just drop javascript anyway
-
-
Recent Achievements
-
Primey_ went up a rank
Community Regular
-
Gromvar earned a badge
Reacting Well
-
BreakingBenjamin earned a badge
Dedicated
-
Hartej earned a badge
Week One Done
-
TsunadeMama earned a badge
One Year In
-
-
Popular Contributors
-
Tell a friend
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