Skip to content

Commit dd43906

Browse files
committed
Patch rhost to display hostname of JSONP_URL.
1 parent 841cb6a commit dd43906

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/auxiliary/gather/flash_rosetta_jsonp_url_disclosure.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ def crossdomain_xml
200200
|
201201
end
202202

203-
# this has to be stubbed for some reason
204-
def rhost; end
203+
def rhost
204+
URI.parse(datastore["JSONP_URL"]).host
205+
end
205206

206207
end

0 commit comments

Comments
 (0)