diff --git a/boatcom.php b/boatcom.php new file mode 100644 index 0000000..2f9506b --- /dev/null +++ b/boatcom.php @@ -0,0 +1,10 @@ +<?php +$key = 'meow'; + +array_shift($argv); +$payload = chr(1) . implode(' ', $argv); + +$sock = fsockopen('192.168.2.200', 9064); +fwrite($sock, hash_hmac('sha256', $payload, $key, true)); +fwrite($sock, $payload); +fclose($sock);