2
0
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:
Ahmad Samiei 2015-12-03 18:51:21 +08:00
parent a65bf494b2
commit 6ec31b425e

View File

@ -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');