An open API service indexing awesome lists of open source software.

https://github.com/rany4h/log-analyzer

A simple Python script to analyze failed SSH login attempts from log files.
https://github.com/rany4h/log-analyzer

analyzer cybersecurity log python

Last synced: about 1 year ago
JSON representation

A simple Python script to analyze failed SSH login attempts from log files.

Awesome Lists containing this project

README

          

# Hi, I'm Ranyah 👋
🎓 **Cybersecurity & Digital Forensics Student** | Ethical Hacking Enthusiast
🔍 Passionate about **penetration testing, digital forensics, and secure software development**
📚 Currently preparing for **eJPT** and **Security+**
🚀 Working on **cybersecurity projects**

---

## 🔍 Log File Analyzer for Security Events

### 📌 Overview
This is a **simple Python script** that analyzes system logs to detect **failed login attempts**.
It extracts **IP addresses** from SSH login failures and counts how often each IP appears.

### 🚀 How to Use
1. **Upload your system log file** as `syslog.txt`.
2. **Run the script** using:
```bash
python log_analyzer.py
3. The script will output a list of IPs with the highest failed login attempts.

### 🛠️ Requirements
Python 3.x

Basic knowledge of system logs

### 📂 Files in this Repository
log_analyzer.py → The main Python script

syslog.txt → Sample system log file for testing

README.md → Documentation

### 🔗 Connect with Me
💼 [LinkedIn](https://www.linkedin.com/in/ranyah-alzahrani?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3B3aVNMNneRse2QiqelGeSBQ%3D%3D) | 📧 Email: Ranyahalzahrani@outlook.com