allows to perform packet capture and download of pcap over the network from a remote device using TCPdump as well as perform some general Nmap scans
- TCPdump and Nmap (serverside)
- Tcl/tk support (clientside)
- clone this repo to the IOT device of your choosing (that supports python and has tcpdump installed) *note this was originally designed and tested on a raspberry pi 4.
- cd into the "server" directory and add your client computer's IP address to the allow list (allow.txt)
- run
python3 server.py --addr host:port --interface [scan_interface]
to make the server start listening and initiate its scan interface -- use '' or \* to run the server on all interfaces - go over to your client host and clone the repo there too (if you havent already).
- from there, cd into the client directory and run
python3 client.py --addr [host]:[port] --cmd [CMD] [options...]
where [host] and [port] are that of the server, and [CMD] is the command you wish to run, and [options...] are the required (or optional) flags whose requirement vary depending on what is provided as [CMD]. see -h for usage.