bbot 2.3.2.5913rc0__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.
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/PKG-INFO +1 -1
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/__init__.py +1 -1
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/regex.py +4 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/client.py +1 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/git.py +8 -1
- bbot-2.3.2.5927rc0/bbot/modules/gitdumper.py +270 -0
- bbot-2.3.2.5927rc0/bbot/test/test_step_2/module_tests/test_module_gitdumper.py +385 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/pyproject.toml +1 -1
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/LICENSE +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/README.md +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/cli.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/config/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/config/files.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/config/logger.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/core.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/engine.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/event/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/event/base.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/event/helpers.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/flags.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/async_helpers.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/bloom.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/cache.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/command.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/depsinstaller/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/depsinstaller/installer.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/depsinstaller/sudo_askpass.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/diff.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/brute.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/dns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/engine.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/helpers.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/dns/mock.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/files.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/helper.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/interactsh.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/libmagic.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/misc.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/names_generator.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/ntlm.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/process.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/ratelimiter.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/regexes.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/url.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/validators.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/engine.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/ssl_context.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/web/web.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/helpers/wordcloud.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/modules.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/multiprocess.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/core/shared_deps.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/db/sql/models.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/defaults.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/errors.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/logger.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ajaxpro.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/anubisdb.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/apkpure.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/azure_realm.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/azure_tenant.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/baddns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/baddns_direct.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/baddns_zone.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/badsecrets.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/base.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bevigil.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/binaryedge.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_amazon.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_azure.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_digitalocean.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_file_enum.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_firebase.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bucket_google.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bufferoverrun.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/builtwith.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/bypass403.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/c99.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/censys.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/certspotter.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/chaos.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/code_repository.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/credshed.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/crt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/deadly/dastardly.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/deadly/ffuf.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/deadly/nuclei.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/deadly/vhost.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dehashed.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/digitorus.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnsbimi.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnsbrute.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnsbrute_mutations.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnscaa.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnscommonsrv.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnsdumpster.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dnstlsrpt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/docker_pull.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dockerhub.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/dotnetnuke.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/emailformat.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/extractous.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ffuf_shortnames.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/filedownload.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/fingerprintx.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/fullhunt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/generic_ssrf.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/git_clone.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/github_codesearch.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/github_org.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/github_workflows.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/gitlab.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/google_playstore.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/gowitness.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/hackertarget.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/host_header.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/httpx.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/hunt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/hunterio.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/iis_shortnames.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/aggregate.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/base.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/cloudcheck.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/dnsresolve.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/excavate.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/speculate.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internal/unarchive.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/internetdb.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ip2location.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ipneighbor.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ipstack.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/jadx.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/leakix.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/myssl.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/newsletters.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/ntlm.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/oauth.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/otx.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/asset_inventory.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/base.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/csv.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/discord.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/emails.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/http.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/json.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/mysql.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/neo4j.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/nmap_xml.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/postgres.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/python.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/slack.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/splunk.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/sqlite.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/stdout.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/subdomains.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/teams.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/txt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/web_parameters.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/web_report.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/output/websocket.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/paramminer_cookies.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/paramminer_getparams.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/paramminer_headers.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/passivetotal.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/pgp.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/portfilter.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/portscan.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/postman.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/postman_download.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/rapiddns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/report/affiliates.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/report/asn.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/report/base.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/robots.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/securitytrails.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/securitytxt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/shodan_dns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/sitedossier.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/skymem.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/smuggler.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/social.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/sslcert.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/subdomaincenter.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/subdomainradar.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/telerik.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/bucket.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/github.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/postman.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/shodan.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/sql.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/subdomain_enum.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/templates/webhook.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/trickest.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/trufflehog.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/url_manipulation.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/urlscan.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/viewdns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/virustotal.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/wafw00f.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/wappalyzer.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/wayback.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/wpscan.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/modules/zoomeye.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/baddns-intense.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/cloud-enum.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/code-enum.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/email-enum.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/fast.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/kitchen-sink.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/nuclei/nuclei-budget.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/nuclei/nuclei-intense.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/nuclei/nuclei-technology.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/nuclei/nuclei.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/spider-intense.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/spider.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/subdomain-enum.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/tech-detect.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/dirbust-heavy.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/dirbust-light.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/dotnet-audit.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/iis-shortnames.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web/paramminer.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web-basic.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web-screenshots.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/presets/web-thorough.yml +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/dispatcher.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/manager.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/args.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/conditions.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/environ.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/path.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/preset/preset.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/scanner.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/stats.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scanner/target.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/scripts/docs.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/bbot_fixtures.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/conftest.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/coverage.cfg +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/fastapi_test.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/owasp_mastg.apk +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/run_tests.sh +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test.conf +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_output.ndjson +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test__module__tests.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_bbot_fastapi.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_bloom_filter.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_cli.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_command.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_config.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_depsinstaller.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_dns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_docs.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_engine.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_events.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_files.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_helpers.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_manager_deduplication.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_manager_scope_accuracy.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_modules_basic.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_presets.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_python_api.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_regexes.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_scan.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_scope.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_target.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_1/test_web.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/base.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_affiliates.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_aggregate.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ajaxpro.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_anubisdb.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_apkpure.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_asn.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_asset_inventory.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_azure_realm.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_azure_tenant.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_baddns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_baddns_direct.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_baddns_zone.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_badsecrets.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bevigil.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_binaryedge.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_amazon.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_azure.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_digitalocean.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_file_enum.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_firebase.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bucket_google.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bufferoverrun.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_builtwith.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_bypass403.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_c99.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_censys.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_certspotter.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_chaos.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_cloudcheck.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_code_repository.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_credshed.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_crt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_csv.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dastardly.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dehashed.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_digitorus.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_discord.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsbimi.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsbrute.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsbrute_mutations.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnscaa.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnscommonsrv.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsdumpster.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnsresolve.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dnstlsrpt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_docker_pull.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dockerhub.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_dotnetnuke.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_emailformat.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_emails.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_excavate.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_extractous.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ffuf.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ffuf_shortnames.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_filedownload.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_fingerprintx.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_fullhunt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_generic_ssrf.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_git.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_git_clone.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_github_codesearch.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_github_org.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_github_workflows.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_gitlab.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_google_playstore.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_gowitness.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_hackertarget.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_host_header.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_http.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_httpx.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_hunt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_hunterio.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_iis_shortnames.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_internetdb.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ip2location.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ipneighbor.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ipstack.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_jadx.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_json.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_leakix.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_mysql.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_myssl.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_neo4j.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_newsletters.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_nmap_xml.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_ntlm.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_nuclei.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_oauth.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_otx.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_paramminer_cookies.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_paramminer_getparams.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_paramminer_headers.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_passivetotal.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_pgp.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_portfilter.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_portscan.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_postgres.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_postman.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_postman_download.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_python.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_rapiddns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_robots.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_securitytrails.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_securitytxt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_shodan_dns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_sitedossier.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_skymem.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_slack.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_smuggler.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_social.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_speculate.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_splunk.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_sqlite.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_sslcert.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_stdout.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_subdomaincenter.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_subdomainradar.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_subdomains.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_teams.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_telerik.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_trickest.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_trufflehog.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_txt.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_unarchive.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_url_manipulation.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_urlscan.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_vhost.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_viewdns.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_virustotal.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_wafw00f.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_wappalyzer.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_wayback.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_web_parameters.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_web_report.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_websocket.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_wpscan.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/module_tests/test_module_zoomeye.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/template_tests/__init__.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/test_step_2/template_tests/test_template_subdomain_enum.py +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/testsslcert.pem +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/test/testsslkey.pem +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/devops_mutations.txt +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/ms_on_prem_subdomains.txt +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/nameservers.txt +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/paramminer_headers.txt +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/paramminer_parameters.txt +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/top_open_ports_nmap.txt +0 -0
- {bbot-2.3.2.5913rc0 → bbot-2.3.2.5927rc0}/bbot/wordlists/valid_url_schemes.txt +0 -0
- {bbot-2.3.2.5913rc0 → 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.
|
|
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
|
|
@@ -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)}")
|