Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 623 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 623 Bytes

dhcpfingerprint

Identifiy Device type, vendor and OS using sniffed DHCP messages. Update NeDi nodes ... Requires mysqlconnector and scapy.

Can be run as a service using systemctl ... copy script to /opt/scripts/dhcpfingerprint.py

Create a file ... vim /etc/systemd/system/dhcpfingerprint.service

[Unit]
Description=DHCP Fingerprint for NeDi
After=syslog.target network.target

[Service]
Type=simple
ExecStart=/opt/scripts/dhcpfingerprint.py
User=root
#Restart=on-failure
Restart=always
RestartSec=60

[Install]
WantedBy=multi-user.target

systemctl enable dhcpfingerprint systemctl start dhcpfingerprint

done