Solve challenges to get flags for a scorebot
Assignment 2 for Computer Networking course during the Spring Semester 2022 @ USI Università della Svizzera italiana.
- Aristeidis Vrazitoulis: [email protected]
- Marina Papageorgiou: [email protected]
- Diego Barreiro Perez: [email protected]
All code is properly documented with extensive inline and definition comments.
No specific installation instructions are required. Just install a Python 3
version.
To run a specific challenge, you may type the following command (where N
is a number between 1 and 10, specifying
the challenge number):
python client_N.py
To run and automatically submit a challenge's flag (bonus task),you may run the following command (replacing
incognito.guy
with the desired username, and N
with the challenge number):
python submit.py -u incognito.guy -c N
Alternatively, to run and submit all challenges, you may omit the -c
flag (it will execute challenges 1 to 10):
python submit.py -u incognito.guy
These are all the available options for the scorebot submitter:
PS C:\Github\NTW22-2> python submit.py -h
usage: submit.py [-h] -u USERNAME [-c [1-10]]
Scorebot Submitter
optional arguments:
-h, --help show this help message and exit
-u USERNAME, -U USERNAME, --username USERNAME
username of the user to which the flag(s) will be registered
-c [1-10], --challenge [1-10]
challenge of which the flag will be submitted (if none, it will submit all of them)
PS C:\Github\NTW22-2>