Skip to content

Commit

Permalink
chore: removing PAYLOAD from DefaultOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Takahiro-Yoko committed Jan 8, 2025
1 parent 2be1781 commit 296d3c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def initialize(info = {})
'Linux Command', {
'Arch' => [ ARCH_CMD ], 'Platform' => [ 'unix', 'linux' ], 'Type' => :nix_cmd,
'DefaultOptions' => {
'PAYLOAD' => 'cmd/linux/http/x64/meterpreter_reverse_tcp',
'FETCH_COMMAND' => 'WGET'
}
}
Expand Down Expand Up @@ -99,6 +98,7 @@ def check
# Extract the version
version = Rex::Version.new(json_data['version'])
@version3 = version < Rex::Version.new('4.0.0')

CheckCode::Appears("Version #{version} detected, which is vulnerable.")
end

Expand Down

0 comments on commit 296d3c9

Please sign in to comment.