This file contains hidden or 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 | |
""" | |
This module is used for checking IP GeoLocations of users. | |
Install Pandas and Requests beforehand via: `pip install pandas requests` | |
Also remember to enter your API key in line 26. | |
Sample Command: | |
$ sudo journalctl -u xray --since "5 min ago" | grep "admin" | cut -d " " -f 6,7,8 | python3 ip.py - |
This file contains hidden or 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.10 | |
""" | |
This module is used for detecting motion, and then recording, streaming and sending an SMS. | |
Install packages beforehand via: `pip install khayyam pytz requests opencv-python` | |
FFmpeg is required for streaming, and it should be in your PATH. | |
Remember to fill in these items: | |
- streaming link: line 66 | |
- SMS sender and receivers numbers: line 69 |
OlderNewer