Active Cyber Defence Tools

FREEMIUM
By srcport.com | Updated il y a un mois | Cybersecurity
Popularity

7.9 / 10

Latency

23,995ms

Service Level

84%

Health Check

100%

README

Srcport.com API

The srcport.com API hosts a wide range of active cyber security tools for testing online targets.

Request Format

To interact with the API, make a POST request to the endpoint /api/capabilities/[module]/execute where [module] is the name of the tool you want to use.

Configuration of the payload is done through the request body. Here’s a quick examples:

{
    "prompt": "example.com",
    "options": {
        "dns_record": "txt"
    },
    "config": {
         "crawl_target": true,
        "delay_sec": 0.1,
        "disable_cache": false,
        "https_target": true,
        "threads": 5,
        "timeout_sec": 120,
        "verify_https": false
    }
}

There are typically 2 main fields:

  1. The prompt field is typically set to the target of the scan, e.g. “example.com” or “https://example.com”,
  2. The options field is used to configure the exact execution of the tool, in the case above there is only one options parameter called timeout which is set to 1s. The available options and parameters will be documented on the API endpoint page as well as listed in the schema.
  3. The config field sets various global properties that control the speed and intensity of the scan.

Note that the config and options must have some value set. If there are available options for the request you must specify a value for each otherwise the request will fail.

Success Response Format

The response will always be delivered as a JSON object with a 200 status code. You will receive a results object containing the

{
  "results": {
    "http": {
      "url": "http://example.com",
      "code": 200,
      "unreachable": false
    },
    "https": {
      "url": "https://example.com",
      "code": 200,
      "unreachable": false
    }
  }
}

The structure of the results object will differ between each tool, if you want to explore the tool outputs in more detail, visit https://srcport.com to see the API being used in action.

Error Response Format

The response will always be delivered as a string with a non-200 HTTP status code, for example:

"Invalid option 6s in request, must be: [1s 3s 5s 10s 30s 1m]"

You should always check the HTTP response code returned by the server before attempting to access the results.

The result string will always be a user-friendly error intended to be shown to the user providing details of what error has occured.

Followers: 0
Resources:
Product Website Terms of use
API Creator:
Rapid account: Srcport Com
srcport.com
srcport
Log In to Rate API
Rating: 5 - Votes: 1