pwn 0.4.601 → 0.4.603
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +1 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.gitignore +62 -0
- data/.rubocop.yml +14 -0
- data/.rubocop_todo.yml +115 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +24 -0
- data/CHANGELOG_BETWEEN_TAGS.txt +108 -0
- data/CODE_OF_CONDUCT.md +46 -0
- data/CONTRIBUTING.md +10 -0
- data/Gemfile +88 -0
- data/LICENSE.txt +22 -0
- data/README.md +84 -0
- data/Rakefile +20 -0
- data/Vagrantfile +250 -0
- data/bin/pwn +101 -0
- data/bin/pwn_android_war_dialer +161 -0
- data/bin/pwn_arachni +157 -0
- data/bin/pwn_arachni_rest +174 -0
- data/bin/pwn_autoinc_version +58 -0
- data/bin/pwn_aws_describe_resources +728 -0
- data/bin/pwn_burp_suite_pro_active_scan +113 -0
- data/bin/pwn_char_base64_encoding +24 -0
- data/bin/pwn_char_dec_encoding +23 -0
- data/bin/pwn_char_hex_escaped_encoding +26 -0
- data/bin/pwn_char_html_entity_encoding +24 -0
- data/bin/pwn_char_unicode_escaped_encoding +23 -0
- data/bin/pwn_char_url_encoding +24 -0
- data/bin/pwn_defectdojo_engagement_create +158 -0
- data/bin/pwn_defectdojo_importscan +104 -0
- data/bin/pwn_defectdojo_reimportscan +104 -0
- data/bin/pwn_domain_reversewhois +89 -0
- data/bin/pwn_fuzz_net_app_proto +160 -0
- data/bin/pwn_ibm_appscan_enterprise +112 -0
- data/bin/pwn_jenkins_create_job +68 -0
- data/bin/pwn_jenkins_create_view +68 -0
- data/bin/pwn_jenkins_install_plugin +91 -0
- data/bin/pwn_jenkins_thinBackup_aws_s3 +123 -0
- data/bin/pwn_jenkins_update_plugins +87 -0
- data/bin/pwn_jenkins_useradd +86 -0
- data/bin/pwn_mail_agent +127 -0
- data/bin/pwn_msf_postgres_login +28 -0
- data/bin/pwn_nessus_cloud_scan_crud +345 -0
- data/bin/pwn_nessus_cloud_vulnscan +99 -0
- data/bin/pwn_nexpose +52 -0
- data/bin/pwn_openvas_vulnscan +102 -0
- data/bin/pwn_owasp_zap_active_scan +134 -0
- data/bin/pwn_pastebin_sample_filter +61 -0
- data/bin/pwn_perimeter_recon +326 -0
- data/bin/pwn_phone +131 -0
- data/bin/pwn_sast +183 -0
- data/bin/pwn_serial_check_voicemail +66 -0
- data/bin/pwn_serial_msr206 +175 -0
- data/bin/pwn_serial_qualcomm_commands +16 -0
- data/bin/pwn_serial_son_micro_sm132_rfid +132 -0
- data/bin/pwn_shodan_search +79 -0
- data/bin/pwn_simple_http_server +57 -0
- data/bin/pwn_web_cache_deception +233 -0
- data/bin/pwn_www_checkip +62 -0
- data/bin/pwn_www_uri_buster +237 -0
- data/bin/pwn_xss_dom_vectors +169 -0
- data/build_pwn_gem.sh +30 -0
- data/documentation/PWN.png +0 -0
- data/documentation/PWN_Contributors_and_Users.png +0 -0
- data/documentation/fax-spectrogram.png +0 -0
- data/documentation/fax-waveform.png +0 -0
- data/documentation/pwn_android_war_dialer_session.png +0 -0
- data/documentation/pwn_install.png +0 -0
- data/documentation/pwn_wallpaper.jpg +0 -0
- data/documentation/ringing-spectrogram.png +0 -0
- data/documentation/ringing-waveform.png +0 -0
- data/etc/systemd/msfrpcd.service +12 -0
- data/etc/systemd/openvas.service +14 -0
- data/etc/userland/aws/apache2/jenkins_443.conf +90 -0
- data/etc/userland/aws/apache2/jenkins_80.conf +7 -0
- data/etc/userland/aws/apache2/openvas_443.conf +87 -0
- data/etc/userland/aws/apache2/openvas_80.conf +7 -0
- data/etc/userland/aws/apache2/sast_443.conf +87 -0
- data/etc/userland/aws/apache2/sast_80.conf +9 -0
- data/etc/userland/aws/apache2/vagrant.yaml.EXAMPLE +9 -0
- data/etc/userland/aws/arachni/navigation-REST.instruct.EXAMPLE +29 -0
- data/etc/userland/aws/arachni/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/aws/burpsuite/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/aws/burpsuite/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/aws/defectdojo/vagrant.yaml.EXAMPLE +3 -0
- data/etc/userland/aws/jenkins/inject_build_envs.sh +15 -0
- data/etc/userland/aws/jenkins/jenkins +81 -0
- data/etc/userland/aws/jenkins/jobs/pipeline-pwntemplate.xml +298 -0
- data/etc/userland/aws/jenkins/jobs/pipeline-selfupdate.xml +462 -0
- data/etc/userland/aws/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +35 -0
- data/etc/userland/aws/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +44 -0
- data/etc/userland/aws/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +35 -0
- data/etc/userland/aws/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +45 -0
- data/etc/userland/aws/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +71 -0
- data/etc/userland/aws/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +56 -0
- data/etc/userland/aws/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +59 -0
- data/etc/userland/aws/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +45 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-exploit-db.xml +43 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-gem.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-jenkins_plugins.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-metasploit.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-openvas_sync.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-openvas_wrappers.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-os.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-pwn.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-rvm.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-ssllabs-scan.xml +42 -0
- data/etc/userland/aws/jenkins/jobs/selfupdate-wpscan.xml +42 -0
- data/etc/userland/aws/jenkins/jobs_userland/.gitkeep +0 -0
- data/etc/userland/aws/jenkins/log_parser_rules/arachni.rules +5 -0
- data/etc/userland/aws/jenkins/log_parser_rules/sast.rules +2 -0
- data/etc/userland/aws/jenkins/log_parser_rules/self_update.rules +14 -0
- data/etc/userland/aws/jenkins/log_parser_rules/ssllabs-scan.rules +8 -0
- data/etc/userland/aws/jenkins/log_parser_rules/system_maintenance.rules +9 -0
- data/etc/userland/aws/jenkins/log_parser_rules/wpscan.rules +2 -0
- data/etc/userland/aws/jenkins/vagrant.yaml.EXAMPLE +8 -0
- data/etc/userland/aws/letsencrypt/vagrant.yaml.EXAMPLE +5 -0
- data/etc/userland/aws/metasploit/vagrant.yaml.EXAMPLE +4 -0
- data/etc/userland/aws/nessus/vagrant.yaml.EXAMPLE +15 -0
- data/etc/userland/aws/openvas/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/aws/owasp_zap/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/aws/postgres/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/aws/recon-ng/vagrant.yaml.EXAMPLE +52 -0
- data/etc/userland/aws/vagrant.yaml.EXAMPLE +35 -0
- data/etc/userland/docker/apache2/jenkins_443.conf +90 -0
- data/etc/userland/docker/apache2/jenkins_80.conf +7 -0
- data/etc/userland/docker/apache2/openvas_443.conf +87 -0
- data/etc/userland/docker/apache2/openvas_80.conf +7 -0
- data/etc/userland/docker/apache2/sast_443.conf +87 -0
- data/etc/userland/docker/apache2/sast_80.conf +9 -0
- data/etc/userland/docker/apache2/vagrant.yaml.EXAMPLE +9 -0
- data/etc/userland/docker/arachni/navigation-REST.instruct.EXAMPLE +29 -0
- data/etc/userland/docker/arachni/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/docker/burpsuite/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/docker/burpsuite/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/docker/defectdojo/vagrant.yaml.EXAMPLE +3 -0
- data/etc/userland/docker/jenkins/inject_build_envs.sh +15 -0
- data/etc/userland/docker/jenkins/jenkins +81 -0
- data/etc/userland/docker/jenkins/jobs/pipeline-pwntemplate.xml +298 -0
- data/etc/userland/docker/jenkins/jobs/pipeline-selfupdate.xml +462 -0
- data/etc/userland/docker/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +35 -0
- data/etc/userland/docker/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +44 -0
- data/etc/userland/docker/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +35 -0
- data/etc/userland/docker/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +45 -0
- data/etc/userland/docker/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +71 -0
- data/etc/userland/docker/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +56 -0
- data/etc/userland/docker/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +59 -0
- data/etc/userland/docker/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +45 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-exploit-db.xml +43 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-gem.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-jenkins_plugins.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-metasploit.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-openvas_sync.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-openvas_wrappers.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-os.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-pwn.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-rvm.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-ssllabs-scan.xml +42 -0
- data/etc/userland/docker/jenkins/jobs/selfupdate-wpscan.xml +42 -0
- data/etc/userland/docker/jenkins/jobs_userland/.gitkeep +0 -0
- data/etc/userland/docker/jenkins/log_parser_rules/arachni.rules +5 -0
- data/etc/userland/docker/jenkins/log_parser_rules/sast.rules +2 -0
- data/etc/userland/docker/jenkins/log_parser_rules/self_update.rules +14 -0
- data/etc/userland/docker/jenkins/log_parser_rules/ssllabs-scan.rules +8 -0
- data/etc/userland/docker/jenkins/log_parser_rules/system_maintenance.rules +9 -0
- data/etc/userland/docker/jenkins/log_parser_rules/wpscan.rules +2 -0
- data/etc/userland/docker/jenkins/vagrant.yaml.EXAMPLE +8 -0
- data/etc/userland/docker/letsencrypt/vagrant.yaml.EXAMPLE +5 -0
- data/etc/userland/docker/metasploit/vagrant.yaml.EXAMPLE +4 -0
- data/etc/userland/docker/nessus/vagrant.yaml.EXAMPLE +15 -0
- data/etc/userland/docker/openvas/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/docker/owasp_zap/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/docker/postgres/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/docker/recon-ng/vagrant.yaml.EXAMPLE +52 -0
- data/etc/userland/qemu/apache2/jenkins_443.conf +90 -0
- data/etc/userland/qemu/apache2/jenkins_80.conf +7 -0
- data/etc/userland/qemu/apache2/openvas_443.conf +87 -0
- data/etc/userland/qemu/apache2/openvas_80.conf +7 -0
- data/etc/userland/qemu/apache2/sast_443.conf +87 -0
- data/etc/userland/qemu/apache2/sast_80.conf +9 -0
- data/etc/userland/qemu/apache2/vagrant.yaml.EXAMPLE +9 -0
- data/etc/userland/qemu/arachni/navigation-REST.instruct.EXAMPLE +29 -0
- data/etc/userland/qemu/arachni/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/qemu/burpsuite/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/qemu/burpsuite/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/qemu/defectdojo/vagrant.yaml.EXAMPLE +3 -0
- data/etc/userland/qemu/jenkins/inject_build_envs.sh +15 -0
- data/etc/userland/qemu/jenkins/jenkins +81 -0
- data/etc/userland/qemu/jenkins/jobs/pipeline-pwntemplate.xml +298 -0
- data/etc/userland/qemu/jenkins/jobs/pipeline-selfupdate.xml +462 -0
- data/etc/userland/qemu/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +35 -0
- data/etc/userland/qemu/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +44 -0
- data/etc/userland/qemu/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +35 -0
- data/etc/userland/qemu/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +45 -0
- data/etc/userland/qemu/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +71 -0
- data/etc/userland/qemu/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +56 -0
- data/etc/userland/qemu/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +59 -0
- data/etc/userland/qemu/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +45 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-exploit-db.xml +43 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-gem.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-jenkins_plugins.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-metasploit.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-openvas_sync.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-openvas_wrappers.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-os.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-pwn.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-rvm.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-ssllabs-scan.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs/selfupdate-wpscan.xml +42 -0
- data/etc/userland/qemu/jenkins/jobs_userland/.gitkeep +0 -0
- data/etc/userland/qemu/jenkins/log_parser_rules/arachni.rules +5 -0
- data/etc/userland/qemu/jenkins/log_parser_rules/sast.rules +2 -0
- data/etc/userland/qemu/jenkins/log_parser_rules/self_update.rules +14 -0
- data/etc/userland/qemu/jenkins/log_parser_rules/ssllabs-scan.rules +8 -0
- data/etc/userland/qemu/jenkins/log_parser_rules/system_maintenance.rules +9 -0
- data/etc/userland/qemu/jenkins/log_parser_rules/wpscan.rules +2 -0
- data/etc/userland/qemu/jenkins/vagrant.yaml.EXAMPLE +8 -0
- data/etc/userland/qemu/letsencrypt/vagrant.yaml.EXAMPLE +5 -0
- data/etc/userland/qemu/metasploit/vagrant.yaml.EXAMPLE +4 -0
- data/etc/userland/qemu/nessus/vagrant.yaml.EXAMPLE +15 -0
- data/etc/userland/qemu/openvas/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/qemu/owasp_zap/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/qemu/postgres/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/qemu/recon-ng/vagrant.yaml.EXAMPLE +52 -0
- data/etc/userland/ruby-gem/apache2/jenkins_443.conf +90 -0
- data/etc/userland/ruby-gem/apache2/jenkins_80.conf +7 -0
- data/etc/userland/ruby-gem/apache2/openvas_443.conf +87 -0
- data/etc/userland/ruby-gem/apache2/openvas_80.conf +7 -0
- data/etc/userland/ruby-gem/apache2/sast_443.conf +87 -0
- data/etc/userland/ruby-gem/apache2/sast_80.conf +9 -0
- data/etc/userland/ruby-gem/apache2/vagrant.yaml.EXAMPLE +9 -0
- data/etc/userland/ruby-gem/arachni/navigation-REST.instruct.EXAMPLE +29 -0
- data/etc/userland/ruby-gem/arachni/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/ruby-gem/burpsuite/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/ruby-gem/burpsuite/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/ruby-gem/defectdojo/vagrant.yaml.EXAMPLE +3 -0
- data/etc/userland/ruby-gem/jenkins/inject_build_envs.sh +15 -0
- data/etc/userland/ruby-gem/jenkins/jenkins +81 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pipeline-pwntemplate.xml +298 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pipeline-selfupdate.xml +462 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +35 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +44 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +35 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +45 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +71 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +56 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +59 -0
- data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +45 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-exploit-db.xml +43 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-gem.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-jenkins_plugins.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-metasploit.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-openvas_sync.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-openvas_wrappers.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-os.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-pwn.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-rvm.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-ssllabs-scan.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-wpscan.xml +42 -0
- data/etc/userland/ruby-gem/jenkins/jobs_userland/.gitkeep +0 -0
- data/etc/userland/ruby-gem/jenkins/log_parser_rules/arachni.rules +5 -0
- data/etc/userland/ruby-gem/jenkins/log_parser_rules/sast.rules +2 -0
- data/etc/userland/ruby-gem/jenkins/log_parser_rules/self_update.rules +14 -0
- data/etc/userland/ruby-gem/jenkins/log_parser_rules/ssllabs-scan.rules +8 -0
- data/etc/userland/ruby-gem/jenkins/log_parser_rules/system_maintenance.rules +9 -0
- data/etc/userland/ruby-gem/jenkins/log_parser_rules/wpscan.rules +2 -0
- data/etc/userland/ruby-gem/jenkins/vagrant.yaml.EXAMPLE +8 -0
- data/etc/userland/ruby-gem/letsencrypt/vagrant.yaml.EXAMPLE +5 -0
- data/etc/userland/ruby-gem/metasploit/vagrant.yaml.EXAMPLE +4 -0
- data/etc/userland/ruby-gem/nessus/vagrant.yaml.EXAMPLE +15 -0
- data/etc/userland/ruby-gem/openvas/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/ruby-gem/owasp_zap/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/ruby-gem/postgres/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/ruby-gem/recon-ng/vagrant.yaml.EXAMPLE +52 -0
- data/etc/userland/virtualbox/apache2/jenkins_443.conf +90 -0
- data/etc/userland/virtualbox/apache2/jenkins_80.conf +7 -0
- data/etc/userland/virtualbox/apache2/openvas_443.conf +87 -0
- data/etc/userland/virtualbox/apache2/openvas_80.conf +7 -0
- data/etc/userland/virtualbox/apache2/sast_443.conf +87 -0
- data/etc/userland/virtualbox/apache2/sast_80.conf +9 -0
- data/etc/userland/virtualbox/apache2/vagrant.yaml.EXAMPLE +9 -0
- data/etc/userland/virtualbox/arachni/navigation-REST.instruct.EXAMPLE +29 -0
- data/etc/userland/virtualbox/arachni/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/virtualbox/burpsuite/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/virtualbox/burpsuite/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/virtualbox/defectdojo/vagrant.yaml.EXAMPLE +3 -0
- data/etc/userland/virtualbox/jenkins/inject_build_envs.sh +15 -0
- data/etc/userland/virtualbox/jenkins/jenkins +81 -0
- data/etc/userland/virtualbox/jenkins/jobs/pipeline-pwntemplate.xml +298 -0
- data/etc/userland/virtualbox/jenkins/jobs/pipeline-selfupdate.xml +462 -0
- data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +35 -0
- data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +44 -0
- data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +35 -0
- data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +45 -0
- data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +71 -0
- data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +56 -0
- data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +59 -0
- data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +45 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-exploit-db.xml +43 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-gem.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-jenkins_plugins.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-metasploit.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-openvas_sync.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-openvas_wrappers.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-os.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-pwn.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-rvm.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-ssllabs-scan.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs/selfupdate-wpscan.xml +42 -0
- data/etc/userland/virtualbox/jenkins/jobs_userland/.gitkeep +0 -0
- data/etc/userland/virtualbox/jenkins/log_parser_rules/arachni.rules +5 -0
- data/etc/userland/virtualbox/jenkins/log_parser_rules/sast.rules +2 -0
- data/etc/userland/virtualbox/jenkins/log_parser_rules/self_update.rules +14 -0
- data/etc/userland/virtualbox/jenkins/log_parser_rules/ssllabs-scan.rules +8 -0
- data/etc/userland/virtualbox/jenkins/log_parser_rules/system_maintenance.rules +9 -0
- data/etc/userland/virtualbox/jenkins/log_parser_rules/wpscan.rules +2 -0
- data/etc/userland/virtualbox/jenkins/vagrant.yaml.EXAMPLE +8 -0
- data/etc/userland/virtualbox/letsencrypt/vagrant.yaml.EXAMPLE +5 -0
- data/etc/userland/virtualbox/metasploit/vagrant.yaml.EXAMPLE +4 -0
- data/etc/userland/virtualbox/nessus/vagrant.yaml.EXAMPLE +15 -0
- data/etc/userland/virtualbox/openvas/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/virtualbox/owasp_zap/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/virtualbox/postgres/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/virtualbox/recon-ng/vagrant.yaml.EXAMPLE +52 -0
- data/etc/userland/virtualbox/vagrant.yaml.EXAMPLE +4 -0
- data/etc/userland/vmware/apache2/jenkins_443.conf +90 -0
- data/etc/userland/vmware/apache2/jenkins_80.conf +7 -0
- data/etc/userland/vmware/apache2/openvas_443.conf +87 -0
- data/etc/userland/vmware/apache2/openvas_80.conf +7 -0
- data/etc/userland/vmware/apache2/sast_443.conf +87 -0
- data/etc/userland/vmware/apache2/sast_80.conf +9 -0
- data/etc/userland/vmware/apache2/vagrant.yaml.EXAMPLE +9 -0
- data/etc/userland/vmware/arachni/navigation-REST.instruct.EXAMPLE +29 -0
- data/etc/userland/vmware/arachni/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/vmware/burpsuite/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/vmware/burpsuite/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/vmware/defectdojo/vagrant.yaml.EXAMPLE +3 -0
- data/etc/userland/vmware/jenkins/inject_build_envs.sh +15 -0
- data/etc/userland/vmware/jenkins/jenkins +81 -0
- data/etc/userland/vmware/jenkins/jobs/pipeline-pwntemplate.xml +298 -0
- data/etc/userland/vmware/jenkins/jobs/pipeline-selfupdate.xml +462 -0
- data/etc/userland/vmware/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +35 -0
- data/etc/userland/vmware/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +44 -0
- data/etc/userland/vmware/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +35 -0
- data/etc/userland/vmware/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +45 -0
- data/etc/userland/vmware/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +71 -0
- data/etc/userland/vmware/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +56 -0
- data/etc/userland/vmware/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +59 -0
- data/etc/userland/vmware/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +45 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-exploit-db.xml +43 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-gem.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-jenkins_plugins.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-metasploit.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-openvas_sync.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-openvas_wrappers.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-os.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-pwn.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-rvm.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-ssllabs-scan.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs/selfupdate-wpscan.xml +42 -0
- data/etc/userland/vmware/jenkins/jobs_userland/.gitkeep +0 -0
- data/etc/userland/vmware/jenkins/log_parser_rules/arachni.rules +5 -0
- data/etc/userland/vmware/jenkins/log_parser_rules/sast.rules +2 -0
- data/etc/userland/vmware/jenkins/log_parser_rules/self_update.rules +14 -0
- data/etc/userland/vmware/jenkins/log_parser_rules/ssllabs-scan.rules +8 -0
- data/etc/userland/vmware/jenkins/log_parser_rules/system_maintenance.rules +9 -0
- data/etc/userland/vmware/jenkins/log_parser_rules/wpscan.rules +2 -0
- data/etc/userland/vmware/jenkins/vagrant.yaml.EXAMPLE +8 -0
- data/etc/userland/vmware/letsencrypt/vagrant.yaml.EXAMPLE +5 -0
- data/etc/userland/vmware/metasploit/vagrant.yaml.EXAMPLE +4 -0
- data/etc/userland/vmware/nessus/vagrant.yaml.EXAMPLE +15 -0
- data/etc/userland/vmware/openvas/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/vmware/owasp_zap/navigation.instruct.EXAMPLE +3 -0
- data/etc/userland/vmware/postgres/vagrant.yaml.EXAMPLE +2 -0
- data/etc/userland/vmware/recon-ng/vagrant.yaml.EXAMPLE +52 -0
- data/etc/userland/vmware/vagrant.yaml.EXAMPLE +5 -0
- data/find_latest_gem_versions_per_Gemfile.sh +11 -0
- data/git_commit_test_reinit_gem.sh +37 -0
- data/install.sh +176 -0
- data/lib/pwn/aws/acm.rb +92 -0
- data/lib/pwn/aws/api_gateway.rb +92 -0
- data/lib/pwn/aws/app_stream.rb +92 -0
- data/lib/pwn/aws/application_auto_scaling.rb +92 -0
- data/lib/pwn/aws/application_discovery_service.rb +92 -0
- data/lib/pwn/aws/auto_scaling.rb +92 -0
- data/lib/pwn/aws/batch.rb +92 -0
- data/lib/pwn/aws/budgets.rb +92 -0
- data/lib/pwn/aws/cloud_formation.rb +92 -0
- data/lib/pwn/aws/cloud_front.rb +92 -0
- data/lib/pwn/aws/cloud_hsm.rb +92 -0
- data/lib/pwn/aws/cloud_search.rb +92 -0
- data/lib/pwn/aws/cloud_search_domain.rb +92 -0
- data/lib/pwn/aws/cloud_trail.rb +92 -0
- data/lib/pwn/aws/cloud_watch.rb +92 -0
- data/lib/pwn/aws/cloud_watch_events.rb +92 -0
- data/lib/pwn/aws/cloud_watch_logs.rb +92 -0
- data/lib/pwn/aws/code_build.rb +92 -0
- data/lib/pwn/aws/code_commit.rb +92 -0
- data/lib/pwn/aws/code_deploy.rb +92 -0
- data/lib/pwn/aws/code_pipeline.rb +92 -0
- data/lib/pwn/aws/cognito_identity.rb +92 -0
- data/lib/pwn/aws/cognito_identity_provider.rb +92 -0
- data/lib/pwn/aws/cognito_sync.rb +92 -0
- data/lib/pwn/aws/config_service.rb +92 -0
- data/lib/pwn/aws/data_pipleline.rb +92 -0
- data/lib/pwn/aws/database_migration_service.rb +92 -0
- data/lib/pwn/aws/device_farm.rb +92 -0
- data/lib/pwn/aws/direct_connect.rb +92 -0
- data/lib/pwn/aws/directory_service.rb +92 -0
- data/lib/pwn/aws/dynamo_db.rb +92 -0
- data/lib/pwn/aws/dynamo_db_streams.rb +92 -0
- data/lib/pwn/aws/ec2.rb +92 -0
- data/lib/pwn/aws/ecr.rb +92 -0
- data/lib/pwn/aws/ecs.rb +92 -0
- data/lib/pwn/aws/efs.rb +92 -0
- data/lib/pwn/aws/elasti_cache.rb +92 -0
- data/lib/pwn/aws/elastic_beanstalk.rb +89 -0
- data/lib/pwn/aws/elastic_load_balancing.rb +92 -0
- data/lib/pwn/aws/elastic_load_balancing_v2.rb +92 -0
- data/lib/pwn/aws/elastic_transcoder.rb +92 -0
- data/lib/pwn/aws/elasticsearch_service.rb +92 -0
- data/lib/pwn/aws/emr.rb +92 -0
- data/lib/pwn/aws/firehose.rb +92 -0
- data/lib/pwn/aws/game_lift.rb +92 -0
- data/lib/pwn/aws/glacier.rb +92 -0
- data/lib/pwn/aws/health.rb +92 -0
- data/lib/pwn/aws/iam.rb +92 -0
- data/lib/pwn/aws/import_export.rb +92 -0
- data/lib/pwn/aws/inspector.rb +92 -0
- data/lib/pwn/aws/iot.rb +92 -0
- data/lib/pwn/aws/iot_data_plane.rb +92 -0
- data/lib/pwn/aws/kinesis.rb +92 -0
- data/lib/pwn/aws/kinesis_analytics.rb +92 -0
- data/lib/pwn/aws/kms.rb +92 -0
- data/lib/pwn/aws/lambda.rb +92 -0
- data/lib/pwn/aws/lambda_preview.rb +92 -0
- data/lib/pwn/aws/lex.rb +92 -0
- data/lib/pwn/aws/lightsail.rb +92 -0
- data/lib/pwn/aws/machine_learning.rb +92 -0
- data/lib/pwn/aws/marketplace_commerce_analytics.rb +92 -0
- data/lib/pwn/aws/marketplace_metering.rb +92 -0
- data/lib/pwn/aws/ops_works.rb +92 -0
- data/lib/pwn/aws/ops_works_cm.rb +92 -0
- data/lib/pwn/aws/pinpoint.rb +92 -0
- data/lib/pwn/aws/polly.rb +92 -0
- data/lib/pwn/aws/rds.rb +92 -0
- data/lib/pwn/aws/redshift.rb +92 -0
- data/lib/pwn/aws/rekognition.rb +92 -0
- data/lib/pwn/aws/route53.rb +92 -0
- data/lib/pwn/aws/route53_domains.rb +92 -0
- data/lib/pwn/aws/s3.rb +92 -0
- data/lib/pwn/aws/service_catalog.rb +92 -0
- data/lib/pwn/aws/ses.rb +92 -0
- data/lib/pwn/aws/shield.rb +92 -0
- data/lib/pwn/aws/simple_db.rb +92 -0
- data/lib/pwn/aws/sms.rb +92 -0
- data/lib/pwn/aws/snowball.rb +92 -0
- data/lib/pwn/aws/sns.rb +92 -0
- data/lib/pwn/aws/sqs.rb +92 -0
- data/lib/pwn/aws/ssm.rb +92 -0
- data/lib/pwn/aws/states.rb +92 -0
- data/lib/pwn/aws/storage_gateway.rb +92 -0
- data/lib/pwn/aws/sts.rb +63 -0
- data/lib/pwn/aws/support.rb +92 -0
- data/lib/pwn/aws/swf.rb +92 -0
- data/lib/pwn/aws/waf.rb +92 -0
- data/lib/pwn/aws/waf_regional.rb +92 -0
- data/lib/pwn/aws/workspaces.rb +92 -0
- data/lib/pwn/aws/x_ray.rb +92 -0
- data/lib/pwn/aws.rb +105 -0
- data/lib/pwn/banner/bubble.rb +42 -0
- data/lib/pwn/banner/matrix.rb +199 -0
- data/lib/pwn/banner/ninja.rb +54 -0
- data/lib/pwn/banner/off_the_air.rb +73 -0
- data/lib/pwn/banner/pirate.rb +62 -0
- data/lib/pwn/banner.rb +78 -0
- data/lib/pwn/ffi.rb +16 -0
- data/lib/pwn/plugins/android.rb +1616 -0
- data/lib/pwn/plugins/ansible_vault.rb +75 -0
- data/lib/pwn/plugins/authentication_helper.rb +79 -0
- data/lib/pwn/plugins/baresip.rb +704 -0
- data/lib/pwn/plugins/basic_auth.rb +63 -0
- data/lib/pwn/plugins/beef.rb +309 -0
- data/lib/pwn/plugins/burp_suite.rb +344 -0
- data/lib/pwn/plugins/bus_pirate.rb +148 -0
- data/lib/pwn/plugins/char.rb +459 -0
- data/lib/pwn/plugins/credit_card.rb +68 -0
- data/lib/pwn/plugins/dao_ldap.rb +131 -0
- data/lib/pwn/plugins/dao_mongo.rb +96 -0
- data/lib/pwn/plugins/dao_postgres.rb +224 -0
- data/lib/pwn/plugins/dao_sqlite3.rb +125 -0
- data/lib/pwn/plugins/defect_dojo.rb +759 -0
- data/lib/pwn/plugins/detect_os.rb +40 -0
- data/lib/pwn/plugins/ein.rb +141 -0
- data/lib/pwn/plugins/file_fu.rb +73 -0
- data/lib/pwn/plugins/fuzz.rb +206 -0
- data/lib/pwn/plugins/git.rb +166 -0
- data/lib/pwn/plugins/github.rb +136 -0
- data/lib/pwn/plugins/hacker_one.rb +152 -0
- data/lib/pwn/plugins/http_intercept_helper.rb +122 -0
- data/lib/pwn/plugins/ibm_appscan.rb +927 -0
- data/lib/pwn/plugins/ip_info.rb +100 -0
- data/lib/pwn/plugins/jenkins.rb +545 -0
- data/lib/pwn/plugins/json_pathify.rb +46 -0
- data/lib/pwn/plugins/mail_agent.rb +344 -0
- data/lib/pwn/plugins/metasploit.rb +151 -0
- data/lib/pwn/plugins/msr206.rb +1193 -0
- data/lib/pwn/plugins/nessus_cloud.rb +840 -0
- data/lib/pwn/plugins/nexpose_vuln_scan.rb +356 -0
- data/lib/pwn/plugins/nmap_it.rb +100 -0
- data/lib/pwn/plugins/oauth2.rb +67 -0
- data/lib/pwn/plugins/ocr.rb +43 -0
- data/lib/pwn/plugins/open_ai.rb +201 -0
- data/lib/pwn/plugins/openvas.rb +308 -0
- data/lib/pwn/plugins/owasp_zap.rb +550 -0
- data/lib/pwn/plugins/packet.rb +1313 -0
- data/lib/pwn/plugins/pdf_parse.rb +53 -0
- data/lib/pwn/plugins/pony.rb +282 -0
- data/lib/pwn/plugins/pwn_logger.rb +46 -0
- data/lib/pwn/plugins/rabbit_mq.rb +70 -0
- data/lib/pwn/plugins/rfidler.rb +56 -0
- data/lib/pwn/plugins/serial.rb +315 -0
- data/lib/pwn/plugins/shodan.rb +566 -0
- data/lib/pwn/plugins/slack_client.rb +104 -0
- data/lib/pwn/plugins/sock.rb +188 -0
- data/lib/pwn/plugins/son_micro_rfid.rb +504 -0
- data/lib/pwn/plugins/spider.rb +80 -0
- data/lib/pwn/plugins/ssn.rb +52 -0
- data/lib/pwn/plugins/thread_pool.rb +88 -0
- data/lib/pwn/plugins/transparent_browser.rb +423 -0
- data/lib/pwn/plugins/twitter_api.rb +148 -0
- data/lib/pwn/plugins/uri_scheme.rb +328 -0
- data/lib/pwn/plugins/voice.rb +145 -0
- data/lib/pwn/plugins/vsphere.rb +82 -0
- data/lib/pwn/plugins.rb +71 -0
- data/lib/pwn/reports/fuzz.rb +272 -0
- data/lib/pwn/reports/phone.rb +312 -0
- data/lib/pwn/reports/sast.rb +311 -0
- data/lib/pwn/reports/uri_buster.rb +248 -0
- data/lib/pwn/reports.rb +23 -0
- data/lib/pwn/sast/amqp_connect_as_guest.rb +143 -0
- data/lib/pwn/sast/apache_file_system_util_api.rb +144 -0
- data/lib/pwn/sast/aws.rb +145 -0
- data/lib/pwn/sast/banned_function_calls_c.rb +272 -0
- data/lib/pwn/sast/base64.rb +143 -0
- data/lib/pwn/sast/beef_hook.rb +143 -0
- data/lib/pwn/sast/cmd_execution_java.rb +145 -0
- data/lib/pwn/sast/cmd_execution_python.rb +147 -0
- data/lib/pwn/sast/cmd_execution_ruby.rb +155 -0
- data/lib/pwn/sast/cmd_execution_scala.rb +145 -0
- data/lib/pwn/sast/csrf.rb +142 -0
- data/lib/pwn/sast/deserial_java.rb +150 -0
- data/lib/pwn/sast/emoticon.rb +151 -0
- data/lib/pwn/sast/eval.rb +144 -0
- data/lib/pwn/sast/factory.rb +145 -0
- data/lib/pwn/sast/http_authorization_header.rb +148 -0
- data/lib/pwn/sast/inner_html.rb +144 -0
- data/lib/pwn/sast/keystore.rb +143 -0
- data/lib/pwn/sast/location_hash.rb +144 -0
- data/lib/pwn/sast/log4j.rb +143 -0
- data/lib/pwn/sast/logger.rb +158 -0
- data/lib/pwn/sast/outer_html.rb +144 -0
- data/lib/pwn/sast/password.rb +143 -0
- data/lib/pwn/sast/php_input_mechanisms.rb +149 -0
- data/lib/pwn/sast/php_type_juggling.rb +144 -0
- data/lib/pwn/sast/pom_version.rb +152 -0
- data/lib/pwn/sast/port.rb +150 -0
- data/lib/pwn/sast/private_key.rb +143 -0
- data/lib/pwn/sast/redirect.rb +145 -0
- data/lib/pwn/sast/redos.rb +150 -0
- data/lib/pwn/sast/shell.rb +151 -0
- data/lib/pwn/sast/signature.rb +143 -0
- data/lib/pwn/sast/sql.rb +147 -0
- data/lib/pwn/sast/ssl.rb +147 -0
- data/lib/pwn/sast/sudo.rb +143 -0
- data/lib/pwn/sast/task_tag.rb +157 -0
- data/lib/pwn/sast/throw_errors.rb +143 -0
- data/lib/pwn/sast/token.rb +145 -0
- data/lib/pwn/sast/version.rb +144 -0
- data/lib/pwn/sast/window_location_hash.rb +143 -0
- data/lib/pwn/sast.rb +56 -0
- data/lib/pwn/version.rb +5 -0
- data/lib/pwn/www/app_cobalt_io.rb +137 -0
- data/lib/pwn/www/bing.rb +89 -0
- data/lib/pwn/www/bug_crowd.rb +134 -0
- data/lib/pwn/www/checkip.rb +71 -0
- data/lib/pwn/www/coinbase_pro.rb +134 -0
- data/lib/pwn/www/duckduckgo.rb +111 -0
- data/lib/pwn/www/facebook.rb +122 -0
- data/lib/pwn/www/google.rb +114 -0
- data/lib/pwn/www/hacker_one.rb +122 -0
- data/lib/pwn/www/linkedin.rb +122 -0
- data/lib/pwn/www/pandora.rb +122 -0
- data/lib/pwn/www/pastebin.rb +84 -0
- data/lib/pwn/www/paypal.rb +204 -0
- data/lib/pwn/www/synack.rb +134 -0
- data/lib/pwn/www/torch.rb +106 -0
- data/lib/pwn/www/trading_view.rb +125 -0
- data/lib/pwn/www/twitter.rb +134 -0
- data/lib/pwn/www/uber.rb +122 -0
- data/lib/pwn/www/upwork.rb +122 -0
- data/lib/pwn/www/youtube.rb +89 -0
- data/lib/pwn/www.rb +35 -0
- data/lib/pwn.rb +25 -0
- data/packer/daemons/msfrpcd.rb +64 -0
- data/packer/daemons/openvas.rb +51 -0
- data/packer/deploy_docker_containers.sh +9 -0
- data/packer/deploy_packer_box.sh +87 -0
- data/packer/docker/kali_rolling_docker_pwn_fuzz_net_app_proto.json +44 -0
- data/packer/docker/kali_rolling_docker_pwn_prototyper.json +48 -0
- data/packer/docker/kali_rolling_docker_pwn_sast.json +44 -0
- data/packer/docker/kali_rolling_docker_pwn_transparent_browser.json +46 -0
- data/packer/docker/kali_rolling_docker_pwn_www_checkip.json +34 -0
- data/packer/http/kali_rolling_preseed.cfg +81 -0
- data/packer/kali_rolling_aws_ami.json +137 -0
- data/packer/kali_rolling_qemu_kvm.json +157 -0
- data/packer/kali_rolling_virtualbox.json +184 -0
- data/packer/kali_rolling_vmware.json +165 -0
- data/packer/packer_secrets.json.EXAMPLE +9 -0
- data/packer/provisioners/PayloadsAllTheThings.sh +5 -0
- data/packer/provisioners/SecLists.sh +5 -0
- data/packer/provisioners/afl.sh +28 -0
- data/packer/provisioners/aliases.rb +18 -0
- data/packer/provisioners/amass.sh +5 -0
- data/packer/provisioners/android.sh +18 -0
- data/packer/provisioners/ansible.sh +5 -0
- data/packer/provisioners/apache2.sh +24 -0
- data/packer/provisioners/arachni.sh +28 -0
- data/packer/provisioners/awscli.sh +5 -0
- data/packer/provisioners/bashrc.sh +13 -0
- data/packer/provisioners/beef.rb +23 -0
- data/packer/provisioners/burpsuite.sh +23 -0
- data/packer/provisioners/chrome.sh +11 -0
- data/packer/provisioners/coreutils.sh +6 -0
- data/packer/provisioners/curl.sh +6 -0
- data/packer/provisioners/docker.sh +43 -0
- data/packer/provisioners/docker_bashrc.sh +2 -0
- data/packer/provisioners/docker_rvm.sh +22 -0
- data/packer/provisioners/eyewitness.sh +5 -0
- data/packer/provisioners/ffmpeg.sh +6 -0
- data/packer/provisioners/firefox.sh +7 -0
- data/packer/provisioners/fuzzdb.sh +5 -0
- data/packer/provisioners/gdb.sh +5 -0
- data/packer/provisioners/geckodriver.sh +9 -0
- data/packer/provisioners/ghidra.sh +5 -0
- data/packer/provisioners/git.sh +6 -0
- data/packer/provisioners/init_image.sh +103 -0
- data/packer/provisioners/install_vagrant_ssh_key.sh +15 -0
- data/packer/provisioners/jenkins.sh +62 -0
- data/packer/provisioners/metasploit.rb +59 -0
- data/packer/provisioners/nmap_all_live_hosts.sh +8 -0
- data/packer/provisioners/openvas.sh +23 -0
- data/packer/provisioners/openvas_wrappers.sh +4 -0
- data/packer/provisioners/openvpn.sh +7 -0
- data/packer/provisioners/peda.sh +4 -0
- data/packer/provisioners/phantomjs.rb +28 -0
- data/packer/provisioners/phantomjs_wrapper.sh +22 -0
- data/packer/provisioners/post_install.sh +41 -0
- data/packer/provisioners/postgresql.sh +49 -0
- data/packer/provisioners/preeny.sh +8 -0
- data/packer/provisioners/pwn.sh +100 -0
- data/packer/provisioners/pwntools.sh +13 -0
- data/packer/provisioners/radamsa.sh +7 -0
- data/packer/provisioners/rc.local.sh +16 -0
- data/packer/provisioners/reboot_os.sh +7 -0
- data/packer/provisioners/ruby.sh +35 -0
- data/packer/provisioners/rvm.sh +31 -0
- data/packer/provisioners/scapy.sh +5 -0
- data/packer/provisioners/scout2.sh +5 -0
- data/packer/provisioners/sox.sh +5 -0
- data/packer/provisioners/ssllabs-scan.sh +9 -0
- data/packer/provisioners/strace.sh +5 -0
- data/packer/provisioners/sublist3r.sh +5 -0
- data/packer/provisioners/terminator.sh +5 -0
- data/packer/provisioners/toggle_tor.sh +2 -0
- data/packer/provisioners/tor.sh +5 -0
- data/packer/provisioners/twinkle.sh +6 -0
- data/packer/provisioners/update_os.sh +108 -0
- data/packer/provisioners/upload_globals.sh +63 -0
- data/packer/provisioners/vim.sh +19 -0
- data/packer/provisioners/virtualbox_guest_additions.sh +20 -0
- data/packer/provisioners/vmware_tools.sh +8 -0
- data/packer/provisioners/wpscan.rb +23 -0
- data/packer/provisioners/xrdp.sh +22 -0
- data/packer/provisioners/zzuf.sh +5 -0
- data/pwn.gemspec +55 -0
- data/reinstall_pwn_gemset.sh +27 -0
- data/spec/lib/pwn/aws/acm_spec.rb +15 -0
- data/spec/lib/pwn/aws/api_gateway_spec.rb +15 -0
- data/spec/lib/pwn/aws/app_stream_spec.rb +15 -0
- data/spec/lib/pwn/aws/application_auto_scaling_spec.rb +15 -0
- data/spec/lib/pwn/aws/application_discovery_service_spec.rb +15 -0
- data/spec/lib/pwn/aws/auto_scaling_spec.rb +15 -0
- data/spec/lib/pwn/aws/batch_spec.rb +15 -0
- data/spec/lib/pwn/aws/budgets_spec.rb +15 -0
- data/spec/lib/pwn/aws/cloud_formation_spec.rb +15 -0
- data/spec/lib/pwn/aws/cloud_front_spec.rb +15 -0
- data/spec/lib/pwn/aws/cloud_hsm_spec.rb +15 -0
- data/spec/lib/pwn/aws/cloud_search_domain_spec.rb +15 -0
- data/spec/lib/pwn/aws/cloud_search_spec.rb +15 -0
- data/spec/lib/pwn/aws/cloud_trail_spec.rb +15 -0
- data/spec/lib/pwn/aws/cloud_watch_events_spec.rb +15 -0
- data/spec/lib/pwn/aws/cloud_watch_logs_spec.rb +15 -0
- data/spec/lib/pwn/aws/cloud_watch_spec.rb +15 -0
- data/spec/lib/pwn/aws/code_build_spec.rb +15 -0
- data/spec/lib/pwn/aws/code_commit_spec.rb +15 -0
- data/spec/lib/pwn/aws/code_deploy_spec.rb +15 -0
- data/spec/lib/pwn/aws/code_pipeline_spec.rb +15 -0
- data/spec/lib/pwn/aws/cognito_identity_provider_spec.rb +15 -0
- data/spec/lib/pwn/aws/cognito_identity_spec.rb +15 -0
- data/spec/lib/pwn/aws/cognito_sync_spec.rb +15 -0
- data/spec/lib/pwn/aws/config_service_spec.rb +15 -0
- data/spec/lib/pwn/aws/data_pipleline_spec.rb +15 -0
- data/spec/lib/pwn/aws/database_migration_service_spec.rb +15 -0
- data/spec/lib/pwn/aws/device_farm_spec.rb +15 -0
- data/spec/lib/pwn/aws/direct_connect_spec.rb +15 -0
- data/spec/lib/pwn/aws/directory_service_spec.rb +15 -0
- data/spec/lib/pwn/aws/dynamo_db_spec.rb +15 -0
- data/spec/lib/pwn/aws/dynamo_db_streams_spec.rb +15 -0
- data/spec/lib/pwn/aws/ec2_spec.rb +15 -0
- data/spec/lib/pwn/aws/ecr_spec.rb +15 -0
- data/spec/lib/pwn/aws/ecs_spec.rb +15 -0
- data/spec/lib/pwn/aws/efs_spec.rb +15 -0
- data/spec/lib/pwn/aws/elasti_cache_spec.rb +15 -0
- data/spec/lib/pwn/aws/elastic_beanstalk_spec.rb +15 -0
- data/spec/lib/pwn/aws/elastic_load_balancing_spec.rb +15 -0
- data/spec/lib/pwn/aws/elastic_load_balancing_v2_spec.rb +15 -0
- data/spec/lib/pwn/aws/elastic_transcoder_spec.rb +15 -0
- data/spec/lib/pwn/aws/elasticsearch_service_spec.rb +15 -0
- data/spec/lib/pwn/aws/emr_spec.rb +15 -0
- data/spec/lib/pwn/aws/firehose_spec.rb +15 -0
- data/spec/lib/pwn/aws/game_lift_spec.rb +15 -0
- data/spec/lib/pwn/aws/glacier_spec.rb +15 -0
- data/spec/lib/pwn/aws/health_spec.rb +15 -0
- data/spec/lib/pwn/aws/iam_spec.rb +15 -0
- data/spec/lib/pwn/aws/import_export_spec.rb +15 -0
- data/spec/lib/pwn/aws/inspector_spec.rb +15 -0
- data/spec/lib/pwn/aws/iot_data_plane_spec.rb +15 -0
- data/spec/lib/pwn/aws/iot_spec.rb +15 -0
- data/spec/lib/pwn/aws/kinesis_analytics_spec.rb +15 -0
- data/spec/lib/pwn/aws/kinesis_spec.rb +15 -0
- data/spec/lib/pwn/aws/kms_spec.rb +15 -0
- data/spec/lib/pwn/aws/lambda_preview_spec.rb +15 -0
- data/spec/lib/pwn/aws/lambda_spec.rb +15 -0
- data/spec/lib/pwn/aws/lex_spec.rb +15 -0
- data/spec/lib/pwn/aws/lightsail_spec.rb +15 -0
- data/spec/lib/pwn/aws/machine_learning_spec.rb +15 -0
- data/spec/lib/pwn/aws/marketplace_commerce_analytics_spec.rb +15 -0
- data/spec/lib/pwn/aws/marketplace_metering_spec.rb +15 -0
- data/spec/lib/pwn/aws/ops_works_cm_spec.rb +15 -0
- data/spec/lib/pwn/aws/ops_works_spec.rb +15 -0
- data/spec/lib/pwn/aws/pinpoint_spec.rb +15 -0
- data/spec/lib/pwn/aws/polly_spec.rb +15 -0
- data/spec/lib/pwn/aws/rds_spec.rb +15 -0
- data/spec/lib/pwn/aws/redshift_spec.rb +15 -0
- data/spec/lib/pwn/aws/rekognition_spec.rb +15 -0
- data/spec/lib/pwn/aws/route53_domains_spec.rb +15 -0
- data/spec/lib/pwn/aws/route53_spec.rb +15 -0
- data/spec/lib/pwn/aws/s3_spec.rb +15 -0
- data/spec/lib/pwn/aws/service_catalog_spec.rb +15 -0
- data/spec/lib/pwn/aws/ses_spec.rb +15 -0
- data/spec/lib/pwn/aws/shield_spec.rb +15 -0
- data/spec/lib/pwn/aws/simple_db_spec.rb +15 -0
- data/spec/lib/pwn/aws/sms_spec.rb +15 -0
- data/spec/lib/pwn/aws/snowball_spec.rb +15 -0
- data/spec/lib/pwn/aws/sns_spec.rb +15 -0
- data/spec/lib/pwn/aws/sqs_spec.rb +15 -0
- data/spec/lib/pwn/aws/ssm_spec.rb +15 -0
- data/spec/lib/pwn/aws/states_spec.rb +15 -0
- data/spec/lib/pwn/aws/storage_gateway_spec.rb +15 -0
- data/spec/lib/pwn/aws/sts_spec.rb +15 -0
- data/spec/lib/pwn/aws/support_spec.rb +15 -0
- data/spec/lib/pwn/aws/swf_spec.rb +15 -0
- data/spec/lib/pwn/aws/waf_regional_spec.rb +15 -0
- data/spec/lib/pwn/aws/waf_spec.rb +15 -0
- data/spec/lib/pwn/aws/workspaces_spec.rb +15 -0
- data/spec/lib/pwn/aws/x_ray_spec.rb +15 -0
- data/spec/lib/pwn/aws_spec.rb +10 -0
- data/spec/lib/pwn/banner/bubble_spec.rb +20 -0
- data/spec/lib/pwn/banner/matrix_spec.rb +20 -0
- data/spec/lib/pwn/banner/ninja_spec.rb +20 -0
- data/spec/lib/pwn/banner/off_the_air_spec.rb +20 -0
- data/spec/lib/pwn/banner/pirate_spec.rb +20 -0
- data/spec/lib/pwn/banner_spec.rb +15 -0
- data/spec/lib/pwn/ffi_spec.rb +10 -0
- data/spec/lib/pwn/plugins/android_spec.rb +15 -0
- data/spec/lib/pwn/plugins/authentication_helper_spec.rb +15 -0
- data/spec/lib/pwn/plugins/basic_auth_spec.rb +15 -0
- data/spec/lib/pwn/plugins/beef_spec.rb +15 -0
- data/spec/lib/pwn/plugins/burp_suite_spec.rb +15 -0
- data/spec/lib/pwn/plugins/bus_pirate_spec.rb +15 -0
- data/spec/lib/pwn/plugins/char_spec.rb +15 -0
- data/spec/lib/pwn/plugins/credit_card_spec.rb +15 -0
- data/spec/lib/pwn/plugins/dao_ldap_spec.rb +15 -0
- data/spec/lib/pwn/plugins/dao_mongo_spec.rb +15 -0
- data/spec/lib/pwn/plugins/dao_postgres_spec.rb +15 -0
- data/spec/lib/pwn/plugins/dao_sqlite3_spec.rb +15 -0
- data/spec/lib/pwn/plugins/defect_dojo_spec.rb +15 -0
- data/spec/lib/pwn/plugins/detect_os_spec.rb +15 -0
- data/spec/lib/pwn/plugins/ein_spec.rb +15 -0
- data/spec/lib/pwn/plugins/file_fu_spec.rb +15 -0
- data/spec/lib/pwn/plugins/fuzz_spec.rb +15 -0
- data/spec/lib/pwn/plugins/git_spec.rb +15 -0
- data/spec/lib/pwn/plugins/github_spec.rb +15 -0
- data/spec/lib/pwn/plugins/hacker_one_spec.rb +15 -0
- data/spec/lib/pwn/plugins/ibm_appscan_spec.rb +15 -0
- data/spec/lib/pwn/plugins/ip_info_spec.rb +15 -0
- data/spec/lib/pwn/plugins/jenkins_spec.rb +15 -0
- data/spec/lib/pwn/plugins/json_pathify_spec.rb +15 -0
- data/spec/lib/pwn/plugins/mail_agent_spec.rb +15 -0
- data/spec/lib/pwn/plugins/metasploit_spec.rb +15 -0
- data/spec/lib/pwn/plugins/msr206_spec.rb +15 -0
- data/spec/lib/pwn/plugins/nessus_cloud_spec.rb +15 -0
- data/spec/lib/pwn/plugins/nexpose_vuln_scan_spec.rb +15 -0
- data/spec/lib/pwn/plugins/nmap_it_spec.rb +15 -0
- data/spec/lib/pwn/plugins/oauth2_spec.rb +15 -0
- data/spec/lib/pwn/plugins/ocr_spec.rb +15 -0
- data/spec/lib/pwn/plugins/openvas_spec.rb +15 -0
- data/spec/lib/pwn/plugins/owasp_zap_spec.rb +15 -0
- data/spec/lib/pwn/plugins/packet_spec.rb +15 -0
- data/spec/lib/pwn/plugins/pdf_parse_spec.rb +15 -0
- data/spec/lib/pwn/plugins/pony_spec.rb +15 -0
- data/spec/lib/pwn/plugins/rabbit_mq_spec.rb +15 -0
- data/spec/lib/pwn/plugins/rfidler_spec.rb +15 -0
- data/spec/lib/pwn/plugins/serial_spec.rb +15 -0
- data/spec/lib/pwn/plugins/shodan_spec.rb +15 -0
- data/spec/lib/pwn/plugins/slack_client_spec.rb +15 -0
- data/spec/lib/pwn/plugins/sock_spec.rb +15 -0
- data/spec/lib/pwn/plugins/son_micro_rfid_spec.rb +15 -0
- data/spec/lib/pwn/plugins/spider_spec.rb +15 -0
- data/spec/lib/pwn/plugins/ssn_spec.rb +15 -0
- data/spec/lib/pwn/plugins/thread_pool_spec.rb +15 -0
- data/spec/lib/pwn/plugins/transparent_browser_spec.rb +15 -0
- data/spec/lib/pwn/plugins/twitter_api_spec.rb +15 -0
- data/spec/lib/pwn/plugins/uri_scheme_spec.rb +15 -0
- data/spec/lib/pwn/plugins/vsphere_spec.rb +15 -0
- data/spec/lib/pwn/plugins_spec.rb +10 -0
- data/spec/lib/pwn/reports/fuzz_spec.rb +15 -0
- data/spec/lib/pwn/reports/phone_spec.rb +15 -0
- data/spec/lib/pwn/reports/sast_spec.rb +15 -0
- data/spec/lib/pwn/reports/uri_buster_spec.rb +15 -0
- data/spec/lib/pwn/reports_spec.rb +10 -0
- data/spec/lib/pwn/sast/amqp_connect_as_guest_spec.rb +25 -0
- data/spec/lib/pwn/sast/apache_file_system_util_api_spec.rb +25 -0
- data/spec/lib/pwn/sast/aws_spec.rb +25 -0
- data/spec/lib/pwn/sast/banned_function_calls_c_spec.rb +25 -0
- data/spec/lib/pwn/sast/base64_spec.rb +25 -0
- data/spec/lib/pwn/sast/beef_hook_spec.rb +25 -0
- data/spec/lib/pwn/sast/cmd_execution_java_spec.rb +25 -0
- data/spec/lib/pwn/sast/cmd_execution_python_spec.rb +25 -0
- data/spec/lib/pwn/sast/cmd_execution_ruby_spec.rb +25 -0
- data/spec/lib/pwn/sast/cmd_execution_scala_spec.rb +25 -0
- data/spec/lib/pwn/sast/csrf_spec.rb +25 -0
- data/spec/lib/pwn/sast/deserial_java_spec.rb +25 -0
- data/spec/lib/pwn/sast/emoticon_spec.rb +25 -0
- data/spec/lib/pwn/sast/eval_spec.rb +25 -0
- data/spec/lib/pwn/sast/factory_spec.rb +25 -0
- data/spec/lib/pwn/sast/http_authorization_header_spec.rb +25 -0
- data/spec/lib/pwn/sast/inner_html_spec.rb +25 -0
- data/spec/lib/pwn/sast/keystore_spec.rb +25 -0
- data/spec/lib/pwn/sast/location_hash_spec.rb +25 -0
- data/spec/lib/pwn/sast/log4j_spec.rb +25 -0
- data/spec/lib/pwn/sast/logger_spec.rb +25 -0
- data/spec/lib/pwn/sast/password_spec.rb +25 -0
- data/spec/lib/pwn/sast/php_input_mechanisms_spec.rb +25 -0
- data/spec/lib/pwn/sast/php_type_juggling_spec.rb +25 -0
- data/spec/lib/pwn/sast/pom_version_spec.rb +25 -0
- data/spec/lib/pwn/sast/port_spec.rb +25 -0
- data/spec/lib/pwn/sast/private_key_spec.rb +25 -0
- data/spec/lib/pwn/sast/redirect_spec.rb +25 -0
- data/spec/lib/pwn/sast/redos_spec.rb +25 -0
- data/spec/lib/pwn/sast/shell_spec.rb +25 -0
- data/spec/lib/pwn/sast/signature_spec.rb +25 -0
- data/spec/lib/pwn/sast/sql_spec.rb +25 -0
- data/spec/lib/pwn/sast/ssl_spec.rb +25 -0
- data/spec/lib/pwn/sast/sudo_spec.rb +25 -0
- data/spec/lib/pwn/sast/task_tag_spec.rb +25 -0
- data/spec/lib/pwn/sast/throw_errors_spec.rb +25 -0
- data/spec/lib/pwn/sast/token_spec.rb +25 -0
- data/spec/lib/pwn/sast/version_spec.rb +25 -0
- data/spec/lib/pwn/sast/window_location_hash_spec.rb +25 -0
- data/spec/lib/pwn/sast_spec.rb +10 -0
- data/spec/lib/pwn/www/app_cobalt_io_spec.rb +15 -0
- data/spec/lib/pwn/www/bing_spec.rb +15 -0
- data/spec/lib/pwn/www/bug_crowd.rb +15 -0
- data/spec/lib/pwn/www/checkip_spec.rb +15 -0
- data/spec/lib/pwn/www/coinbase_pro_spec.rb +15 -0
- data/spec/lib/pwn/www/duckduckgo_spec.rb +15 -0
- data/spec/lib/pwn/www/facebook_spec.rb +15 -0
- data/spec/lib/pwn/www/google_spec.rb +15 -0
- data/spec/lib/pwn/www/hacker_one_spec.rb +15 -0
- data/spec/lib/pwn/www/linkedin_spec.rb +15 -0
- data/spec/lib/pwn/www/pandora_spec.rb +15 -0
- data/spec/lib/pwn/www/pastebin_spec.rb +15 -0
- data/spec/lib/pwn/www/paypal_spec.rb +15 -0
- data/spec/lib/pwn/www/synack_spec.rb +15 -0
- data/spec/lib/pwn/www/torch_spec.rb +15 -0
- data/spec/lib/pwn/www/trading_view_spec.rb +15 -0
- data/spec/lib/pwn/www/twitter_spec.rb +15 -0
- data/spec/lib/pwn/www/uber_spec.rb +15 -0
- data/spec/lib/pwn/www/upwork_spec.rb +15 -0
- data/spec/lib/pwn/www/youtube_spec.rb +15 -0
- data/spec/lib/pwn/www_spec.rb +10 -0
- data/spec/lib/pwn_spec.rb +10 -0
- data/spec/spec_helper.rb +3 -0
- data/third_party/.gitkeep +0 -0
- data/update_pwn.sh +9 -0
- data/upgrade_ruby.sh +42 -0
- data/vagrant/provisioners/apache2.sh +76 -0
- data/vagrant/provisioners/beef.rb +30 -0
- data/vagrant/provisioners/burpsuite_pro.rb +37 -0
- data/vagrant/provisioners/exploit-db.sh +2 -0
- data/vagrant/provisioners/gem.sh +4 -0
- data/vagrant/provisioners/init_env.sh +22 -0
- data/vagrant/provisioners/jenkins.sh +87 -0
- data/vagrant/provisioners/jenkins_ssh-keygen.rb +86 -0
- data/vagrant/provisioners/kali_customize.rb +130 -0
- data/vagrant/provisioners/letsencrypt.rb +35 -0
- data/vagrant/provisioners/metasploit.rb +25 -0
- data/vagrant/provisioners/nmap_all_live_hosts.sh +2 -0
- data/vagrant/provisioners/openvas.sh +23 -0
- data/vagrant/provisioners/openvas_wrappers.sh +2 -0
- data/vagrant/provisioners/post_install.sh +14 -0
- data/vagrant/provisioners/postgres.sh +22 -0
- data/vagrant/provisioners/pwn.sh +15 -0
- data/vagrant/provisioners/rvm.sh +18 -0
- data/vagrant/provisioners/ssllabs-scan.sh +10 -0
- data/vagrant/provisioners/toggle_tor.sh +2 -0
- data/vagrant/provisioners/update_jenkins_plugins.rb +30 -0
- data/vagrant/provisioners/update_os.sh +108 -0
- data/vagrant/provisioners/upload_globals.sh +63 -0
- data/vagrant/provisioners/userland_fdisk.sh +22 -0
- data/vagrant/provisioners/userland_lvm.sh +5 -0
- data/vagrant/provisioners/wpscan.rb +25 -0
- data/vagrant_rsync_third_party.lst +1 -0
- data/vagrant_rsync_userland_template.lst +8 -0
- metadata +992 -3
@@ -0,0 +1,42 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<project>
|
3
|
+
<actions/>
|
4
|
+
<description></description>
|
5
|
+
<keepDependencies>false</keepDependencies>
|
6
|
+
<properties>
|
7
|
+
<jenkins.model.BuildDiscarderProperty>
|
8
|
+
<strategy class="hudson.tasks.LogRotator">
|
9
|
+
<daysToKeep>-1</daysToKeep>
|
10
|
+
<numToKeep>9</numToKeep>
|
11
|
+
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
12
|
+
<artifactNumToKeep>-1</artifactNumToKeep>
|
13
|
+
</strategy>
|
14
|
+
</jenkins.model.BuildDiscarderProperty>
|
15
|
+
</properties>
|
16
|
+
<scm class="hudson.scm.NullSCM"/>
|
17
|
+
<canRoam>true</canRoam>
|
18
|
+
<disabled>false</disabled>
|
19
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
20
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
21
|
+
<triggers/>
|
22
|
+
<concurrentBuild>false</concurrentBuild>
|
23
|
+
<builders>
|
24
|
+
<hudson.tasks.Shell>
|
25
|
+
<command>/bin/bash --login -c "cd $PWN_ROOT && ./vagrant/provisioners/rvm.sh"</command>
|
26
|
+
</hudson.tasks.Shell>
|
27
|
+
</builders>
|
28
|
+
<publishers>
|
29
|
+
<hudson.plugins.logparser.LogParserPublisher plugin="log-parser@2.0">
|
30
|
+
<unstableOnWarning>true</unstableOnWarning>
|
31
|
+
<failBuildOnError>true</failBuildOnError>
|
32
|
+
<showGraphs>true</showGraphs>
|
33
|
+
<parsingRulesPath>$PWN_ROOT/userland/$PWN_PROVIDER/jenkins/log_parser_rules/self_update.rules</parsingRulesPath>
|
34
|
+
<useProjectRule>false</useProjectRule>
|
35
|
+
</hudson.plugins.logparser.LogParserPublisher>
|
36
|
+
</publishers>
|
37
|
+
<buildWrappers>
|
38
|
+
<hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.5.0">
|
39
|
+
<colorMapName>xterm</colorMapName>
|
40
|
+
</hudson.plugins.ansicolor.AnsiColorBuildWrapper>
|
41
|
+
</buildWrappers>
|
42
|
+
</project>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<project>
|
3
|
+
<actions/>
|
4
|
+
<description></description>
|
5
|
+
<keepDependencies>false</keepDependencies>
|
6
|
+
<properties>
|
7
|
+
<jenkins.model.BuildDiscarderProperty>
|
8
|
+
<strategy class="hudson.tasks.LogRotator">
|
9
|
+
<daysToKeep>-1</daysToKeep>
|
10
|
+
<numToKeep>9</numToKeep>
|
11
|
+
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
12
|
+
<artifactNumToKeep>-1</artifactNumToKeep>
|
13
|
+
</strategy>
|
14
|
+
</jenkins.model.BuildDiscarderProperty>
|
15
|
+
</properties>
|
16
|
+
<scm class="hudson.scm.NullSCM"/>
|
17
|
+
<canRoam>true</canRoam>
|
18
|
+
<disabled>false</disabled>
|
19
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
20
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
21
|
+
<triggers/>
|
22
|
+
<concurrentBuild>false</concurrentBuild>
|
23
|
+
<builders>
|
24
|
+
<hudson.tasks.Shell>
|
25
|
+
<command>/bin/bash --login -c "cd $PWN_ROOT && ./vagrant/provisioners/ssllabs-scan.sh"</command>
|
26
|
+
</hudson.tasks.Shell>
|
27
|
+
</builders>
|
28
|
+
<publishers>
|
29
|
+
<hudson.plugins.logparser.LogParserPublisher plugin="log-parser@2.0">
|
30
|
+
<unstableOnWarning>true</unstableOnWarning>
|
31
|
+
<failBuildOnError>true</failBuildOnError>
|
32
|
+
<showGraphs>true</showGraphs>
|
33
|
+
<parsingRulesPath>$PWN_ROOT/userland/$PWN_PROVIDER/jenkins/log_parser_rules/self_update.rules</parsingRulesPath>
|
34
|
+
<useProjectRule>false</useProjectRule>
|
35
|
+
</hudson.plugins.logparser.LogParserPublisher>
|
36
|
+
</publishers>
|
37
|
+
<buildWrappers>
|
38
|
+
<hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.5.0">
|
39
|
+
<colorMapName>xterm</colorMapName>
|
40
|
+
</hudson.plugins.ansicolor.AnsiColorBuildWrapper>
|
41
|
+
</buildWrappers>
|
42
|
+
</project>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<project>
|
3
|
+
<actions/>
|
4
|
+
<description></description>
|
5
|
+
<keepDependencies>false</keepDependencies>
|
6
|
+
<properties>
|
7
|
+
<jenkins.model.BuildDiscarderProperty>
|
8
|
+
<strategy class="hudson.tasks.LogRotator">
|
9
|
+
<daysToKeep>-1</daysToKeep>
|
10
|
+
<numToKeep>9</numToKeep>
|
11
|
+
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
12
|
+
<artifactNumToKeep>-1</artifactNumToKeep>
|
13
|
+
</strategy>
|
14
|
+
</jenkins.model.BuildDiscarderProperty>
|
15
|
+
</properties>
|
16
|
+
<scm class="hudson.scm.NullSCM"/>
|
17
|
+
<canRoam>true</canRoam>
|
18
|
+
<disabled>false</disabled>
|
19
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
20
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
21
|
+
<triggers/>
|
22
|
+
<concurrentBuild>false</concurrentBuild>
|
23
|
+
<builders>
|
24
|
+
<hudson.tasks.Shell>
|
25
|
+
<command>/bin/bash --login -c "cd $PWN_ROOT && ./vagrant/provisioners/wpscan.rb"</command>
|
26
|
+
</hudson.tasks.Shell>
|
27
|
+
</builders>
|
28
|
+
<publishers>
|
29
|
+
<hudson.plugins.logparser.LogParserPublisher plugin="log-parser@2.0">
|
30
|
+
<unstableOnWarning>true</unstableOnWarning>
|
31
|
+
<failBuildOnError>true</failBuildOnError>
|
32
|
+
<showGraphs>true</showGraphs>
|
33
|
+
<parsingRulesPath>$PWN_ROOT/userland/$PWN_PROVIDER/jenkins/log_parser_rules/self_update.rules</parsingRulesPath>
|
34
|
+
<useProjectRule>false</useProjectRule>
|
35
|
+
</hudson.plugins.logparser.LogParserPublisher>
|
36
|
+
</publishers>
|
37
|
+
<buildWrappers>
|
38
|
+
<hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.5.0">
|
39
|
+
<colorMapName>xterm</colorMapName>
|
40
|
+
</hudson.plugins.ansicolor.AnsiColorBuildWrapper>
|
41
|
+
</buildWrappers>
|
42
|
+
</project>
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
#ok /not really/
|
2
|
+
|
3
|
+
# match line containing 'error', case-insensitive
|
4
|
+
error /(?i)(^|\s)error(:|\s)/
|
5
|
+
|
6
|
+
# match line containing 'warning', case-insensitive
|
7
|
+
warning /(?i)(^|\s)warning(:|\s)/
|
8
|
+
|
9
|
+
# create a quick access link to lines in the report containing 'INFO'
|
10
|
+
info /INFO/
|
11
|
+
|
12
|
+
# each line containing 'BUILD' represents the start of a section for grouping errors and warnings found after the line.
|
13
|
+
# also creates a quick access link.
|
14
|
+
start /BUILD/
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Fail
|
2
|
+
error /("grade"(:\s+|:)("D\+"|"D"|"D-"|"F")|Certificate not valid for domain name|Unable to connect to the server)/
|
3
|
+
|
4
|
+
# Warn as TLS Certs Begin to Degrade
|
5
|
+
warning /"grade"(:\s+|:)("B\+"|"B"|"B-"|"C\+"|"C"|"C-")/
|
6
|
+
|
7
|
+
# Build Success
|
8
|
+
info /"grade"(:\s+|:)("A\+"|"A"|"A-")/
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# FYI: Prone to false positives
|
2
|
+
# Mark Build as Failed if the Following Generic Strings are Discovered
|
3
|
+
error /(?i)(error|stacktrace|exception):/
|
4
|
+
|
5
|
+
# Mark Build as Unstable if the Following Generic Strings are Discovered
|
6
|
+
warning /(?i)warning:/
|
7
|
+
|
8
|
+
# Build Success
|
9
|
+
info /.*/
|
@@ -0,0 +1,8 @@
|
|
1
|
+
user: 'pwnadmin'
|
2
|
+
pass: 'changeme'
|
3
|
+
fullname: 'changeme'
|
4
|
+
email: 'changeme@pwn.local'
|
5
|
+
ssh_keygen_pass: 'changeme'
|
6
|
+
#jenkins_job_credentials:
|
7
|
+
# - { ssh_username: 'changeme', description: 'changeme', credential_id: '000000001' }
|
8
|
+
# - { ssh_username: 'changeme', description: 'changeme', credential_id: '000000002' }
|
@@ -0,0 +1,15 @@
|
|
1
|
+
access_key: 'ACCESS_KEY'
|
2
|
+
secret_key: 'SECRET_KEY'
|
3
|
+
credentials:
|
4
|
+
add:
|
5
|
+
Host:
|
6
|
+
Windows:
|
7
|
+
- domain: 'dc.local'
|
8
|
+
username: 'USERNAME'
|
9
|
+
auth_method: 'Password'
|
10
|
+
password: 'PASSWORD'
|
11
|
+
plugins:
|
12
|
+
Web Servers:
|
13
|
+
individual:
|
14
|
+
'11213': enabled
|
15
|
+
'18261': enabled
|
@@ -0,0 +1,52 @@
|
|
1
|
+
ipinfodb_api_key: ""
|
2
|
+
bing_api_key: ""
|
3
|
+
shodan_api_key: ""
|
4
|
+
shodan_api_key: ""
|
5
|
+
google_api_key: ""
|
6
|
+
google_cse_key: ""
|
7
|
+
builtwith_api_key: ""
|
8
|
+
bing_api_key: ""
|
9
|
+
github_api_key: ""
|
10
|
+
hashes_api_key: ""
|
11
|
+
github_api_key: ""
|
12
|
+
linkedin_api_key: ""
|
13
|
+
linkedin_secret_key: ""
|
14
|
+
bing_api_key: ""
|
15
|
+
jigsaw_username_key: ""
|
16
|
+
jigsaw_password_key: ""
|
17
|
+
jigsaw_api_key: ""
|
18
|
+
jigsaw_username_key: ""
|
19
|
+
jigsaw_password_key: ""
|
20
|
+
jigsaw_api_key: ""
|
21
|
+
jigsaw_api_key: ""
|
22
|
+
shodan_api_key: ""
|
23
|
+
flickr_api_key: ""
|
24
|
+
twitter_api_key: ""
|
25
|
+
twitter_secret_key: ""
|
26
|
+
google_api_key: ""
|
27
|
+
instagram_api_key: ""
|
28
|
+
instagram_secret_key: ""
|
29
|
+
shodan_api_key: ""
|
30
|
+
github_api_key: ""
|
31
|
+
fullcontact_api_key: ""
|
32
|
+
github_api_key: ""
|
33
|
+
censysio_id_key: ""
|
34
|
+
censysio_secret_key: ""
|
35
|
+
pwnedlist_api_key: ""
|
36
|
+
pwnedlist_secret_key: ""
|
37
|
+
pwnedlist_iv_key: ""
|
38
|
+
pwnedlist_api_key: ""
|
39
|
+
pwnedlist_secret_key: ""
|
40
|
+
pwnedlist_iv_key: ""
|
41
|
+
pwnedlist_api_key: ""
|
42
|
+
pwnedlist_secret_key: ""
|
43
|
+
pwnedlist_api_key: ""
|
44
|
+
pwnedlist_secret_key: ""
|
45
|
+
pwnedlist_api_key: ""
|
46
|
+
pwnedlist_secret_key: ""
|
47
|
+
twitter_api_key: ""
|
48
|
+
twitter_secret_key: ""
|
49
|
+
twitter_api_key: ""
|
50
|
+
twitter_secret_key: ""
|
51
|
+
github_api_key: ""
|
52
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
#!/bin/bash --login
|
2
|
+
cat Gemfile | awk '{print $2}' | grep -E "^'.+$" | grep -v -e rubygems.org | while read gem; do
|
3
|
+
this_gem=`echo $gem | sed "s/'//g" | sed 's/\,//g'`
|
4
|
+
latest_version=`gem search -r $this_gem | grep -E "^${this_gem}\s.+$" | awk '{print $2}' | sed 's/(//g' | sed 's/)//g' | sed 's/,//g'`
|
5
|
+
echo "${this_gem} => $latest_version"
|
6
|
+
if [[ $this_gem == 'bundler' ]]; then
|
7
|
+
sed -i "s/^gem '${this_gem}'.*$/gem '${this_gem}', '>=${latest_version}'/g" Gemfile
|
8
|
+
else
|
9
|
+
sed -i "s/^gem '${this_gem}'.*$/gem '${this_gem}', '${latest_version}'/g" Gemfile
|
10
|
+
fi
|
11
|
+
done
|
@@ -0,0 +1,37 @@
|
|
1
|
+
#!/bin/bash --login
|
2
|
+
usage() {
|
3
|
+
echo "USAGE: ${0} '<full name>' <email address> '<git commit comments>'"
|
4
|
+
exit 1
|
5
|
+
}
|
6
|
+
|
7
|
+
if (( $# == 3 )); then
|
8
|
+
# Default Strategy is to merge codebase
|
9
|
+
git config pull.rebase false
|
10
|
+
git config commit.gpgsign true
|
11
|
+
git pull
|
12
|
+
git add . --all
|
13
|
+
echo 'Updating Gems to Latest Versions in Gemfile...'
|
14
|
+
./find_latest_gem_versions_per_Gemfile.sh
|
15
|
+
pwn_autoinc_version
|
16
|
+
git commit -a -S --author="${1} <${2}>" -m "${3}"
|
17
|
+
./update_pwn.sh
|
18
|
+
|
19
|
+
latest_gem=$(ls pkg/*.gem)
|
20
|
+
if [[ $latest_gem != "" ]]; then
|
21
|
+
echo "Pushing ${latest_gem} to RubyGems.org..."
|
22
|
+
rvmsudo gem push $latest_gem --debug
|
23
|
+
fi
|
24
|
+
|
25
|
+
# Tag for every 100 commits (i.e. 0.1.100, 0.1.200, etc)
|
26
|
+
tag_this_version_bool=`ruby -r 'pwn' -e 'if PWN::VERSION.split(".")[-1].to_i % 100 == 0; then print true; else print false; end'`
|
27
|
+
if [[ $tag_this_version_bool == 'true' ]]; then
|
28
|
+
this_version=`ruby -r 'pwn' -e 'print PWN::VERSION'`
|
29
|
+
echo "Tagging: ${this_version}"
|
30
|
+
git tag $this_version
|
31
|
+
last_tag=$(git tag | tail -n 2 | head -n 1)
|
32
|
+
this_tag=$(git tag | tail -n 1)
|
33
|
+
git log $last_tag...$this_tag --oneline > CHANGELOG_BETWEEN_TAGS.txt
|
34
|
+
fi
|
35
|
+
else
|
36
|
+
usage
|
37
|
+
fi
|
data/install.sh
ADDED
@@ -0,0 +1,176 @@
|
|
1
|
+
#!/bin/bash --login
|
2
|
+
if [[ -d '/opt/pwn' ]]; then
|
3
|
+
pwn_root='/opt/pwn'
|
4
|
+
else
|
5
|
+
pwn_root="${PWN_ROOT}"
|
6
|
+
fi
|
7
|
+
|
8
|
+
date -u +%Y-%m-%d_%H.%M.%S
|
9
|
+
debug=$2
|
10
|
+
pwn_deploy_type=$1
|
11
|
+
os=$(uname -s)
|
12
|
+
|
13
|
+
# TODO: Check that all configs exist
|
14
|
+
# MAKE .EXAMPLE and actual file the same
|
15
|
+
# if they're the same size prompt user to
|
16
|
+
# configure
|
17
|
+
# TODO: install ansible in this script if not installed
|
18
|
+
# to take advantage of encrypted configs early on
|
19
|
+
|
20
|
+
function usage() {
|
21
|
+
echo $"Usage: $0 <aws | docker_pwn_prototyper | docker_pwn_fuzz_net_app_proto | docker_pwn_transparent_browser | docker_pwn_sast | docker_pwn_www_checkip | ruby-gem | virtualbox | virtualbox-gui | vmware-fusion | vmware-fusion-gui | vmware-workstation | vmware-workstation-gui | vsphere>"
|
22
|
+
date -u +%Y-%m-%d_%H.%M.%S
|
23
|
+
exit 1
|
24
|
+
}
|
25
|
+
|
26
|
+
function deploy_docker_container() {
|
27
|
+
export PWN_PROVIDER="docker"
|
28
|
+
|
29
|
+
if [[ $debug == '' ]]; then
|
30
|
+
vagrant up --provider=docker
|
31
|
+
else
|
32
|
+
vagrant up --provider=docker --debug
|
33
|
+
fi
|
34
|
+
|
35
|
+
}
|
36
|
+
|
37
|
+
if [[ $# != 1 ]] && [[ $# != 2 ]]; then
|
38
|
+
usage
|
39
|
+
fi
|
40
|
+
|
41
|
+
case $pwn_deploy_type in
|
42
|
+
"aws")
|
43
|
+
export PWN_PROVIDER="aws"
|
44
|
+
if [[ -e "./etc/userland/aws/vagrant.yaml" ]]; then
|
45
|
+
vagrant plugin install vagrant-reload
|
46
|
+
vagrant plugin install vagrant-aws
|
47
|
+
vagrant plugin install vagrant-aws-dns
|
48
|
+
vagrant box add dummy https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box --force
|
49
|
+
if [[ $debug == '' ]]; then
|
50
|
+
vagrant up --provider=aws
|
51
|
+
else
|
52
|
+
vagrant up --provider=aws --debug
|
53
|
+
fi
|
54
|
+
else
|
55
|
+
echo "ERROR: Missing vagrant.yaml Config"
|
56
|
+
echo "Use ./etc/userland/aws/vagrant.yaml.EXAMPLE as a Template to Create ./etc/userland/aws/vagrant.yaml"
|
57
|
+
fi
|
58
|
+
;;
|
59
|
+
"kvm")
|
60
|
+
# TODO: Coming soon
|
61
|
+
echo "Coming soon..."
|
62
|
+
;;
|
63
|
+
"docker_pwn_prototyper")
|
64
|
+
export DOCKER_CONTAINER_TARGET="docker_pwn_prototyper"
|
65
|
+
deploy_docker_container
|
66
|
+
;;
|
67
|
+
"docker_pwn_fuzz_net_app_proto")
|
68
|
+
export DOCKER_CONTAINER_TARGET="docker_pwn_fuzz_net_app_proto"
|
69
|
+
deploy_docker_container
|
70
|
+
;;
|
71
|
+
"docker_pwn_transparent_browser")
|
72
|
+
export DOCKER_CONTAINER_TARGET="docker_pwn_transparent_browser"
|
73
|
+
deploy_docker_container
|
74
|
+
;;
|
75
|
+
"docker_pwn_sast")
|
76
|
+
export DOCKER_CONTAINER_TARGET="docker_pwn_sast"
|
77
|
+
deploy_docker_container
|
78
|
+
;;
|
79
|
+
"docker_pwn_www_checkip")
|
80
|
+
export DOCKER_CONTAINER_TARGET="docker_pwn_www_checkip"
|
81
|
+
deploy_docker_container
|
82
|
+
;;
|
83
|
+
"ruby-gem")
|
84
|
+
export PWN_PROVIDER="ruby-gem"
|
85
|
+
./packer/provisioners/upload_globals.sh
|
86
|
+
./packer/provisioners/rvm.sh
|
87
|
+
./packer/provisioners/ruby.sh
|
88
|
+
./packer/provisioners/pwn.sh
|
89
|
+
;;
|
90
|
+
"virtualbox"|"virtualbox-gui")
|
91
|
+
if [[ -e "./etc/userland/virtualbox/vagrant.yaml" ]]; then
|
92
|
+
export PWN_PROVIDER="virtualbox"
|
93
|
+
if [[ $pwn_deploy_type == "virtualbox-gui" ]]; then
|
94
|
+
export VAGRANT_GUI="true"
|
95
|
+
fi
|
96
|
+
if [[ $debug == '' ]]; then
|
97
|
+
vagrant up --provider=virtualbox
|
98
|
+
else
|
99
|
+
vagrant up --provider=virtualbox --debug
|
100
|
+
fi
|
101
|
+
else
|
102
|
+
echo "ERROR: Missing vagrant.yaml Config"
|
103
|
+
echo "Use ./etc/userland/virtualbox/vagrant.yaml.EXAMPLE as a Template to Create ./etc/userland/virtualbox/vagrant.yaml"
|
104
|
+
fi
|
105
|
+
;;
|
106
|
+
"vmware-fusion"|"vmware-fusion-gui"|"vmware-workstation"|"vmware-workstation-gui")
|
107
|
+
if [[ -e "./etc/userland/vmware/vagrant.yaml" ]]; then
|
108
|
+
export PWN_PROVIDER="vmware"
|
109
|
+
license_file=$(ruby -e "require 'yaml'; print YAML.load_file('./etc/userland/vmware/vagrant.yaml')['vagrant_vmware_license']")
|
110
|
+
vagrant plugin install vagrant-vmware-desktop
|
111
|
+
vagrant plugin license vagrant-vmware-desktop $license_file
|
112
|
+
|
113
|
+
case $pwn_deploy_type in
|
114
|
+
"vmware-fusion"|"vmware-fusion-gui")
|
115
|
+
if [[ $pwn_deploy_type == "vmware-fusion-gui" ]]; then
|
116
|
+
export VAGRANT_GUI="true"
|
117
|
+
fi
|
118
|
+
|
119
|
+
if [[ $debug == '' ]]; then
|
120
|
+
vagrant up --provider=vmware_fusion
|
121
|
+
else
|
122
|
+
vagrant up --provider=vmware_fusion --debug
|
123
|
+
fi
|
124
|
+
;;
|
125
|
+
"vmware-workstation"|"vmware-workstation-gui")
|
126
|
+
if [[ $pwn_deploy_type == "vmware-workstation-gui" ]]; then
|
127
|
+
export VAGRANT_GUI="true"
|
128
|
+
fi
|
129
|
+
|
130
|
+
if [[ $debug == '' ]]; then
|
131
|
+
vagrant up --provider=vmware_workstation
|
132
|
+
else
|
133
|
+
vagrant up --provider=vmware_workstation --debug
|
134
|
+
fi
|
135
|
+
;;
|
136
|
+
esac
|
137
|
+
else
|
138
|
+
echo "ERROR: Missing vagrant.yaml Config"
|
139
|
+
echo "Use ./etc/userland/vmware/vagrant.yaml.EXAMPLE as a Template to Create ./etc/userland/vmware/vagrant.yaml"
|
140
|
+
fi
|
141
|
+
;;
|
142
|
+
"vsphere")
|
143
|
+
export PWN_PROVIDER="vmware"
|
144
|
+
vmx=$(find ${pwn_root}/.vagrant/machines/default/ -name packer-vmware-iso.vmx | grep vmware)
|
145
|
+
if [[ -e $vmx ]]; then
|
146
|
+
vagrant status | grep running
|
147
|
+
if [[ $? == 0 ]]; then
|
148
|
+
vagrant halt
|
149
|
+
fi
|
150
|
+
vmx_basename=$(basename $vmx)
|
151
|
+
ova="$HOME/${vmx_basename}.ova"
|
152
|
+
ovftool $vmx $ova
|
153
|
+
if [[ $? == 0 ]]; then
|
154
|
+
echo "vSphere Image: ${ova}"
|
155
|
+
echo "Ready for deployment."
|
156
|
+
else
|
157
|
+
echo "There was an issue with the ovftool command."
|
158
|
+
echo "Ensure the VM is powered down and ovftool is in your path (i.e. Symlink to /usr/local/bin)"
|
159
|
+
fi
|
160
|
+
else
|
161
|
+
echo "ERROR: VMware VMX file for PWN is missing."
|
162
|
+
echo "HINTS: Before running ${0} vsphere"
|
163
|
+
echo "Run one of the following to deploy the local VMX necessary to create the vSphere OVA file:"
|
164
|
+
echo "${0} vmware-fusion"
|
165
|
+
echo "${0} vmware-fusion-gui"
|
166
|
+
echo "${0} vmware-workstation"
|
167
|
+
echo "${0} vmware-workstation-gui"
|
168
|
+
echo -e "Implement all of your userland requirements, update your SSH keys (if applicable), and try again.\n"
|
169
|
+
echo "Good Luck!"
|
170
|
+
fi
|
171
|
+
;;
|
172
|
+
*)
|
173
|
+
usage
|
174
|
+
;;
|
175
|
+
esac
|
176
|
+
date -u +%Y-%m-%d_%H.%M.%S
|
data/lib/pwn/aws/acm.rb
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'aws-sdk'
|
4
|
+
|
5
|
+
module PWN
|
6
|
+
module AWS
|
7
|
+
# This module provides a client for making API requests to AWS Certificate Manager.
|
8
|
+
module ACM
|
9
|
+
@@logger = PWN::Plugins::PWNLogger.create
|
10
|
+
|
11
|
+
# Supported Method Parameters::
|
12
|
+
# PWN::AWS::ACM.connect(
|
13
|
+
# region: 'required - region name to connect (eu-west-1, ap-southeast-1, ap-southeast-2, eu-central-1, ap-northeast-2, ap-northeast-1, us-east-1, sa-east-1, us-west-1, us-west-2)',
|
14
|
+
# access_key_id: 'required - Use AWS STS for best privacy (i.e. temporary access key id)',
|
15
|
+
# secret_access_key: 'required - Use AWS STS for best privacy (i.e. temporary secret access key',
|
16
|
+
# sts_session_token: 'optional - Temporary token returned by STS client for best privacy'
|
17
|
+
# )
|
18
|
+
|
19
|
+
public_class_method def self.connect(opts = {})
|
20
|
+
region = opts[:region].to_s.scrub.chomp.strip
|
21
|
+
access_key_id = opts[:access_key_id].to_s.scrub.chomp.strip
|
22
|
+
secret_access_key = opts[:secret_access_key].to_s.scrub.chomp.strip
|
23
|
+
sts_session_token = opts[:sts_session_token].to_s.scrub.chomp.strip
|
24
|
+
|
25
|
+
@@logger.info('Connecting to AWS ACM...')
|
26
|
+
if sts_session_token == ''
|
27
|
+
acm_obj = Aws::ACM::Client.new(
|
28
|
+
region: region,
|
29
|
+
access_key_id: access_key_id,
|
30
|
+
secret_access_key: secret_access_key
|
31
|
+
)
|
32
|
+
else
|
33
|
+
acm_obj = Aws::ACM::Client.new(
|
34
|
+
region: region,
|
35
|
+
access_key_id: access_key_id,
|
36
|
+
secret_access_key: secret_access_key,
|
37
|
+
session_token: sts_session_token
|
38
|
+
)
|
39
|
+
end
|
40
|
+
@@logger.info("complete.\n")
|
41
|
+
|
42
|
+
acm_obj
|
43
|
+
rescue StandardError => e
|
44
|
+
raise e
|
45
|
+
end
|
46
|
+
|
47
|
+
# Supported Method Parameters::
|
48
|
+
# PWN::AWS::ACM.disconnect(
|
49
|
+
# acm_obj: 'required - acm_obj returned from #connect method'
|
50
|
+
# )
|
51
|
+
|
52
|
+
public_class_method def self.disconnect(opts = {})
|
53
|
+
acm_obj = opts[:acm_obj]
|
54
|
+
@@logger.info('Disconnecting...')
|
55
|
+
acm_obj = nil
|
56
|
+
@@logger.info("complete.\n")
|
57
|
+
|
58
|
+
acm_obj
|
59
|
+
rescue StandardError => e
|
60
|
+
raise e
|
61
|
+
end
|
62
|
+
|
63
|
+
# Author(s):: 0day Inc. <request.pentest@0dayinc.com>
|
64
|
+
|
65
|
+
public_class_method def self.authors
|
66
|
+
"AUTHOR(S):
|
67
|
+
0day Inc. <request.pentest@0dayinc.com>
|
68
|
+
"
|
69
|
+
end
|
70
|
+
|
71
|
+
# Display Usage for this Module
|
72
|
+
|
73
|
+
public_class_method def self.help
|
74
|
+
puts "USAGE:
|
75
|
+
acm_obj = #{self}.connect(
|
76
|
+
region: 'required - region name to connect (eu-west-1, ap-southeast-1, ap-southeast-2, eu-central-1, ap-northeast-2, ap-northeast-1, us-east-1, sa-east-1, us-west-1, us-west-2)',
|
77
|
+
access_key_id: 'required - Use AWS STS for best privacy (i.e. temporary access key id)',
|
78
|
+
secret_access_key: 'required - Use AWS STS for best privacy (i.e. temporary secret access key',
|
79
|
+
sts_session_token: 'optional - Temporary token returned by STS client for best privacy'
|
80
|
+
)
|
81
|
+
puts acm_obj.public_methods
|
82
|
+
|
83
|
+
#{self}.disconnect(
|
84
|
+
acm_obj: 'required - acm_obj returned from #connect method'
|
85
|
+
)
|
86
|
+
|
87
|
+
#{self}.authors
|
88
|
+
"
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|