Skip to content

Commit 8e7a748

Browse files
author
jvazquez-r7
committed
thins in place...
1 parent 5076198 commit 8e7a748

File tree

2 files changed

+2
-120
lines changed

2 files changed

+2
-120
lines changed

modules/exploits/multi/browser/java_jre17_jaxws.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,10 @@ def on_request_uri( cli, request )
108108
end
109109

110110
def generate_html
111+
jar_name = rand_text_alpha(rand(6)+3) + ".jar"
111112
html = "<html><head></head>"
112113
html += "<body>"
113-
html += "<applet archive=\"Exploit.jar\" code=\"Exploit.class\" width=\"1\" height=\"1\">"
114+
html += "<applet archive=\"#{jar_name}\" code=\"Exploit.class\" width=\"1\" height=\"1\">"
114115
html += "</applet></body></html>"
115116
return html
116117
end

modules/exploits/windows/browser/java_jre17_jaxws.rb

Lines changed: 0 additions & 119 deletions
This file was deleted.

0 commit comments

Comments
 (0)