The function responsible for handling commands compares each command received from C2 with one of the following strings:
- TCP
- HTTPSTOMP
- VSE
- HEX
- STD
- VOX
- NFO
- UDP
- UDPH
- R6
- FN
- OVHKILL
- NFOKILL
- STOP
- Stop
- stop
Then, based on the results, it performs several validation checks on its arguments before executing the actual command.
Commands Supported by SBIDIOT
TCP
The TCP command asks the bot to send TCP segments destined for a specified host/port combination for a specified interval of time. Additionally, it allows the operator to set a number of optional TCP flags.