First Upload

This commit is contained in:
2024-10-19 18:23:55 +00:00
commit 9db52c11c3
11339 changed files with 1479286 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace App\Http\Controllers\Connections\Telnet;
class Send
{
protected $connection;
public function __construct($connection)
{
$this->connection = $connection;
}
public function sendString($command)
{
fwrite($this->connection, $command . "\r\n");
}
public function sendControlCode($code)
{
sleep(1);
fwrite($this->connection, $code); // ASCII code for Ctrl+Y
}
}