bbot 2.3.2.5915rc0__tar.gz → 2.3.2.5927rc0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bbot might be problematic. Click here for more details.

Files changed (431) hide show
  1. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/PKG-INFO +1 -1
  2. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/__init__.py +1 -1
  3. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/regex.py +4 -0
  4. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/client.py +1 -0
  5. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/git.py +8 -1
  6. bbot-2.3.2.5927rc0/bbot/modules/gitdumper.py +270 -0
  7. bbot-2.3.2.5927rc0/bbot/test/test_step_2/module_tests/test_module_gitdumper.py +385 -0
  8. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/pyproject.toml +1 -1
  9. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/LICENSE +0 -0
  10. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/README.md +0 -0
  11. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/cli.py +0 -0
  12. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/__init__.py +0 -0
  13. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/config/__init__.py +0 -0
  14. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/config/files.py +0 -0
  15. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/config/logger.py +0 -0
  16. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/core.py +0 -0
  17. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/engine.py +0 -0
  18. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/event/__init__.py +0 -0
  19. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/event/base.py +0 -0
  20. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/event/helpers.py +0 -0
  21. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/flags.py +0 -0
  22. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/__init__.py +0 -0
  23. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/async_helpers.py +0 -0
  24. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/bloom.py +0 -0
  25. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/cache.py +0 -0
  26. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/command.py +0 -0
  27. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/depsinstaller/__init__.py +0 -0
  28. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/depsinstaller/installer.py +0 -0
  29. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/depsinstaller/sudo_askpass.py +0 -0
  30. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/diff.py +0 -0
  31. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/__init__.py +0 -0
  32. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/brute.py +0 -0
  33. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/dns.py +0 -0
  34. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/engine.py +0 -0
  35. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/helpers.py +0 -0
  36. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/mock.py +0 -0
  37. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/files.py +0 -0
  38. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/helper.py +0 -0
  39. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/interactsh.py +0 -0
  40. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/libmagic.py +0 -0
  41. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/misc.py +0 -0
  42. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/names_generator.py +0 -0
  43. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/ntlm.py +0 -0
  44. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/process.py +0 -0
  45. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/ratelimiter.py +0 -0
  46. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/regexes.py +0 -0
  47. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/url.py +0 -0
  48. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/validators.py +0 -0
  49. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/__init__.py +0 -0
  50. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/engine.py +0 -0
  51. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/ssl_context.py +0 -0
  52. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/web.py +0 -0
  53. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/wordcloud.py +0 -0
  54. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/modules.py +0 -0
  55. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/multiprocess.py +0 -0
  56. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/core/shared_deps.py +0 -0
  57. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/db/sql/models.py +0 -0
  58. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/defaults.yml +0 -0
  59. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/errors.py +0 -0
  60. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/logger.py +0 -0
  61. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/__init__.py +0 -0
  62. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ajaxpro.py +0 -0
  63. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/anubisdb.py +0 -0
  64. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/apkpure.py +0 -0
  65. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/azure_realm.py +0 -0
  66. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/azure_tenant.py +0 -0
  67. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/baddns.py +0 -0
  68. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/baddns_direct.py +0 -0
  69. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/baddns_zone.py +0 -0
  70. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/badsecrets.py +0 -0
  71. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/base.py +0 -0
  72. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bevigil.py +0 -0
  73. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/binaryedge.py +0 -0
  74. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_amazon.py +0 -0
  75. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_azure.py +0 -0
  76. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_digitalocean.py +0 -0
  77. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_file_enum.py +0 -0
  78. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_firebase.py +0 -0
  79. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_google.py +0 -0
  80. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bufferoverrun.py +0 -0
  81. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/builtwith.py +0 -0
  82. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bypass403.py +0 -0
  83. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/c99.py +0 -0
  84. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/censys.py +0 -0
  85. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/certspotter.py +0 -0
  86. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/chaos.py +0 -0
  87. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/code_repository.py +0 -0
  88. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/credshed.py +0 -0
  89. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/crt.py +0 -0
  90. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/deadly/dastardly.py +0 -0
  91. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/deadly/ffuf.py +0 -0
  92. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/deadly/nuclei.py +0 -0
  93. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/deadly/vhost.py +0 -0
  94. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dehashed.py +0 -0
  95. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/digitorus.py +0 -0
  96. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnsbimi.py +0 -0
  97. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnsbrute.py +0 -0
  98. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnsbrute_mutations.py +0 -0
  99. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnscaa.py +0 -0
  100. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnscommonsrv.py +0 -0
  101. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnsdumpster.py +0 -0
  102. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnstlsrpt.py +0 -0
  103. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/docker_pull.py +0 -0
  104. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dockerhub.py +0 -0
  105. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dotnetnuke.py +0 -0
  106. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/emailformat.py +0 -0
  107. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/extractous.py +0 -0
  108. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ffuf_shortnames.py +0 -0
  109. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/filedownload.py +0 -0
  110. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/fingerprintx.py +0 -0
  111. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/fullhunt.py +0 -0
  112. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/generic_ssrf.py +0 -0
  113. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/git_clone.py +0 -0
  114. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/github_codesearch.py +0 -0
  115. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/github_org.py +0 -0
  116. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/github_workflows.py +0 -0
  117. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/gitlab.py +0 -0
  118. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/google_playstore.py +0 -0
  119. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/gowitness.py +0 -0
  120. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/hackertarget.py +0 -0
  121. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/host_header.py +0 -0
  122. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/httpx.py +0 -0
  123. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/hunt.py +0 -0
  124. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/hunterio.py +0 -0
  125. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/iis_shortnames.py +0 -0
  126. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/__init__.py +0 -0
  127. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/aggregate.py +0 -0
  128. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/base.py +0 -0
  129. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/cloudcheck.py +0 -0
  130. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/dnsresolve.py +0 -0
  131. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/excavate.py +0 -0
  132. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/speculate.py +0 -0
  133. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/unarchive.py +0 -0
  134. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internetdb.py +0 -0
  135. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ip2location.py +0 -0
  136. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ipneighbor.py +0 -0
  137. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ipstack.py +0 -0
  138. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/jadx.py +0 -0
  139. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/leakix.py +0 -0
  140. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/myssl.py +0 -0
  141. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/newsletters.py +0 -0
  142. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ntlm.py +0 -0
  143. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/oauth.py +0 -0
  144. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/otx.py +0 -0
  145. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/__init__.py +0 -0
  146. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/asset_inventory.py +0 -0
  147. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/base.py +0 -0
  148. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/csv.py +0 -0
  149. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/discord.py +0 -0
  150. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/emails.py +0 -0
  151. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/http.py +0 -0
  152. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/json.py +0 -0
  153. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/mysql.py +0 -0
  154. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/neo4j.py +0 -0
  155. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/nmap_xml.py +0 -0
  156. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/postgres.py +0 -0
  157. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/python.py +0 -0
  158. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/slack.py +0 -0
  159. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/splunk.py +0 -0
  160. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/sqlite.py +0 -0
  161. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/stdout.py +0 -0
  162. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/subdomains.py +0 -0
  163. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/teams.py +0 -0
  164. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/txt.py +0 -0
  165. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/web_parameters.py +0 -0
  166. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/web_report.py +0 -0
  167. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/websocket.py +0 -0
  168. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/paramminer_cookies.py +0 -0
  169. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/paramminer_getparams.py +0 -0
  170. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/paramminer_headers.py +0 -0
  171. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/passivetotal.py +0 -0
  172. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/pgp.py +0 -0
  173. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/portfilter.py +0 -0
  174. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/portscan.py +0 -0
  175. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/postman.py +0 -0
  176. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/postman_download.py +0 -0
  177. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/rapiddns.py +0 -0
  178. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/report/affiliates.py +0 -0
  179. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/report/asn.py +0 -0
  180. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/report/base.py +0 -0
  181. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/robots.py +0 -0
  182. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/securitytrails.py +0 -0
  183. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/securitytxt.py +0 -0
  184. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/shodan_dns.py +0 -0
  185. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/sitedossier.py +0 -0
  186. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/skymem.py +0 -0
  187. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/smuggler.py +0 -0
  188. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/social.py +0 -0
  189. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/sslcert.py +0 -0
  190. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/subdomaincenter.py +0 -0
  191. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/subdomainradar.py +0 -0
  192. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/telerik.py +0 -0
  193. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/bucket.py +0 -0
  194. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/github.py +0 -0
  195. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/postman.py +0 -0
  196. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/shodan.py +0 -0
  197. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/sql.py +0 -0
  198. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/subdomain_enum.py +0 -0
  199. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/webhook.py +0 -0
  200. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/trickest.py +0 -0
  201. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/trufflehog.py +0 -0
  202. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/url_manipulation.py +0 -0
  203. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/urlscan.py +0 -0
  204. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/viewdns.py +0 -0
  205. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/virustotal.py +0 -0
  206. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/wafw00f.py +0 -0
  207. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/wappalyzer.py +0 -0
  208. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/wayback.py +0 -0
  209. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/wpscan.py +0 -0
  210. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/modules/zoomeye.py +0 -0
  211. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/baddns-intense.yml +0 -0
  212. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/cloud-enum.yml +0 -0
  213. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/code-enum.yml +0 -0
  214. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/email-enum.yml +0 -0
  215. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/fast.yml +0 -0
  216. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/kitchen-sink.yml +0 -0
  217. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/nuclei/nuclei-budget.yml +0 -0
  218. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/nuclei/nuclei-intense.yml +0 -0
  219. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/nuclei/nuclei-technology.yml +0 -0
  220. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/nuclei/nuclei.yml +0 -0
  221. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/spider-intense.yml +0 -0
  222. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/spider.yml +0 -0
  223. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/subdomain-enum.yml +0 -0
  224. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/tech-detect.yml +0 -0
  225. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/dirbust-heavy.yml +0 -0
  226. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/dirbust-light.yml +0 -0
  227. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/dotnet-audit.yml +0 -0
  228. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/iis-shortnames.yml +0 -0
  229. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/paramminer.yml +0 -0
  230. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web-basic.yml +0 -0
  231. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web-screenshots.yml +0 -0
  232. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web-thorough.yml +0 -0
  233. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/__init__.py +0 -0
  234. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/dispatcher.py +0 -0
  235. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/manager.py +0 -0
  236. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/__init__.py +0 -0
  237. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/args.py +0 -0
  238. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/conditions.py +0 -0
  239. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/environ.py +0 -0
  240. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/path.py +0 -0
  241. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/preset.py +0 -0
  242. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/scanner.py +0 -0
  243. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/stats.py +0 -0
  244. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/target.py +0 -0
  245. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/scripts/docs.py +0 -0
  246. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/__init__.py +0 -0
  247. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/bbot_fixtures.py +0 -0
  248. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/conftest.py +0 -0
  249. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/coverage.cfg +0 -0
  250. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/fastapi_test.py +0 -0
  251. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/owasp_mastg.apk +0 -0
  252. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/run_tests.sh +0 -0
  253. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test.conf +0 -0
  254. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_output.ndjson +0 -0
  255. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/__init__.py +0 -0
  256. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test__module__tests.py +0 -0
  257. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_bbot_fastapi.py +0 -0
  258. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_bloom_filter.py +0 -0
  259. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_cli.py +0 -0
  260. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_command.py +0 -0
  261. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_config.py +0 -0
  262. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_depsinstaller.py +0 -0
  263. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_dns.py +0 -0
  264. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_docs.py +0 -0
  265. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_engine.py +0 -0
  266. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_events.py +0 -0
  267. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_files.py +0 -0
  268. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_helpers.py +0 -0
  269. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_manager_deduplication.py +0 -0
  270. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_manager_scope_accuracy.py +0 -0
  271. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_modules_basic.py +0 -0
  272. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_presets.py +0 -0
  273. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_python_api.py +0 -0
  274. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_regexes.py +0 -0
  275. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_scan.py +0 -0
  276. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_scope.py +0 -0
  277. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_target.py +0 -0
  278. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_web.py +0 -0
  279. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/__init__.py +0 -0
  280. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/__init__.py +0 -0
  281. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/base.py +0 -0
  282. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_affiliates.py +0 -0
  283. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_aggregate.py +0 -0
  284. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ajaxpro.py +0 -0
  285. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_anubisdb.py +0 -0
  286. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_apkpure.py +0 -0
  287. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_asn.py +0 -0
  288. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_asset_inventory.py +0 -0
  289. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_azure_realm.py +0 -0
  290. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_azure_tenant.py +0 -0
  291. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_baddns.py +0 -0
  292. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_baddns_direct.py +0 -0
  293. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_baddns_zone.py +0 -0
  294. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_badsecrets.py +0 -0
  295. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bevigil.py +0 -0
  296. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_binaryedge.py +0 -0
  297. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_amazon.py +0 -0
  298. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_azure.py +0 -0
  299. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_digitalocean.py +0 -0
  300. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_file_enum.py +0 -0
  301. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_firebase.py +0 -0
  302. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_google.py +0 -0
  303. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bufferoverrun.py +0 -0
  304. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_builtwith.py +0 -0
  305. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bypass403.py +0 -0
  306. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_c99.py +0 -0
  307. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_censys.py +0 -0
  308. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_certspotter.py +0 -0
  309. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_chaos.py +0 -0
  310. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_cloudcheck.py +0 -0
  311. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_code_repository.py +0 -0
  312. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_credshed.py +0 -0
  313. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_crt.py +0 -0
  314. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_csv.py +0 -0
  315. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dastardly.py +0 -0
  316. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dehashed.py +0 -0
  317. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_digitorus.py +0 -0
  318. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_discord.py +0 -0
  319. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsbimi.py +0 -0
  320. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsbrute.py +0 -0
  321. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsbrute_mutations.py +0 -0
  322. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnscaa.py +0 -0
  323. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnscommonsrv.py +0 -0
  324. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsdumpster.py +0 -0
  325. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsresolve.py +0 -0
  326. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnstlsrpt.py +0 -0
  327. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_docker_pull.py +0 -0
  328. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dockerhub.py +0 -0
  329. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dotnetnuke.py +0 -0
  330. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_emailformat.py +0 -0
  331. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_emails.py +0 -0
  332. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_excavate.py +0 -0
  333. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_extractous.py +0 -0
  334. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ffuf.py +0 -0
  335. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ffuf_shortnames.py +0 -0
  336. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_filedownload.py +0 -0
  337. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_fingerprintx.py +0 -0
  338. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_fullhunt.py +0 -0
  339. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_generic_ssrf.py +0 -0
  340. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_git.py +0 -0
  341. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_git_clone.py +0 -0
  342. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_github_codesearch.py +0 -0
  343. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_github_org.py +0 -0
  344. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_github_workflows.py +0 -0
  345. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_gitlab.py +0 -0
  346. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_google_playstore.py +0 -0
  347. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_gowitness.py +0 -0
  348. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_hackertarget.py +0 -0
  349. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_host_header.py +0 -0
  350. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_http.py +0 -0
  351. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_httpx.py +0 -0
  352. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_hunt.py +0 -0
  353. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_hunterio.py +0 -0
  354. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_iis_shortnames.py +0 -0
  355. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_internetdb.py +0 -0
  356. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ip2location.py +0 -0
  357. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ipneighbor.py +0 -0
  358. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ipstack.py +0 -0
  359. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_jadx.py +0 -0
  360. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_json.py +0 -0
  361. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_leakix.py +0 -0
  362. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_mysql.py +0 -0
  363. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_myssl.py +0 -0
  364. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_neo4j.py +0 -0
  365. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_newsletters.py +0 -0
  366. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_nmap_xml.py +0 -0
  367. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ntlm.py +0 -0
  368. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_nuclei.py +0 -0
  369. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_oauth.py +0 -0
  370. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_otx.py +0 -0
  371. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_paramminer_cookies.py +0 -0
  372. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_paramminer_getparams.py +0 -0
  373. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_paramminer_headers.py +0 -0
  374. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_passivetotal.py +0 -0
  375. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_pgp.py +0 -0
  376. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_portfilter.py +0 -0
  377. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_portscan.py +0 -0
  378. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_postgres.py +0 -0
  379. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_postman.py +0 -0
  380. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_postman_download.py +0 -0
  381. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_python.py +0 -0
  382. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_rapiddns.py +0 -0
  383. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_robots.py +0 -0
  384. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_securitytrails.py +0 -0
  385. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_securitytxt.py +0 -0
  386. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_shodan_dns.py +0 -0
  387. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_sitedossier.py +0 -0
  388. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_skymem.py +0 -0
  389. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_slack.py +0 -0
  390. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_smuggler.py +0 -0
  391. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_social.py +0 -0
  392. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_speculate.py +0 -0
  393. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_splunk.py +0 -0
  394. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_sqlite.py +0 -0
  395. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_sslcert.py +0 -0
  396. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_stdout.py +0 -0
  397. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_subdomaincenter.py +0 -0
  398. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_subdomainradar.py +0 -0
  399. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_subdomains.py +0 -0
  400. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_teams.py +0 -0
  401. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_telerik.py +0 -0
  402. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_trickest.py +0 -0
  403. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_trufflehog.py +0 -0
  404. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_txt.py +0 -0
  405. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_unarchive.py +0 -0
  406. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_url_manipulation.py +0 -0
  407. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_urlscan.py +0 -0
  408. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_vhost.py +0 -0
  409. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_viewdns.py +0 -0
  410. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_virustotal.py +0 -0
  411. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_wafw00f.py +0 -0
  412. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_wappalyzer.py +0 -0
  413. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_wayback.py +0 -0
  414. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_web_parameters.py +0 -0
  415. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_web_report.py +0 -0
  416. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_websocket.py +0 -0
  417. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_wpscan.py +0 -0
  418. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_zoomeye.py +0 -0
  419. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/template_tests/__init__.py +0 -0
  420. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/template_tests/test_template_subdomain_enum.py +0 -0
  421. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/testsslcert.pem +0 -0
  422. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/test/testsslkey.pem +0 -0
  423. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/devops_mutations.txt +0 -0
  424. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/ms_on_prem_subdomains.txt +0 -0
  425. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/nameservers.txt +0 -0
  426. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/paramminer_headers.txt +0 -0
  427. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/paramminer_parameters.txt +0 -0
  428. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt +0 -0
  429. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/top_open_ports_nmap.txt +0 -0
  430. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/valid_url_schemes.txt +0 -0
  431. {bbot-2.3.2.5915rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/wordninja_dns.txt.gz +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bbot
3
- Version: 2.3.2.5915rc0
3
+ Version: 2.3.2.5927rc0
4
4
  Summary: OSINT automation for hackers.
5
5
  License: GPL-3.0
6
6
  Keywords: python,cli,automation,osint,threat-intel,intelligence,neo4j,scanner,python-library,hacking,recursion,pentesting,recon,command-line-tool,bugbounty,subdomains,security-tools,subdomain-scanner,osint-framework,attack-surface,subdomain-enumeration,osint-tool
@@ -1,4 +1,4 @@
1
1
  # version placeholder (replaced by poetry-dynamic-versioning)
2
- __version__ = "v2.3.2.5915rc"
2
+ __version__ = "v2.3.2.5927rc"
3
3
 
4
4
  from .scanner import Scanner, Preset
@@ -31,6 +31,10 @@ class RegexHelper:
31
31
  self.ensure_compiled_regex(compiled_regex)
32
32
  return await self.parent_helper.run_in_executor(compiled_regex.search, *args, **kwargs)
33
33
 
34
+ async def sub(self, compiled_regex, *args, **kwargs):
35
+ self.ensure_compiled_regex(compiled_regex)
36
+ return await self.parent_helper.run_in_executor(compiled_regex.sub, *args, **kwargs)
37
+
34
38
  async def findall(self, compiled_regex, *args, **kwargs):
35
39
  self.ensure_compiled_regex(compiled_regex)
36
40
  return await self.parent_helper.run_in_executor(compiled_regex.findall, *args, **kwargs)
@@ -83,6 +83,7 @@ class BBOTAsyncClient(httpx.AsyncClient):
83
83
  # TODO: re-enable this
84
84
  if self._target.in_scope(str(request.url)):
85
85
  for hk, hv in self._web_config.get("http_headers", {}).items():
86
+ hv = str(hv)
86
87
  # don't clobber headers
87
88
  if hk not in request.headers:
88
89
  request.headers[hk] = hv
@@ -5,7 +5,7 @@ from bbot.modules.base import BaseModule
5
5
 
6
6
  class git(BaseModule):
7
7
  watched_events = ["URL"]
8
- produced_events = ["FINDING"]
8
+ produced_events = ["FINDING", "CODE_REPOSITORY"]
9
9
  flags = ["active", "safe", "web-basic", "code-enum"]
10
10
  meta = {
11
11
  "description": "Check for exposed .git repositories",
@@ -37,3 +37,10 @@ class git(BaseModule):
37
37
  event,
38
38
  context="{module} detected {event.type}: {description}",
39
39
  )
40
+ await self.emit_event(
41
+ {"url": url.rstrip("config")},
42
+ "CODE_REPOSITORY",
43
+ event,
44
+ tags="git_directory",
45
+ context="{module} detected {event.type}: {description}",
46
+ )
@@ -0,0 +1,270 @@
1
+ import regex as re
2
+ from pathlib import Path
3
+ from subprocess import CalledProcessError
4
+ from bbot.modules.base import BaseModule
5
+
6
+
7
+ class gitdumper(BaseModule):
8
+ watched_events = ["CODE_REPOSITORY"]
9
+ produced_events = ["FILESYSTEM"]
10
+ flags = ["passive", "safe", "slow", "code-enum"]
11
+ meta = {
12
+ "description": "Download a leaked .git folder recursively or by fuzzing common names",
13
+ "created_date": "2025-02-11",
14
+ "author": "@domwhewell-sage",
15
+ }
16
+ options = {
17
+ "output_folder": "",
18
+ "fuzz_tags": False,
19
+ "max_semanic_version": 10,
20
+ }
21
+ options_desc = {
22
+ "output_folder": "Folder to download repositories to",
23
+ "fuzz_tags": "Fuzz for common git tag names (v0.0.1, 0.0.2, etc.) up to the max_semanic_version",
24
+ "max_semanic_version": "Maximum version number to fuzz for (default < v10.10.10)",
25
+ }
26
+
27
+ scope_distance_modifier = 2
28
+
29
+ async def setup(self):
30
+ self.urls_downloaded = set()
31
+ output_folder = self.config.get("output_folder")
32
+ if output_folder:
33
+ self.output_dir = Path(output_folder) / "git_repos"
34
+ else:
35
+ self.output_dir = self.scan.home / "git_repos"
36
+ self.helpers.mkdir(self.output_dir)
37
+ self.unsafe_regex = self.helpers.re.compile(r"^\s*fsmonitor|sshcommand|askpass|editor|pager", re.IGNORECASE)
38
+ self.ref_regex = self.helpers.re.compile(r"ref: refs/heads/([a-zA-Z\d_-]+)")
39
+ self.obj_regex = self.helpers.re.compile(r"[a-f0-9]{40}")
40
+ self.pack_regex = self.helpers.re.compile(r"pack-([a-f0-9]{40})\.pack")
41
+ self.git_files = [
42
+ "HEAD",
43
+ "description",
44
+ "config",
45
+ "COMMIT_EDITMSG",
46
+ "index",
47
+ "packed-refs",
48
+ "info/refs",
49
+ "info/exclude",
50
+ "refs/stash",
51
+ "refs/wip/index/refs/heads/master",
52
+ "refs/wip/wtree/refs/heads/master",
53
+ "logs/HEAD",
54
+ "objects/info/packs",
55
+ ]
56
+ self.info("Compiling fuzz list with common branch names")
57
+ branch_names = [
58
+ "bugfix",
59
+ "daily",
60
+ "dev",
61
+ "develop",
62
+ "development",
63
+ "feat",
64
+ "feature",
65
+ "fix",
66
+ "hotfix",
67
+ "integration",
68
+ "issue",
69
+ "main",
70
+ "master",
71
+ "ng",
72
+ "prod",
73
+ "production",
74
+ "qa",
75
+ "quickfix",
76
+ "release",
77
+ "stable",
78
+ "stage",
79
+ "staging",
80
+ "test",
81
+ "testing",
82
+ "wip",
83
+ ]
84
+ url_patterns = [
85
+ "logs/refs/heads/{branch}",
86
+ "logs/refs/remotes/origin/{branch}",
87
+ "refs/remotes/origin/{branch}",
88
+ "refs/heads/{branch}",
89
+ ]
90
+ for branch in branch_names:
91
+ for pattern in url_patterns:
92
+ self.git_files.append(pattern.format(branch=branch))
93
+ self.fuzz_tags = self.config.get("fuzz_tags", "10")
94
+ self.max_semanic_version = self.config.get("max_semanic_version", "10")
95
+ if self.fuzz_tags:
96
+ self.info("Adding symantec version tags to fuzz list")
97
+ for major in range(self.max_semanic_version):
98
+ for minor in range(self.max_semanic_version):
99
+ for patch in range(self.max_semanic_version):
100
+ self.verbose(f"{major}.{minor}.{patch}")
101
+ self.git_files.append(f"refs/tags/{major}.{minor}.{patch}")
102
+ self.verbose(f"v{major}.{minor}.{patch}")
103
+ self.git_files.append(f"refs/tags/v{major}.{minor}.{patch}")
104
+ else:
105
+ self.info("Adding symantec version tags to fuzz list (v0.0.1, 0.0.1, v1.0.0, 1.0.0)")
106
+ for path in ["refs/tags/v0.0.1", "refs/tags/0.0.1", "refs/tags/v1.0.0", "refs/tags/1.0.0"]:
107
+ self.git_files.append(path)
108
+ return await super().setup()
109
+
110
+ async def filter_event(self, event):
111
+ if event.type == "CODE_REPOSITORY":
112
+ if "git-directory" not in event.tags:
113
+ return False, "event is not a leaked .git directory"
114
+ return True
115
+
116
+ async def handle_event(self, event):
117
+ repo_url = event.data.get("url")
118
+ self.info(f"Processing leaked .git directory at {repo_url}")
119
+ repo_folder = self.output_dir / self.helpers.tagify(repo_url)
120
+ self.helpers.mkdir(repo_folder)
121
+ dir_listing = await self.directory_listing_enabled(repo_url)
122
+ if dir_listing:
123
+ urls = await self.recursive_dir_list(dir_listing)
124
+ result = await self.download_files(urls, repo_folder)
125
+ else:
126
+ result = await self.git_fuzz(repo_url, repo_folder)
127
+ if result:
128
+ await self.sanitize_config(repo_folder)
129
+ await self.git_checkout(repo_folder)
130
+ codebase_event = self.make_event({"path": str(repo_folder)}, "FILESYSTEM", tags=["git"], parent=event)
131
+ await self.emit_event(
132
+ codebase_event,
133
+ context=f"{{module}} cloned git repo at {repo_url} to {{event.type}}: {str(repo_folder)}",
134
+ )
135
+ else:
136
+ self.helpers.rm_rf(repo_folder)
137
+
138
+ async def directory_listing_enabled(self, repo_url):
139
+ response = await self.helpers.request(repo_url)
140
+ if "<title>Index of" in getattr(response, "text", ""):
141
+ self.info(f"Directory listing enabled at {repo_url}")
142
+ return response
143
+ return None
144
+
145
+ async def recursive_dir_list(self, dir_listing):
146
+ file_list = []
147
+ soup = self.helpers.beautifulsoup(dir_listing.text, "html.parser")
148
+ links = soup.find_all("a")
149
+ for link in links:
150
+ href = link["href"]
151
+ if href == "../" or href == "/":
152
+ continue
153
+ if href.endswith("/"):
154
+ folder_url = self.helpers.urljoin(str(dir_listing.url), href)
155
+ response = await self.helpers.request(folder_url)
156
+ if getattr(response, "status_code", 0) == 200:
157
+ file_list.extend(await self.recursive_dir_list(response))
158
+ else:
159
+ file_url = self.helpers.urljoin(str(dir_listing.url), href)
160
+ # Ensure the file is in the same domain as the directory listing
161
+ if file_url.startswith(str(dir_listing.url)):
162
+ url = self.helpers.urlparse(file_url)
163
+ file_list.append(url)
164
+ return file_list
165
+
166
+ async def git_fuzz(self, repo_url, repo_folder):
167
+ self.info("Directory listing not enabled, fuzzing common git files")
168
+ url_list = []
169
+ for file in self.git_files:
170
+ url_list.append(self.helpers.urlparse(self.helpers.urljoin(repo_url, file)))
171
+ result = await self.download_files(url_list, repo_folder)
172
+ if result:
173
+ await self.download_current_branch(repo_url, repo_folder)
174
+ await self.download_git_objects(repo_url, repo_folder)
175
+ await self.download_git_packs(repo_url, repo_folder)
176
+ return True
177
+ else:
178
+ return False
179
+
180
+ async def download_current_branch(self, repo_url, repo_folder):
181
+ for branch in await self.regex_files(self.ref_regex, file=repo_folder / ".git/HEAD"):
182
+ await self.download_files(
183
+ [self.helpers.urlparse(self.helpers.urljoin(repo_url, f"refs/heads/{branch}"))], repo_folder
184
+ )
185
+
186
+ async def download_git_objects(self, url, folder):
187
+ for object in await self.regex_files(self.obj_regex, folder=folder):
188
+ await self.download_object(object, url, folder)
189
+
190
+ async def download_git_packs(self, url, folder):
191
+ url_list = []
192
+ for sha1 in await self.regex_files(self.pack_regex, file=folder / ".git/objects/info/packs"):
193
+ url_list.append(self.helpers.urlparse(self.helpers.urljoin(url, f"objects/pack/pack-{sha1}.idx")))
194
+ url_list.append(self.helpers.urlparse(self.helpers.urljoin(url, f"objects/pack/pack-{sha1}.pack")))
195
+ if url_list:
196
+ await self.download_files(url_list, folder)
197
+
198
+ async def regex_files(self, regex, folder=Path(), file=Path(), files=[]):
199
+ results = []
200
+ if folder:
201
+ if folder.is_dir():
202
+ for file_path in folder.rglob("*"):
203
+ if file_path.is_file():
204
+ results.extend(await self.regex_file(regex, file_path))
205
+ if files:
206
+ for file in files:
207
+ results.extend(await self.regex_file(regex, file))
208
+ if file:
209
+ results.extend(await self.regex_file(regex, file))
210
+ return results
211
+
212
+ async def regex_file(self, regex, file=Path()):
213
+ if file.exists() and file.is_file():
214
+ with file.open("r", encoding="utf-8", errors="ignore") as file:
215
+ content = file.read()
216
+ matches = await self.helpers.re.findall(regex, content)
217
+ if matches:
218
+ return matches
219
+ return []
220
+
221
+ async def download_object(self, object, repo_url, repo_folder):
222
+ await self.download_files(
223
+ [self.helpers.urlparse(self.helpers.urljoin(repo_url, f"objects/{object[:2]}/{object[2:]}"))], repo_folder
224
+ )
225
+ output = await self.git_catfile(object, option="-p", folder=repo_folder)
226
+ for obj in await self.helpers.re.findall(self.obj_regex, output):
227
+ await self.download_object(obj, repo_url, repo_folder)
228
+
229
+ async def download_files(self, urls, folder):
230
+ for url in urls:
231
+ git_index = url.path.find(".git")
232
+ file_url = url.geturl()
233
+ filename = folder / url.path[git_index:]
234
+ self.helpers.mkdir(filename.parent)
235
+ if hash(str(file_url)) not in self.urls_downloaded:
236
+ self.verbose(f"Downloading {file_url} to {filename}")
237
+ await self.helpers.download(file_url, filename=filename, warn=False)
238
+ self.urls_downloaded.add(hash(str(file_url)))
239
+ if any(folder.rglob("*")):
240
+ return True
241
+ else:
242
+ self.debug(f"Unable to download git files to {folder}")
243
+ return False
244
+
245
+ async def sanitize_config(self, folder):
246
+ config_file = folder / ".git/config"
247
+ if config_file.exists():
248
+ with config_file.open("r", encoding="utf-8", errors="ignore") as file:
249
+ content = file.read()
250
+ sanitized = await self.helpers.re.sub(self.unsafe_regex, r"# \g<0>", content)
251
+ with config_file.open("w", encoding="utf-8") as file:
252
+ file.write(sanitized)
253
+
254
+ async def git_catfile(self, hash, option="-t", folder=Path()):
255
+ command = ["git", "cat-file", option, hash]
256
+ try:
257
+ output = await self.run_process(command, env={"GIT_TERMINAL_PROMPT": "0"}, cwd=folder, check=True)
258
+ except CalledProcessError:
259
+ return ""
260
+
261
+ return output.stdout
262
+
263
+ async def git_checkout(self, folder):
264
+ self.verbose(f"Running git checkout to reconstruct the git repository at {folder}")
265
+ command = ["git", "checkout", "."]
266
+ try:
267
+ await self.run_process(command, env={"GIT_TERMINAL_PROMPT": "0"}, cwd=folder, check=True)
268
+ except CalledProcessError as e:
269
+ # Still emit the event even if the checkout fails
270
+ self.debug(f"Error running git checkout in {folder}. STDERR: {repr(e.stderr)}")