LP-Parser
is a Python script designed to parse login and password information from a list of websites.
The script can handle different date formats and offset values for URLs, checking for the existence of these URLs and extracting login & password credentials.
It's initially designed for Telegraph, but you can try some other websites, so free your imagination.
- Configurable via
settings.yml
- Checks URL availability and extracts login credentials
- Supports offset values for URL generation
- Outputs results in a structured YAML file
- Async proccessing
- Python 3.x
- Required packages listed in
requirements.txt
-
Download the release and extract the zip.
-
Go to the directory and install dependencies:
cd LP-Parser pip install -r requirements.txt
- websites_list: List of base URLs to parse.
- exceptions_list: List of emails to exclude from parsing.
- offset: Configure offset for URL generation.
- release_date: Specify if the release date filter should be used and which years to include.
- login_regex: Change what will count as a login, by default we have email.
- password_regex: Customize what will count as a password, by default we have password that contains digit.
offset:
offset: true
value: 3
release_date:
release_date: true
years:
- 2022
- 2023
websites_list:
- "https://example.com/login"
exceptions_list:
- "admin@example.com"
for_advanced_users:
login_regex: \S+@\S+\.\S+
password_regex: \S*\d\S*
-
Double-click the
run_lp_parser.bat
file to run the program. The following file consists this code:@echo off python lp_parser.py pause
-
Lookup a
run_lp_parser.sh
file with the following content:#!/bin/bash python lp_parser.py
-
Make the script executable:
chmod +x run_lp_parser.sh
-
Run the script:
./run_lp_parser.sh
The script generates an output file in the output folder with the parsed results, named based on the launch timestamp. The final file will look something like this:
login:
1. jakeiscool2006@mail.com
2. somelogin@email.com
password:
1. greatestpassword3
2. somepassword7
url:
1. https://example.com/login-01-03
2. https://example.com/login-01-07