demonslay335 / cuckoo-api
Cuckoo Sandbox PHP Wrapper
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 1
Open Issues: 3
pkg:composer/demonslay335/cuckoo-api
Requires
- php: >=5.3.0
- guzzlehttp/guzzle: ^6.2.0
Requires (Dev)
- phpunit/phpunit: >=4.0
This package is not auto-updated.
Last update: 2025-10-12 06:53:05 UTC
README
PHP wrapper for Cuckoo Sandbox API.
API wrapper baseline code borrowed from VirusTotal API.
Usage
- Install via composer (http://getcomposer.org/)
Include the following in your composer.json
{ "require": { "demonslay335/cuckoo-api": "master" } }
composer update
Quick Start
<?php
require_once('vendors/autoload.php');
$apiUrl = 'your_cuckoo_api_url';
$file = new Cuckoo\File($apiUrl);
$resp = $file->scan('path/to/executable.exe');
var_dump($resp);
?>
Sample output:
array(3) {
["status"] =>
string(5) "added"
["sha256"] =>
string(64) "14ebd45fc9162f8afc4fd10186a46d2fb9844bf27b9d3217fd9fdb4107f17acd"
["uuid"] =>
string(43) "YWFmYTEwYTIwZjkwNDdiYWJjMmU1MWQ2ZjY1MWU3OTY"
}
Tests
phpunit --configuration tests/conf/phpunit.xml tests