Collect and share malware samples
- Curl
curl -X POST -H "API-KEY: YOURAPIKEY" https://mb-api.abuse.ch/api/v1 -F [email protected]
- 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--
- Success
{
"query_status": "inserted"
}
- Success (If the file alredy submitted in MalwareBazaar)
{
"query_status": "file_already_known"
}
- Error
{
"query_status": "unknown_api_key"
}
[a-z0-9]{32}
tue3sv9hzsey1me4l7fwq3t46u5k8wag