Created
January 19, 2022 15:06
-
-
Save ocbrollingpaper/4c4ca91ea84a9dc0e2541412fd288f54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.0.0", | |
"info": { | |
"title": "Nephthys", | |
"version": "0.0.2", | |
"description": "Nephthys is a ransomware feed developed by Cybernite that allows you to monitor ransomware blogs in real-time.", | |
"contact": {}, | |
"license": { | |
"name": "Copyright 2022 Cybernite Technologies LTD", | |
"url": "mailto:office@cybernite.org" | |
} | |
}, | |
"servers": [ | |
{ | |
"url": "http://nephthys.cybernite.org/v1" | |
} | |
], | |
"paths": { | |
"/victims": { | |
"get": { | |
"summary": "Get All Victims on Blogs", | |
"tags": [], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Victim" | |
}, | |
"examples": {} | |
} | |
} | |
}, | |
"404": { | |
"description": "Shouldn't happen :^)" | |
} | |
}, | |
"operationId": "get-victims", | |
"description": "Endpoint lists all posts currently up on all of the blogs.", | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Victim" | |
} | |
} | |
}, | |
"description": "" | |
}, | |
"x-internal": false, | |
"parameters": [] | |
}, | |
"parameters": [] | |
} | |
}, | |
"components": { | |
"schemas": { | |
"Victim": { | |
"title": "Victim", | |
"type": "object", | |
"description": "Victim Model", | |
"x-examples": { | |
"Acme Co.": { | |
"id": 1, | |
"createdAt": "2022-01-03", | |
"victim": "Acme Co.", | |
"link": "spookylink.onion", | |
"ransom_group": "MoscowLockerLLC" | |
} | |
}, | |
"properties": { | |
"id": { | |
"description": "Unique identifier for the given victim.", | |
"type": "integer" | |
}, | |
"createdAt": { | |
"type": "string", | |
"format": "date-time", | |
"description": "The date and time the victim was posted." | |
}, | |
"victim": { | |
"type": "string", | |
"description": "Name of the company being extorted." | |
}, | |
"link": { | |
"type": "string", | |
"description": "Link towards post on extortion blogs. Links ending in .onion will require Tor to access." | |
}, | |
"ransom_group": { | |
"type": "string", | |
"description": "Group which is claiming responsibility." | |
} | |
} | |
} | |
}, | |
"securitySchemes": { | |
"API Key": { | |
"name": "api-key", | |
"type": "apiKey", | |
"in": "header" | |
} | |
} | |
}, | |
"security": [ | |
{ | |
"Authorization": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment