2
0
mirror of https://github.com/narkoz/hacker-scripts synced 2025-08-28 21:27:54 +00:00

no need to check date. handeled by cronjob

This commit is contained in:
Ahmad Samiei 2015-11-30 14:16:52 +08:00
parent 752e1c28ea
commit 8788a761c5

View File

@ -5,7 +5,6 @@ require 'vendor/autoload.php';
use Bestnetwork\Telnet\TelnetClient; use Bestnetwork\Telnet\TelnetClient;
(date('N') < 6) or exit('weekend');
(strpos(exec('who'), getenv('USER')) !== false) or exit('no session'); (strpos(exec('who'), getenv('USER')) !== false) or exit('no session');
sleep(17); sleep(17);
$con = new TelnetClient('10.10.42.42'); $con = new TelnetClient('10.10.42.42');