Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 6 days ago
JSON representation

remote network security utility in python using TCPdump and Nmap for raspberry pi.

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:



  1. 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.

  2. cd into the "server" directory and add your client computer's IP address to the allow list (allow.txt)

  3. 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

  4. go over to your client host and clone the repo there too (if you havent already).

  5. 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.