mirror of
https://github.com/narkoz/hacker-scripts
synced 2025-08-22 10:27:11 +00:00
no need to load .env file for this script
USER already exist by default in environment .env file only used to store gmail and twilio credentials
This commit is contained in:
parent
a65bf494b2
commit
6ec31b425e
@ -3,9 +3,6 @@
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
$dotenv = new Dotenv\Dotenv(__DIR__);
|
||||
$dotenv->load();
|
||||
|
||||
use Bestnetwork\Telnet\TelnetClient;
|
||||
|
||||
(strpos(exec('who'), getenv('USER')) !== false) or exit('no session');
|
||||
|
Loading…
x
Reference in New Issue
Block a user