You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: metasploit/README.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,10 @@ Basic options:
37
37
---- --------------- -------- -----------
38
38
PARAMETERS no Parameters to pass to the script
39
39
PASSWORD um1xipfws17nkw1bi1ma3bh7tzt4mo3e no Password to encrypt and obfuscate the script (randomly generated). The length must be 32B. If no password is set, only base64 will be used
40
-
.
41
-
PEASS_URL https://raw.githubusercontent.com/peass-ng/PEASS-ng/master/winPEAS/wi yes Path to the PEASS script. Accepted: http(s):// URL or absolute local path. Linpeas: https://raw.githubusercontent.com/peass-ng/PEASS-ng
Copy file name to clipboardExpand all lines: metasploit/peass.rb
+10-3
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@ def initialize(info={})
37
37
))
38
38
register_options(
39
39
[
40
-
OptString.new('PEASS_URL',[true,'Path to the PEASS script. Accepted: http(s):// URL or absolute local path. Linpeas: https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh',"https://github.com/peass-ng/PEASS-ng/releases/latest/download/winPEASany_ofs.exe"]),
40
+
OptString.new('WINPEASS',[true,'Which PEASS script to use. Use True for WinPeass and false for LinPEASS',true]),
41
+
OptString.new('CUSTOM_URL',[false,'URL to download the PEASS script from (if not using the default one). Accepts http(s) or absolute path. Overrides the WINPEASS variable','']),
41
42
OptString.new('PASSWORD',[false,'Password to encrypt and obfuscate the script (randomly generated). The length must be 32B. If no password is set, only base64 will be used.',rand(36**32).to_s(36)]),
42
43
OptString.new('TEMP_DIR',[false,'Path to upload the obfuscated PEASS script inside the compromised machine. By default "C:\Windows\System32\spool\drivers\color" is used in Windows and "/tmp" in Unix.','']),
43
44
OptString.new('PARAMETERS',[false,'Parameters to pass to the script',nil]),
0 commit comments