This python script scrapes the auth.log file on your server, and finds any unauthorized IP addresses or failed authentications IP addresses. It will log the information into a csv file, and then conduct a reverse port scan on their IP address.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You will need
- Python 2.*
- PIP (Python Install Packages) - Link
A requirements.txt file has been provided for the installation of any necessary python packages onto your device.
pip install -r requirements.txt
These sections below will provide a detailed look on using the functions of the scripts.
For just port scanning without a given list, the command is:
python auth_port_scanner.py
You will be given two options:
- Scan your current device's ports
- Scan a device's port with a given IP address.
- Jimmy Le - JLDevops
This project is licensed under the MIT License - see the LICENSE.md file for details