mirror of
https://github.com/brmlab/BLIT.git
synced 2025-06-07 11:23:59 +02:00
Installation of NeNe-discovery documentation
This commit is contained in:
parent
30516af733
commit
8972a734f7
2 changed files with 7 additions and 1 deletions
|
@ -5,6 +5,8 @@ chmod 755 /usr/local/sbin/notify-arp-neighbours.sh
|
|||
cp netiface-default.py /usr/local/bin/;
|
||||
chmod 755 /usr/local/bin/netiface-default.py
|
||||
|
||||
# Install Python netifaces , this command may be different for you
|
||||
pip install netifaces
|
||||
cp notify-send-as-root-MSG-permanent.sh /usr/local/bin/;
|
||||
chmod 755 /usr/local/bin/notify-send-as-root-MSG-permanent.sh
|
||||
|
||||
|
@ -20,6 +22,9 @@ apt-get install arp-scan
|
|||
cp arp-localnet.sh /usr/local/bin/;
|
||||
chmod 755 /usr/local/bin/arp-localnet.sh
|
||||
|
||||
# Edit value of LOGFILE, if you want to keep logs
|
||||
editor /usr/local/bin/arp-localnet.sh
|
||||
|
||||
cp notify-arp-neighbours /etc/network/if-up.d/
|
||||
|
||||
* reconnect your network and you should receive and notification about your network neighbours
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
IFACE_DEFAULT="$(/usr/local/bin/netiface-default.py)"
|
||||
DATE="$(date +%Y-%m-%d--%H:%M)"
|
||||
LOGFILE="/home/LEAKS/wifi/arp-scan/${DATE}-${IFACE_DEFAULT}.log"
|
||||
LOGFILE="/dev/null"
|
||||
#LOGFILE="/home/LEAKS/wifi/arp-scan/${DATE}-${IFACE_DEFAULT}.log"
|
||||
|
||||
/usr/bin/arp-scan --interface=${IFACE_DEFAULT} --localnet|tee "${LOGFILE}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue