-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Starting the Server
garsh1 edited this page Oct 27, 2020
·
4 revisions
- Open up a terminal, or command prompt, and navigate to your BYOB folder (ex.
cd desktop/byob-master/byob
)
- The syntax is
python server.py --host YourIp --port YourPort
- A simple command to start the server would be
python server.py 192.168.1.1 --port 8080
where 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, generate the payload, and port forward.
-
TIP: if your payloads aren't able to connect to your server, try running the server without specifying the
--host
argument (allowing it to default to 0.0.0.0)
-
--help
Shows a help message and exits (ex.python server.py 192.168.1.1 --port 8080
) -
--host
assigns an External IP Address to the server. (ex.python server.py --host 192.168.1.1 --port 8080
) -
--port
assigns a certain port to the server. Must be the same as the one used to create the payload (ex.python server.py --host 192.168.1.1 --port 8080
) -
--database
SQLite database (ex.python server.py --database YourDataBaseHere --host 192.168.1.1 --port 8080
) -
--debug
additional logging (ex.python server.py --debug --host 192.168.1.1 --port 8080
) -
--version
show program's version number and exit (ex.python server.py --version --host 192.168.1.1 --port 8080
)