boatcom client floating on my desktop
This commit is contained in:
parent
fd7539f594
commit
2b704940e9
1 changed files with 10 additions and 0 deletions
10
boatcom.php
Normal file
10
boatcom.php
Normal file
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue