Dark_Injector is a handy little tool made for injecting your own code into a darkbasic professional exe. What's cool is that the code runs right after the exe starts up. This makes it super useful for anyone working with DarkBasic Professional.
If you're here searching for a generic dll injector, then this might not be what you need. Dbpro exes, which are created using DarkBasic Professional, come as regular executables with some extra data added at the end. The main part of these exes is quite similar across different versions, whether they're normal, compressed, or have a .pck file attached.
Now, when you're dealing with a compressed exe, it checks for an appended file named compress.dll. Once it finds that, it goes ahead and extracts it. After that, the program calls something called decompress_block function. This function gets a pointer to the rest of the appended data and its size. The magic happens when compress.dll decompresses this data and sends back a pointer to the decompressed stuff to the dbpro exe.
This is where you can shine! If you inject your own version of compress.dll, then when the dbpro exe runs, it will extract your dll instead and use its own compress_block function. You can then send back the already decompressed data so everything starts up just fine. Plus, if things go south, you could also return 0 to tell dbpro that there's an error and gracefully exit without making a fuss.
This tool mainly shines when used to inject something like a friendly version check for DirectX. But really, you can do all sorts of things with this injection method as long as it's done quickly after the exe kicks off.
If you're interested in exploring more about Dark Injector here!
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.