Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $_F=__FILE__;$_X='Pz48P3BocA0KNXJyMnJfcjVwMnJ0NG5nKDApOw0KNGduMnI1XzNzNXJfMWIycnQoZj..
Decoded Output download
?><?php
error_reporting(0);
ignore_user_abort(false);
if($_GET['pass'] != 'gots3admin')die('HOW TO USE => ?from=VIRTUALSERVERPORT&to=VIRTUALSERVERPORT&pass=PASSWORD');
$svfrom['host'] = '103.7.58.53';
$svfrom['port'] = 10011;
$svfrom['pass'] = 'JpOdDffr';
$svfrom['vserverport'] = $_GET['from'];
$svto['host'] = '103.7.58.53';
$svto['port'] = 10011;
$svto['pass'] = 'JpOdDffr';
$svto['vserverport'] = $_GET['to'];
set_time_limit(10);
$sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
socket_connect($sock,$svfrom['host'],$svfrom['port']);
socket_set_option($sock,SOL_SOCKET, SO_RCVTIMEO, array("sec"=>5, "usec"=>0));
socket_write($sock,"login serveradmin ".$svfrom['pass']."
");
socket_write($sock,"use port=".$svfrom['vserverport']."
");
socket_write($sock,"serversnapshotcreate
");
$contents = '';
while($data = socket_read($sock,1024))
{
$contents .= $data;
}
socket_write($sock,"quit
");
socket_close($sock);
$text = str_replace('error id=0 msg=ok','',$contents);
$text = explode("
",$text,4);
$text = trim($text[3]);
unset($sock);
$sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
socket_connect($sock,$svto['host'],$svto['port']);
socket_set_option($sock,SOL_SOCKET, SO_RCVTIMEO, array("sec"=>2, "usec"=>0));
socket_write($sock,"login serveradmin ".$svto['pass']."
");
socket_write($sock,"use port=".$svto['vserverport']."
");
socket_write($sock,"serversnapshotdeploy ".$text."
");
$datax = '';
while($data = socket_read($sock,1024))
{
$datax .= $data;
}
socket_write($sock,"quit
");
socket_close($sock);
echo $datax;
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_X='Pz48P3BocA0KNXJyMnJfcjVwMnJ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