santiago-mooser / PiScan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incomplete PiScan Application

Current structure when installed:

πŸ“ install Dir (/usr/bin/ by default)

Contains all scripts in this structure:

  • πŸ“ /usr/bin/bash | contains all Bash scripts
    • runtcpdump.sh | Runs tcpdump every 5.5 seconds for 15 seconds as a background process on wlan0 and instructs the process to kill itself once finished
    • tcpdumpchanhop.sh | Hops channels of wlan0 for tcpdump
    • tcpdumpsetup.sh | Sets up wlan0 interface to monitor mode and creates folders for scan session (format: "day{#}")

πŸ“ /temp/PiScan | contains all temporary files

* :file_folder: **/temp/PiScan/logs**

πŸ“ System service dir (must be /lib/systemd/system/) | contains systemd description files

* tcpdump.service             |   runs runtcpdump.sh continuously
* tcpdumpchanhop.service      |   runs tcpdumpchanhop.sh continuously
* tcpdumpsetup.service        |   runs tcpdumpsetup.sh once

About


Languages

Language:Shell 83.5%Language:Makefile 16.5%