Get ALL Mail:Pass
How the email pair extraction works
This code extracts login:password pairs from text logs, applying filtering by domains and string structure.
What the code does
- Filters domains — the user selects the mode: - exclude specified domains (blacklist), - collect only specified domains (whitelist), - or collect all e-mails.
- Searches for lines containing email addresses and passwords in
.txtfiles
located in the selected folder (and subfolders).
- Skips junk lines (without
@, with inappropriate length, too long
passwords, - Checks the email format using a regular expression.
- Displays statistics (number of lines, files, pairs found, and processing time).
- Those that do not contain
@. - Those without separators (
:,|, space). - Those where the email address does not validate against the
- Those with
UNKNOWNin the password. - With a password longer than 100 characters.
- That did not pass the domain filter (for example,
gmail.comis prohibited in
UNKNOWN, etc.).
The following lines are considered invalid
[email protected] template.