Skip to content

Commit 6870a48

Browse files
authored
Code suggestion from @jvoisin
1 parent 006ed42 commit 6870a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/mediawiki_syntaxhighlight.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def initialize(info = {})
2323
'Author' => 'Yorick Koster',
2424
'License' => MSF_LICENSE,
2525
'Platform' => 'php',
26-
'Payload' => { 'BadChars' => "\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f ,'\"" } ,
26+
'Payload' => { 'BadChars' => "#{(0x1..0x1f).to_a.pack('C*')} ,'\"" } ,
2727
'References' =>
2828
[
2929
[ 'CVE', '2017-0372' ],

0 commit comments

Comments
 (0)