Skip to content

Python script that scrapes the auth.log file on your server, and finds any unauthorized IP addresses or failed authentications IP addresses. A port scan will be conducted on the IP addresses.

License

Notifications You must be signed in to change notification settings

JLDevOps/Auth-Port-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth-Port-Scanner

Build Status

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.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You will need

  1. Python 2.*
  2. PIP (Python Install Packages) - Link

Installing

A requirements.txt file has been provided for the installation of any necessary python packages onto your device.

pip install -r requirements.txt

How Do I

These sections below will provide a detailed look on using the functions of the scripts.

Port Scanning

For just port scanning without a given list, the command is:

python auth_port_scanner.py

You will be given two options:

  1. Scan your current device's ports
  2. Scan a device's port with a given IP address.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Python script that scrapes the auth.log file on your server, and finds any unauthorized IP addresses or failed authentications IP addresses. A port scan will be conducted on the IP addresses.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages