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.
- Host: GitHub
- URL: https://github.com/rany4h/log-analyzer
- Owner: Rany4h
- Created: 2025-04-03T20:00:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-03T20:45:38.000Z (about 1 year ago)
- Last Synced: 2025-04-09T16:16:13.531Z (about 1 year ago)
- Topics: analyzer, cybersecurity, log, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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