Created
February 10, 2016 16:31
-
-
Save ccammilleri/04b9a01a60b27cf35aae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this script requires burp extension carbonator to be active | |
<ruby> | |
framework.db.workspace.services.each do |serv| | |
next if (serv.state != ServiceState::Open) | |
if (serv.port == 80 || serv.name == "http") | |
print_line("http server found: #{serv.host.address} port: #{serv.port}") | |
run_single("java -jar -Xmx2g /opt/burp/burpsuite_pro_v1.6.36.jar http #{serv.host.address} #{serv.port}") | |
elsif (serv.port == 443 || serv.name == "https") | |
print_line("https server found: #{serv.host.address} port: #{serv.port}") | |
run_single("java -jar -Xmx2g /opt/burp/burpsuite_pro_v1.6.36.jar https #{serv.host.address} #{serv.port}") | |
end | |
end | |
</ruby> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment