bbot 2.7.1.7212rc0__tar.gz → 2.7.2__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 (470) hide show
  1. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/PKG-INFO +1 -1
  2. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/__init__.py +1 -1
  3. bbot-2.7.2/bbot/modules/gitlab_com.py +31 -0
  4. bbot-2.7.2/bbot/modules/gitlab_onprem.py +84 -0
  5. bbot-2.7.2/bbot/modules/templates/gitlab.py +98 -0
  6. bbot-2.7.2/bbot/test/test_step_2/module_tests/test_module_gitlab_com.py +66 -0
  7. bbot-2.7.1.7212rc0/bbot/test/test_step_2/module_tests/test_module_gitlab.py → bbot-2.7.2/bbot/test/test_step_2/module_tests/test_module_gitlab_onprem.py +4 -69
  8. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/pyproject.toml +3 -3
  9. bbot-2.7.1.7212rc0/bbot/modules/gitlab.py +0 -141
  10. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/LICENSE +0 -0
  11. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/README.md +0 -0
  12. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/cli.py +0 -0
  13. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/__init__.py +0 -0
  14. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/config/__init__.py +0 -0
  15. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/config/files.py +0 -0
  16. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/config/logger.py +0 -0
  17. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/core.py +0 -0
  18. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/engine.py +0 -0
  19. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/event/__init__.py +0 -0
  20. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/event/base.py +0 -0
  21. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/event/helpers.py +0 -0
  22. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/flags.py +0 -0
  23. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/__init__.py +0 -0
  24. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/async_helpers.py +0 -0
  25. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/bloom.py +0 -0
  26. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/cache.py +0 -0
  27. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/command.py +0 -0
  28. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/depsinstaller/__init__.py +0 -0
  29. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/depsinstaller/installer.py +0 -0
  30. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/depsinstaller/sudo_askpass.py +0 -0
  31. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/diff.py +0 -0
  32. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/dns/__init__.py +0 -0
  33. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/dns/brute.py +0 -0
  34. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/dns/dns.py +0 -0
  35. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/dns/engine.py +0 -0
  36. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/dns/helpers.py +0 -0
  37. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/dns/mock.py +0 -0
  38. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/files.py +0 -0
  39. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/git.py +0 -0
  40. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/helper.py +0 -0
  41. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/interactsh.py +0 -0
  42. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/libmagic.py +0 -0
  43. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/misc.py +0 -0
  44. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/names_generator.py +0 -0
  45. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/ntlm.py +0 -0
  46. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/process.py +0 -0
  47. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/ratelimiter.py +0 -0
  48. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/regex.py +0 -0
  49. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/regexes.py +0 -0
  50. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/url.py +0 -0
  51. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/validators.py +0 -0
  52. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/web/__init__.py +0 -0
  53. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/web/client.py +0 -0
  54. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/web/engine.py +0 -0
  55. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/web/envelopes.py +0 -0
  56. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/web/ssl_context.py +0 -0
  57. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/web/web.py +0 -0
  58. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/wordcloud.py +0 -0
  59. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/helpers/yara_helper.py +0 -0
  60. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/modules.py +0 -0
  61. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/multiprocess.py +0 -0
  62. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/core/shared_deps.py +0 -0
  63. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/db/sql/models.py +0 -0
  64. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/defaults.yml +0 -0
  65. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/errors.py +0 -0
  66. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/logger.py +0 -0
  67. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/__init__.py +0 -0
  68. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/ajaxpro.py +0 -0
  69. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/anubisdb.py +0 -0
  70. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/apkpure.py +0 -0
  71. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/aspnet_bin_exposure.py +0 -0
  72. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/azure_realm.py +0 -0
  73. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/azure_tenant.py +0 -0
  74. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/baddns.py +0 -0
  75. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/baddns_direct.py +0 -0
  76. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/baddns_zone.py +0 -0
  77. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/badsecrets.py +0 -0
  78. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/base.py +0 -0
  79. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/bevigil.py +0 -0
  80. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/bucket_amazon.py +0 -0
  81. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/bucket_azure.py +0 -0
  82. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/bucket_digitalocean.py +0 -0
  83. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/bucket_file_enum.py +0 -0
  84. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/bucket_firebase.py +0 -0
  85. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/bucket_google.py +0 -0
  86. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/bufferoverrun.py +0 -0
  87. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/builtwith.py +0 -0
  88. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/bypass403.py +0 -0
  89. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/c99.py +0 -0
  90. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/certspotter.py +0 -0
  91. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/chaos.py +0 -0
  92. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/code_repository.py +0 -0
  93. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/credshed.py +0 -0
  94. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/crt.py +0 -0
  95. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/crt_db.py +0 -0
  96. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dehashed.py +0 -0
  97. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/digitorus.py +0 -0
  98. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dnsbimi.py +0 -0
  99. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dnsbrute.py +0 -0
  100. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dnsbrute_mutations.py +0 -0
  101. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dnscaa.py +0 -0
  102. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dnscommonsrv.py +0 -0
  103. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dnsdumpster.py +0 -0
  104. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dnstlsrpt.py +0 -0
  105. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/docker_pull.py +0 -0
  106. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dockerhub.py +0 -0
  107. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/dotnetnuke.py +0 -0
  108. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/emailformat.py +0 -0
  109. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/extractous.py +0 -0
  110. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/ffuf.py +0 -0
  111. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/ffuf_shortnames.py +0 -0
  112. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/filedownload.py +0 -0
  113. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/fingerprintx.py +0 -0
  114. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/fullhunt.py +0 -0
  115. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/generic_ssrf.py +0 -0
  116. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/git.py +0 -0
  117. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/git_clone.py +0 -0
  118. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/gitdumper.py +0 -0
  119. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/github_codesearch.py +0 -0
  120. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/github_org.py +0 -0
  121. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/github_usersearch.py +0 -0
  122. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/github_workflows.py +0 -0
  123. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/google_playstore.py +0 -0
  124. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/gowitness.py +0 -0
  125. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/graphql_introspection.py +0 -0
  126. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/hackertarget.py +0 -0
  127. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/host_header.py +0 -0
  128. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/httpx.py +0 -0
  129. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/hunt.py +0 -0
  130. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/hunterio.py +0 -0
  131. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/iis_shortnames.py +0 -0
  132. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/internal/__init__.py +0 -0
  133. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/internal/aggregate.py +0 -0
  134. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/internal/base.py +0 -0
  135. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/internal/cloudcheck.py +0 -0
  136. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/internal/dnsresolve.py +0 -0
  137. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/internal/excavate.py +0 -0
  138. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/internal/speculate.py +0 -0
  139. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/internal/unarchive.py +0 -0
  140. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/ip2location.py +0 -0
  141. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/ipneighbor.py +0 -0
  142. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/ipstack.py +0 -0
  143. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/jadx.py +0 -0
  144. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/leakix.py +0 -0
  145. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/lightfuzz.py +0 -0
  146. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/submodules/__init__.py +0 -0
  147. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/submodules/base.py +0 -0
  148. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/submodules/cmdi.py +0 -0
  149. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/submodules/crypto.py +0 -0
  150. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/submodules/path.py +0 -0
  151. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/submodules/serial.py +0 -0
  152. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/submodules/sqli.py +0 -0
  153. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/submodules/ssti.py +0 -0
  154. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/lightfuzz/submodules/xss.py +0 -0
  155. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/medusa.py +0 -0
  156. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/myssl.py +0 -0
  157. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/newsletters.py +0 -0
  158. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/ntlm.py +0 -0
  159. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/nuclei.py +0 -0
  160. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/oauth.py +0 -0
  161. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/otx.py +0 -0
  162. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/__init__.py +0 -0
  163. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/asset_inventory.py +0 -0
  164. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/base.py +0 -0
  165. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/csv.py +0 -0
  166. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/discord.py +0 -0
  167. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/emails.py +0 -0
  168. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/http.py +0 -0
  169. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/json.py +0 -0
  170. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/mysql.py +0 -0
  171. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/neo4j.py +0 -0
  172. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/nmap_xml.py +0 -0
  173. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/postgres.py +0 -0
  174. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/python.py +0 -0
  175. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/slack.py +0 -0
  176. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/splunk.py +0 -0
  177. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/sqlite.py +0 -0
  178. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/stdout.py +0 -0
  179. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/subdomains.py +0 -0
  180. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/teams.py +0 -0
  181. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/txt.py +0 -0
  182. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/web_parameters.py +0 -0
  183. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/web_report.py +0 -0
  184. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/output/websocket.py +0 -0
  185. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/paramminer_cookies.py +0 -0
  186. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/paramminer_getparams.py +0 -0
  187. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/paramminer_headers.py +0 -0
  188. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/passivetotal.py +0 -0
  189. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/pgp.py +0 -0
  190. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/portfilter.py +0 -0
  191. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/portscan.py +0 -0
  192. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/postman.py +0 -0
  193. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/postman_download.py +0 -0
  194. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/rapiddns.py +0 -0
  195. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/reflected_parameters.py +0 -0
  196. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/report/affiliates.py +0 -0
  197. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/report/asn.py +0 -0
  198. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/report/base.py +0 -0
  199. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/retirejs.py +0 -0
  200. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/robots.py +0 -0
  201. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/securitytrails.py +0 -0
  202. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/securitytxt.py +0 -0
  203. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/shodan_dns.py +0 -0
  204. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/shodan_idb.py +0 -0
  205. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/sitedossier.py +0 -0
  206. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/skymem.py +0 -0
  207. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/smuggler.py +0 -0
  208. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/social.py +0 -0
  209. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/sslcert.py +0 -0
  210. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/subdomaincenter.py +0 -0
  211. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/subdomainradar.py +0 -0
  212. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/telerik.py +0 -0
  213. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/templates/bucket.py +0 -0
  214. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/templates/github.py +0 -0
  215. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/templates/postman.py +0 -0
  216. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/templates/shodan.py +0 -0
  217. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/templates/sql.py +0 -0
  218. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/templates/subdomain_enum.py +0 -0
  219. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/templates/webhook.py +0 -0
  220. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/trickest.py +0 -0
  221. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/trufflehog.py +0 -0
  222. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/url_manipulation.py +0 -0
  223. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/urlscan.py +0 -0
  224. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/vhost.py +0 -0
  225. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/viewdns.py +0 -0
  226. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/virustotal.py +0 -0
  227. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/wafw00f.py +0 -0
  228. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/wappalyzer.py +0 -0
  229. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/wayback.py +0 -0
  230. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/modules/wpscan.py +0 -0
  231. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/baddns-intense.yml +0 -0
  232. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/cloud-enum.yml +0 -0
  233. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/code-enum.yml +0 -0
  234. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/email-enum.yml +0 -0
  235. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/fast.yml +0 -0
  236. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/kitchen-sink.yml +0 -0
  237. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/nuclei/nuclei-budget.yml +0 -0
  238. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/nuclei/nuclei-intense.yml +0 -0
  239. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/nuclei/nuclei-technology.yml +0 -0
  240. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/nuclei/nuclei.yml +0 -0
  241. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/spider-intense.yml +0 -0
  242. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/spider.yml +0 -0
  243. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/subdomain-enum.yml +0 -0
  244. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/tech-detect.yml +0 -0
  245. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/dirbust-heavy.yml +0 -0
  246. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/dirbust-light.yml +0 -0
  247. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/dotnet-audit.yml +0 -0
  248. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/iis-shortnames.yml +0 -0
  249. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/lightfuzz-heavy.yml +0 -0
  250. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/lightfuzz-light.yml +0 -0
  251. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/lightfuzz-medium.yml +0 -0
  252. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/lightfuzz-superheavy.yml +0 -0
  253. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/lightfuzz-xss.yml +0 -0
  254. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web/paramminer.yml +0 -0
  255. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web-basic.yml +0 -0
  256. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web-screenshots.yml +0 -0
  257. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/presets/web-thorough.yml +0 -0
  258. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/__init__.py +0 -0
  259. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/dispatcher.py +0 -0
  260. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/manager.py +0 -0
  261. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/preset/__init__.py +0 -0
  262. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/preset/args.py +0 -0
  263. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/preset/conditions.py +0 -0
  264. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/preset/environ.py +0 -0
  265. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/preset/path.py +0 -0
  266. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/preset/preset.py +0 -0
  267. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/scanner.py +0 -0
  268. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/stats.py +0 -0
  269. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scanner/target.py +0 -0
  270. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scripts/benchmark_report.py +0 -0
  271. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/scripts/docs.py +0 -0
  272. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/__init__.py +0 -0
  273. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/bbot_fixtures.py +0 -0
  274. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/benchmarks/__init__.py +0 -0
  275. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/benchmarks/test_bloom_filter_benchmarks.py +0 -0
  276. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/benchmarks/test_closest_match_benchmarks.py +0 -0
  277. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/benchmarks/test_event_validation_benchmarks.py +0 -0
  278. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/benchmarks/test_excavate_benchmarks.py +0 -0
  279. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/benchmarks/test_ipaddress_benchmarks.py +0 -0
  280. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/benchmarks/test_weighted_shuffle_benchmarks.py +0 -0
  281. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/conftest.py +0 -0
  282. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/coverage.cfg +0 -0
  283. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/fastapi_test.py +0 -0
  284. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/owasp_mastg.apk +0 -0
  285. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/run_tests.sh +0 -0
  286. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test.conf +0 -0
  287. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_output.ndjson +0 -0
  288. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/__init__.py +0 -0
  289. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test__module__tests.py +0 -0
  290. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_bbot_fastapi.py +0 -0
  291. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_bloom_filter.py +0 -0
  292. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_cli.py +0 -0
  293. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_command.py +0 -0
  294. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_config.py +0 -0
  295. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_depsinstaller.py +0 -0
  296. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_dns.py +0 -0
  297. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_docs.py +0 -0
  298. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_engine.py +0 -0
  299. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_event_seeds.py +0 -0
  300. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_events.py +0 -0
  301. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_files.py +0 -0
  302. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_helpers.py +0 -0
  303. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_manager_deduplication.py +0 -0
  304. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_manager_scope_accuracy.py +0 -0
  305. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_modules_basic.py +0 -0
  306. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_presets.py +0 -0
  307. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_python_api.py +0 -0
  308. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_regexes.py +0 -0
  309. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_scan.py +0 -0
  310. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_scope.py +0 -0
  311. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_target.py +0 -0
  312. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_web.py +0 -0
  313. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_1/test_web_envelopes.py +0 -0
  314. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/__init__.py +0 -0
  315. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/__init__.py +0 -0
  316. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/base.py +0 -0
  317. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_affiliates.py +0 -0
  318. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_aggregate.py +0 -0
  319. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_ajaxpro.py +0 -0
  320. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_anubisdb.py +0 -0
  321. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_apkpure.py +0 -0
  322. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_asn.py +0 -0
  323. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_aspnet_bin_exposure.py +0 -0
  324. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_asset_inventory.py +0 -0
  325. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_azure_realm.py +0 -0
  326. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_azure_tenant.py +0 -0
  327. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_baddns.py +0 -0
  328. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_baddns_direct.py +0 -0
  329. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_baddns_zone.py +0 -0
  330. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_badsecrets.py +0 -0
  331. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_bevigil.py +0 -0
  332. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_bucket_amazon.py +0 -0
  333. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_bucket_azure.py +0 -0
  334. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_bucket_digitalocean.py +0 -0
  335. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_bucket_file_enum.py +0 -0
  336. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_bucket_firebase.py +0 -0
  337. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_bucket_google.py +0 -0
  338. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_bufferoverrun.py +0 -0
  339. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_builtwith.py +0 -0
  340. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_bypass403.py +0 -0
  341. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_c99.py +0 -0
  342. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_certspotter.py +0 -0
  343. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_chaos.py +0 -0
  344. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_cloudcheck.py +0 -0
  345. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_code_repository.py +0 -0
  346. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_credshed.py +0 -0
  347. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_crt.py +0 -0
  348. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_crt_db.py +0 -0
  349. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_csv.py +0 -0
  350. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dehashed.py +0 -0
  351. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_digitorus.py +0 -0
  352. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_discord.py +0 -0
  353. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dnsbimi.py +0 -0
  354. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dnsbrute.py +0 -0
  355. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dnsbrute_mutations.py +0 -0
  356. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dnscaa.py +0 -0
  357. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dnscommonsrv.py +0 -0
  358. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dnsdumpster.py +0 -0
  359. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dnsresolve.py +0 -0
  360. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dnstlsrpt.py +0 -0
  361. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_docker_pull.py +0 -0
  362. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dockerhub.py +0 -0
  363. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_dotnetnuke.py +0 -0
  364. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_emailformat.py +0 -0
  365. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_emails.py +0 -0
  366. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_excavate.py +0 -0
  367. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_extractous.py +0 -0
  368. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_ffuf.py +0 -0
  369. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_ffuf_shortnames.py +0 -0
  370. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_filedownload.py +0 -0
  371. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_fingerprintx.py +0 -0
  372. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_fullhunt.py +0 -0
  373. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_generic_ssrf.py +0 -0
  374. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_git.py +0 -0
  375. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_git_clone.py +0 -0
  376. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_gitdumper.py +0 -0
  377. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_github_codesearch.py +0 -0
  378. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_github_org.py +0 -0
  379. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_github_usersearch.py +0 -0
  380. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_github_workflows.py +0 -0
  381. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_google_playstore.py +0 -0
  382. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_gowitness.py +0 -0
  383. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_graphql_introspection.py +0 -0
  384. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_hackertarget.py +0 -0
  385. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_host_header.py +0 -0
  386. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_http.py +0 -0
  387. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_httpx.py +0 -0
  388. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_hunt.py +0 -0
  389. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_hunterio.py +0 -0
  390. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_iis_shortnames.py +0 -0
  391. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_ip2location.py +0 -0
  392. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_ipneighbor.py +0 -0
  393. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_ipstack.py +0 -0
  394. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_jadx.py +0 -0
  395. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_json.py +0 -0
  396. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_leakix.py +0 -0
  397. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_lightfuzz.py +0 -0
  398. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_medusa.py +0 -0
  399. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_mysql.py +0 -0
  400. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_myssl.py +0 -0
  401. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_neo4j.py +0 -0
  402. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_newsletters.py +0 -0
  403. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_nmap_xml.py +0 -0
  404. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_ntlm.py +0 -0
  405. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_nuclei.py +0 -0
  406. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_oauth.py +0 -0
  407. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_otx.py +0 -0
  408. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_paramminer_cookies.py +0 -0
  409. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_paramminer_getparams.py +0 -0
  410. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_paramminer_headers.py +0 -0
  411. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_passivetotal.py +0 -0
  412. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_pgp.py +0 -0
  413. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_portfilter.py +0 -0
  414. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_portscan.py +0 -0
  415. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_postgres.py +0 -0
  416. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_postman.py +0 -0
  417. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_postman_download.py +0 -0
  418. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_python.py +0 -0
  419. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_rapiddns.py +0 -0
  420. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_reflected_parameters.py +0 -0
  421. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_retirejs.py +0 -0
  422. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_robots.py +0 -0
  423. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_securitytrails.py +0 -0
  424. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_securitytxt.py +0 -0
  425. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_shodan_dns.py +0 -0
  426. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_shodan_idb.py +0 -0
  427. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_sitedossier.py +0 -0
  428. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_skymem.py +0 -0
  429. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_slack.py +0 -0
  430. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_smuggler.py +0 -0
  431. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_social.py +0 -0
  432. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_speculate.py +0 -0
  433. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_splunk.py +0 -0
  434. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_sqlite.py +0 -0
  435. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_sslcert.py +0 -0
  436. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_stdout.py +0 -0
  437. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_subdomaincenter.py +0 -0
  438. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_subdomainradar.py +0 -0
  439. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_subdomains.py +0 -0
  440. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_teams.py +0 -0
  441. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_telerik.py +0 -0
  442. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_trickest.py +0 -0
  443. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_trufflehog.py +0 -0
  444. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_txt.py +0 -0
  445. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_unarchive.py +0 -0
  446. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_url_manipulation.py +0 -0
  447. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_urlscan.py +0 -0
  448. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_vhost.py +0 -0
  449. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_viewdns.py +0 -0
  450. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_virustotal.py +0 -0
  451. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_wafw00f.py +0 -0
  452. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_wappalyzer.py +0 -0
  453. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_wayback.py +0 -0
  454. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_web_parameters.py +0 -0
  455. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_web_report.py +0 -0
  456. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_websocket.py +0 -0
  457. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/module_tests/test_module_wpscan.py +0 -0
  458. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/template_tests/__init__.py +0 -0
  459. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/test_step_2/template_tests/test_template_subdomain_enum.py +0 -0
  460. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/testsslcert.pem +0 -0
  461. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/test/testsslkey.pem +0 -0
  462. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/wordlists/devops_mutations.txt +0 -0
  463. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/wordlists/ms_on_prem_subdomains.txt +0 -0
  464. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/wordlists/nameservers.txt +0 -0
  465. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/wordlists/paramminer_headers.txt +0 -0
  466. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/wordlists/paramminer_parameters.txt +0 -0
  467. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt +0 -0
  468. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/wordlists/top_open_ports_nmap.txt +0 -0
  469. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/wordlists/valid_url_schemes.txt +0 -0
  470. {bbot-2.7.1.7212rc0 → bbot-2.7.2}/bbot/wordlists/wordninja_dns.txt.gz +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bbot
3
- Version: 2.7.1.7212rc0
3
+ Version: 2.7.2
4
4
  Summary: OSINT automation for hackers.
5
5
  License: GPL-3.0
6
6
  License-File: LICENSE
@@ -1,5 +1,5 @@
1
1
  # version placeholder (replaced by poetry-dynamic-versioning)
2
- __version__ = "v2.7.1.7212rc"
2
+ __version__ = "v2.7.2"
3
3
 
4
4
  from .scanner import Scanner, Preset
5
5
 
@@ -0,0 +1,31 @@
1
+ from bbot.modules.templates.gitlab import GitLabBaseModule
2
+
3
+
4
+ class gitlab_com(GitLabBaseModule):
5
+ watched_events = ["SOCIAL"]
6
+ produced_events = [
7
+ "CODE_REPOSITORY",
8
+ ]
9
+ flags = ["active", "safe", "code-enum"]
10
+ meta = {
11
+ "description": "Enumerate GitLab SaaS (gitlab.com/org) for projects and groups",
12
+ "created_date": "2024-03-11",
13
+ "author": "@TheTechromancer",
14
+ }
15
+
16
+ options = {"api_key": ""}
17
+ options_desc = {"api_key": "GitLab access token (for gitlab.com/org only)"}
18
+
19
+ # This is needed because we are consuming SOCIAL events, which aren't in scope
20
+ scope_distance_modifier = 2
21
+
22
+ async def handle_event(self, event):
23
+ await self.handle_social(event)
24
+
25
+ async def filter_event(self, event):
26
+ if event.data["platform"] != "gitlab":
27
+ return False, "platform is not gitlab"
28
+ _, domain = self.helpers.split_domain(event.host)
29
+ if domain not in self.saas_domains:
30
+ return False, "gitlab instance is not gitlab.com/org"
31
+ return True
@@ -0,0 +1,84 @@
1
+ from bbot.modules.templates.gitlab import GitLabBaseModule
2
+
3
+
4
+ class gitlab_onprem(GitLabBaseModule):
5
+ watched_events = ["HTTP_RESPONSE", "TECHNOLOGY", "SOCIAL"]
6
+ produced_events = [
7
+ "TECHNOLOGY",
8
+ "SOCIAL",
9
+ "CODE_REPOSITORY",
10
+ "FINDING",
11
+ ]
12
+ flags = ["active", "safe", "code-enum"]
13
+ meta = {
14
+ "description": "Detect self-hosted GitLab instances and query them for repositories",
15
+ "created_date": "2024-03-11",
16
+ "author": "@TheTechromancer",
17
+ }
18
+
19
+ # Optional GitLab access token (only required for gitlab.com, but still
20
+ # supported for on-prem installations that expose private projects).
21
+ options = {"api_key": ""}
22
+ options_desc = {"api_key": "GitLab access token (for self-hosted instances only)"}
23
+
24
+ # Allow accepting events slightly beyond configured max distance so we can
25
+ # discover repos on neighbouring infrastructure.
26
+ scope_distance_modifier = 2
27
+
28
+ async def handle_event(self, event):
29
+ if event.type == "HTTP_RESPONSE":
30
+ await self.handle_http_response(event)
31
+ elif event.type == "TECHNOLOGY":
32
+ await self.handle_technology(event)
33
+ elif event.type == "SOCIAL":
34
+ await self.handle_social(event)
35
+
36
+ async def filter_event(self, event):
37
+ # only accept out-of-scope SOCIAL events
38
+ if event.type == "HTTP_RESPONSE":
39
+ if event.scope_distance > self.scan.scope_search_distance:
40
+ return False, "event is out of scope distance"
41
+ elif event.type == "TECHNOLOGY":
42
+ if not event.data["technology"].lower().startswith("gitlab"):
43
+ return False, "technology is not gitlab"
44
+ if not self.helpers.is_ip(event.host) and self.helpers.tldextract(event.host).domain == "gitlab":
45
+ return False, "gitlab instance is not self-hosted"
46
+ elif event.type == "SOCIAL":
47
+ if event.data["platform"] != "gitlab":
48
+ return False, "platform is not gitlab"
49
+ _, domain = self.helpers.split_domain(event.host)
50
+ if domain in self.saas_domains:
51
+ return False, "gitlab instance is not self-hosted"
52
+ return True
53
+
54
+ async def handle_http_response(self, event):
55
+ """Identify GitLab servers from HTTP responses."""
56
+ headers = event.data.get("header", {})
57
+ if "x_gitlab_meta" in headers:
58
+ url = event.parsed_url._replace(path="/").geturl()
59
+ await self.emit_event(
60
+ {"host": str(event.host), "technology": "GitLab", "url": url},
61
+ "TECHNOLOGY",
62
+ parent=event,
63
+ context=f"{{module}} detected {{event.type}}: GitLab at {url}",
64
+ )
65
+ description = f"GitLab server at {event.host}"
66
+ await self.emit_event(
67
+ {"host": str(event.host), "description": description},
68
+ "FINDING",
69
+ parent=event,
70
+ context=f"{{module}} detected {{event.type}}: {description}",
71
+ )
72
+
73
+ async def handle_technology(self, event):
74
+ """Enumerate projects & groups once we know a host is GitLab."""
75
+ base_url = self.get_base_url(event)
76
+
77
+ # Projects owned by the authenticated user (or public projects if no
78
+ # authentication).
79
+ projects_url = self.helpers.urljoin(base_url, "api/v4/projects?simple=true")
80
+ await self.handle_projects_url(projects_url, event)
81
+
82
+ # Group enumeration.
83
+ groups_url = self.helpers.urljoin(base_url, "api/v4/groups?simple=true")
84
+ await self.handle_groups_url(groups_url, event)
@@ -0,0 +1,98 @@
1
+ from bbot.modules.base import BaseModule
2
+
3
+
4
+ class GitLabBaseModule(BaseModule):
5
+ """Common functionality for interacting with GitLab instances.
6
+
7
+ This template is intended to be inherited by two concrete modules:
8
+ 1. ``gitlab_com`` – Handles public SaaS instances (gitlab.com / gitlab.org).
9
+ 2. ``gitlab_onprem`` – Handles self-hosted, on-premises GitLab servers.
10
+
11
+ Both child modules share identical behaviour when talking to the GitLab
12
+ REST API; they only differ in which events they are willing to accept.
13
+ """
14
+
15
+ # domains owned by GitLab
16
+ saas_domains = ["gitlab.com", "gitlab.org"]
17
+
18
+ async def setup(self):
19
+ if self.options.get("api_key") is not None:
20
+ await self.require_api_key()
21
+ return True
22
+
23
+ async def handle_social(self, event):
24
+ """Enumerate projects belonging to a user or group profile."""
25
+ username = event.data.get("profile_name", "")
26
+ if not username:
27
+ return
28
+ base_url = self.get_base_url(event)
29
+ urls = [
30
+ # User-owned projects
31
+ self.helpers.urljoin(base_url, f"api/v4/users/{username}/projects?simple=true"),
32
+ # Group-owned projects
33
+ self.helpers.urljoin(base_url, f"api/v4/groups/{username}/projects?simple=true"),
34
+ ]
35
+ for url in urls:
36
+ await self.handle_projects_url(url, event)
37
+
38
+ async def handle_projects_url(self, projects_url, event):
39
+ for project in await self.gitlab_json_request(projects_url):
40
+ project_url = project.get("web_url", "")
41
+ if project_url:
42
+ code_event = self.make_event({"url": project_url}, "CODE_REPOSITORY", tags="git", parent=event)
43
+ await self.emit_event(
44
+ code_event,
45
+ context=f"{{module}} enumerated projects and found {{event.type}} at {project_url}",
46
+ )
47
+ namespace = project.get("namespace", {})
48
+ if namespace:
49
+ await self.handle_namespace(namespace, event)
50
+
51
+ async def handle_groups_url(self, groups_url, event):
52
+ for group in await self.gitlab_json_request(groups_url):
53
+ await self.handle_namespace(group, event)
54
+
55
+ async def gitlab_json_request(self, url):
56
+ """Helper that performs an HTTP request and safely returns JSON list."""
57
+ response = await self.api_request(url)
58
+ if response is not None:
59
+ try:
60
+ json_data = response.json()
61
+ except Exception:
62
+ return []
63
+ if json_data and isinstance(json_data, list):
64
+ return json_data
65
+ return []
66
+
67
+ async def handle_namespace(self, namespace, event):
68
+ namespace_name = namespace.get("path", "")
69
+ namespace_url = namespace.get("web_url", "")
70
+ namespace_path = namespace.get("full_path", "")
71
+
72
+ if not (namespace_name and namespace_url and namespace_path):
73
+ return
74
+
75
+ namespace_url = self.helpers.parse_url(namespace_url)._replace(path=f"/{namespace_path}").geturl()
76
+
77
+ social_event = self.make_event(
78
+ {
79
+ "platform": "gitlab",
80
+ "profile_name": namespace_path,
81
+ "url": namespace_url,
82
+ },
83
+ "SOCIAL",
84
+ parent=event,
85
+ )
86
+ await self.emit_event(
87
+ social_event,
88
+ context=f'{{module}} found GitLab namespace ({{event.type}}) "{namespace_name}" at {namespace_url}',
89
+ )
90
+
91
+ # ------------------------------------------------------------------
92
+ # Utility helpers
93
+ # ------------------------------------------------------------------
94
+ def get_base_url(self, event):
95
+ base_url = event.data.get("url", "")
96
+ if not base_url:
97
+ base_url = f"https://{event.host}"
98
+ return self.helpers.urlparse(base_url)._replace(path="/").geturl()
@@ -0,0 +1,66 @@
1
+ from .base import ModuleTestBase
2
+
3
+
4
+ class TestGitlab_Com(ModuleTestBase):
5
+ targets = ["http://127.0.0.1:8888"]
6
+ modules_overrides = ["gitlab_com", "httpx", "social", "excavate"]
7
+
8
+ async def setup_before_prep(self, module_test):
9
+ module_test.httpserver.expect_request("/").respond_with_data("<a href='https://gitlab.org/veilidgroup'/>")
10
+ module_test.httpx_mock.add_response(
11
+ url="https://gitlab.org/api/v4/groups/veilidgroup/projects?simple=true",
12
+ json=[
13
+ {
14
+ "id": 55490429,
15
+ "description": None,
16
+ "name": "Veilid",
17
+ "name_with_namespace": "Veilid / Veilid",
18
+ "path": "veilid",
19
+ "path_with_namespace": "veilidgroup/veilid",
20
+ "created_at": "2024-03-03T05:22:53.169Z",
21
+ "default_branch": "master",
22
+ "tag_list": [],
23
+ "topics": [],
24
+ "ssh_url_to_repo": "git@gitlab.org:veilid/veilid.git",
25
+ "http_url_to_repo": "https://gitlab.org/veilidgroup/veilid.git",
26
+ "web_url": "https://gitlab.org/veilidgroup/veilid",
27
+ "readme_url": "https://gitlab.org/veilidgroup/veilid/-/blob/master/README.md",
28
+ "forks_count": 0,
29
+ "avatar_url": None,
30
+ "star_count": 0,
31
+ "last_activity_at": "2024-03-03T05:22:53.097Z",
32
+ "namespace": {
33
+ "id": 66882294,
34
+ "name": "veilidgroup",
35
+ "path": "veilidgroup",
36
+ "kind": "group",
37
+ "full_path": "veilidgroup",
38
+ "parent_id": None,
39
+ "avatar_url": "/uploads/-/system/group/avatar/66882294/signal-2023-07-04-192426_003.jpeg",
40
+ "web_url": "https://gitlab.org/groups/veilidgroup",
41
+ },
42
+ },
43
+ ],
44
+ )
45
+
46
+ def check(self, module_test, events):
47
+ assert 1 == len(
48
+ [
49
+ e
50
+ for e in events
51
+ if e.type == "SOCIAL"
52
+ and e.data["platform"] == "gitlab"
53
+ and e.data["profile_name"] == "veilidgroup"
54
+ and e.data["url"] == "https://gitlab.org/veilidgroup"
55
+ ]
56
+ )
57
+ assert 1 == len(
58
+ [
59
+ e
60
+ for e in events
61
+ if e.type == "CODE_REPOSITORY"
62
+ and "git" in e.tags
63
+ and e.data["url"] == "https://gitlab.org/veilidgroup/veilid"
64
+ and str(e.module) == "gitlab_com"
65
+ ]
66
+ )
@@ -1,10 +1,10 @@
1
1
  from .base import ModuleTestBase
2
2
 
3
3
 
4
- class TestGitlab(ModuleTestBase):
4
+ class TestGitlab_OnPrem(ModuleTestBase):
5
5
  targets = ["http://127.0.0.1:8888"]
6
- modules_overrides = ["gitlab", "httpx"]
7
- config_overrides = {"modules": {"gitlab": {"api_key": "asdf"}}}
6
+ modules_overrides = ["gitlab_onprem", "httpx"]
7
+ config_overrides = {"modules": {"gitlab_onprem": {"api_key": "asdf"}}}
8
8
 
9
9
  async def setup_before_prep(self, module_test):
10
10
  module_test.httpserver.expect_request("/").respond_with_data(headers={"X-Gitlab-Meta": "asdf"})
@@ -179,7 +179,7 @@ class TestGitlab(ModuleTestBase):
179
179
  and e.data["platform"] == "gitlab"
180
180
  and e.data["profile_name"] == "bbotgroup"
181
181
  and e.data["url"] == "http://127.0.0.1:8888/bbotgroup"
182
- and str(e.module) == "gitlab"
182
+ and str(e.module) == "gitlab_onprem"
183
183
  ]
184
184
  )
185
185
  assert 1 == len(
@@ -209,68 +209,3 @@ class TestGitlab(ModuleTestBase):
209
209
  and e.data["url"] == "http://127.0.0.1:8888/bbotgroup/bbot3"
210
210
  ]
211
211
  )
212
-
213
-
214
- class TestGitlabDotOrg(ModuleTestBase):
215
- targets = ["http://127.0.0.1:8888"]
216
- modules_overrides = ["gitlab", "httpx", "social", "excavate"]
217
-
218
- async def setup_before_prep(self, module_test):
219
- module_test.httpserver.expect_request("/").respond_with_data("<a href='https://gitlab.org/veilidgroup'/>")
220
- module_test.httpx_mock.add_response(
221
- url="https://gitlab.org/api/v4/groups/veilidgroup/projects?simple=true",
222
- json=[
223
- {
224
- "id": 55490429,
225
- "description": None,
226
- "name": "Veilid",
227
- "name_with_namespace": "Veilid / Veilid",
228
- "path": "veilid",
229
- "path_with_namespace": "veilidgroup/veilid",
230
- "created_at": "2024-03-03T05:22:53.169Z",
231
- "default_branch": "master",
232
- "tag_list": [],
233
- "topics": [],
234
- "ssh_url_to_repo": "git@gitlab.org:veilid/veilid.git",
235
- "http_url_to_repo": "https://gitlab.org/veilidgroup/veilid.git",
236
- "web_url": "https://gitlab.org/veilidgroup/veilid",
237
- "readme_url": "https://gitlab.org/veilidgroup/veilid/-/blob/master/README.md",
238
- "forks_count": 0,
239
- "avatar_url": None,
240
- "star_count": 0,
241
- "last_activity_at": "2024-03-03T05:22:53.097Z",
242
- "namespace": {
243
- "id": 66882294,
244
- "name": "veilidgroup",
245
- "path": "veilidgroup",
246
- "kind": "group",
247
- "full_path": "veilidgroup",
248
- "parent_id": None,
249
- "avatar_url": "/uploads/-/system/group/avatar/66882294/signal-2023-07-04-192426_003.jpeg",
250
- "web_url": "https://gitlab.org/groups/veilidgroup",
251
- },
252
- },
253
- ],
254
- )
255
-
256
- def check(self, module_test, events):
257
- assert 1 == len(
258
- [
259
- e
260
- for e in events
261
- if e.type == "SOCIAL"
262
- and e.data["platform"] == "gitlab"
263
- and e.data["profile_name"] == "veilidgroup"
264
- and e.data["url"] == "https://gitlab.org/veilidgroup"
265
- ]
266
- )
267
- assert 1 == len(
268
- [
269
- e
270
- for e in events
271
- if e.type == "CODE_REPOSITORY"
272
- and "git" in e.tags
273
- and e.data["url"] == "https://gitlab.org/veilidgroup/veilid"
274
- and str(e.module) == "gitlab"
275
- ]
276
- )
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "bbot"
3
- version = "v2.7.1.7212rc"
3
+ version = "v2.7.2"
4
4
  description = "OSINT automation for hackers."
5
5
  authors = [
6
6
  "TheTechromancer",
@@ -71,7 +71,7 @@ pytest-timeout = "^2.3.1"
71
71
  pytest-httpserver = "^1.0.11"
72
72
  pytest = "^8.3.1"
73
73
  pytest-asyncio = "1.2.0"
74
- uvicorn = ">=0.32,<0.38"
74
+ uvicorn = ">=0.32,<0.39"
75
75
  fastapi = ">=0.115.5,<0.120.0"
76
76
  pytest-httpx = ">=0.35"
77
77
  pytest-benchmark = ">=4,<6"
@@ -121,7 +121,7 @@ lint.ignore = ["E402", "E711", "E713", "E721", "E741", "F403", "F405", "E501"]
121
121
  [tool.poetry-dynamic-versioning]
122
122
  enable = false
123
123
  metadata = false
124
- format-jinja = 'v2.7.1{% if branch == "dev" %}.{{ distance }}rc{% endif %}'
124
+ format-jinja = 'v2.7.2{% if branch == "dev" %}.{{ distance }}rc{% endif %}'
125
125
 
126
126
  [tool.poetry-dynamic-versioning.substitution]
127
127
  files = ["*/__init__.py"]
@@ -1,141 +0,0 @@
1
- from bbot.modules.base import BaseModule
2
-
3
-
4
- class gitlab(BaseModule):
5
- watched_events = ["HTTP_RESPONSE", "TECHNOLOGY", "SOCIAL"]
6
- produced_events = ["TECHNOLOGY", "SOCIAL", "CODE_REPOSITORY", "FINDING"]
7
- flags = ["active", "safe", "code-enum"]
8
- meta = {
9
- "description": "Detect GitLab instances and query them for repositories",
10
- "created_date": "2024-03-11",
11
- "author": "@TheTechromancer",
12
- }
13
- options = {"api_key": ""}
14
- options_desc = {"api_key": "Gitlab access token"}
15
-
16
- scope_distance_modifier = 2
17
-
18
- async def setup(self):
19
- await self.require_api_key()
20
- return True
21
-
22
- async def filter_event(self, event):
23
- # only accept out-of-scope SOCIAL events
24
- if event.type == "HTTP_RESPONSE":
25
- if event.scope_distance > self.scan.scope_search_distance:
26
- return False, "event is out of scope distance"
27
- elif event.type == "TECHNOLOGY":
28
- if not event.data["technology"].lower().startswith("gitlab"):
29
- return False, "technology is not gitlab"
30
- if not self.helpers.is_ip(event.host) and self.helpers.tldextract(event.host).domain == "gitlab":
31
- return False, "gitlab instance is not self-hosted"
32
- elif event.type == "SOCIAL":
33
- if event.data["platform"] != "gitlab":
34
- return False, "platform is not gitlab"
35
- return True
36
-
37
- async def handle_event(self, event):
38
- if event.type == "HTTP_RESPONSE":
39
- await self.handle_http_response(event)
40
- elif event.type == "TECHNOLOGY":
41
- await self.handle_technology(event)
42
- elif event.type == "SOCIAL":
43
- await self.handle_social(event)
44
-
45
- async def handle_http_response(self, event):
46
- # identify gitlab instances from HTTP responses
47
- # HTTP_RESPONSE --> TECHNOLOGY
48
- # HTTP_RESPONSE --> FINDING
49
- headers = event.data.get("header", {})
50
- if "x_gitlab_meta" in headers:
51
- url = event.parsed_url._replace(path="/").geturl()
52
- await self.emit_event(
53
- {"host": str(event.host), "technology": "GitLab", "url": url},
54
- "TECHNOLOGY",
55
- parent=event,
56
- context=f"{{module}} detected {{event.type}}: GitLab at {url}",
57
- )
58
- description = f"GitLab server at {event.host}"
59
- await self.emit_event(
60
- {"host": str(event.host), "description": description},
61
- "FINDING",
62
- parent=event,
63
- context=f"{{module}} detected {{event.type}}: {description}",
64
- )
65
-
66
- async def handle_technology(self, event):
67
- # retrieve gitlab groups from gitlab instances
68
- # TECHNOLOGY --> SOCIAL
69
- # TECHNOLOGY --> URL
70
- # TECHNOLOGY --> CODE_REPOSITORY
71
- base_url = self.get_base_url(event)
72
- projects_url = self.helpers.urljoin(base_url, "api/v4/projects?simple=true")
73
- await self.handle_projects_url(projects_url, event)
74
- groups_url = self.helpers.urljoin(base_url, "api/v4/groups?simple=true")
75
- await self.handle_groups_url(groups_url, event)
76
-
77
- async def handle_social(self, event):
78
- # retrieve repositories from gitlab user
79
- # SOCIAL --> CODE_REPOSITORY
80
- # SOCIAL --> SOCIAL
81
- username = event.data.get("profile_name", "")
82
- if not username:
83
- return
84
- base_url = self.get_base_url(event)
85
- urls = [
86
- # group
87
- self.helpers.urljoin(base_url, f"api/v4/users/{username}/projects?simple=true"),
88
- # user
89
- self.helpers.urljoin(base_url, f"api/v4/groups/{username}/projects?simple=true"),
90
- ]
91
- for url in urls:
92
- await self.handle_projects_url(url, event)
93
-
94
- async def handle_projects_url(self, projects_url, event):
95
- for project in await self.gitlab_json_request(projects_url):
96
- project_url = project.get("web_url", "")
97
- if project_url:
98
- code_event = self.make_event({"url": project_url}, "CODE_REPOSITORY", tags="git", parent=event)
99
- await self.emit_event(
100
- code_event, context=f"{{module}} enumerated projects and found {{event.type}} at {project_url}"
101
- )
102
- namespace = project.get("namespace", {})
103
- if namespace:
104
- await self.handle_namespace(namespace, event)
105
-
106
- async def handle_groups_url(self, groups_url, event):
107
- for group in await self.gitlab_json_request(groups_url):
108
- await self.handle_namespace(group, event)
109
-
110
- async def gitlab_json_request(self, url):
111
- response = await self.api_request(url)
112
- if response is not None:
113
- try:
114
- json = response.json()
115
- except Exception:
116
- return []
117
- if json and isinstance(json, list):
118
- return json
119
- return []
120
-
121
- async def handle_namespace(self, namespace, event):
122
- namespace_name = namespace.get("path", "")
123
- namespace_url = namespace.get("web_url", "")
124
- namespace_path = namespace.get("full_path", "")
125
- if namespace_name and namespace_url and namespace_path:
126
- namespace_url = self.helpers.parse_url(namespace_url)._replace(path=f"/{namespace_path}").geturl()
127
- social_event = self.make_event(
128
- {"platform": "gitlab", "profile_name": namespace_path, "url": namespace_url},
129
- "SOCIAL",
130
- parent=event,
131
- )
132
- await self.emit_event(
133
- social_event,
134
- context=f'{{module}} found GitLab namespace ({{event.type}}) "{namespace_name}" at {namespace_url}',
135
- )
136
-
137
- def get_base_url(self, event):
138
- base_url = event.data.get("url", "")
139
- if not base_url:
140
- base_url = f"https://{event.host}"
141
- return self.helpers.urlparse(base_url)._replace(path="/").geturl()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes