starzboy Posted January 24, 2009 Posted January 24, 2009 Hi, guys i am working on a self extracting project and i need some ideas.What i want to do:I have 2 files, File1 and file2.File1 will open file2 and add some data into file2. And when file2 is run, it will simply dump the data.What i need to know is that the size od data to be added is not specific, so what will be a better option:a. Add the data as overlayb. Add the data as a resourcePlease help.*If you have an example in asm, your most welcome.Thankyoustarzboy
GioTiN Posted January 25, 2009 Posted January 25, 2009 if you explain to me , i can help to you.you need in assembly or other programming languages ?Bye , GioTiN
Departure Posted January 25, 2009 Posted January 25, 2009 a file binder or similar is what you are proberly looking for, I have some delphi examples but are alot more detailed because it also crypts the file data before adding it and then decrypts it at runtime into memory instead of to HD.But what you need is something alot more simple, I suggest using resources to store the file to be exacted then all you really need is simple stub that will extract it from resource to given file path
starzboy Posted January 25, 2009 Author Posted January 25, 2009 Ah, thanx dude. I just wanted to know if overlay or resource will be better. So resource will be fine, done. And yes the data is crypted also before being added, the stub decrypts iy at runtime . cya starz
JMC31337 Posted May 15, 2010 Posted May 15, 2010 (edited) This post is a year old but i'll add what i have foundShockwaves Lab File Binder 1.0 is a good 1 that isnt trojaned all upHeres how it works:After you bind 2 exe files you will see 1) aquick cmd prompt open and close == THATS OUR NEWLY CREATED "BIG" EXE2) 1.exe opens up === Thats our 1st bounded app3) 2.exe opens up === Thats our 2nd bounded appHeres how it works in more detail:Take our first.exe and second.exe and create a big.exeHex editor shows 3 MZ and 3 PE headers1 for our main 2 for our 1st.exe3 for our 2nd exe"Drop" i use the term loosely our 1st.exe into LOCAL TEMP dir which is where 1.exe is storeddo the same for 2.exe and then our "MAIN" "BIG" exe executes 1.exe in TEMP and 2.exe in TEMPAlso, a txt file of each is createdIf previous bounded 1.exe 2.exe allready existed it will rename themMaybe we can write 1 ourselves somedayShock Labs File Binder v1.0.rari scanned it with Jotti and others and light is green trap is clean Edited May 15, 2010 by JMC31337
ragdog Posted May 15, 2010 Posted May 15, 2010 I think Microjoiner (Alex Demchenko) can this and is open source in masm32:^/>http://www.opensc.ws/attachments/asm/2541d1238597527-masm-micro-joiner-1-7-mj17src.zip
JMC31337 Posted May 15, 2010 Posted May 15, 2010 (edited) I think Microjoiner (Alex Demchenko) can this and is open source in masm32:^ />http://www.opensc.ws/attachments/asm/2541d1238597527-masm-micro-joiner-1-7-mj17src.zip whoooo let the dawgs out.... thats some bad *** code right there.... nice find... i was looking for a good 2-3 hours on a exe binder exe joiner.. i had notepad laced with a hello world placed at the EOF/TAIL and just couldnt get the sucker to go... then i tried to manually add PE headers and sections... and finally realized.... thnx for your help man i love that ALT2600 Oscar2000 MASM32 look n' feel in programs..Put a lil midi music in their and jam on out Edited May 15, 2010 by JMC31337
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now