From 8cdcba81feee58e589835dbf9ea3ade7db248c7d Mon Sep 17 00:00:00 2001 From: William Vu Date: Thu, 24 Jan 2019 11:22:19 -0600 Subject: [PATCH] Fix SessionTypes --- modules/post/linux/gather/enum_commands.rb | 2 +- modules/post/linux/manage/dns_spoofing.rb | 2 +- modules/post/linux/manage/iptables_removal.rb | 2 +- modules/post/linux/manage/pseudo_shell.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/post/linux/gather/enum_commands.rb b/modules/post/linux/gather/enum_commands.rb index a5ec03e42b..b91614c234 100644 --- a/modules/post/linux/gather/enum_commands.rb +++ b/modules/post/linux/gather/enum_commands.rb @@ -16,7 +16,7 @@ class MetasploitModule < Msf::Post 'Author' => 'Alberto Rafael Rodriguez Iglesias ', 'License' => MSF_LICENSE, 'Platform' => ['linux'], - 'SessionTypes' => ['shell'] + 'SessionTypes' => ['shell', 'meterpreter'] ) register_options( [ diff --git a/modules/post/linux/manage/dns_spoofing.rb b/modules/post/linux/manage/dns_spoofing.rb index d518a4a30c..5731743846 100644 --- a/modules/post/linux/manage/dns_spoofing.rb +++ b/modules/post/linux/manage/dns_spoofing.rb @@ -16,7 +16,7 @@ class MetasploitModule < Msf::Post 'Author' => 'Alberto Rafael Rodriguez Iglesias ', 'License' => MSF_LICENSE, 'Platform' => ['linux'], - 'SessionTypes' => ['shell'] + 'SessionTypes' => ['shell', 'meterpreter'] ) register_options( [ diff --git a/modules/post/linux/manage/iptables_removal.rb b/modules/post/linux/manage/iptables_removal.rb index 56fe26bd5f..11ab186502 100644 --- a/modules/post/linux/manage/iptables_removal.rb +++ b/modules/post/linux/manage/iptables_removal.rb @@ -16,7 +16,7 @@ class MetasploitModule < Msf::Post 'Author' => 'Alberto Rafael Rodriguez Iglesias ', 'License' => MSF_LICENSE, 'Platform' => ['linux'], - 'SessionTypes' => ['shell'] + 'SessionTypes' => ['shell', 'meterpreter'] ) end diff --git a/modules/post/linux/manage/pseudo_shell.rb b/modules/post/linux/manage/pseudo_shell.rb index 1b180a0c7d..098210bf77 100644 --- a/modules/post/linux/manage/pseudo_shell.rb +++ b/modules/post/linux/manage/pseudo_shell.rb @@ -47,7 +47,7 @@ end 'Author' => 'Alberto Rafael Rodriguez Iglesias ', 'License' => MSF_LICENSE, 'Platform' => ['linux'], - 'SessionTypes' => ['shell'] + 'SessionTypes' => ['shell', 'meterpreter'] ) end