Quantcast
Channel: Simple Password – LeakedIn
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

$
0
0
Detected 3 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: e]::ReadAllBytes('D:\MyFile.xml')n$contentsnInvoke-Command -ComputerName ComputerName -Credential $Cred {[IO.File]::WriteAllBytes('D:\MyFile.xml',$using:contents)}") result = CSharpObject.RunPowerShell(ps_script) string script = "$Username = 'User'n$Password = 'user'n$Usernamen$SecurePass = ConvertTo-SecureString -AsPlainText $Password -Forcen$Cred = New-Object System.Management.Automation.PSCredential -ArgumentList $Username,$SecurePassn$contents = [IO.File]::ReadAllBytes('D:\MyFile.xml')nInvoke-Command -ComputerName Source: http://pastebin.com/raw.php?i=hnZmb6Zq

Viewing all articles
Browse latest Browse all 2663

Trending Articles