Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- $xmlDoc = new DOMDocument();
- $eth = (isset($_GET['eth']) ? $_GET['eth'] : NULL);
- if ($eth) {
- $ip = trim(shell_exec('ip addr show "' . $eth . '" | grep "inet\\b" | awk \'{print $2}\' | cut -d/ -f1 | awk \'{sub ("100", "1")}{print}\' 2>&1'));
- $curl = curl_init('http://' . $ip . '/api/webserver/SesTokInfo');
- curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
- $infoToken = curl_exec($curl);
- curl_close($curl);
- $xml = new simpleXMLElement($infoToken);
- $token = $xml->TokInfo;
- $ses = $xml->SesInfo;
- if (strpos($infoToken, '100002') !== false) {
- $curl = curl_init('http://' . $ip . '/api/webserver/token');
- curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
- $infoToken = curl_exec($curl);
- curl_close($curl);
- $xml = new simpleXMLElement($infoToken);
- .........................................................................
- ......................................
- ...................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement