VulnAPI Implementation
This commit is contained in:
4
spec/output/vuln_api/all_ok.cli_no_colour
Normal file
4
spec/output/vuln_api/all_ok.cli_no_colour
Normal file
@@ -0,0 +1,4 @@
|
||||
[+] WPVulnDB API OK
|
||||
| Plan: paid
|
||||
| Requests Done (during the scan): 3
|
||||
| Requests Remaining: 120
|
||||
7
spec/output/vuln_api/all_ok.json
Normal file
7
spec/output/vuln_api/all_ok.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"vuln_api": {
|
||||
"plan": "paid",
|
||||
"requests_done_during_scan": 3,
|
||||
"requests_remaining": 120
|
||||
}
|
||||
}
|
||||
1
spec/output/vuln_api/http_error.cli_no_colour
Normal file
1
spec/output/vuln_api/http_error.cli_no_colour
Normal file
@@ -0,0 +1 @@
|
||||
[!] WPVulnDB API, HTTP Error: url (Timeout was reached)
|
||||
5
spec/output/vuln_api/http_error.json
Normal file
5
spec/output/vuln_api/http_error.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"vuln_api": {
|
||||
"http_error": "HTTP Error: url (Timeout was reached)"
|
||||
}
|
||||
}
|
||||
4
spec/output/vuln_api/no_more_requests.cli_no_colour
Normal file
4
spec/output/vuln_api/no_more_requests.cli_no_colour
Normal file
@@ -0,0 +1,4 @@
|
||||
[+] WPVulnDB API OK
|
||||
| Plan: free
|
||||
| Requests Done (during the scan): 3
|
||||
| Requests Remaining: 0
|
||||
7
spec/output/vuln_api/no_more_requests.json
Normal file
7
spec/output/vuln_api/no_more_requests.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"vuln_api": {
|
||||
"plan": "free",
|
||||
"requests_done_during_scan": 3,
|
||||
"requests_remaining": 0
|
||||
}
|
||||
}
|
||||
2
spec/output/vuln_api/no_token.cli_no_colour
Normal file
2
spec/output/vuln_api/no_token.cli_no_colour
Normal file
@@ -0,0 +1,2 @@
|
||||
[!] No WPVulnDB API Token given, as a result vulnerability data has not been output.
|
||||
[!] You can get a free API token with 50 daily requests by registering at https://wpvulndb.com/register.
|
||||
5
spec/output/vuln_api/no_token.json
Normal file
5
spec/output/vuln_api/no_token.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"vuln_api": {
|
||||
"error": "No WPVulnDB API Token given, as a result vulnerability data has not been output.\nYou can get a free API token with 50 daily requests by registering at https://wpvulndb.com/register."
|
||||
}
|
||||
}
|
||||
4
spec/output/vuln_api/unlimited_requests.cli_no_colour
Normal file
4
spec/output/vuln_api/unlimited_requests.cli_no_colour
Normal file
@@ -0,0 +1,4 @@
|
||||
[+] WPVulnDB API OK
|
||||
| Plan: enterprise
|
||||
| Requests Done (during the scan): 3
|
||||
| Requests Remaining: Unlimited
|
||||
7
spec/output/vuln_api/unlimited_requests.json
Normal file
7
spec/output/vuln_api/unlimited_requests.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"vuln_api": {
|
||||
"plan": "enterprise",
|
||||
"requests_done_during_scan": 3,
|
||||
"requests_remaining": "Unlimited"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user