https://github.com/fefe33/raspberrypi-remote-capture
remote network security utility in python using TCPdump and Nmap for raspberry pi.
https://github.com/fefe33/raspberrypi-remote-capture
iot-application pcap python3 raspberry-pi-4 remote-packet-capture tcp-client tcp-server tcpdump-capture
Last synced: 3 months ago
JSON representation
remote network security utility in python using TCPdump and Nmap for raspberry pi.
- Host: GitHub
- URL: https://github.com/fefe33/raspberrypi-remote-capture
- Owner: fefe33
- Created: 2024-06-05T03:50:40.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T21:07:29.000Z (11 months ago)
- Last Synced: 2024-12-29T09:42:26.626Z (5 months ago)
- Topics: iot-application, pcap, python3, raspberry-pi-4, remote-packet-capture, tcp-client, tcp-server, tcpdump-capture
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## remote capture application
what it does
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
requirements
- TCPdump and Nmap (serverside)
- Tcl/tk support (clientside)
setup/use:
- 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.