mirror of
https://github.com/narkoz/hacker-scripts
synced 2025-08-28 21:27:54 +00:00
load phpenv
This commit is contained in:
parent
66de802d29
commit
c989c42822
@ -3,6 +3,9 @@
|
|||||||
|
|
||||||
require 'vendor/autoload.php';
|
require 'vendor/autoload.php';
|
||||||
|
|
||||||
|
$dotenv = new Dotenv\Dotenv(__DIR__);
|
||||||
|
$dotenv->load();
|
||||||
|
|
||||||
use Bestnetwork\Telnet\TelnetClient;
|
use Bestnetwork\Telnet\TelnetClient;
|
||||||
|
|
||||||
(strpos(exec('who'), getenv('USER')) !== false) or exit('no session');
|
(strpos(exec('who'), getenv('USER')) !== false) or exit('no session');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user