Logo

dev-resources.site

for different kinds of informations.

Amass API - REST API Solution for Domain Reconnaissance

Published at
1/14/2025
Categories
amass
infosec
api
security
Author
w95
Categories
4 categories in total
amass
open
infosec
open
api
open
security
open
Author
3 person written this
w95
open
Amass API - REST API Solution for Domain Reconnaissance

For a long time, I searched for a solution like this and finally decided to create my own. This project is a Flask-based web application integrated with OWASP Amass, designed to automate domain reconnaissance for security professionals. This innovative solution significantly simplifies subdomain discovery during penetration testing, saving substantial time and effort compared to manual methods.

What is AMASS?

OWASP Amass is a powerful tool for network infrastructure reconnaissance. It collects data from over 55 external sources to identify subdomains, IP addresses, and other network information of target systems. Amass combines passive and active reconnaissance techniques to provide security professionals with extensive and accurate data. By leveraging DNS data collection, SSL certificate analysis, and other techniques, it offers a detailed view of the target system's network landscape.

This tool was created to solve a longstanding problem and aims to simplify the daily workflows of cybersecurity professionals.

Key Features:

  • Fully automated domain reconnaissance via Amass
  • Recursive search capability with configurable minimum recursion depth
  • Subdomain discovery using brute-force methods
  • API endpoint to retrieve results in JSON format

Installation Requirements:

Docker and Docker Compose must be installed on the system. The application can be run using a pre-built image from Docker Hub:

docker pull enrikenur/amass-api
Enter fullscreen mode Exit fullscreen mode

Installation Steps:

  1. Clone the repository:
git clone https://github.com/w95/amass-api
cd amass-api
Enter fullscreen mode Exit fullscreen mode
  1. Build and start the application using Docker Compose:
docker-compose up --build
Enter fullscreen mode Exit fullscreen mode
  1. The application will be accessible at http://localhost:5000.

API Usage:

To initiate domain reconnaissance, use the /api/amass/enum endpoint with the POST method. Request parameters include the target domain (domain), brute-force mode (brute), and the minimum number of findings for recursion (min_for_recursive).

Sample Request:

{
  "domain": "example.com",
  "brute": true,
  "min_for_recursive": 2
}
Enter fullscreen mode Exit fullscreen mode

Developers interested in contributing can fork the repository and propose changes. All contributions are welcomed.

security Article's
30 articles in total
Favicon
Are millions of accounts vulnerable due to Google's OAuth Flaw?
Favicon
Kafka server with SASL_OAUTHBEARER
Favicon
Debugging Authorization: How Cerbos Makes Troubleshooting Access Issues a Breeze
Favicon
Leveraging Azure Key Vault for Secrets Management and Encryption
Favicon
Be sure to check out our new bug bounty platform!
Favicon
How to Manage Secrets Effectively Across Multiple Platforms with a Single Tool?
Favicon
Làm thế nào để quản lý secrets hiệu quả trên nhiều nền tảng chỉ với một công cụ?
Favicon
Pushed Authorization Requests in .NET 9: Why and How to Use Them
Favicon
Quality software = Secure software
Favicon
Completed the LFD121: Developing Secure Software course with The Linux Foundation!
Favicon
Amass API - REST API Solution for Domain Reconnaissance
Favicon
Microsoft Security: A Comprehensive Approach to Digital Protection
Favicon
HashiCorp Vault Setup Guide for NEAR Protocol Accounts
Favicon
Top 7 Kubernetes Certifications in 2025
Favicon
NPM command confusion
Favicon
Security Teams : Automate Cybersecurity Workflows
Favicon
Can a Website Be Hacked in Under 10 Minutes? Understanding Web Security
Favicon
Closing the PKIX Working Group is, apparently, not news
Favicon
Beyond the Random Class: Cryptographic Randomness in .NET 6+
Favicon
Enhance Your App's Security with OTP-Agent
Favicon
Patching Scheduled Auto Scaling Groups with AWS
Favicon
3Mór: How we started with Valkyries and ended with a Goddess
Favicon
Como configurar 2FA em Servidores Linux
Favicon
Modern Techniques to Prevent Unauthorized Access to Enterprise Systems
Favicon
[Boost]
Favicon
Building a Stronger Security Posture with AWS Security Hub
Favicon
[jan2025] thm.jrpt-path. 3/n
Favicon
Certificate Generation using OpenSSL locally
Favicon
Sécuriser l'association entre un projet et son compte de facturation sur Google Cloud Platform
Favicon
How to truncate CBC ciphertext

Featured ones: