Hack Forums
Help with stub and builder c++ - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Blackhat • Red Team • Offensive Security (https://hackforums.net/forumdisplay.php?fid=447)
+---- Forum: Cryptography, Encryption, and Decryption (https://hackforums.net/forumdisplay.php?fid=126)
+---- Thread: Help with stub and builder c++ (/showthread.php?tid=5888639)



Help with stub and builder c++ - shanoo - Sep 25, 2018

I am trying to code a basic stub and builder but i really cant figure out why im getting this wrong. From what ive been reading the data is attached to the end of the stub right but when I build the final exe with stub and data appended it says this app can not run on this pc


Sources ive looked at :

https://genesisdatabase.wordpress.com/20...using-eof/

https://www.youtube.com/watch?v=gb_xkgxGM68&t=274s

My source code : https://pastebin.com/zTjAqFUG

Can anyone guide me in the right direction


RE: Help with stub and builder c++ - 3DES - Sep 25, 2018

Add resource or section, appending data is shit


RE: Help with stub and builder c++ - Jean-Jacques Rousseau - Sep 26, 2018

Sections / resources are the way to go.


RE: Help with stub and builder c++ - shanoo - Sep 26, 2018

Thanks guys , that is the next step but i was just making sure i got the basic down

Found the issue