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: lib/msf/core/payload/adapter/fetch/linux_options.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@ def initialize(info = {})
3
3
super
4
4
register_options(
5
5
[
6
-
Msf::OptEnum.new('FETCH_COMMAND',[true,'Command to fetch payload','CURL',%w[CURLFTPTFTPTNFTPWGET]]),
6
+
Msf::OptEnum.new('FETCH_COMMAND',[true,'Command to fetch payload','CURL',%w[CURLFTPGETTFTPTNFTPWGET]]),
7
7
Msf::OptEnum.new('FETCH_FILELESS',[true,'Attempt to run payload without touching disk by using anonymous handles, requires Linux ≥3.17 (for Python variant also Python ≥3.8','none',['none','bash','python3.8+']]),
8
8
Msf::OptString.new('FETCH_FILENAME',[false,'Name to use on remote system when storing payload; cannot contain spaces or slashes',Rex::Text.rand_text_alpha(rand(8..12))],regex: %r{^[^\s/\\]*$},conditions: ['FETCH_FILELESS','==','none']),
9
-
Msf::OptBool.new('FETCH_PIPE',[true,'Host both the binary payload and the command so it can be piped directly to the shell.',false],conditions: ['FETCH_COMMAND','in',%w[CURLWGET]]),
9
+
Msf::OptBool.new('FETCH_PIPE',[true,'Host both the binary payload and the command so it can be piped directly to the shell.',false],conditions: ['FETCH_COMMAND','in',%w[CURLGETWGET]]),
10
10
Msf::OptString.new('FETCH_WRITABLE_DIR',[true,'Remote writable dir to store payload; cannot contain spaces','./'],regex: /^\S*$/,conditions: ['FETCH_FILELESS','==','none'])
0 commit comments