pwn 0.4.594 → 0.4.595

Sign up to get free protection for your applications and to get access to all the features.
Files changed (944) hide show
  1. checksums.yaml +4 -4
  2. metadata +8 -996
  3. data/.github/FUNDING.yml +0 -1
  4. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  5. data/.gitignore +0 -62
  6. data/.rubocop.yml +0 -14
  7. data/.rubocop_todo.yml +0 -117
  8. data/.ruby-gemset +0 -1
  9. data/.ruby-version +0 -1
  10. data/.travis.yml +0 -24
  11. data/CHANGELOG_BETWEEN_TAGS.txt +0 -108
  12. data/CODE_OF_CONDUCT.md +0 -46
  13. data/CONTRIBUTING.md +0 -10
  14. data/Gemfile +0 -86
  15. data/LICENSE.txt +0 -22
  16. data/README.md +0 -84
  17. data/Rakefile +0 -20
  18. data/Vagrantfile +0 -250
  19. data/bin/pwn +0 -101
  20. data/bin/pwn_android_war_dialer +0 -161
  21. data/bin/pwn_arachni +0 -157
  22. data/bin/pwn_arachni_rest +0 -174
  23. data/bin/pwn_autoinc_version +0 -58
  24. data/bin/pwn_aws_describe_resources +0 -728
  25. data/bin/pwn_burp_suite_pro_active_scan +0 -113
  26. data/bin/pwn_char_base64_encoding +0 -24
  27. data/bin/pwn_char_dec_encoding +0 -23
  28. data/bin/pwn_char_hex_escaped_encoding +0 -26
  29. data/bin/pwn_char_html_entity_encoding +0 -24
  30. data/bin/pwn_char_unicode_escaped_encoding +0 -23
  31. data/bin/pwn_char_url_encoding +0 -24
  32. data/bin/pwn_defectdojo_engagement_create +0 -158
  33. data/bin/pwn_defectdojo_importscan +0 -104
  34. data/bin/pwn_defectdojo_reimportscan +0 -104
  35. data/bin/pwn_domain_reversewhois +0 -89
  36. data/bin/pwn_fuzz_net_app_proto +0 -160
  37. data/bin/pwn_ibm_appscan_enterprise +0 -112
  38. data/bin/pwn_jenkins_create_job +0 -68
  39. data/bin/pwn_jenkins_create_view +0 -68
  40. data/bin/pwn_jenkins_install_plugin +0 -91
  41. data/bin/pwn_jenkins_thinBackup_aws_s3 +0 -123
  42. data/bin/pwn_jenkins_update_plugins +0 -87
  43. data/bin/pwn_jenkins_useradd +0 -86
  44. data/bin/pwn_mail_agent +0 -127
  45. data/bin/pwn_msf_postgres_login +0 -28
  46. data/bin/pwn_nessus_cloud_scan_crud +0 -345
  47. data/bin/pwn_nessus_cloud_vulnscan +0 -99
  48. data/bin/pwn_nexpose +0 -52
  49. data/bin/pwn_openvas_vulnscan +0 -102
  50. data/bin/pwn_owasp_zap_active_scan +0 -134
  51. data/bin/pwn_pastebin_sample_filter +0 -61
  52. data/bin/pwn_perimeter_recon +0 -326
  53. data/bin/pwn_phone +0 -131
  54. data/bin/pwn_sast +0 -183
  55. data/bin/pwn_serial_check_voicemail +0 -66
  56. data/bin/pwn_serial_msr206 +0 -175
  57. data/bin/pwn_serial_qualcomm_commands +0 -16
  58. data/bin/pwn_serial_son_micro_sm132_rfid +0 -132
  59. data/bin/pwn_shodan_search +0 -79
  60. data/bin/pwn_simple_http_server +0 -57
  61. data/bin/pwn_web_cache_deception +0 -233
  62. data/bin/pwn_www_checkip +0 -62
  63. data/bin/pwn_www_uri_buster +0 -237
  64. data/bin/pwn_xss_dom_vectors +0 -169
  65. data/build_pwn_gem.sh +0 -29
  66. data/documentation/PWN.png +0 -0
  67. data/documentation/PWN_Contributors_and_Users.png +0 -0
  68. data/documentation/fax-spectrogram.png +0 -0
  69. data/documentation/fax-waveform.png +0 -0
  70. data/documentation/pwn_android_war_dialer_session.png +0 -0
  71. data/documentation/pwn_install.png +0 -0
  72. data/documentation/pwn_wallpaper.jpg +0 -0
  73. data/documentation/ringing-spectrogram.png +0 -0
  74. data/documentation/ringing-waveform.png +0 -0
  75. data/etc/systemd/msfrpcd.service +0 -12
  76. data/etc/systemd/openvas.service +0 -14
  77. data/etc/userland/aws/apache2/jenkins_443.conf +0 -90
  78. data/etc/userland/aws/apache2/jenkins_80.conf +0 -7
  79. data/etc/userland/aws/apache2/openvas_443.conf +0 -87
  80. data/etc/userland/aws/apache2/openvas_80.conf +0 -7
  81. data/etc/userland/aws/apache2/sast_443.conf +0 -87
  82. data/etc/userland/aws/apache2/sast_80.conf +0 -9
  83. data/etc/userland/aws/apache2/vagrant.yaml.EXAMPLE +0 -9
  84. data/etc/userland/aws/arachni/navigation-REST.instruct.EXAMPLE +0 -29
  85. data/etc/userland/aws/arachni/navigation.instruct.EXAMPLE +0 -3
  86. data/etc/userland/aws/burpsuite/navigation.instruct.EXAMPLE +0 -3
  87. data/etc/userland/aws/burpsuite/vagrant.yaml.EXAMPLE +0 -2
  88. data/etc/userland/aws/defectdojo/vagrant.yaml.EXAMPLE +0 -3
  89. data/etc/userland/aws/jenkins/inject_build_envs.sh +0 -15
  90. data/etc/userland/aws/jenkins/jenkins +0 -81
  91. data/etc/userland/aws/jenkins/jobs/pipeline-pwntemplate.xml +0 -298
  92. data/etc/userland/aws/jenkins/jobs/pipeline-selfupdate.xml +0 -462
  93. data/etc/userland/aws/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +0 -35
  94. data/etc/userland/aws/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +0 -44
  95. data/etc/userland/aws/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +0 -35
  96. data/etc/userland/aws/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +0 -45
  97. data/etc/userland/aws/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +0 -71
  98. data/etc/userland/aws/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +0 -56
  99. data/etc/userland/aws/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +0 -59
  100. data/etc/userland/aws/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +0 -45
  101. data/etc/userland/aws/jenkins/jobs/selfupdate-exploit-db.xml +0 -43
  102. data/etc/userland/aws/jenkins/jobs/selfupdate-gem.xml +0 -42
  103. data/etc/userland/aws/jenkins/jobs/selfupdate-jenkins_plugins.xml +0 -42
  104. data/etc/userland/aws/jenkins/jobs/selfupdate-metasploit.xml +0 -42
  105. data/etc/userland/aws/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +0 -42
  106. data/etc/userland/aws/jenkins/jobs/selfupdate-openvas_sync.xml +0 -42
  107. data/etc/userland/aws/jenkins/jobs/selfupdate-openvas_wrappers.xml +0 -42
  108. data/etc/userland/aws/jenkins/jobs/selfupdate-os.xml +0 -42
  109. data/etc/userland/aws/jenkins/jobs/selfupdate-pwn.xml +0 -42
  110. data/etc/userland/aws/jenkins/jobs/selfupdate-rvm.xml +0 -42
  111. data/etc/userland/aws/jenkins/jobs/selfupdate-ssllabs-scan.xml +0 -42
  112. data/etc/userland/aws/jenkins/jobs/selfupdate-wpscan.xml +0 -42
  113. data/etc/userland/aws/jenkins/jobs_userland/.gitkeep +0 -0
  114. data/etc/userland/aws/jenkins/log_parser_rules/arachni.rules +0 -5
  115. data/etc/userland/aws/jenkins/log_parser_rules/sast.rules +0 -2
  116. data/etc/userland/aws/jenkins/log_parser_rules/self_update.rules +0 -14
  117. data/etc/userland/aws/jenkins/log_parser_rules/ssllabs-scan.rules +0 -8
  118. data/etc/userland/aws/jenkins/log_parser_rules/system_maintenance.rules +0 -9
  119. data/etc/userland/aws/jenkins/log_parser_rules/wpscan.rules +0 -2
  120. data/etc/userland/aws/jenkins/vagrant.yaml.EXAMPLE +0 -8
  121. data/etc/userland/aws/letsencrypt/vagrant.yaml.EXAMPLE +0 -5
  122. data/etc/userland/aws/metasploit/vagrant.yaml.EXAMPLE +0 -4
  123. data/etc/userland/aws/nessus/vagrant.yaml.EXAMPLE +0 -15
  124. data/etc/userland/aws/openvas/vagrant.yaml.EXAMPLE +0 -2
  125. data/etc/userland/aws/owasp_zap/navigation.instruct.EXAMPLE +0 -3
  126. data/etc/userland/aws/postgres/vagrant.yaml.EXAMPLE +0 -2
  127. data/etc/userland/aws/recon-ng/vagrant.yaml.EXAMPLE +0 -52
  128. data/etc/userland/aws/vagrant.yaml.EXAMPLE +0 -35
  129. data/etc/userland/docker/apache2/jenkins_443.conf +0 -90
  130. data/etc/userland/docker/apache2/jenkins_80.conf +0 -7
  131. data/etc/userland/docker/apache2/openvas_443.conf +0 -87
  132. data/etc/userland/docker/apache2/openvas_80.conf +0 -7
  133. data/etc/userland/docker/apache2/sast_443.conf +0 -87
  134. data/etc/userland/docker/apache2/sast_80.conf +0 -9
  135. data/etc/userland/docker/apache2/vagrant.yaml.EXAMPLE +0 -9
  136. data/etc/userland/docker/arachni/navigation-REST.instruct.EXAMPLE +0 -29
  137. data/etc/userland/docker/arachni/navigation.instruct.EXAMPLE +0 -3
  138. data/etc/userland/docker/burpsuite/navigation.instruct.EXAMPLE +0 -3
  139. data/etc/userland/docker/burpsuite/vagrant.yaml.EXAMPLE +0 -2
  140. data/etc/userland/docker/defectdojo/vagrant.yaml.EXAMPLE +0 -3
  141. data/etc/userland/docker/jenkins/inject_build_envs.sh +0 -15
  142. data/etc/userland/docker/jenkins/jenkins +0 -81
  143. data/etc/userland/docker/jenkins/jobs/pipeline-pwntemplate.xml +0 -298
  144. data/etc/userland/docker/jenkins/jobs/pipeline-selfupdate.xml +0 -462
  145. data/etc/userland/docker/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +0 -35
  146. data/etc/userland/docker/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +0 -44
  147. data/etc/userland/docker/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +0 -35
  148. data/etc/userland/docker/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +0 -45
  149. data/etc/userland/docker/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +0 -71
  150. data/etc/userland/docker/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +0 -56
  151. data/etc/userland/docker/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +0 -59
  152. data/etc/userland/docker/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +0 -45
  153. data/etc/userland/docker/jenkins/jobs/selfupdate-exploit-db.xml +0 -43
  154. data/etc/userland/docker/jenkins/jobs/selfupdate-gem.xml +0 -42
  155. data/etc/userland/docker/jenkins/jobs/selfupdate-jenkins_plugins.xml +0 -42
  156. data/etc/userland/docker/jenkins/jobs/selfupdate-metasploit.xml +0 -42
  157. data/etc/userland/docker/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +0 -42
  158. data/etc/userland/docker/jenkins/jobs/selfupdate-openvas_sync.xml +0 -42
  159. data/etc/userland/docker/jenkins/jobs/selfupdate-openvas_wrappers.xml +0 -42
  160. data/etc/userland/docker/jenkins/jobs/selfupdate-os.xml +0 -42
  161. data/etc/userland/docker/jenkins/jobs/selfupdate-pwn.xml +0 -42
  162. data/etc/userland/docker/jenkins/jobs/selfupdate-rvm.xml +0 -42
  163. data/etc/userland/docker/jenkins/jobs/selfupdate-ssllabs-scan.xml +0 -42
  164. data/etc/userland/docker/jenkins/jobs/selfupdate-wpscan.xml +0 -42
  165. data/etc/userland/docker/jenkins/jobs_userland/.gitkeep +0 -0
  166. data/etc/userland/docker/jenkins/log_parser_rules/arachni.rules +0 -5
  167. data/etc/userland/docker/jenkins/log_parser_rules/sast.rules +0 -2
  168. data/etc/userland/docker/jenkins/log_parser_rules/self_update.rules +0 -14
  169. data/etc/userland/docker/jenkins/log_parser_rules/ssllabs-scan.rules +0 -8
  170. data/etc/userland/docker/jenkins/log_parser_rules/system_maintenance.rules +0 -9
  171. data/etc/userland/docker/jenkins/log_parser_rules/wpscan.rules +0 -2
  172. data/etc/userland/docker/jenkins/vagrant.yaml.EXAMPLE +0 -8
  173. data/etc/userland/docker/letsencrypt/vagrant.yaml.EXAMPLE +0 -5
  174. data/etc/userland/docker/metasploit/vagrant.yaml.EXAMPLE +0 -4
  175. data/etc/userland/docker/nessus/vagrant.yaml.EXAMPLE +0 -15
  176. data/etc/userland/docker/openvas/vagrant.yaml.EXAMPLE +0 -2
  177. data/etc/userland/docker/owasp_zap/navigation.instruct.EXAMPLE +0 -3
  178. data/etc/userland/docker/postgres/vagrant.yaml.EXAMPLE +0 -2
  179. data/etc/userland/docker/recon-ng/vagrant.yaml.EXAMPLE +0 -52
  180. data/etc/userland/qemu/apache2/jenkins_443.conf +0 -90
  181. data/etc/userland/qemu/apache2/jenkins_80.conf +0 -7
  182. data/etc/userland/qemu/apache2/openvas_443.conf +0 -87
  183. data/etc/userland/qemu/apache2/openvas_80.conf +0 -7
  184. data/etc/userland/qemu/apache2/sast_443.conf +0 -87
  185. data/etc/userland/qemu/apache2/sast_80.conf +0 -9
  186. data/etc/userland/qemu/apache2/vagrant.yaml.EXAMPLE +0 -9
  187. data/etc/userland/qemu/arachni/navigation-REST.instruct.EXAMPLE +0 -29
  188. data/etc/userland/qemu/arachni/navigation.instruct.EXAMPLE +0 -3
  189. data/etc/userland/qemu/burpsuite/navigation.instruct.EXAMPLE +0 -3
  190. data/etc/userland/qemu/burpsuite/vagrant.yaml.EXAMPLE +0 -2
  191. data/etc/userland/qemu/defectdojo/vagrant.yaml.EXAMPLE +0 -3
  192. data/etc/userland/qemu/jenkins/inject_build_envs.sh +0 -15
  193. data/etc/userland/qemu/jenkins/jenkins +0 -81
  194. data/etc/userland/qemu/jenkins/jobs/pipeline-pwntemplate.xml +0 -298
  195. data/etc/userland/qemu/jenkins/jobs/pipeline-selfupdate.xml +0 -462
  196. data/etc/userland/qemu/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +0 -35
  197. data/etc/userland/qemu/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +0 -44
  198. data/etc/userland/qemu/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +0 -35
  199. data/etc/userland/qemu/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +0 -45
  200. data/etc/userland/qemu/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +0 -71
  201. data/etc/userland/qemu/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +0 -56
  202. data/etc/userland/qemu/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +0 -59
  203. data/etc/userland/qemu/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +0 -45
  204. data/etc/userland/qemu/jenkins/jobs/selfupdate-exploit-db.xml +0 -43
  205. data/etc/userland/qemu/jenkins/jobs/selfupdate-gem.xml +0 -42
  206. data/etc/userland/qemu/jenkins/jobs/selfupdate-jenkins_plugins.xml +0 -42
  207. data/etc/userland/qemu/jenkins/jobs/selfupdate-metasploit.xml +0 -42
  208. data/etc/userland/qemu/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +0 -42
  209. data/etc/userland/qemu/jenkins/jobs/selfupdate-openvas_sync.xml +0 -42
  210. data/etc/userland/qemu/jenkins/jobs/selfupdate-openvas_wrappers.xml +0 -42
  211. data/etc/userland/qemu/jenkins/jobs/selfupdate-os.xml +0 -42
  212. data/etc/userland/qemu/jenkins/jobs/selfupdate-pwn.xml +0 -42
  213. data/etc/userland/qemu/jenkins/jobs/selfupdate-rvm.xml +0 -42
  214. data/etc/userland/qemu/jenkins/jobs/selfupdate-ssllabs-scan.xml +0 -42
  215. data/etc/userland/qemu/jenkins/jobs/selfupdate-wpscan.xml +0 -42
  216. data/etc/userland/qemu/jenkins/jobs_userland/.gitkeep +0 -0
  217. data/etc/userland/qemu/jenkins/log_parser_rules/arachni.rules +0 -5
  218. data/etc/userland/qemu/jenkins/log_parser_rules/sast.rules +0 -2
  219. data/etc/userland/qemu/jenkins/log_parser_rules/self_update.rules +0 -14
  220. data/etc/userland/qemu/jenkins/log_parser_rules/ssllabs-scan.rules +0 -8
  221. data/etc/userland/qemu/jenkins/log_parser_rules/system_maintenance.rules +0 -9
  222. data/etc/userland/qemu/jenkins/log_parser_rules/wpscan.rules +0 -2
  223. data/etc/userland/qemu/jenkins/vagrant.yaml.EXAMPLE +0 -8
  224. data/etc/userland/qemu/letsencrypt/vagrant.yaml.EXAMPLE +0 -5
  225. data/etc/userland/qemu/metasploit/vagrant.yaml.EXAMPLE +0 -4
  226. data/etc/userland/qemu/nessus/vagrant.yaml.EXAMPLE +0 -15
  227. data/etc/userland/qemu/openvas/vagrant.yaml.EXAMPLE +0 -2
  228. data/etc/userland/qemu/owasp_zap/navigation.instruct.EXAMPLE +0 -3
  229. data/etc/userland/qemu/postgres/vagrant.yaml.EXAMPLE +0 -2
  230. data/etc/userland/qemu/recon-ng/vagrant.yaml.EXAMPLE +0 -52
  231. data/etc/userland/ruby-gem/apache2/jenkins_443.conf +0 -90
  232. data/etc/userland/ruby-gem/apache2/jenkins_80.conf +0 -7
  233. data/etc/userland/ruby-gem/apache2/openvas_443.conf +0 -87
  234. data/etc/userland/ruby-gem/apache2/openvas_80.conf +0 -7
  235. data/etc/userland/ruby-gem/apache2/sast_443.conf +0 -87
  236. data/etc/userland/ruby-gem/apache2/sast_80.conf +0 -9
  237. data/etc/userland/ruby-gem/apache2/vagrant.yaml.EXAMPLE +0 -9
  238. data/etc/userland/ruby-gem/arachni/navigation-REST.instruct.EXAMPLE +0 -29
  239. data/etc/userland/ruby-gem/arachni/navigation.instruct.EXAMPLE +0 -3
  240. data/etc/userland/ruby-gem/burpsuite/navigation.instruct.EXAMPLE +0 -3
  241. data/etc/userland/ruby-gem/burpsuite/vagrant.yaml.EXAMPLE +0 -2
  242. data/etc/userland/ruby-gem/defectdojo/vagrant.yaml.EXAMPLE +0 -3
  243. data/etc/userland/ruby-gem/jenkins/inject_build_envs.sh +0 -15
  244. data/etc/userland/ruby-gem/jenkins/jenkins +0 -81
  245. data/etc/userland/ruby-gem/jenkins/jobs/pipeline-pwntemplate.xml +0 -298
  246. data/etc/userland/ruby-gem/jenkins/jobs/pipeline-selfupdate.xml +0 -462
  247. data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +0 -35
  248. data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +0 -44
  249. data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +0 -35
  250. data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +0 -45
  251. data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +0 -71
  252. data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +0 -56
  253. data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +0 -59
  254. data/etc/userland/ruby-gem/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +0 -45
  255. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-exploit-db.xml +0 -43
  256. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-gem.xml +0 -42
  257. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-jenkins_plugins.xml +0 -42
  258. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-metasploit.xml +0 -42
  259. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +0 -42
  260. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-openvas_sync.xml +0 -42
  261. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-openvas_wrappers.xml +0 -42
  262. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-os.xml +0 -42
  263. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-pwn.xml +0 -42
  264. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-rvm.xml +0 -42
  265. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-ssllabs-scan.xml +0 -42
  266. data/etc/userland/ruby-gem/jenkins/jobs/selfupdate-wpscan.xml +0 -42
  267. data/etc/userland/ruby-gem/jenkins/jobs_userland/.gitkeep +0 -0
  268. data/etc/userland/ruby-gem/jenkins/log_parser_rules/arachni.rules +0 -5
  269. data/etc/userland/ruby-gem/jenkins/log_parser_rules/sast.rules +0 -2
  270. data/etc/userland/ruby-gem/jenkins/log_parser_rules/self_update.rules +0 -14
  271. data/etc/userland/ruby-gem/jenkins/log_parser_rules/ssllabs-scan.rules +0 -8
  272. data/etc/userland/ruby-gem/jenkins/log_parser_rules/system_maintenance.rules +0 -9
  273. data/etc/userland/ruby-gem/jenkins/log_parser_rules/wpscan.rules +0 -2
  274. data/etc/userland/ruby-gem/jenkins/vagrant.yaml.EXAMPLE +0 -8
  275. data/etc/userland/ruby-gem/letsencrypt/vagrant.yaml.EXAMPLE +0 -5
  276. data/etc/userland/ruby-gem/metasploit/vagrant.yaml.EXAMPLE +0 -4
  277. data/etc/userland/ruby-gem/nessus/vagrant.yaml.EXAMPLE +0 -15
  278. data/etc/userland/ruby-gem/openvas/vagrant.yaml.EXAMPLE +0 -2
  279. data/etc/userland/ruby-gem/owasp_zap/navigation.instruct.EXAMPLE +0 -3
  280. data/etc/userland/ruby-gem/postgres/vagrant.yaml.EXAMPLE +0 -2
  281. data/etc/userland/ruby-gem/recon-ng/vagrant.yaml.EXAMPLE +0 -52
  282. data/etc/userland/virtualbox/apache2/jenkins_443.conf +0 -90
  283. data/etc/userland/virtualbox/apache2/jenkins_80.conf +0 -7
  284. data/etc/userland/virtualbox/apache2/openvas_443.conf +0 -87
  285. data/etc/userland/virtualbox/apache2/openvas_80.conf +0 -7
  286. data/etc/userland/virtualbox/apache2/sast_443.conf +0 -87
  287. data/etc/userland/virtualbox/apache2/sast_80.conf +0 -9
  288. data/etc/userland/virtualbox/apache2/vagrant.yaml.EXAMPLE +0 -9
  289. data/etc/userland/virtualbox/arachni/navigation-REST.instruct.EXAMPLE +0 -29
  290. data/etc/userland/virtualbox/arachni/navigation.instruct.EXAMPLE +0 -3
  291. data/etc/userland/virtualbox/burpsuite/navigation.instruct.EXAMPLE +0 -3
  292. data/etc/userland/virtualbox/burpsuite/vagrant.yaml.EXAMPLE +0 -2
  293. data/etc/userland/virtualbox/defectdojo/vagrant.yaml.EXAMPLE +0 -3
  294. data/etc/userland/virtualbox/jenkins/inject_build_envs.sh +0 -15
  295. data/etc/userland/virtualbox/jenkins/jenkins +0 -81
  296. data/etc/userland/virtualbox/jenkins/jobs/pipeline-pwntemplate.xml +0 -298
  297. data/etc/userland/virtualbox/jenkins/jobs/pipeline-selfupdate.xml +0 -462
  298. data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +0 -35
  299. data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +0 -44
  300. data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +0 -35
  301. data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +0 -45
  302. data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +0 -71
  303. data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +0 -56
  304. data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +0 -59
  305. data/etc/userland/virtualbox/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +0 -45
  306. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-exploit-db.xml +0 -43
  307. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-gem.xml +0 -42
  308. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-jenkins_plugins.xml +0 -42
  309. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-metasploit.xml +0 -42
  310. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +0 -42
  311. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-openvas_sync.xml +0 -42
  312. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-openvas_wrappers.xml +0 -42
  313. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-os.xml +0 -42
  314. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-pwn.xml +0 -42
  315. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-rvm.xml +0 -42
  316. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-ssllabs-scan.xml +0 -42
  317. data/etc/userland/virtualbox/jenkins/jobs/selfupdate-wpscan.xml +0 -42
  318. data/etc/userland/virtualbox/jenkins/jobs_userland/.gitkeep +0 -0
  319. data/etc/userland/virtualbox/jenkins/log_parser_rules/arachni.rules +0 -5
  320. data/etc/userland/virtualbox/jenkins/log_parser_rules/sast.rules +0 -2
  321. data/etc/userland/virtualbox/jenkins/log_parser_rules/self_update.rules +0 -14
  322. data/etc/userland/virtualbox/jenkins/log_parser_rules/ssllabs-scan.rules +0 -8
  323. data/etc/userland/virtualbox/jenkins/log_parser_rules/system_maintenance.rules +0 -9
  324. data/etc/userland/virtualbox/jenkins/log_parser_rules/wpscan.rules +0 -2
  325. data/etc/userland/virtualbox/jenkins/vagrant.yaml.EXAMPLE +0 -8
  326. data/etc/userland/virtualbox/letsencrypt/vagrant.yaml.EXAMPLE +0 -5
  327. data/etc/userland/virtualbox/metasploit/vagrant.yaml.EXAMPLE +0 -4
  328. data/etc/userland/virtualbox/nessus/vagrant.yaml.EXAMPLE +0 -15
  329. data/etc/userland/virtualbox/openvas/vagrant.yaml.EXAMPLE +0 -2
  330. data/etc/userland/virtualbox/owasp_zap/navigation.instruct.EXAMPLE +0 -3
  331. data/etc/userland/virtualbox/postgres/vagrant.yaml.EXAMPLE +0 -2
  332. data/etc/userland/virtualbox/recon-ng/vagrant.yaml.EXAMPLE +0 -52
  333. data/etc/userland/virtualbox/vagrant.yaml.EXAMPLE +0 -4
  334. data/etc/userland/vmware/apache2/jenkins_443.conf +0 -90
  335. data/etc/userland/vmware/apache2/jenkins_80.conf +0 -7
  336. data/etc/userland/vmware/apache2/openvas_443.conf +0 -87
  337. data/etc/userland/vmware/apache2/openvas_80.conf +0 -7
  338. data/etc/userland/vmware/apache2/sast_443.conf +0 -87
  339. data/etc/userland/vmware/apache2/sast_80.conf +0 -9
  340. data/etc/userland/vmware/apache2/vagrant.yaml.EXAMPLE +0 -9
  341. data/etc/userland/vmware/arachni/navigation-REST.instruct.EXAMPLE +0 -29
  342. data/etc/userland/vmware/arachni/navigation.instruct.EXAMPLE +0 -3
  343. data/etc/userland/vmware/burpsuite/navigation.instruct.EXAMPLE +0 -3
  344. data/etc/userland/vmware/burpsuite/vagrant.yaml.EXAMPLE +0 -2
  345. data/etc/userland/vmware/defectdojo/vagrant.yaml.EXAMPLE +0 -3
  346. data/etc/userland/vmware/jenkins/inject_build_envs.sh +0 -15
  347. data/etc/userland/vmware/jenkins/jenkins +0 -81
  348. data/etc/userland/vmware/jenkins/jobs/pipeline-pwntemplate.xml +0 -298
  349. data/etc/userland/vmware/jenkins/jobs/pipeline-selfupdate.xml +0 -462
  350. data/etc/userland/vmware/jenkins/jobs/pwntemplate-DOMAIN-arachni.xml +0 -35
  351. data/etc/userland/vmware/jenkins/jobs/pwntemplate-DOMAIN-burpsuite.xml +0 -44
  352. data/etc/userland/vmware/jenkins/jobs/pwntemplate-DOMAIN-owasp_zap.xml +0 -35
  353. data/etc/userland/vmware/jenkins/jobs/pwntemplate-DOMAIN-ssllabs-scan.xml +0 -45
  354. data/etc/userland/vmware/jenkins/jobs/pwntemplate-GITREPO_BRANCH-sast.xml +0 -71
  355. data/etc/userland/vmware/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_discovery_scan_tcp_udp_65k.xml +0 -56
  356. data/etc/userland/vmware/jenkins/jobs/pwntemplate-NETWORKRANGE-nmap_xml_results_searchsploit.xml +0 -59
  357. data/etc/userland/vmware/jenkins/jobs/pwntemplate-NETWORKRANGE-openvas.xml +0 -45
  358. data/etc/userland/vmware/jenkins/jobs/selfupdate-exploit-db.xml +0 -43
  359. data/etc/userland/vmware/jenkins/jobs/selfupdate-gem.xml +0 -42
  360. data/etc/userland/vmware/jenkins/jobs/selfupdate-jenkins_plugins.xml +0 -42
  361. data/etc/userland/vmware/jenkins/jobs/selfupdate-metasploit.xml +0 -42
  362. data/etc/userland/vmware/jenkins/jobs/selfupdate-nmap_all_live_hosts.xml +0 -42
  363. data/etc/userland/vmware/jenkins/jobs/selfupdate-openvas_sync.xml +0 -42
  364. data/etc/userland/vmware/jenkins/jobs/selfupdate-openvas_wrappers.xml +0 -42
  365. data/etc/userland/vmware/jenkins/jobs/selfupdate-os.xml +0 -42
  366. data/etc/userland/vmware/jenkins/jobs/selfupdate-pwn.xml +0 -42
  367. data/etc/userland/vmware/jenkins/jobs/selfupdate-rvm.xml +0 -42
  368. data/etc/userland/vmware/jenkins/jobs/selfupdate-ssllabs-scan.xml +0 -42
  369. data/etc/userland/vmware/jenkins/jobs/selfupdate-wpscan.xml +0 -42
  370. data/etc/userland/vmware/jenkins/jobs_userland/.gitkeep +0 -0
  371. data/etc/userland/vmware/jenkins/log_parser_rules/arachni.rules +0 -5
  372. data/etc/userland/vmware/jenkins/log_parser_rules/sast.rules +0 -2
  373. data/etc/userland/vmware/jenkins/log_parser_rules/self_update.rules +0 -14
  374. data/etc/userland/vmware/jenkins/log_parser_rules/ssllabs-scan.rules +0 -8
  375. data/etc/userland/vmware/jenkins/log_parser_rules/system_maintenance.rules +0 -9
  376. data/etc/userland/vmware/jenkins/log_parser_rules/wpscan.rules +0 -2
  377. data/etc/userland/vmware/jenkins/vagrant.yaml.EXAMPLE +0 -8
  378. data/etc/userland/vmware/letsencrypt/vagrant.yaml.EXAMPLE +0 -5
  379. data/etc/userland/vmware/metasploit/vagrant.yaml.EXAMPLE +0 -4
  380. data/etc/userland/vmware/nessus/vagrant.yaml.EXAMPLE +0 -15
  381. data/etc/userland/vmware/openvas/vagrant.yaml.EXAMPLE +0 -2
  382. data/etc/userland/vmware/owasp_zap/navigation.instruct.EXAMPLE +0 -3
  383. data/etc/userland/vmware/postgres/vagrant.yaml.EXAMPLE +0 -2
  384. data/etc/userland/vmware/recon-ng/vagrant.yaml.EXAMPLE +0 -52
  385. data/etc/userland/vmware/vagrant.yaml.EXAMPLE +0 -5
  386. data/find_latest_gem_versions_per_Gemfile.sh +0 -11
  387. data/git_commit_test_reinit_gem.sh +0 -37
  388. data/install.sh +0 -176
  389. data/lib/pwn/aws/acm.rb +0 -92
  390. data/lib/pwn/aws/api_gateway.rb +0 -92
  391. data/lib/pwn/aws/app_stream.rb +0 -92
  392. data/lib/pwn/aws/application_auto_scaling.rb +0 -92
  393. data/lib/pwn/aws/application_discovery_service.rb +0 -92
  394. data/lib/pwn/aws/auto_scaling.rb +0 -92
  395. data/lib/pwn/aws/batch.rb +0 -92
  396. data/lib/pwn/aws/budgets.rb +0 -92
  397. data/lib/pwn/aws/cloud_formation.rb +0 -92
  398. data/lib/pwn/aws/cloud_front.rb +0 -92
  399. data/lib/pwn/aws/cloud_hsm.rb +0 -92
  400. data/lib/pwn/aws/cloud_search.rb +0 -92
  401. data/lib/pwn/aws/cloud_search_domain.rb +0 -92
  402. data/lib/pwn/aws/cloud_trail.rb +0 -92
  403. data/lib/pwn/aws/cloud_watch.rb +0 -92
  404. data/lib/pwn/aws/cloud_watch_events.rb +0 -92
  405. data/lib/pwn/aws/cloud_watch_logs.rb +0 -92
  406. data/lib/pwn/aws/code_build.rb +0 -92
  407. data/lib/pwn/aws/code_commit.rb +0 -92
  408. data/lib/pwn/aws/code_deploy.rb +0 -92
  409. data/lib/pwn/aws/code_pipeline.rb +0 -92
  410. data/lib/pwn/aws/cognito_identity.rb +0 -92
  411. data/lib/pwn/aws/cognito_identity_provider.rb +0 -92
  412. data/lib/pwn/aws/cognito_sync.rb +0 -92
  413. data/lib/pwn/aws/config_service.rb +0 -92
  414. data/lib/pwn/aws/data_pipleline.rb +0 -92
  415. data/lib/pwn/aws/database_migration_service.rb +0 -92
  416. data/lib/pwn/aws/device_farm.rb +0 -92
  417. data/lib/pwn/aws/direct_connect.rb +0 -92
  418. data/lib/pwn/aws/directory_service.rb +0 -92
  419. data/lib/pwn/aws/dynamo_db.rb +0 -92
  420. data/lib/pwn/aws/dynamo_db_streams.rb +0 -92
  421. data/lib/pwn/aws/ec2.rb +0 -92
  422. data/lib/pwn/aws/ecr.rb +0 -92
  423. data/lib/pwn/aws/ecs.rb +0 -92
  424. data/lib/pwn/aws/efs.rb +0 -92
  425. data/lib/pwn/aws/elasti_cache.rb +0 -92
  426. data/lib/pwn/aws/elastic_beanstalk.rb +0 -89
  427. data/lib/pwn/aws/elastic_load_balancing.rb +0 -92
  428. data/lib/pwn/aws/elastic_load_balancing_v2.rb +0 -92
  429. data/lib/pwn/aws/elastic_transcoder.rb +0 -92
  430. data/lib/pwn/aws/elasticsearch_service.rb +0 -92
  431. data/lib/pwn/aws/emr.rb +0 -92
  432. data/lib/pwn/aws/firehose.rb +0 -92
  433. data/lib/pwn/aws/game_lift.rb +0 -92
  434. data/lib/pwn/aws/glacier.rb +0 -92
  435. data/lib/pwn/aws/health.rb +0 -92
  436. data/lib/pwn/aws/iam.rb +0 -92
  437. data/lib/pwn/aws/import_export.rb +0 -92
  438. data/lib/pwn/aws/inspector.rb +0 -92
  439. data/lib/pwn/aws/iot.rb +0 -92
  440. data/lib/pwn/aws/iot_data_plane.rb +0 -92
  441. data/lib/pwn/aws/kinesis.rb +0 -92
  442. data/lib/pwn/aws/kinesis_analytics.rb +0 -92
  443. data/lib/pwn/aws/kms.rb +0 -92
  444. data/lib/pwn/aws/lambda.rb +0 -92
  445. data/lib/pwn/aws/lambda_preview.rb +0 -92
  446. data/lib/pwn/aws/lex.rb +0 -92
  447. data/lib/pwn/aws/lightsail.rb +0 -92
  448. data/lib/pwn/aws/machine_learning.rb +0 -92
  449. data/lib/pwn/aws/marketplace_commerce_analytics.rb +0 -92
  450. data/lib/pwn/aws/marketplace_metering.rb +0 -92
  451. data/lib/pwn/aws/ops_works.rb +0 -92
  452. data/lib/pwn/aws/ops_works_cm.rb +0 -92
  453. data/lib/pwn/aws/pinpoint.rb +0 -92
  454. data/lib/pwn/aws/polly.rb +0 -92
  455. data/lib/pwn/aws/rds.rb +0 -92
  456. data/lib/pwn/aws/redshift.rb +0 -92
  457. data/lib/pwn/aws/rekognition.rb +0 -92
  458. data/lib/pwn/aws/route53.rb +0 -92
  459. data/lib/pwn/aws/route53_domains.rb +0 -92
  460. data/lib/pwn/aws/s3.rb +0 -92
  461. data/lib/pwn/aws/service_catalog.rb +0 -92
  462. data/lib/pwn/aws/ses.rb +0 -92
  463. data/lib/pwn/aws/shield.rb +0 -92
  464. data/lib/pwn/aws/simple_db.rb +0 -92
  465. data/lib/pwn/aws/sms.rb +0 -92
  466. data/lib/pwn/aws/snowball.rb +0 -92
  467. data/lib/pwn/aws/sns.rb +0 -92
  468. data/lib/pwn/aws/sqs.rb +0 -92
  469. data/lib/pwn/aws/ssm.rb +0 -92
  470. data/lib/pwn/aws/states.rb +0 -92
  471. data/lib/pwn/aws/storage_gateway.rb +0 -92
  472. data/lib/pwn/aws/sts.rb +0 -63
  473. data/lib/pwn/aws/support.rb +0 -92
  474. data/lib/pwn/aws/swf.rb +0 -92
  475. data/lib/pwn/aws/waf.rb +0 -92
  476. data/lib/pwn/aws/waf_regional.rb +0 -92
  477. data/lib/pwn/aws/workspaces.rb +0 -92
  478. data/lib/pwn/aws/x_ray.rb +0 -92
  479. data/lib/pwn/aws.rb +0 -105
  480. data/lib/pwn/banner/bubble.rb +0 -42
  481. data/lib/pwn/banner/matrix.rb +0 -199
  482. data/lib/pwn/banner/ninja.rb +0 -54
  483. data/lib/pwn/banner/off_the_air.rb +0 -73
  484. data/lib/pwn/banner/pirate.rb +0 -62
  485. data/lib/pwn/banner.rb +0 -78
  486. data/lib/pwn/ffi.rb +0 -16
  487. data/lib/pwn/plugins/android.rb +0 -1616
  488. data/lib/pwn/plugins/ansible_vault.rb +0 -75
  489. data/lib/pwn/plugins/authentication_helper.rb +0 -79
  490. data/lib/pwn/plugins/baresip.rb +0 -704
  491. data/lib/pwn/plugins/basic_auth.rb +0 -63
  492. data/lib/pwn/plugins/beef.rb +0 -309
  493. data/lib/pwn/plugins/burp_suite.rb +0 -344
  494. data/lib/pwn/plugins/bus_pirate.rb +0 -148
  495. data/lib/pwn/plugins/char.rb +0 -459
  496. data/lib/pwn/plugins/credit_card.rb +0 -68
  497. data/lib/pwn/plugins/dao_ldap.rb +0 -131
  498. data/lib/pwn/plugins/dao_mongo.rb +0 -96
  499. data/lib/pwn/plugins/dao_postgres.rb +0 -224
  500. data/lib/pwn/plugins/dao_sqlite3.rb +0 -125
  501. data/lib/pwn/plugins/defect_dojo.rb +0 -759
  502. data/lib/pwn/plugins/detect_os.rb +0 -40
  503. data/lib/pwn/plugins/ein.rb +0 -141
  504. data/lib/pwn/plugins/file_fu.rb +0 -73
  505. data/lib/pwn/plugins/fuzz.rb +0 -206
  506. data/lib/pwn/plugins/git.rb +0 -166
  507. data/lib/pwn/plugins/github.rb +0 -136
  508. data/lib/pwn/plugins/hacker_one.rb +0 -152
  509. data/lib/pwn/plugins/http_intercept_helper.rb +0 -122
  510. data/lib/pwn/plugins/ibm_appscan.rb +0 -927
  511. data/lib/pwn/plugins/ip_info.rb +0 -100
  512. data/lib/pwn/plugins/jenkins.rb +0 -545
  513. data/lib/pwn/plugins/json_pathify.rb +0 -46
  514. data/lib/pwn/plugins/mail_agent.rb +0 -344
  515. data/lib/pwn/plugins/metasploit.rb +0 -151
  516. data/lib/pwn/plugins/msr206.rb +0 -1193
  517. data/lib/pwn/plugins/nessus_cloud.rb +0 -840
  518. data/lib/pwn/plugins/nexpose_vuln_scan.rb +0 -356
  519. data/lib/pwn/plugins/nmap_it.rb +0 -100
  520. data/lib/pwn/plugins/oauth2.rb +0 -67
  521. data/lib/pwn/plugins/ocr.rb +0 -43
  522. data/lib/pwn/plugins/open_ai.rb +0 -239
  523. data/lib/pwn/plugins/openvas.rb +0 -308
  524. data/lib/pwn/plugins/owasp_zap.rb +0 -550
  525. data/lib/pwn/plugins/packet.rb +0 -1313
  526. data/lib/pwn/plugins/pdf_parse.rb +0 -53
  527. data/lib/pwn/plugins/pony.rb +0 -282
  528. data/lib/pwn/plugins/pwn_logger.rb +0 -46
  529. data/lib/pwn/plugins/rabbit_mq.rb +0 -70
  530. data/lib/pwn/plugins/rfidler.rb +0 -56
  531. data/lib/pwn/plugins/serial.rb +0 -315
  532. data/lib/pwn/plugins/shodan.rb +0 -566
  533. data/lib/pwn/plugins/slack_client.rb +0 -104
  534. data/lib/pwn/plugins/sock.rb +0 -188
  535. data/lib/pwn/plugins/son_micro_rfid.rb +0 -504
  536. data/lib/pwn/plugins/spider.rb +0 -80
  537. data/lib/pwn/plugins/ssn.rb +0 -52
  538. data/lib/pwn/plugins/thread_pool.rb +0 -88
  539. data/lib/pwn/plugins/transparent_browser.rb +0 -423
  540. data/lib/pwn/plugins/twitter_api.rb +0 -148
  541. data/lib/pwn/plugins/uri_scheme.rb +0 -328
  542. data/lib/pwn/plugins/vsphere.rb +0 -82
  543. data/lib/pwn/plugins.rb +0 -70
  544. data/lib/pwn/reports/fuzz.rb +0 -272
  545. data/lib/pwn/reports/phone.rb +0 -312
  546. data/lib/pwn/reports/sast.rb +0 -311
  547. data/lib/pwn/reports/uri_buster.rb +0 -248
  548. data/lib/pwn/reports.rb +0 -23
  549. data/lib/pwn/sast/amqp_connect_as_guest.rb +0 -143
  550. data/lib/pwn/sast/apache_file_system_util_api.rb +0 -144
  551. data/lib/pwn/sast/aws.rb +0 -145
  552. data/lib/pwn/sast/banned_function_calls_c.rb +0 -272
  553. data/lib/pwn/sast/base64.rb +0 -143
  554. data/lib/pwn/sast/beef_hook.rb +0 -143
  555. data/lib/pwn/sast/cmd_execution_java.rb +0 -145
  556. data/lib/pwn/sast/cmd_execution_python.rb +0 -147
  557. data/lib/pwn/sast/cmd_execution_ruby.rb +0 -155
  558. data/lib/pwn/sast/cmd_execution_scala.rb +0 -145
  559. data/lib/pwn/sast/csrf.rb +0 -142
  560. data/lib/pwn/sast/deserial_java.rb +0 -150
  561. data/lib/pwn/sast/emoticon.rb +0 -151
  562. data/lib/pwn/sast/eval.rb +0 -144
  563. data/lib/pwn/sast/factory.rb +0 -145
  564. data/lib/pwn/sast/http_authorization_header.rb +0 -148
  565. data/lib/pwn/sast/inner_html.rb +0 -144
  566. data/lib/pwn/sast/keystore.rb +0 -143
  567. data/lib/pwn/sast/location_hash.rb +0 -144
  568. data/lib/pwn/sast/log4j.rb +0 -143
  569. data/lib/pwn/sast/logger.rb +0 -158
  570. data/lib/pwn/sast/outer_html.rb +0 -144
  571. data/lib/pwn/sast/password.rb +0 -143
  572. data/lib/pwn/sast/php_input_mechanisms.rb +0 -149
  573. data/lib/pwn/sast/php_type_juggling.rb +0 -144
  574. data/lib/pwn/sast/pom_version.rb +0 -152
  575. data/lib/pwn/sast/port.rb +0 -150
  576. data/lib/pwn/sast/private_key.rb +0 -143
  577. data/lib/pwn/sast/redirect.rb +0 -145
  578. data/lib/pwn/sast/redos.rb +0 -150
  579. data/lib/pwn/sast/shell.rb +0 -151
  580. data/lib/pwn/sast/signature.rb +0 -143
  581. data/lib/pwn/sast/sql.rb +0 -147
  582. data/lib/pwn/sast/ssl.rb +0 -147
  583. data/lib/pwn/sast/sudo.rb +0 -143
  584. data/lib/pwn/sast/task_tag.rb +0 -157
  585. data/lib/pwn/sast/throw_errors.rb +0 -143
  586. data/lib/pwn/sast/token.rb +0 -145
  587. data/lib/pwn/sast/version.rb +0 -144
  588. data/lib/pwn/sast/window_location_hash.rb +0 -143
  589. data/lib/pwn/sast.rb +0 -56
  590. data/lib/pwn/version.rb +0 -5
  591. data/lib/pwn/www/app_cobalt_io.rb +0 -137
  592. data/lib/pwn/www/bing.rb +0 -89
  593. data/lib/pwn/www/bug_crowd.rb +0 -134
  594. data/lib/pwn/www/checkip.rb +0 -71
  595. data/lib/pwn/www/coinbase_pro.rb +0 -134
  596. data/lib/pwn/www/duckduckgo.rb +0 -111
  597. data/lib/pwn/www/facebook.rb +0 -122
  598. data/lib/pwn/www/google.rb +0 -114
  599. data/lib/pwn/www/hacker_one.rb +0 -122
  600. data/lib/pwn/www/linkedin.rb +0 -122
  601. data/lib/pwn/www/pandora.rb +0 -122
  602. data/lib/pwn/www/pastebin.rb +0 -84
  603. data/lib/pwn/www/paypal.rb +0 -204
  604. data/lib/pwn/www/synack.rb +0 -134
  605. data/lib/pwn/www/torch.rb +0 -106
  606. data/lib/pwn/www/trading_view.rb +0 -125
  607. data/lib/pwn/www/twitter.rb +0 -134
  608. data/lib/pwn/www/uber.rb +0 -122
  609. data/lib/pwn/www/upwork.rb +0 -122
  610. data/lib/pwn/www/youtube.rb +0 -89
  611. data/lib/pwn/www.rb +0 -35
  612. data/lib/pwn.rb +0 -25
  613. data/packer/daemons/msfrpcd.rb +0 -64
  614. data/packer/daemons/openvas.rb +0 -51
  615. data/packer/deploy_docker_containers.sh +0 -9
  616. data/packer/deploy_packer_box.sh +0 -87
  617. data/packer/docker/kali_rolling_docker_pwn_fuzz_net_app_proto.json +0 -44
  618. data/packer/docker/kali_rolling_docker_pwn_prototyper.json +0 -48
  619. data/packer/docker/kali_rolling_docker_pwn_sast.json +0 -44
  620. data/packer/docker/kali_rolling_docker_pwn_transparent_browser.json +0 -46
  621. data/packer/docker/kali_rolling_docker_pwn_www_checkip.json +0 -34
  622. data/packer/http/kali_rolling_preseed.cfg +0 -81
  623. data/packer/kali_rolling_aws_ami.json +0 -137
  624. data/packer/kali_rolling_qemu_kvm.json +0 -157
  625. data/packer/kali_rolling_virtualbox.json +0 -184
  626. data/packer/kali_rolling_vmware.json +0 -165
  627. data/packer/packer_secrets.json.EXAMPLE +0 -9
  628. data/packer/provisioners/PayloadsAllTheThings.sh +0 -5
  629. data/packer/provisioners/SecLists.sh +0 -5
  630. data/packer/provisioners/afl.sh +0 -28
  631. data/packer/provisioners/aliases.rb +0 -18
  632. data/packer/provisioners/amass.sh +0 -5
  633. data/packer/provisioners/android.sh +0 -18
  634. data/packer/provisioners/ansible.sh +0 -5
  635. data/packer/provisioners/apache2.sh +0 -24
  636. data/packer/provisioners/arachni.sh +0 -28
  637. data/packer/provisioners/awscli.sh +0 -5
  638. data/packer/provisioners/bashrc.sh +0 -13
  639. data/packer/provisioners/beef.rb +0 -23
  640. data/packer/provisioners/burpsuite.sh +0 -23
  641. data/packer/provisioners/chrome.sh +0 -11
  642. data/packer/provisioners/coreutils.sh +0 -6
  643. data/packer/provisioners/curl.sh +0 -6
  644. data/packer/provisioners/docker.sh +0 -43
  645. data/packer/provisioners/docker_bashrc.sh +0 -2
  646. data/packer/provisioners/docker_rvm.sh +0 -22
  647. data/packer/provisioners/eyewitness.sh +0 -5
  648. data/packer/provisioners/ffmpeg.sh +0 -6
  649. data/packer/provisioners/firefox.sh +0 -7
  650. data/packer/provisioners/fuzzdb.sh +0 -5
  651. data/packer/provisioners/gdb.sh +0 -5
  652. data/packer/provisioners/geckodriver.sh +0 -9
  653. data/packer/provisioners/ghidra.sh +0 -5
  654. data/packer/provisioners/git.sh +0 -6
  655. data/packer/provisioners/init_image.sh +0 -103
  656. data/packer/provisioners/install_vagrant_ssh_key.sh +0 -15
  657. data/packer/provisioners/jenkins.sh +0 -62
  658. data/packer/provisioners/metasploit.rb +0 -59
  659. data/packer/provisioners/nmap_all_live_hosts.sh +0 -8
  660. data/packer/provisioners/openvas.sh +0 -23
  661. data/packer/provisioners/openvas_wrappers.sh +0 -4
  662. data/packer/provisioners/openvpn.sh +0 -7
  663. data/packer/provisioners/peda.sh +0 -4
  664. data/packer/provisioners/phantomjs.rb +0 -28
  665. data/packer/provisioners/phantomjs_wrapper.sh +0 -22
  666. data/packer/provisioners/post_install.sh +0 -41
  667. data/packer/provisioners/postgresql.sh +0 -49
  668. data/packer/provisioners/preeny.sh +0 -8
  669. data/packer/provisioners/pwn.sh +0 -100
  670. data/packer/provisioners/pwntools.sh +0 -13
  671. data/packer/provisioners/radamsa.sh +0 -7
  672. data/packer/provisioners/rc.local.sh +0 -16
  673. data/packer/provisioners/reboot_os.sh +0 -7
  674. data/packer/provisioners/ruby.sh +0 -35
  675. data/packer/provisioners/rvm.sh +0 -31
  676. data/packer/provisioners/scapy.sh +0 -5
  677. data/packer/provisioners/scout2.sh +0 -5
  678. data/packer/provisioners/sox.sh +0 -5
  679. data/packer/provisioners/ssllabs-scan.sh +0 -9
  680. data/packer/provisioners/strace.sh +0 -5
  681. data/packer/provisioners/sublist3r.sh +0 -5
  682. data/packer/provisioners/terminator.sh +0 -5
  683. data/packer/provisioners/toggle_tor.sh +0 -2
  684. data/packer/provisioners/tor.sh +0 -5
  685. data/packer/provisioners/twinkle.sh +0 -6
  686. data/packer/provisioners/update_os.sh +0 -108
  687. data/packer/provisioners/upload_globals.sh +0 -63
  688. data/packer/provisioners/vim.sh +0 -19
  689. data/packer/provisioners/virtualbox_guest_additions.sh +0 -20
  690. data/packer/provisioners/vmware_tools.sh +0 -8
  691. data/packer/provisioners/wpscan.rb +0 -23
  692. data/packer/provisioners/xrdp.sh +0 -22
  693. data/packer/provisioners/zzuf.sh +0 -5
  694. data/pwn.gemspec +0 -55
  695. data/reinstall_pwn_gemset.sh +0 -27
  696. data/spec/lib/pwn/aws/acm_spec.rb +0 -15
  697. data/spec/lib/pwn/aws/api_gateway_spec.rb +0 -15
  698. data/spec/lib/pwn/aws/app_stream_spec.rb +0 -15
  699. data/spec/lib/pwn/aws/application_auto_scaling_spec.rb +0 -15
  700. data/spec/lib/pwn/aws/application_discovery_service_spec.rb +0 -15
  701. data/spec/lib/pwn/aws/auto_scaling_spec.rb +0 -15
  702. data/spec/lib/pwn/aws/batch_spec.rb +0 -15
  703. data/spec/lib/pwn/aws/budgets_spec.rb +0 -15
  704. data/spec/lib/pwn/aws/cloud_formation_spec.rb +0 -15
  705. data/spec/lib/pwn/aws/cloud_front_spec.rb +0 -15
  706. data/spec/lib/pwn/aws/cloud_hsm_spec.rb +0 -15
  707. data/spec/lib/pwn/aws/cloud_search_domain_spec.rb +0 -15
  708. data/spec/lib/pwn/aws/cloud_search_spec.rb +0 -15
  709. data/spec/lib/pwn/aws/cloud_trail_spec.rb +0 -15
  710. data/spec/lib/pwn/aws/cloud_watch_events_spec.rb +0 -15
  711. data/spec/lib/pwn/aws/cloud_watch_logs_spec.rb +0 -15
  712. data/spec/lib/pwn/aws/cloud_watch_spec.rb +0 -15
  713. data/spec/lib/pwn/aws/code_build_spec.rb +0 -15
  714. data/spec/lib/pwn/aws/code_commit_spec.rb +0 -15
  715. data/spec/lib/pwn/aws/code_deploy_spec.rb +0 -15
  716. data/spec/lib/pwn/aws/code_pipeline_spec.rb +0 -15
  717. data/spec/lib/pwn/aws/cognito_identity_provider_spec.rb +0 -15
  718. data/spec/lib/pwn/aws/cognito_identity_spec.rb +0 -15
  719. data/spec/lib/pwn/aws/cognito_sync_spec.rb +0 -15
  720. data/spec/lib/pwn/aws/config_service_spec.rb +0 -15
  721. data/spec/lib/pwn/aws/data_pipleline_spec.rb +0 -15
  722. data/spec/lib/pwn/aws/database_migration_service_spec.rb +0 -15
  723. data/spec/lib/pwn/aws/device_farm_spec.rb +0 -15
  724. data/spec/lib/pwn/aws/direct_connect_spec.rb +0 -15
  725. data/spec/lib/pwn/aws/directory_service_spec.rb +0 -15
  726. data/spec/lib/pwn/aws/dynamo_db_spec.rb +0 -15
  727. data/spec/lib/pwn/aws/dynamo_db_streams_spec.rb +0 -15
  728. data/spec/lib/pwn/aws/ec2_spec.rb +0 -15
  729. data/spec/lib/pwn/aws/ecr_spec.rb +0 -15
  730. data/spec/lib/pwn/aws/ecs_spec.rb +0 -15
  731. data/spec/lib/pwn/aws/efs_spec.rb +0 -15
  732. data/spec/lib/pwn/aws/elasti_cache_spec.rb +0 -15
  733. data/spec/lib/pwn/aws/elastic_beanstalk_spec.rb +0 -15
  734. data/spec/lib/pwn/aws/elastic_load_balancing_spec.rb +0 -15
  735. data/spec/lib/pwn/aws/elastic_load_balancing_v2_spec.rb +0 -15
  736. data/spec/lib/pwn/aws/elastic_transcoder_spec.rb +0 -15
  737. data/spec/lib/pwn/aws/elasticsearch_service_spec.rb +0 -15
  738. data/spec/lib/pwn/aws/emr_spec.rb +0 -15
  739. data/spec/lib/pwn/aws/firehose_spec.rb +0 -15
  740. data/spec/lib/pwn/aws/game_lift_spec.rb +0 -15
  741. data/spec/lib/pwn/aws/glacier_spec.rb +0 -15
  742. data/spec/lib/pwn/aws/health_spec.rb +0 -15
  743. data/spec/lib/pwn/aws/iam_spec.rb +0 -15
  744. data/spec/lib/pwn/aws/import_export_spec.rb +0 -15
  745. data/spec/lib/pwn/aws/inspector_spec.rb +0 -15
  746. data/spec/lib/pwn/aws/iot_data_plane_spec.rb +0 -15
  747. data/spec/lib/pwn/aws/iot_spec.rb +0 -15
  748. data/spec/lib/pwn/aws/kinesis_analytics_spec.rb +0 -15
  749. data/spec/lib/pwn/aws/kinesis_spec.rb +0 -15
  750. data/spec/lib/pwn/aws/kms_spec.rb +0 -15
  751. data/spec/lib/pwn/aws/lambda_preview_spec.rb +0 -15
  752. data/spec/lib/pwn/aws/lambda_spec.rb +0 -15
  753. data/spec/lib/pwn/aws/lex_spec.rb +0 -15
  754. data/spec/lib/pwn/aws/lightsail_spec.rb +0 -15
  755. data/spec/lib/pwn/aws/machine_learning_spec.rb +0 -15
  756. data/spec/lib/pwn/aws/marketplace_commerce_analytics_spec.rb +0 -15
  757. data/spec/lib/pwn/aws/marketplace_metering_spec.rb +0 -15
  758. data/spec/lib/pwn/aws/ops_works_cm_spec.rb +0 -15
  759. data/spec/lib/pwn/aws/ops_works_spec.rb +0 -15
  760. data/spec/lib/pwn/aws/pinpoint_spec.rb +0 -15
  761. data/spec/lib/pwn/aws/polly_spec.rb +0 -15
  762. data/spec/lib/pwn/aws/rds_spec.rb +0 -15
  763. data/spec/lib/pwn/aws/redshift_spec.rb +0 -15
  764. data/spec/lib/pwn/aws/rekognition_spec.rb +0 -15
  765. data/spec/lib/pwn/aws/route53_domains_spec.rb +0 -15
  766. data/spec/lib/pwn/aws/route53_spec.rb +0 -15
  767. data/spec/lib/pwn/aws/s3_spec.rb +0 -15
  768. data/spec/lib/pwn/aws/service_catalog_spec.rb +0 -15
  769. data/spec/lib/pwn/aws/ses_spec.rb +0 -15
  770. data/spec/lib/pwn/aws/shield_spec.rb +0 -15
  771. data/spec/lib/pwn/aws/simple_db_spec.rb +0 -15
  772. data/spec/lib/pwn/aws/sms_spec.rb +0 -15
  773. data/spec/lib/pwn/aws/snowball_spec.rb +0 -15
  774. data/spec/lib/pwn/aws/sns_spec.rb +0 -15
  775. data/spec/lib/pwn/aws/sqs_spec.rb +0 -15
  776. data/spec/lib/pwn/aws/ssm_spec.rb +0 -15
  777. data/spec/lib/pwn/aws/states_spec.rb +0 -15
  778. data/spec/lib/pwn/aws/storage_gateway_spec.rb +0 -15
  779. data/spec/lib/pwn/aws/sts_spec.rb +0 -15
  780. data/spec/lib/pwn/aws/support_spec.rb +0 -15
  781. data/spec/lib/pwn/aws/swf_spec.rb +0 -15
  782. data/spec/lib/pwn/aws/waf_regional_spec.rb +0 -15
  783. data/spec/lib/pwn/aws/waf_spec.rb +0 -15
  784. data/spec/lib/pwn/aws/workspaces_spec.rb +0 -15
  785. data/spec/lib/pwn/aws/x_ray_spec.rb +0 -15
  786. data/spec/lib/pwn/aws_spec.rb +0 -10
  787. data/spec/lib/pwn/banner/bubble_spec.rb +0 -20
  788. data/spec/lib/pwn/banner/matrix_spec.rb +0 -20
  789. data/spec/lib/pwn/banner/ninja_spec.rb +0 -20
  790. data/spec/lib/pwn/banner/off_the_air_spec.rb +0 -20
  791. data/spec/lib/pwn/banner/pirate_spec.rb +0 -20
  792. data/spec/lib/pwn/banner_spec.rb +0 -15
  793. data/spec/lib/pwn/ffi_spec.rb +0 -10
  794. data/spec/lib/pwn/plugins/android_spec.rb +0 -15
  795. data/spec/lib/pwn/plugins/authentication_helper_spec.rb +0 -15
  796. data/spec/lib/pwn/plugins/basic_auth_spec.rb +0 -15
  797. data/spec/lib/pwn/plugins/beef_spec.rb +0 -15
  798. data/spec/lib/pwn/plugins/burp_suite_spec.rb +0 -15
  799. data/spec/lib/pwn/plugins/bus_pirate_spec.rb +0 -15
  800. data/spec/lib/pwn/plugins/char_spec.rb +0 -15
  801. data/spec/lib/pwn/plugins/credit_card_spec.rb +0 -15
  802. data/spec/lib/pwn/plugins/dao_ldap_spec.rb +0 -15
  803. data/spec/lib/pwn/plugins/dao_mongo_spec.rb +0 -15
  804. data/spec/lib/pwn/plugins/dao_postgres_spec.rb +0 -15
  805. data/spec/lib/pwn/plugins/dao_sqlite3_spec.rb +0 -15
  806. data/spec/lib/pwn/plugins/defect_dojo_spec.rb +0 -15
  807. data/spec/lib/pwn/plugins/detect_os_spec.rb +0 -15
  808. data/spec/lib/pwn/plugins/ein_spec.rb +0 -15
  809. data/spec/lib/pwn/plugins/file_fu_spec.rb +0 -15
  810. data/spec/lib/pwn/plugins/fuzz_spec.rb +0 -15
  811. data/spec/lib/pwn/plugins/git_spec.rb +0 -15
  812. data/spec/lib/pwn/plugins/github_spec.rb +0 -15
  813. data/spec/lib/pwn/plugins/hacker_one_spec.rb +0 -15
  814. data/spec/lib/pwn/plugins/ibm_appscan_spec.rb +0 -15
  815. data/spec/lib/pwn/plugins/ip_info_spec.rb +0 -15
  816. data/spec/lib/pwn/plugins/jenkins_spec.rb +0 -15
  817. data/spec/lib/pwn/plugins/json_pathify_spec.rb +0 -15
  818. data/spec/lib/pwn/plugins/mail_agent_spec.rb +0 -15
  819. data/spec/lib/pwn/plugins/metasploit_spec.rb +0 -15
  820. data/spec/lib/pwn/plugins/msr206_spec.rb +0 -15
  821. data/spec/lib/pwn/plugins/nessus_cloud_spec.rb +0 -15
  822. data/spec/lib/pwn/plugins/nexpose_vuln_scan_spec.rb +0 -15
  823. data/spec/lib/pwn/plugins/nmap_it_spec.rb +0 -15
  824. data/spec/lib/pwn/plugins/oauth2_spec.rb +0 -15
  825. data/spec/lib/pwn/plugins/ocr_spec.rb +0 -15
  826. data/spec/lib/pwn/plugins/openvas_spec.rb +0 -15
  827. data/spec/lib/pwn/plugins/owasp_zap_spec.rb +0 -15
  828. data/spec/lib/pwn/plugins/packet_spec.rb +0 -15
  829. data/spec/lib/pwn/plugins/pdf_parse_spec.rb +0 -15
  830. data/spec/lib/pwn/plugins/pony_spec.rb +0 -15
  831. data/spec/lib/pwn/plugins/rabbit_mq_spec.rb +0 -15
  832. data/spec/lib/pwn/plugins/rfidler_spec.rb +0 -15
  833. data/spec/lib/pwn/plugins/serial_spec.rb +0 -15
  834. data/spec/lib/pwn/plugins/shodan_spec.rb +0 -15
  835. data/spec/lib/pwn/plugins/slack_client_spec.rb +0 -15
  836. data/spec/lib/pwn/plugins/sock_spec.rb +0 -15
  837. data/spec/lib/pwn/plugins/son_micro_rfid_spec.rb +0 -15
  838. data/spec/lib/pwn/plugins/spider_spec.rb +0 -15
  839. data/spec/lib/pwn/plugins/ssn_spec.rb +0 -15
  840. data/spec/lib/pwn/plugins/thread_pool_spec.rb +0 -15
  841. data/spec/lib/pwn/plugins/transparent_browser_spec.rb +0 -15
  842. data/spec/lib/pwn/plugins/twitter_api_spec.rb +0 -15
  843. data/spec/lib/pwn/plugins/uri_scheme_spec.rb +0 -15
  844. data/spec/lib/pwn/plugins/vsphere_spec.rb +0 -15
  845. data/spec/lib/pwn/plugins_spec.rb +0 -10
  846. data/spec/lib/pwn/reports/fuzz_spec.rb +0 -15
  847. data/spec/lib/pwn/reports/phone_spec.rb +0 -15
  848. data/spec/lib/pwn/reports/sast_spec.rb +0 -15
  849. data/spec/lib/pwn/reports/uri_buster_spec.rb +0 -15
  850. data/spec/lib/pwn/reports_spec.rb +0 -10
  851. data/spec/lib/pwn/sast/amqp_connect_as_guest_spec.rb +0 -25
  852. data/spec/lib/pwn/sast/apache_file_system_util_api_spec.rb +0 -25
  853. data/spec/lib/pwn/sast/aws_spec.rb +0 -25
  854. data/spec/lib/pwn/sast/banned_function_calls_c_spec.rb +0 -25
  855. data/spec/lib/pwn/sast/base64_spec.rb +0 -25
  856. data/spec/lib/pwn/sast/beef_hook_spec.rb +0 -25
  857. data/spec/lib/pwn/sast/cmd_execution_java_spec.rb +0 -25
  858. data/spec/lib/pwn/sast/cmd_execution_python_spec.rb +0 -25
  859. data/spec/lib/pwn/sast/cmd_execution_ruby_spec.rb +0 -25
  860. data/spec/lib/pwn/sast/cmd_execution_scala_spec.rb +0 -25
  861. data/spec/lib/pwn/sast/csrf_spec.rb +0 -25
  862. data/spec/lib/pwn/sast/deserial_java_spec.rb +0 -25
  863. data/spec/lib/pwn/sast/emoticon_spec.rb +0 -25
  864. data/spec/lib/pwn/sast/eval_spec.rb +0 -25
  865. data/spec/lib/pwn/sast/factory_spec.rb +0 -25
  866. data/spec/lib/pwn/sast/http_authorization_header_spec.rb +0 -25
  867. data/spec/lib/pwn/sast/inner_html_spec.rb +0 -25
  868. data/spec/lib/pwn/sast/keystore_spec.rb +0 -25
  869. data/spec/lib/pwn/sast/location_hash_spec.rb +0 -25
  870. data/spec/lib/pwn/sast/log4j_spec.rb +0 -25
  871. data/spec/lib/pwn/sast/logger_spec.rb +0 -25
  872. data/spec/lib/pwn/sast/password_spec.rb +0 -25
  873. data/spec/lib/pwn/sast/php_input_mechanisms_spec.rb +0 -25
  874. data/spec/lib/pwn/sast/php_type_juggling_spec.rb +0 -25
  875. data/spec/lib/pwn/sast/pom_version_spec.rb +0 -25
  876. data/spec/lib/pwn/sast/port_spec.rb +0 -25
  877. data/spec/lib/pwn/sast/private_key_spec.rb +0 -25
  878. data/spec/lib/pwn/sast/redirect_spec.rb +0 -25
  879. data/spec/lib/pwn/sast/redos_spec.rb +0 -25
  880. data/spec/lib/pwn/sast/shell_spec.rb +0 -25
  881. data/spec/lib/pwn/sast/signature_spec.rb +0 -25
  882. data/spec/lib/pwn/sast/sql_spec.rb +0 -25
  883. data/spec/lib/pwn/sast/ssl_spec.rb +0 -25
  884. data/spec/lib/pwn/sast/sudo_spec.rb +0 -25
  885. data/spec/lib/pwn/sast/task_tag_spec.rb +0 -25
  886. data/spec/lib/pwn/sast/throw_errors_spec.rb +0 -25
  887. data/spec/lib/pwn/sast/token_spec.rb +0 -25
  888. data/spec/lib/pwn/sast/version_spec.rb +0 -25
  889. data/spec/lib/pwn/sast/window_location_hash_spec.rb +0 -25
  890. data/spec/lib/pwn/sast_spec.rb +0 -10
  891. data/spec/lib/pwn/www/app_cobalt_io_spec.rb +0 -15
  892. data/spec/lib/pwn/www/bing_spec.rb +0 -15
  893. data/spec/lib/pwn/www/bug_crowd.rb +0 -15
  894. data/spec/lib/pwn/www/checkip_spec.rb +0 -15
  895. data/spec/lib/pwn/www/coinbase_pro_spec.rb +0 -15
  896. data/spec/lib/pwn/www/duckduckgo_spec.rb +0 -15
  897. data/spec/lib/pwn/www/facebook_spec.rb +0 -15
  898. data/spec/lib/pwn/www/google_spec.rb +0 -15
  899. data/spec/lib/pwn/www/hacker_one_spec.rb +0 -15
  900. data/spec/lib/pwn/www/linkedin_spec.rb +0 -15
  901. data/spec/lib/pwn/www/pandora_spec.rb +0 -15
  902. data/spec/lib/pwn/www/pastebin_spec.rb +0 -15
  903. data/spec/lib/pwn/www/paypal_spec.rb +0 -15
  904. data/spec/lib/pwn/www/synack_spec.rb +0 -15
  905. data/spec/lib/pwn/www/torch_spec.rb +0 -15
  906. data/spec/lib/pwn/www/trading_view_spec.rb +0 -15
  907. data/spec/lib/pwn/www/twitter_spec.rb +0 -15
  908. data/spec/lib/pwn/www/uber_spec.rb +0 -15
  909. data/spec/lib/pwn/www/upwork_spec.rb +0 -15
  910. data/spec/lib/pwn/www/youtube_spec.rb +0 -15
  911. data/spec/lib/pwn/www_spec.rb +0 -10
  912. data/spec/lib/pwn_spec.rb +0 -10
  913. data/spec/spec_helper.rb +0 -3
  914. data/third_party/.gitkeep +0 -0
  915. data/update_pwn.sh +0 -9
  916. data/upgrade_ruby.sh +0 -42
  917. data/vagrant/provisioners/apache2.sh +0 -76
  918. data/vagrant/provisioners/beef.rb +0 -30
  919. data/vagrant/provisioners/burpsuite_pro.rb +0 -37
  920. data/vagrant/provisioners/exploit-db.sh +0 -2
  921. data/vagrant/provisioners/gem.sh +0 -4
  922. data/vagrant/provisioners/init_env.sh +0 -22
  923. data/vagrant/provisioners/jenkins.sh +0 -87
  924. data/vagrant/provisioners/jenkins_ssh-keygen.rb +0 -86
  925. data/vagrant/provisioners/kali_customize.rb +0 -130
  926. data/vagrant/provisioners/letsencrypt.rb +0 -35
  927. data/vagrant/provisioners/metasploit.rb +0 -25
  928. data/vagrant/provisioners/nmap_all_live_hosts.sh +0 -2
  929. data/vagrant/provisioners/openvas.sh +0 -23
  930. data/vagrant/provisioners/openvas_wrappers.sh +0 -2
  931. data/vagrant/provisioners/post_install.sh +0 -14
  932. data/vagrant/provisioners/postgres.sh +0 -22
  933. data/vagrant/provisioners/pwn.sh +0 -15
  934. data/vagrant/provisioners/rvm.sh +0 -18
  935. data/vagrant/provisioners/ssllabs-scan.sh +0 -10
  936. data/vagrant/provisioners/toggle_tor.sh +0 -2
  937. data/vagrant/provisioners/update_jenkins_plugins.rb +0 -30
  938. data/vagrant/provisioners/update_os.sh +0 -108
  939. data/vagrant/provisioners/upload_globals.sh +0 -63
  940. data/vagrant/provisioners/userland_fdisk.sh +0 -22
  941. data/vagrant/provisioners/userland_lvm.sh +0 -5
  942. data/vagrant/provisioners/wpscan.rb +0 -25
  943. data/vagrant_rsync_third_party.lst +0 -1
  944. data/vagrant_rsync_userland_template.lst +0 -8
@@ -1,188 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'socket'
4
- require 'openssl'
5
-
6
- module PWN
7
- module Plugins
8
- # This plugin was created to support fuzzing various networking protocols
9
- module Sock
10
- @@logger = PWN::Plugins::PWNLogger.create
11
-
12
- # Supported Method Parameters::
13
- # sock_obj = PWN::Plugins::Sock.connect(
14
- # target: 'required - target host or ip',
15
- # port: 'required - target port',
16
- # protocol: 'optional - :tcp || :udp (defaults to tcp)',
17
- # tls: 'optional - boolean connect to target socket using TLS (defaults to false)'
18
- # )
19
-
20
- public_class_method def self.connect(opts = {})
21
- target = opts[:target].to_s.scrub
22
- port = opts[:port].to_i
23
- opts[:protocol].nil? ? protocol = :tcp : protocol = opts[:protocol].to_s.downcase.to_sym
24
- opts[:tls].nil? ? tls = false : tls = true
25
-
26
- case protocol
27
- when :tcp
28
- if tls
29
- sock = TCPSocket.open(target, port)
30
- tls_context = OpenSSL::SSL::SSLContext.new
31
- tls_context.set_params(verify_mode: OpenSSL::SSL::VERIFY_NONE)
32
- tls_sock = OpenSSL::SSL::SSLSocket.new(sock, tls_context)
33
- sock_obj = tls_sock.connect
34
- else
35
- sock_obj = TCPSocket.open(target, port)
36
- end
37
- when :udp
38
- sock_obj = UDPSocket.new
39
- sock_obj.connect(target, port)
40
- else
41
- raise "Unsupported protocol: #{protocol}"
42
- end
43
-
44
- sock_obj
45
- rescue StandardError => e
46
- sock_obj = disconnect(sock_obj: sock_obj) unless sock_obj.nil?
47
- raise e
48
- end
49
-
50
- # Supported Method Parameters::
51
- # PWN::Plugins::Sock.check_port_in_use(
52
- # port: 'required - target port',
53
- # server_ip: 'optional - target host or ip to check (Defaults to 127.0.0.1)',
54
- # protocol: 'optional - :tcp || :udp (defaults to tcp)'
55
- # )
56
-
57
- public_class_method def self.check_port_in_use(opts = {})
58
- server_ip = opts[:server_ip]
59
- server_ip ||= '127.0.0.1'
60
- port = opts[:port]
61
- protocol = opts[:protocol]
62
- protocol ||= :tcp
63
-
64
- ct = 1
65
- s = Socket.tcp(server_ip, port, connect_timeout: ct) if protocol == :tcp
66
- s = Socket.udp(server_ip, port, connect_timeout: ct) if protocol == :udp
67
- s.close
68
-
69
- true
70
- rescue Errno::ECONNREFUSED,
71
- Errno::EHOSTUNREACH,
72
- Errno::ETIMEDOUT
73
- false
74
- end
75
-
76
- # Supported Method Parameters::
77
- # PWN::Plugins::Sock.listen(
78
- # server_ip: 'required - target host or ip to listen',
79
- # port: 'required - target port',
80
- # protocol: 'optional - :tcp || :udp (defaults to tcp)',
81
- # tls: 'optional - boolean listen on TLS-enabled socket (defaults to false)'
82
- # )
83
-
84
- public_class_method def self.listen(opts = {})
85
- server_ip = opts[:server_ip].to_s.scrub
86
- port = opts[:port].to_i
87
- opts[:protocol].nil? ? protocol = :tcp : protocol = opts[:protocol].to_s.downcase.to_sym
88
- opts[:tls].nil? ? tls = false : tls = true
89
-
90
- case protocol
91
- when :tcp
92
- if tls
93
- # Multi-threaded - Not working
94
- sock = TCPServer.open(server_ip, port)
95
- tls_context = OpenSSL::SSL::SSLContext.new
96
- tls_context.set_params(verify_mode: OpenSSL::SSL::VERIFY_NONE)
97
- listen_obj = OpenSSL::SSL::SSLServer.new(sock, tls_context)
98
- # loop do
99
- # Thread.start(listen_obj.accept) do |client_thread|
100
- # while (client_input = client_thread.gets)
101
- # puts client_input
102
- # end
103
- # client_thread.close
104
- # end
105
- # end
106
- else
107
- # Multi-threaded
108
- listen_obj = TCPServer.open(server_ip, port)
109
- loop do
110
- Thread.start(listen_obj.accept) do |client_thread|
111
- while (client_input = client_thread.gets)
112
- puts client_input
113
- end
114
- client_thread.close
115
- end
116
- end
117
- end
118
- when :udp
119
- # Single Threaded
120
- listen_obj = UDPSocket.new
121
- listen_obj.bind(server_ip, port)
122
- while (client_input = listen_obj.recvmsg)
123
- puts client_input[0].to_s
124
- end
125
- else
126
- raise "Unsupported protocol: #{protocol}"
127
- end
128
- rescue StandardError => e
129
- raise e
130
- ensure
131
- listen_obj = disconnect(sock_obj: listen_obj) unless listen_obj.nil?
132
- end
133
-
134
- # Supported Method Parameters::
135
- # sock_obj = PWN::Plugins::Sock.disconnect(
136
- # sock_obj: 'required - sock_obj returned from #connect method'
137
- # )
138
-
139
- public_class_method def self.disconnect(opts = {})
140
- sock_obj = opts[:sock_obj]
141
- sock_obj.close
142
- sock_obj = nil
143
- rescue StandardError => e
144
- raise e
145
- end
146
-
147
- # Author(s):: 0day Inc. <request.pentest@0dayinc.com>
148
-
149
- public_class_method def self.authors
150
- "AUTHOR(S):
151
- 0day Inc. <request.pentest@0dayinc.com>
152
- "
153
- end
154
-
155
- # Display Usage for this Module
156
-
157
- public_class_method def self.help
158
- puts "USAGE:
159
- sock_obj = #{self}.connect(
160
- target: 'required - target host or ip',
161
- port: 'required - target port',
162
- protocol: 'optional - :tcp || :udp (defaults to tcp)',
163
- tls: 'optional - boolean connect to target socket using TLS (defaults to false)'
164
- )
165
-
166
- #{self}.check_port_availability(
167
- port: 'required - target port',
168
- server_ip: 'optional - target host or ip to check (Defaults to 127.0.0.1)',
169
- protocol: 'optional - :tcp || :udp (defaults to tcp)'
170
- )
171
-
172
- #{self}.listen(
173
- server_ip: 'required - target host or ip to listen',
174
- port: 'required - target port',
175
- protocol: 'optional - :tcp || :udp (defaults to tcp)',
176
- tls: 'optional - boolean listen on TLS-enabled socket (defaults to false)'
177
- )
178
-
179
- sock_obj = PWN::Plugins::Sock.disconnect(
180
- sock_obj: 'required - sock_obj returned from #connect method'
181
- )
182
-
183
- #{self}.authors
184
- "
185
- end
186
- end
187
- end
188
- end
@@ -1,504 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module PWN
4
- module Plugins
5
- # This plugin is used for interacting with a SonMicro
6
- # SM132 USB RFID Reader / Writer (PCB V3) &&
7
- # SM2330-USB Rev.0
8
- module SonMicroRFID
9
- # Supported Method Parameters::
10
- # son_micro_rfid_obj = PWN::Plugins::SonMicroRFID.connect(
11
- # block_dev: 'optional - serial block device path (defaults to /dev/ttyUSB0)',
12
- # baud: 'optional - (defaults to 19_200)',
13
- # data_bits: 'optional - (defaults to 8)',
14
- # stop_bits: 'optional - (defaults to 1)',
15
- # parity: 'optional - :even|:mark|:odd|:space|:none (defaults to :none)',
16
- # flow_control: 'optional - :none||:hard||:soft (defaults to :none)'
17
- # )
18
-
19
- public_class_method def self.connect(opts = {})
20
- # Default Baud Rate for this Device is 19200
21
- opts[:block_dev] = '/dev/ttyUSB0' unless opts[:block_dev]
22
- opts[:baud] = 19_200 unless opts[:baud]
23
- opts[:data_bits] = 8 unless opts[:data_bits]
24
- opts[:stop_bits] = 1 unless opts[:stop_bits]
25
- opts[:parity] = :none unless opts[:parity]
26
- opts[:flow_control] = :none unless opts[:flow_control]
27
- son_micro_rfid_obj = PWN::Plugins::Serial.connect(opts)
28
- rescue StandardError => e
29
- disconnect(son_micro_rfid_obj: son_micro_rfid_obj) unless son_micro_rfid_obj.nil?
30
- raise e
31
- end
32
-
33
- # Supported Method Parameters::
34
- # cmds = PWN::Plugins::SonMicroRFID.list_cmds
35
- public_class_method def self.list_cmds
36
- # Returns an Array of Symbols
37
- cmds = %i[
38
- reset
39
- firmware
40
- seek_for_tag
41
- select_tag
42
- authenticate
43
- read_block
44
- write_block
45
- write_value
46
- write_four_byte_block
47
- write_key
48
- increment
49
- decrement
50
- antenna_power
51
- read_port
52
- write_port
53
- halt
54
- set_baud_rate
55
- sleep
56
- poll_buffer
57
- ]
58
- rescue StandardError => e
59
- raise e
60
- end
61
-
62
- # Supported Method Parameters::
63
- # params = PWN::Plugins::SonMicroRFID.list_params(
64
- # cmd: 'required - cmd returned from #list_cmds method',
65
- # )
66
- public_class_method def self.list_params(opts = {})
67
- cmd = opts[:cmd].to_s.scrub.strip.chomp
68
-
69
- case cmd.to_sym
70
- when :reset
71
- params = %i[reset_not_implemented]
72
- when :firmware
73
- params = %i[firmware_not_implemented]
74
- when :seek_for_tag
75
- params = %i[seek_for_tag_no_params_required]
76
- when :select_tag
77
- params = %i[select_tag_no_params_required]
78
- when :authenticate
79
- params = %i[authenticate_not_implemented]
80
- when :read_block
81
- params = %i[read_block_not_implemented]
82
- when :write_block
83
- params = %i[write_block_not_implemented]
84
- when :write_value
85
- params = %i[write_value_not_implemented]
86
- when :write_four_byte_block
87
- params = %i[write_four_byte_block_not_implemented]
88
- when :write_key
89
- params = %i[write_key_not_implemented]
90
- when :increment
91
- params = %i[increment_not_implemented]
92
- when :decrement
93
- params = %i[decrement_not_implemented]
94
- when :antenna_power
95
- params = %i[off on reset]
96
- when :read_port
97
- params = %i[antenna_power_not_implemented]
98
- when :write_port
99
- params = %i[write_port_not_implemented]
100
- when :halt
101
- params = %i[halt_not_implemented]
102
- when :set_baud_rate
103
- params = %i[set_baud_rate_not_implemented]
104
- when :sleep
105
- params = %i[sleep_not_implemented]
106
- when :poll_buffer
107
- params = %i[poll_buffer_not_implemented]
108
- else
109
- raise "Unsupported Command: #{cmd}. Supported commands are:\n#{list_cmds}\n\n\n"
110
- end
111
-
112
- params
113
- rescue StandardError => e
114
- raise e
115
- end
116
-
117
- # Supported Method Parameters::
118
- # parsed_cmd_resp_arr = parse_responses(
119
- # son_micro_rfid_obj: 'required - son_micro_rfid_obj returned from #connect method'
120
- # cmd_resp: 'required - command response string'
121
- # )
122
-
123
- private_class_method def self.parse_responses(opts = {})
124
- son_micro_rfid_obj = opts[:son_micro_rfid_obj]
125
- cmd = opts[:cmd].to_s.scrub.strip.chomp
126
-
127
- keep_parsing_responses = true
128
- next_response_detected = false
129
- all_cmd_responses = []
130
- a_cmd_r_len = 0
131
- last_a_cmd_r_len = 0
132
-
133
- parsed_cmd_resp_arr = []
134
- bytes_in_cmd_resp = 0
135
- cmd_resp = ''
136
-
137
- # Parse All Responses and add them to parsed_cmd_resp_arr
138
- while keep_parsing_responses
139
- until next_response_detected
140
- all_cmd_responses = PWN::Plugins::Serial.response(
141
- serial_obj: son_micro_rfid_obj
142
- )
143
- cmd_resp = all_cmd_responses.last
144
- bytes_in_cmd_resp = cmd_resp.split.length if cmd_resp
145
- a_cmd_r_len = all_cmd_responses.length
146
-
147
- # Dont proceed until the expected_cmd_resp_byte_len byte appears
148
- next_response_detected = true if bytes_in_cmd_resp > 3 &&
149
- a_cmd_r_len > last_a_cmd_r_len
150
- end
151
- next_response_detected = false
152
- last_a_cmd_r_len = a_cmd_r_len
153
-
154
- # Third byte
155
- expected_cmd_resp_byte_len = cmd_resp.split[2].to_i(16) + 4
156
-
157
- # Fourth byte
158
- cmd_hex = cmd_resp.split[3]
159
-
160
- while bytes_in_cmd_resp < expected_cmd_resp_byte_len
161
- all_cmd_responses = PWN::Plugins::Serial.response(
162
- serial_obj: son_micro_rfid_obj
163
- )
164
-
165
- cmd_resp = all_cmd_responses.last
166
- bytes_in_cmd_resp = cmd_resp.split.length
167
- # puts "EXPECTED CMD BYTE LEN: #{expected_cmd_resp_byte_len}"
168
- # puts "LAST CMD BYTE LEN: #{bytes_in_cmd_resp} >>>"
169
- # puts all_cmd_responses
170
- # puts "COMMAND HEX: #{cmd_hex}\n\n\n"
171
- end
172
-
173
- # puts "\nALL CMD RESPS >>>"
174
- # puts "#{all_cmd_responses}\n\n\n"
175
- parsed_cmd_resp_hash = {}
176
- parsed_cmd_resp_hash[:cmd_hex] = cmd_hex
177
- parsed_cmd_resp_hash[:cmd_desc] = cmd.to_sym
178
- parsed_cmd_resp_hash[:hex_resp] = cmd_resp
179
- resp_code = '?'
180
-
181
- # TODO: Detect EMV
182
- case cmd_hex
183
- when '82', '83'
184
- resp_code = cmd_resp.split[4]
185
- parsed_cmd_resp_hash[:resp_code_hex] = resp_code
186
- case resp_code
187
- when '01'
188
- parsed_cmd_resp_hash[:resp_code_desc] = :mifare_ultralight
189
- parsed_cmd_resp_hash[:tag_id] = cmd_resp.split[5..-2].join(
190
- ' '
191
- )
192
- when '02'
193
- parsed_cmd_resp_hash[:resp_code_desc] = :mifare_classic_1k
194
- parsed_cmd_resp_hash[:tag_id] = cmd_resp.split[5..-2].join(
195
- ' '
196
- )
197
- when '03'
198
- parsed_cmd_resp_hash[:resp_code_desc] = :mifare_classic_4k
199
- parsed_cmd_resp_hash[:tag_id] = cmd_resp.split[5..-2].join(
200
- ' '
201
- )
202
- when '4C'
203
- parsed_cmd_resp_hash[:resp_code_desc] = :seeking_tag
204
- parsed_cmd_resp_hash[:tag_id] = :seeking_tag
205
- when '4E'
206
- parsed_cmd_resp_hash[:resp_code_desc] = :no_tag_present
207
- parsed_cmd_resp_hash[:tag_id] = :not_available
208
- when '55'
209
- parsed_cmd_resp_hash[:resp_code_desc] = :antenna_off
210
- parsed_cmd_resp_hash[:tag_id] = :not_available
211
- when 'FF'
212
- parsed_cmd_resp_hash[:resp_code_desc] = :unknown_tag_type
213
- parsed_cmd_resp_hash[:tag_id] = cmd_resp.split[5..-2].join(
214
- ' '
215
- )
216
- else
217
- parsed_cmd_resp_hash[:resp_code_desc] = :unknown_resp_code
218
- parsed_cmd_resp_hash[:tag_id] = :not_available
219
- end
220
- else
221
- parsed_cmd_resp_hash[:cmd_desc] = :not_available
222
- end
223
-
224
- keep_parsing_responses = false unless resp_code == '4C'
225
-
226
- parsed_cmd_resp_arr.push(parsed_cmd_resp_hash)
227
- end
228
-
229
- parsed_cmd_resp_arr
230
- rescue StandardError => e
231
- raise e
232
- ensure
233
- # Flush Responses for Next Request
234
- PWN::Plugins::Serial.flush_session_data
235
- end
236
-
237
- # Supported Method Parameters::
238
- # PWN::Plugins::SonMicroRFID.exec(
239
- # son_micro_rfid_obj: 'required - son_micro_rfid_obj returned from #connect method'
240
- # cmd: 'required - cmd returned from #list_cmds method',
241
- # params: 'optional - parameters for specific command returned from #list_params method'
242
- # )
243
- public_class_method def self.exec(opts = {})
244
- son_micro_rfid_obj = opts[:son_micro_rfid_obj]
245
- cmd = opts[:cmd].to_s.scrub.strip.chomp
246
- params = opts[:params].to_s.scrub.strip.chomp
247
-
248
- params_bytes = []
249
-
250
- # Use the Mifare Panel Application to reverse enginner commands.
251
- case cmd.to_sym
252
- when :reset
253
- cmd_bytes = [0xFF, 0x00, 0x01, 0x80, 0x81]
254
- when :firmware
255
- cmd_bytes = [0xFF, 0x00, 0x01, 0x81, 0x82]
256
- when :seek_for_tag
257
- cmd_bytes = [0xFF, 0x00, 0x01, 0x82, 0x83]
258
- when :select_tag
259
- cmd_bytes = [0xFF, 0x00, 0x01, 0x83, 0x84]
260
- when :authenticate
261
- # Last two bytes not correct
262
- cmd_bytes = [0xFF, 0x00, 0x01, 0x00, 0x00]
263
- when :read_block
264
- # Last two bytes not correct
265
- cmd_bytes = [0xFF, 0x00, 0x01, 0x00, 0x01]
266
- when :write_block
267
- # Last two bytes not correct
268
- cmd_bytes = [0xFF, 0x00, 0x01, 0x00, 0x02]
269
- when :write_value
270
- # Last two bytes not correct
271
- cmd_bytes = [0xFF, 0x00, 0x01, 0x00, 0x03]
272
- when :write_four_byte_block
273
- # Last two bytes not correct
274
- cmd_bytes = [0xFF, 0x00, 0x01, 0x00, 0x04]
275
- when :write_key
276
- # Last two bytes not correct
277
- cmd_bytes = [0xFF, 0x00, 0x01, 0x00, 0x05]
278
- when :increment
279
- # Last two bytes not correct
280
- cmd_bytes = [0xFF, 0x00, 0x01, 0x00, 0x06]
281
- when :decrement
282
- # Last two bytes not correct
283
- cmd_bytes = [0xFF, 0x00, 0x01, 0x00, 0x07]
284
- when :antenna_power
285
- cmd_bytes = [0xFF, 0x00, 0x02, 0x90]
286
- case params.to_sym
287
- when :off
288
- params_bytes = [0x00, 0x92]
289
- when :on
290
- params_bytes = [0x01, 0x93]
291
- when :reset
292
- params_bytes = [0x02, 0x94]
293
- else
294
- raise "Unsupported Parameters: #{params} for #{cmd}. Supported parameters for #{cmd} are:\n#{list_params(cmd: cmd)}\n\n\n"
295
- end
296
- when :read_port
297
- # Last two bytes not correct
298
- cmd_bytes = [0xFF, 0x00, 0x01]
299
- when :write_port
300
- # Last two bytes not correct
301
- cmd_bytes = [0xFF, 0x00, 0x01, 0x08]
302
- when :halt
303
- cmd_bytes = [0xFF, 0x00, 0x01, 0x93, 0x94]
304
- when :set_baud_rate
305
- # Last two bytes not correct
306
- cmd_bytes = [0xFF, 0x00, 0x01, 0x09]
307
- when :sleep
308
- # Last two bytes not correct
309
- cmd_bytes = [0xFF, 0x00, 0x01, 0x0a]
310
- when :poll_buffer
311
- cmd_bytes = [0xFF, 0x00, 0x01, 0xB0, 0xB1]
312
- else
313
- raise "Unsupported Command: #{cmd}. Supported commands are:\n#{list_cmds}\n\n\n"
314
- end
315
-
316
- # If parameters to a command are set, append them.
317
- cmd_bytes += params_bytes unless params_bytes.empty?
318
- # Execute the command.
319
- PWN::Plugins::Serial.request(
320
- serial_obj: son_micro_rfid_obj,
321
- payload: cmd_bytes
322
- )
323
-
324
- # Parse commands response(s).
325
- # Return an array of hashes.
326
- parse_responses(
327
- son_micro_rfid_obj: son_micro_rfid_obj,
328
- cmd: cmd.to_sym
329
- )
330
- rescue StandardError => e
331
- raise e
332
- ensure
333
- # Flush Responses for Next Request
334
- PWN::Plugins::Serial.flush_session_data
335
- end
336
-
337
- # Supported Method Parameters::
338
- # PWN::Plugins::SonMicroRFID.read_card(
339
- # son_micro_rfid_obj: 'required - son_micro_rfid_obj returned from #connect method'
340
- # )
341
-
342
- public_class_method def self.read_card(opts = {})
343
- son_micro_rfid_obj = opts[:son_micro_rfid_obj]
344
- print 'Reader Activated. Please Scan Card...'
345
- exec_resp = exec(
346
- son_micro_rfid_obj: son_micro_rfid_obj,
347
- cmd: :seek_for_tag
348
- )
349
-
350
- rfid_data = exec_resp.last
351
- puts "#{rfid_data[:resp_code_desc]} >>> #{rfid_data[:tag_id]}"
352
-
353
- rfid_data
354
- rescue StandardError => e
355
- raise e
356
- end
357
-
358
- # Supported Method Parameters::
359
- # PWN::Plugins::SonMicroRFID.write_card(
360
- # son_micro_rfid_obj: 'required - son_micro_rfid_obj returned from #connect method'
361
- # )
362
-
363
- public_class_method def self.write_card(opts = {})
364
- son_micro_rfid_obj = opts[:son_micro_rfid_obj]
365
- rfid_data = opts[:rfid_data]
366
- # TODO: write card
367
- puts rfid_data.inspect
368
-
369
- rfid_data
370
- rescue StandardError => e
371
- raise e
372
- end
373
-
374
- # Supported Method Parameters::
375
- # PWN::Plugins::SonMicroRFID.backup_card(
376
- # son_micro_rfid_obj: 'required - son_micro_rfid_obj returned from #connect method'
377
- # )
378
-
379
- public_class_method def self.backup_card(opts = {})
380
- son_micro_rfid_obj = opts[:son_micro_rfid_obj]
381
- rfid_data = read_card(son_micro_rfid_obj: son_micro_rfid_obj)
382
- file = ''
383
- backup_msg = ''
384
- loop do
385
- print 'Enter File Name to Save Backup: '
386
- file = gets.scrub.chomp.strip
387
- file_dir = File.dirname(file)
388
- break if Dir.exist?(file_dir)
389
-
390
- backup_msg = "\n****** ERROR: Directory #{file_dir} for #{file} does not exist ******"
391
- puts backup_msg
392
- end
393
- File.write(file, "#{JSON.pretty_generate(rfid_data)}\n")
394
-
395
- puts 'complete.'
396
- rfid_data
397
- rescue StandardError => e
398
- raise e
399
- end
400
-
401
- # Supported Method Parameters::
402
- # PWN::Plugins::SonMicroRFID.copy_card(
403
- # son_micro_rfid_obj: 'required - son_micro_rfid_obj returned from #connect method'
404
- # )
405
-
406
- public_class_method def self.copy_card(opts = {})
407
- son_micro_rfid_obj = opts[:son_micro_rfid_obj]
408
- rfid_data = read_card(son_micro_rfid_obj: son_micro_rfid_obj)
409
- write_card(
410
- son_micro_rfid_obj: son_micro_rfid_obj,
411
- rfid_data: rfid_data
412
- )
413
- rescue StandardError => e
414
- raise e
415
- end
416
-
417
- # Supported Method Parameters::
418
- # PWN::Plugins::SonMicroRFID.load_card_from_file(
419
- # son_micro_rfid_obj: 'required - son_micro_rfid_obj returned from #connect method'
420
- # )
421
-
422
- public_class_method def self.load_card_from_file(opts = {})
423
- son_micro_rfid_obj = opts[:son_micro_rfid_obj]
424
- file = ''
425
- restore_msg = ''
426
- loop do
427
- print 'Enter File Name to Restore to Card: '
428
- file = gets.scrub.chomp.strip
429
- break if File.exist?(file)
430
-
431
- restore_msg = "\n****** ERROR: #{file} does not exist ******"
432
- puts restore_msg
433
- end
434
-
435
- rfid_data = JSON.parse(
436
- File.read(file),
437
- symbolize_names: true
438
- )
439
-
440
- # TODO: Save Original Card Contents
441
- write_card(
442
- son_micro_rfid_obj: son_micro_rfid_obj,
443
- rfid_data: rfid_data
444
- )
445
- rescue StandardError => e
446
- raise e
447
- end
448
-
449
- # Supported Method Parameters::
450
- # PWN::Plugins::SonMicroRFID.disconnect(
451
- # son_micro_rfid_obj: 'required - son_micro_rfid_obj returned from #connect method'
452
- # )
453
-
454
- public_class_method def self.disconnect(opts = {})
455
- PWN::Plugins::Serial.disconnect(
456
- serial_obj: opts[:son_micro_rfid_obj]
457
- )
458
- rescue StandardError => e
459
- raise e
460
- end
461
-
462
- # Author(s):: 0day Inc. <request.pentest@0dayinc.com>
463
-
464
- public_class_method def self.authors
465
- "AUTHOR(S):
466
- 0day Inc. <request.pentest@0dayinc.com>
467
- "
468
- end
469
-
470
- # Display Usage for this Module
471
-
472
- public_class_method def self.help
473
- puts "USAGE:
474
- son_micro_rfid_obj = #{self}.connect(
475
- block_dev: 'optional serial block device path (defaults to /dev/ttyUSB0)',
476
- baud: 'optional (defaults to 19_200)',
477
- data_bits: 'optional (defaults to 8)',
478
- stop_bits: 'optional (defaults to 1)',
479
- parity: 'optional - :even|:mark|:odd|:space|:none (defaults to :odd),'
480
- flow_control: 'optional - :none||:hard||:soft (defaults to :none)'
481
- )
482
-
483
- cmds = #{self}.list_cmds
484
-
485
- params = #{self}.list_params(
486
- cmd: 'required - cmd returned from #list_cmds method',
487
- )
488
-
489
- parsed_cmd_resp_arr = #{self}.exec(
490
- son_micro_rfid_obj: 'required son_micro_rfid_obj returned from #connect method',
491
- cmd: 'required - cmd returned from #list_cmds method',
492
- params: 'optional - parameters for specific command returned from #list_params method'
493
- )
494
-
495
- #{self}.disconnect(
496
- son_micro_rfid_obj: 'required son_micro_rfid_obj returned from #connect method'
497
- )
498
-
499
- #{self}.authors
500
- "
501
- end
502
- end
503
- end
504
- end