Dec 15, 2012 06:45 AM
(This post was last modified: Dec 15, 2012 06:48 AM by Hydra_.)
[img]http://s4.postimage.org/5ftaj2zrb/Hello_HF_2_copy.png[/img]
[img]http://s16.postimage.org/nltoy9fb9/File_Binder.png[/img]
[img]http://s16.postimage.org/nltoy9fb9/File_Binder.png[/img]
It's been a long time guys since I made a thread here and a long time since I coded in python, just helping the guys. But here I am making something basic but I hope it's helpful for someone, or maybe it inspires someone 😉.
Let's begin ..
The idea is explained by the following image
Open Me :D (Click to View)
Explaining:
The main script will do the following tasks:
- Takes the location of the file no.1 you want to bind.
- Takes the location of the file no.2 you want to bind.
- Takes the the Name of the binded file (the final file after binding)
- Takes the location of the icon for the binded file (without .ico extension, it'd be added automatically by the script)
- Read file#1 and encode the read bytes to hex, then save them to a variable
- Read file#2 and encode the read bytes to hex, then save them to a variable
- Then comes the part of CREATING the other python file:
- This script will have two variables contains the bytes of the the two files you want to bind, and first it has some code to Hide this script when it runs.
- Then the part which will create files we binded.
- Then the part which will RUN the binded files.
- This script will have two variables contains the bytes of the the two files you want to bind, and first it has some code to Hide this script when it runs.
- After that, the main script will convert the SECOND (created) python script to exe via pyinstaller module with upx compression, then you have your files binded ✌
SOURCE: http://pastebin.com/cvC7548G
Download package: http://www.mediafire.com/?kd1aimbab3la4w6
The package contains: (Click to View)
Important Note
This script is a basic one, but maybe it teaches someone something he wasn't aware of, maybe it inspires someone with something. You are free to modify and edit the script. But, don't forget to give me the Credits 🙂
Any Question? just post and I will reply. Any help Post or PM me 😅
🤝 I hope you Enjoy this thread 🤝



![[Image: TQjiRHy.png]](https://i.imgur.com/TQjiRHy.png)