This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
'''Scraps DHCP4 leases form OPNsense status_dhcp_leases.php page | |
Forked from pletch/scrape_pfsense_dhcp_leases.py | |
https://gist.github.com/pletch/037a4a01c95688fff65752379534455f | |
''' | |
import sys | |
import re | |
import urllib3 |