cuckoosandbox / cuckoo

Cuckoo Sandbox is an automated dynamic malware analysis system
http://www.cuckoosandbox.org
Other
5.56k stars 1.7k forks source link

Mismatch example in cuckoo documentation #2290

Open sachinmatte opened 6 years ago

sachinmatte commented 6 years ago

Thanks for creating an issue! But first: did you read our community guidelines? https://cuckoo.sh/docs/introduction/community.html

My issue is:

Examples shown in documentation is not getting matched with actual output for the distributed cuckoo.

This is mention into documentation:

$ curl http://localhost:9003/api/task/2 { "success": true, "tasks": { "2": { "id": 2, "clock": null, "custom": null, "owner": "", "enforce_timeout": null, "machine": null, "memory": null, "options": null, "package": null, "path": "/tmp/tmpPwUeXm", "platform": "windows", "priority": 1, "tags": null, "timeout": null, "task_id": 1, "node_id": 2, "finished": false } } }

But when we query it for task details output is:

$ curl http://localhost:9003/api/task/100 { "success": true, "tasks": { "100": { "clock": null, "custom": null, "enforce_timeout": null, "filename": "04a1838a65556ecfae429dec96be50fd.vt", "id": 100, "machine": null, "memory": null, "node_id": 2, "options": null, "owner": null, "package": null, "path": "/tmp/tmpU0ASmi", "platform": null, "priority": 1, "status": "finished", "tags": null, "task_id": 85, "timeout": null } } }

My Cuckoo version and operating system are:

os: centos 7 cuckoo: latest release

This can be reproduced by:
The log, error, files etc can be found at:
RicoVZ commented 6 years ago

Hi sachinmatte,

Thanks for posting an issue.

You are right, the finished field is now the status field. Some docs page are a bit outdated. But when we have a little spare time, we try to keep them updated. Thanks!

I will add updating this page to the list of things to do.

doomedraven commented 6 years ago

@RicoVZ update docu and close issue :D