Last active
August 29, 2015 14:06
-
-
Save breakersall/f966fc4e25ba9b231c30 to your computer and use it in GitHub Desktop.
Parse facebook namelist into usable lists for username bruteforcing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#First.Last | |
$Unamestream = new-object System.IO.StreamWriter("names.txt") | |
$FNames = Get-Content fname_10.txt | |
$LNames = Get-Content lname_10.txt | |
foreach ($FName in $FNames) | |
{ | |
foreach ($LName in $LNames) | |
{ | |
$Name = "$FName" + "." + "$LName" | |
$Unamestream.WriteLine($Name) | |
} | |
} | |
$Unamestream.Close() | |
#FirstInitial_Lastname | |
$unameStream = new-object System.IO.StreamWriter("unames.txt") | |
[array]$letters = "a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z" | |
$lastnames = get-content lastnames.txt | |
foreach ($letter in $letters) | |
{ | |
foreach ($lastname in $lastnames) | |
{ | |
$uname = "$letter + $lastnames" | |
$unameStream.WriteLine($uname) | |
} | |
} | |
$unameStream.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment