Get ALL Number:Pass

How the phone:password pair extraction works

What the code does

  • Searches for all .txt files in the selected folder and subfolders.
  • Extracts possible phone numbers and passwords from each line.
  • Checks that the phone number matches the format +123456789 (7–16 digits)
  • and that the password is not empty, does not contain UNKNOWN, and is not longer than 100 characters.
  • Cleans the number (removes spaces and brackets).
  • Saves all found pairs to the temp.txt file via stream recording.
  • Works multithreaded to speed up processing.
  • Displays the progress and total number of records found.
  • Bad lines

  • Without separators (:, |, space).
  • Where the phone number does not match the format (+ and 7–16 digits).
  • Where the password is empty, too long, or contains UNKNOWN.
\

..