7372a52709 | ||
---|---|---|
.. | ||
README.md |
README.md
MalwareBazaar
Description
Collect and share malware samples
Example Request
- Curl
curl -X POST -H "API-KEY: YOURAPIKEY" https://mb-api.abuse.ch/api/v1 -F file=@test.txt
- Raw
POST /api/v1 HTTP/1.1
Host: mb-api.abuse.ch
API-KEY: YOURAPIKEY
Content-Length: 0
Content-Type: multipart/form-data; boundary=------------------------xxxxxxxxxxxxxxx
--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Content-Disposition: form-data; name="file"; filename="test.txt"
test
--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx--
Response
- Success
{
"query_status": "inserted"
}
- Success (If the file alredy submitted in MalwareBazaar)
{
"query_status": "file_already_known"
}
- Error
{
"query_status": "unknown_api_key"
}
Regex
[a-z0-9]{32}
Example API key
tue3sv9hzsey1me4l7fwq3t46u5k8wag