├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── actions │ ├── bump-version-and-git-tag │ │ └── action.yaml │ └── setup-python-and-git │ │ └── action.yaml └── workflows │ ├── mantis-cli-pr-merge.yml │ └── mantis-cli-release.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── SECURITY.md ├── __init__.py ├── configs ├── aws_config ├── aws_credentials └── local.yml ├── dashboard_templates └── Mantis Dashboard.json ├── images ├── Assets.png ├── Vulnerabilities.png └── mantis.png ├── launch.py ├── mantis ├── __init__.py ├── config_parsers │ ├── __init__.py │ ├── config_client.py │ ├── config_models.py │ └── logging_utils.py ├── constants.py ├── db │ ├── __init__.py │ ├── crud_assets.py │ ├── crud_extended_assets.py │ ├── crud_vulnerabilities.py │ ├── database.py │ └── db_models.py ├── models │ ├── __init__.py │ ├── args_model.py │ └── tool_logs_model.py ├── modules │ ├── __init__.py │ ├── activehostscan │ │ ├── HTTPX.py │ │ └── HTTPX_Active.py │ ├── activerecon │ │ └── Wafw00f.py │ ├── alerter.py │ ├── discovery │ │ ├── Go_Virustotal.py │ │ ├── Go_Wayback.py │ │ ├── SSLMate.py │ │ ├── Subfinder.py │ │ └── __init__.py │ ├── dns │ │ ├── Cloudflare.py │ │ ├── Namecheap.py │ │ └── Route53.py │ ├── prerecon │ │ ├── FindCDN.py │ │ ├── IPinfo.py │ │ └── Naabu.py │ ├── scan │ │ ├── Corsy.py │ │ ├── Csper.py │ │ ├── DNSTwister.py │ │ ├── Nuclei.py │ │ ├── NucleiInfo.py │ │ └── __init__.py │ ├── secretscanner │ │ ├── GithubScanner.py │ │ ├── SecretScanner.py │ │ └── submodules │ │ │ ├── gau.py │ │ │ ├── git_operation.py │ │ │ ├── gitleaks_runner.py │ │ │ ├── json_converter.py │ │ │ ├── secret_finder.py │ │ │ └── url_downloader.py │ └── workflow.py ├── scan_orchestration │ ├── __init__.py │ ├── ray_scan.py │ └── threadpool_scan.py ├── tool_base_classes │ ├── apiScanner.py │ ├── baseScanner.py │ └── toolScanner.py ├── utils │ ├── __init__.py │ ├── args_parse.py │ ├── asset_type.py │ ├── base_request.py │ ├── common_utils.py │ ├── config_utils.py │ ├── crud_utils.py │ ├── list_assets.py │ ├── list_subcommand_utils.py │ ├── notifications.py │ └── tool_utils.py └── workflows │ ├── __init__.py │ ├── list_workflow.py │ ├── mantis_workflow.py │ └── report_workflow.py ├── pyproject.toml ├── requirements.txt ├── scheduler.py └── setup ├── .gitignore ├── docker ├── .gitignore ├── docker-compose.yml ├── docker-setup-macos-experimental.sh ├── docker-setup-macos.sh ├── docker-setup-ubuntu-experimental.sh └── docker-setup-ubuntu.sh └── native-setup.sh /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/actions/bump-version-and-git-tag/action.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/.github/actions/bump-version-and-git-tag/action.yaml -------------------------------------------------------------------------------- /.github/actions/setup-python-and-git/action.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/.github/actions/setup-python-and-git/action.yaml -------------------------------------------------------------------------------- /.github/workflows/mantis-cli-pr-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/.github/workflows/mantis-cli-pr-merge.yml -------------------------------------------------------------------------------- /.github/workflows/mantis-cli-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/.github/workflows/mantis-cli-release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *__pycache__ 2 | logs/ 3 | .DS_Store 4 | book 5 | src 6 | stacks 7 | docker/configs 8 | .venv -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/SECURITY.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configs/aws_config: -------------------------------------------------------------------------------- 1 | [default] -------------------------------------------------------------------------------- /configs/aws_credentials: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/configs/aws_credentials -------------------------------------------------------------------------------- /configs/local.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/configs/local.yml -------------------------------------------------------------------------------- /dashboard_templates/Mantis Dashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/dashboard_templates/Mantis Dashboard.json -------------------------------------------------------------------------------- /images/Assets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/images/Assets.png -------------------------------------------------------------------------------- /images/Vulnerabilities.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/images/Vulnerabilities.png -------------------------------------------------------------------------------- /images/mantis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/images/mantis.png -------------------------------------------------------------------------------- /launch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/launch.py -------------------------------------------------------------------------------- /mantis/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.1.0" -------------------------------------------------------------------------------- /mantis/config_parsers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mantis/config_parsers/config_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/config_parsers/config_client.py -------------------------------------------------------------------------------- /mantis/config_parsers/config_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/config_parsers/config_models.py -------------------------------------------------------------------------------- /mantis/config_parsers/logging_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/config_parsers/logging_utils.py -------------------------------------------------------------------------------- /mantis/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/constants.py -------------------------------------------------------------------------------- /mantis/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mantis/db/crud_assets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/db/crud_assets.py -------------------------------------------------------------------------------- /mantis/db/crud_extended_assets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/db/crud_extended_assets.py -------------------------------------------------------------------------------- /mantis/db/crud_vulnerabilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/db/crud_vulnerabilities.py -------------------------------------------------------------------------------- /mantis/db/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/db/database.py -------------------------------------------------------------------------------- /mantis/db/db_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/db/db_models.py -------------------------------------------------------------------------------- /mantis/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mantis/models/args_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/models/args_model.py -------------------------------------------------------------------------------- /mantis/models/tool_logs_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/models/tool_logs_model.py -------------------------------------------------------------------------------- /mantis/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mantis/modules/activehostscan/HTTPX.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/activehostscan/HTTPX.py -------------------------------------------------------------------------------- /mantis/modules/activehostscan/HTTPX_Active.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/activehostscan/HTTPX_Active.py -------------------------------------------------------------------------------- /mantis/modules/activerecon/Wafw00f.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/activerecon/Wafw00f.py -------------------------------------------------------------------------------- /mantis/modules/alerter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/alerter.py -------------------------------------------------------------------------------- /mantis/modules/discovery/Go_Virustotal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/discovery/Go_Virustotal.py -------------------------------------------------------------------------------- /mantis/modules/discovery/Go_Wayback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/discovery/Go_Wayback.py -------------------------------------------------------------------------------- /mantis/modules/discovery/SSLMate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/discovery/SSLMate.py -------------------------------------------------------------------------------- /mantis/modules/discovery/Subfinder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/discovery/Subfinder.py -------------------------------------------------------------------------------- /mantis/modules/discovery/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mantis/modules/dns/Cloudflare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/dns/Cloudflare.py -------------------------------------------------------------------------------- /mantis/modules/dns/Namecheap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/dns/Namecheap.py -------------------------------------------------------------------------------- /mantis/modules/dns/Route53.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/dns/Route53.py -------------------------------------------------------------------------------- /mantis/modules/prerecon/FindCDN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/prerecon/FindCDN.py -------------------------------------------------------------------------------- /mantis/modules/prerecon/IPinfo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/prerecon/IPinfo.py -------------------------------------------------------------------------------- /mantis/modules/prerecon/Naabu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/prerecon/Naabu.py -------------------------------------------------------------------------------- /mantis/modules/scan/Corsy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/scan/Corsy.py -------------------------------------------------------------------------------- /mantis/modules/scan/Csper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/scan/Csper.py -------------------------------------------------------------------------------- /mantis/modules/scan/DNSTwister.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/scan/DNSTwister.py -------------------------------------------------------------------------------- /mantis/modules/scan/Nuclei.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/scan/Nuclei.py -------------------------------------------------------------------------------- /mantis/modules/scan/NucleiInfo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/scan/NucleiInfo.py -------------------------------------------------------------------------------- /mantis/modules/scan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mantis/modules/secretscanner/GithubScanner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/secretscanner/GithubScanner.py -------------------------------------------------------------------------------- /mantis/modules/secretscanner/SecretScanner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/secretscanner/SecretScanner.py -------------------------------------------------------------------------------- /mantis/modules/secretscanner/submodules/gau.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/secretscanner/submodules/gau.py -------------------------------------------------------------------------------- /mantis/modules/secretscanner/submodules/git_operation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/secretscanner/submodules/git_operation.py -------------------------------------------------------------------------------- /mantis/modules/secretscanner/submodules/gitleaks_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/secretscanner/submodules/gitleaks_runner.py -------------------------------------------------------------------------------- /mantis/modules/secretscanner/submodules/json_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/secretscanner/submodules/json_converter.py -------------------------------------------------------------------------------- /mantis/modules/secretscanner/submodules/secret_finder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/secretscanner/submodules/secret_finder.py -------------------------------------------------------------------------------- /mantis/modules/secretscanner/submodules/url_downloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/secretscanner/submodules/url_downloader.py -------------------------------------------------------------------------------- /mantis/modules/workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/modules/workflow.py -------------------------------------------------------------------------------- /mantis/scan_orchestration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mantis/scan_orchestration/ray_scan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/scan_orchestration/ray_scan.py -------------------------------------------------------------------------------- /mantis/scan_orchestration/threadpool_scan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/scan_orchestration/threadpool_scan.py -------------------------------------------------------------------------------- /mantis/tool_base_classes/apiScanner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/tool_base_classes/apiScanner.py -------------------------------------------------------------------------------- /mantis/tool_base_classes/baseScanner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/tool_base_classes/baseScanner.py -------------------------------------------------------------------------------- /mantis/tool_base_classes/toolScanner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/tool_base_classes/toolScanner.py -------------------------------------------------------------------------------- /mantis/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mantis/utils/args_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/args_parse.py -------------------------------------------------------------------------------- /mantis/utils/asset_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/asset_type.py -------------------------------------------------------------------------------- /mantis/utils/base_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/base_request.py -------------------------------------------------------------------------------- /mantis/utils/common_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/common_utils.py -------------------------------------------------------------------------------- /mantis/utils/config_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/config_utils.py -------------------------------------------------------------------------------- /mantis/utils/crud_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/crud_utils.py -------------------------------------------------------------------------------- /mantis/utils/list_assets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/list_assets.py -------------------------------------------------------------------------------- /mantis/utils/list_subcommand_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/list_subcommand_utils.py -------------------------------------------------------------------------------- /mantis/utils/notifications.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/notifications.py -------------------------------------------------------------------------------- /mantis/utils/tool_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/utils/tool_utils.py -------------------------------------------------------------------------------- /mantis/workflows/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mantis/workflows/list_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/workflows/list_workflow.py -------------------------------------------------------------------------------- /mantis/workflows/mantis_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/workflows/mantis_workflow.py -------------------------------------------------------------------------------- /mantis/workflows/report_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/mantis/workflows/report_workflow.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/requirements.txt -------------------------------------------------------------------------------- /scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/scheduler.py -------------------------------------------------------------------------------- /setup/.gitignore: -------------------------------------------------------------------------------- 1 | *stacks* 2 | *configs* 3 | -------------------------------------------------------------------------------- /setup/docker/.gitignore: -------------------------------------------------------------------------------- 1 | *stacks* 2 | *configs* 3 | -------------------------------------------------------------------------------- /setup/docker/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/setup/docker/docker-compose.yml -------------------------------------------------------------------------------- /setup/docker/docker-setup-macos-experimental.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/setup/docker/docker-setup-macos-experimental.sh -------------------------------------------------------------------------------- /setup/docker/docker-setup-macos.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/setup/docker/docker-setup-macos.sh -------------------------------------------------------------------------------- /setup/docker/docker-setup-ubuntu-experimental.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/setup/docker/docker-setup-ubuntu-experimental.sh -------------------------------------------------------------------------------- /setup/docker/docker-setup-ubuntu.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/setup/docker/docker-setup-ubuntu.sh -------------------------------------------------------------------------------- /setup/native-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PhonePe/mantis/HEAD/setup/native-setup.sh --------------------------------------------------------------------------------