|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 110
Members: 0
Total: 110
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
[Need Help] Decode 2 files |
|
Posted: Sun Sep 27, 2009 6:05 pm |
|
|
glotur |
Beginner |
|
|
Joined: Sep 27, 2009 |
Posts: 4 |
|
|
|
|
|
|
|
Hi! i need help... i have 2 files adn i can't decode this:
Code: | <?php if (!function_exists("T7FC56270E7A70FA81A5935B72EACBE29")) { function T7FC56270E7A70FA81A5935B72EACBE29($TF186217753C37B9B9F958D906208506E) { $TF186217753C37B9B9F958D906208506E = base64_decode($TF186217753C37B9B9F958D906208506E); $T7FC56270E7A70FA81A5935B72EACBE29 = 0; $T9D5ED678FE57BCCA610140957AFAB571 = 0; $T0D61F8370CAD1D412F80B84D143E1257 = 0; $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[1]) << 8) + ord($TF186217753C37B9B9F958D906208506E[2]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA = 3; $T800618943025315F869E4E1F09471012 = 0; $TDFCF28D0734569A6A693BC8194DE62BF = 16; $TC1D9F50F86825A1A2302EC2449C17196 = ""; $TDD7536794B63BF90ECCFD37F9B147D7F = strlen($TF186217753C37B9B9F958D906208506E); $TFF44570ACA8241914870AFBC310CDB85 = __FILE__; $TFF44570ACA8241914870AFBC310CDB85 = file_get_contents($TFF44570ACA8241914870AFBC310CDB85); $TA5F3C6A11B03839D46AF9FB43C97C188 = 0; preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"), $TFF44570ACA8241914870AFBC310CDB85, $TA5F3C6A11B03839D46AF9FB43C97C188); for (;$T3A3EA00CFC35332CEDF6E5E9A32E94DA<$TDD7536794B63BF90ECCFD37F9B147D7F;) { if (count($TA5F3C6A11B03839D46AF9FB43C97C188)) exit; if ($TDFCF28D0734569A6A693BC8194DE62BF == 0) { $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $TF623E75AF30E62BBD73D6DF5B50BB7B5 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]); $TDFCF28D0734569A6A693BC8194DE62BF = 16; } if ($TF623E75AF30E62BBD73D6DF5B50BB7B5 & 0x8000) { $T7FC56270E7A70FA81A5935B72EACBE29 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 4); $T7FC56270E7A70FA81A5935B72EACBE29 += (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]) >> 4); if ($T7FC56270E7A70FA81A5935B72EACBE29) { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) & 0x0F) + 3; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $T0D61F8370CAD1D412F80B84D143E1257++) $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257] = $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012-$T7FC56270E7A70FA81A5935B72EACBE29+$T0D61F8370CAD1D412F80B84D143E1257]; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } else { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $T9D5ED678FE57BCCA610140957AFAB571 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) + 16; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA++; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } } else $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]; $TF623E75AF30E62BBD73D6DF5B50BB7B5 <<= 1; $TDFCF28D0734569A6A693BC8194DE62BF--; if ($T3A3EA00CFC35332CEDF6E5E9A32E94DA == $TDD7536794B63BF90ECCFD37F9B147D7F) { $TFF44570ACA8241914870AFBC310CDB85 = implode("", $TC1D9F50F86825A1A2302EC2449C17196); $TFF44570ACA8241914870AFBC310CDB85 = "?".">".$TFF44570ACA8241914870AFBC310CDB85."<"."?"; return $TFF44570ACA8241914870AFBC310CDB85; } } } } eval(T7FC56270E7A70FA81A5935B72EACBE29("QAAAPD9waHAgIGlmICghZGVmaQAAbmVkKCJfSE9TVF8iKSkgIAAAIGRpZSgiSGFja2luZyBhdAGHdGVwdCIpOwMvAyBVU0VSA2MDXwNfhwcGdFBBU1MDXwavCcZXT1JMRAMvAy8DJh4DTE9HAwMM3wzfD/FQRVJJT0QxA1MMz/gYDM8MwAZfEy8WSlJFQVNPTgZPDJkgICQAAEdMT0JBTFNbJ2RhdGUnXT2AAABxKCJZLW0tZCBHOmkiKS4iDEg6MDAiGSACt2JhbgKgJycBUGZ1bgAAY3Rpb24gR2V0VGFibGVOYQCkbWUoJ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EuJ4dQAJBVHjEAlTIAlTMAlTQAlTUuJ4UlPPEAQAAwIEAAIIXnc3RhdHVzJ109J0dsb2KAAHoAU2Nhbjogbm93IGlzIGJhCANubmVkj/FHTE9CQUxTWycBMG+CAAA/Pg==")); ?> |
And This
Code: | <?php if (!function_exists("T7FC56270E7A70FA81A5935B72EACBE29")) { function T7FC56270E7A70FA81A5935B72EACBE29($TF186217753C37B9B9F958D906208506E) { $TF186217753C37B9B9F958D906208506E = base64_decode($TF186217753C37B9B9F958D906208506E); $T7FC56270E7A70FA81A5935B72EACBE29 = 0; $T9D5ED678FE57BCCA610140957AFAB571 = 0; $T0D61F8370CAD1D412F80B84D143E1257 = 0; $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[1]) << 8) + ord($TF186217753C37B9B9F958D906208506E[2]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA = 3; $T800618943025315F869E4E1F09471012 = 0; $TDFCF28D0734569A6A693BC8194DE62BF = 16; $TC1D9F50F86825A1A2302EC2449C17196 = ""; $TDD7536794B63BF90ECCFD37F9B147D7F = strlen($TF186217753C37B9B9F958D906208506E); $TFF44570ACA8241914870AFBC310CDB85 = __FILE__; $TFF44570ACA8241914870AFBC310CDB85 = file_get_contents($TFF44570ACA8241914870AFBC310CDB85); $TA5F3C6A11B03839D46AF9FB43C97C188 = 0; preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"), $TFF44570ACA8241914870AFBC310CDB85, $TA5F3C6A11B03839D46AF9FB43C97C188); for (;$T3A3EA00CFC35332CEDF6E5E9A32E94DA<$TDD7536794B63BF90ECCFD37F9B147D7F;) { if (count($TA5F3C6A11B03839D46AF9FB43C97C188)) exit; if ($TDFCF28D0734569A6A693BC8194DE62BF == 0) { $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $TF623E75AF30E62BBD73D6DF5B50BB7B5 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]); $TDFCF28D0734569A6A693BC8194DE62BF = 16; } if ($TF623E75AF30E62BBD73D6DF5B50BB7B5 & 0x8000) { $T7FC56270E7A70FA81A5935B72EACBE29 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 4); $T7FC56270E7A70FA81A5935B72EACBE29 += (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]) >> 4); if ($T7FC56270E7A70FA81A5935B72EACBE29) { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) & 0x0F) + 3; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $T0D61F8370CAD1D412F80B84D143E1257++) $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257] = $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012-$T7FC56270E7A70FA81A5935B72EACBE29+$T0D61F8370CAD1D412F80B84D143E1257]; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } else { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $T9D5ED678FE57BCCA610140957AFAB571 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) + 16; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA++; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } } else $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]; $TF623E75AF30E62BBD73D6DF5B50BB7B5 <<= 1; $TDFCF28D0734569A6A693BC8194DE62BF--; if ($T3A3EA00CFC35332CEDF6E5E9A32E94DA == $TDD7536794B63BF90ECCFD37F9B147D7F) { $TFF44570ACA8241914870AFBC310CDB85 = implode("", $TC1D9F50F86825A1A2302EC2449C17196); $TFF44570ACA8241914870AFBC310CDB85 = "?".">".$TFF44570ACA8241914870AFBC310CDB85."<"."?"; return $TFF44570ACA8241914870AFBC310CDB85; } } } } eval(T7FC56270E7A70FA81A5935B72EACBE29("QAQAPD9waHAAAAogZnVuY3Rpb24gZAAAYl9tc3NxbF9jb25uZWN0KAAYJHNlcnZlciwgJHUAoABwcGFzAABzd29yZCkgIHsgICAkZGIgHAA9IEADXwNfA1JvciBkaWUoJ874AADo4ergINHu5eTo7eXt6P8gACDxIOHg5+7pJyk7BXByZXR1cm4DbgXhAOB9ARAAMApfcXVlcnkoJAByCGAggScnCVRpZiAoIAF0IT0gJycgAZCAAwryIGlmKCEkcmVzdWx0PQtkA/KECARkKSkgexBGZXJyb3IoDbNnZXQAAF9sYXN0X21lc3NhZ2UoKSye5AYTKTsJ8gsVBbMLUCABcAAwC4AgIAuvZmUCKXRjaHJvdwd0X2lkDAAwCmkgIQYD6D8BsQGBC/MgBoRmYWxzZQZhBnEGQQ2ADyQDHA94ZW1wdBJABsAVkgLBJADQBvAP9AiyX2FyPAByYQJwEMIEIALGd2hpbGUoIGxpc4gQIMBrZXkgIHZhbHVlKQQRZWFjaF5SKAThKRYSISMGIAEx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JbJ1FVAAZFUllfU1RSSU5HJ10pBrFiECBabCgEYSkk02SxKAvAcG9KUARALD3wTEAhPSEuPSBYQikgfHwJsCAgAlw+Al8CcAJcItzcAl8CX1xI0QcPBLwuLwTPBM8uAn8CUAveLnA9AmhwBPsCYl5Tf2EgfFIiz+7v+/J8YOIB8+fr7uzgISIUEmkiGyEUYRjPb2QYzxjBIHNSRRjgU1RfVVJJGL8HQhi/JzwKaxi/vt8/ICcYvwzhFAwYvwJfJxi9AjEgEW8RbwKQESEAQPgAADAA0JaILCguoD8+")); ?> |
Help plz.....
Big thanks! |
|
|
|
|
|
|
|
|
Posted: Sun Sep 27, 2009 10:41 pm |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
First one:
Code: | <?php
if (!defined("_HOST_"))
die("Hacking attept");
if (!defined("_HOSTUSER_"))
die("Hacking attept");
if (!defined("_HOSTPASS_"))
die("Hacking attept");
if (!defined("_WORLD_"))
die("Hacking attept");
if (!defined("_LOG_"))
die("Hacking attept");
if (!defined("_PERIOD1_"))
die("Hacking attept");
if (!defined("_LOG_"))
die("Hacking attept");
if (!defined("_REASON_"))
die("Hacking attept");
$GLOBALS['date'] = date("Y-m-d G:i") . ":00";
$GLOBALS['ban'] = '';
function GetTableName($type)
{
if ($type == 'bx') {
return 'tbl_code_box';
}
if ($type == 'iw') {
return 'tbl_code_weapon';
}
if ($type == 'tr') {
return 'tbl_code_trap';
}
if ($type == 'in') {
return 'tbl_code_unitkey';
}
if ($type == 'un') {
return 'tbl_code_unmannedminer';
}
if ($type == 'iu') {
return 'tbl_code_upper';
}
if ($type == 'sk') {
return 'tbl_code_siegekit';
}
if ($type == 'ti') {
return 'tbl_code_ticket';
}
if ($type == 'iq') {
return 'tbl_code_town';
}
if ($type == 'id') {
return 'tbl_code_shield';
}
if ($type == 'rd') {
return 'tbl_code_radar';
}
if ($type == 're') {
return 'tbl_code_recovery';
}
if ($type == 'ir') {
return 'tbl_code_resource';
}
if ($type == 'ii') {
return 'tbl_code_ring';
}
if ($type == 'is') {
return 'tbl_code_shoe';
}
if ($type == 'im') {
return 'tbl_code_maketool';
}
if ($type == 'iz') {
return 'tbl_code_map';
}
if ($type == 'lk') {
return 'tbl_code_npclink';
}
if ($type == 'io') {
return 'tbl_code_ore';
}
if ($type == 'ip') {
return 'tbl_code_potion';
}
if ($type == 'gt') {
return 'tbl_code_guardtower';
}
if ($type == 'il') {
return 'tbl_code_lower';
}
if ($type == 'ih') {
return 'tbl_code_helmet';
}
if ($type == 'ev') {
return 'tbl_code_event';
}
if ($type == 'if') {
return 'tbl_code_face';
}
if ($type == 'fi') {
return 'tbl_code_firecracker';
}
if ($type == 'ic') {
return 'tbl_code_force';
}
if ($type == 'ix') {
return 'tbl_code_battledungeon';
}
if ($type == 'ib') {
return 'tbl_code_bullet';
}
if ($type == 'ik') {
return 'tbl_code_cloak';
}
if ($type == 'ig') {
return 'tbl_code_gauntlet';
}
if ($type == 'ia') {
return 'tbl_code_amulet';
}
if ($type == 'ij') {
return 'tbl_code_animus';
}
if ($type == 'ie') {
return 'tbl_code_bag';
}
if ($type == 'it') {
return 'tbl_code_battery';
}
if ($type == 'iy') {
return 'tbl_code_booty';
}
}
function GetItemCode($table, $code)
{
if ($table <> '') {
$row = mssql_fetch_row(mssql_query("SELECT * FROM RF_ItemsDB.dbo." . $table . " WHERE item_code='" . $code . "'"));
return $row[0];
}
}
function GetItemType($type)
{
if ($type == 'ff') {
$resuli = '';
} elseif ($type == '00') {
$resuli = 'iu';
} elseif ($type == '01') {
$resuli = 'il';
} elseif ($type == '02') {
$resuli = 'ig';
} elseif ($type == '03') {
$resuli = 'is';
} elseif ($type == '04') {
$resuli = 'ih';
} elseif ($type == '05') {
$resuli = 'id';
} elseif ($type == '06') {
$resuli = 'iw';
} elseif ($type == '07') {
$resuli = 'ik';
} elseif ($type == '08') {
$resuli = 'ii';
} elseif ($type == '09') {
$resuli = 'ia';
} elseif ($type == '12') {
$resuli = 'ir';
} elseif ($type == '14') {
$resuli = 'iy';
} elseif ($type == '15') {
$resuli = 'iz';
} elseif ($type == '16') {
$resuli = 'iq';
} elseif ($type == '1f') {
$resuli = 'bx';
} elseif ($type == '0f') {
$resuli = 'ic';
} elseif ($type == '0d') {
$resuli = 'ip';
} elseif ($type == '0b') {
$resuli = 'im';
} elseif ($type == '1e') {
$resuli = 're';
} elseif ($type == '0a') {
$resuli = 'ib';
}
return $resuli;
}
function GetID($var)
{
$de = bindechex($var, 3);
$num = strlen($de);
$num2 = $num - 2;
$num3 = $num2 - 2;
$type = substr($de, $num2 - 2, $num2);
$type = GetItemType(substr($type, 0, 2));
$item = substr($de, 0, $num2 - 2);
$code = bindechex($item, 5);
if ($type == '')
return '-1';
else
return GetItemID(GetTableName($type), $code);
}
function GetItemID($table, $code)
{
if ($table <> '') {
$row = mssql_fetch_row(mssql_query("SELECT * FROM RF_ItemsDB.dbo." . $table . " WHERE item_id='" . $code . "'"));
return $row[1];
}
}
function getdetype($type)
{
if ($type == "lk") {
return "23";
}
if ($type == "rd") {
return "22";
}
if ($type == "un") {
return "21";
}
if ($type == "fi") {
return "20";
}
if ($type == "bx") {
return "1f";
}
if ($type == "re") {
return "1e";
}
if ($type == "ev") {
return "1d";
}
if ($type == "ti") {
return "1c";
}
if ($type == "sk") {
return "1b";
}
if ($type == "tr") {
return "1a";
}
if ($type == "gt") {
return "19";
}
if ($type == "ij") {
return "18";
}
if ($type == "ix") {
return "17";
}
if ($type == "iq") {
return "16";
}
if ($type == "iz") {
return "15";
}
if ($type == "iy") {
return "14";
}
if ($type == "in") {
return "13";
}
if ($type == "ic") {
return "0f";
}
if ($type == "ir") {
return "12";
}
if ($type == "io") {
return "11";
}
if ($type == "it") {
return "10";
}
if ($type == "ie") {
return "0e";
}
if ($type == "ip") {
return "0d";
}
if ($type == "im") {
return "0b";
}
if ($type == "ib") {
return "0a";
}
if ($type == "ia") {
return "09";
}
if ($type == "ii") {
return "08";
}
if ($type == "ik") {
return "07";
}
if ($type == "iw") {
return "06";
}
if ($type == "id") {
return "05";
}
if ($type == "ih") {
return "04";
}
if ($type == "is") {
return "03";
}
if ($type == "ig") {
return "02";
}
if ($type == "il") {
return "01";
}
if ($type == "iu") {
return "00";
}
}
function bindechex($var, $type)
{
$result = '';
$tok = strtok($var, " ");
while ($tok) {
$char = $tok;
$tok = strtok(" ");
switch ($type) {
case 0:
$result = $result . " " . bindec($char);
break;
case 1:
$result = $result . " " . bin2hex($char);
break;
case 2:
$result = $result . " " . decbin($char);
break;
case 3:
$result = $result . " " . dechex($char);
break;
case 4:
$result = $result . " " . decbin(hexdec($char));
break;
case 5:
$result = $result . " " . hexdec($char);
break;
}
}
return $result;
}
function find_macro($char)
{
$resulty = db_mssql_query("SELECT Serial,chat0,chat1,chat2,chat3,chat4 FROM " . _WORLD_ . ".dbo.tbl_Macro WHERE chat0 LIKE '$char'ESCAPE'/' OR chat1 LIKE '$char'ESCAPE'/' OR chat2 LIKE '$char'ESCAPE'/' OR chat3 LIKE '$char'ESCAPE'/' OR chat4 LIKE '$char'ESCAPE'/'");
while (@$row2 = db_mssql_fetchrow($resulty)) {
list($Account, $AccountSerial, $name, $Serial) = db_mssql_fetchrow(db_mssql_query("SELECT Account,AccountSerial,name,Serial FROM " . _WORLD_ . ".dbo.tbl_base WHERE Serial = '" . $row2['Serial'] . "'"));
if ($name{0} !== '*') {
if (Cheack_B_SA($AccountSerial) == '' && $AccountSerial !== '') {
db_mssql_query("DELETE " . _WORLD_ . ".dbo.tbl_NpcData WHERE Serial = '" . $Serial . "'");
ban($AccountSerial, $GLOBALS['date'], _PERIOD3_, 1, _REASON_ . '_macro');
if (_CLEARMACRO_ == "true")
db_mssql_query("UPDATE " . _WORLD_ . ".dbo.tbl_Macro SET chat0='',chat1='',chat2='',chat3='',chat4='' WHERE Serial = '" . $row2['Serial'] . "'");
inloged('Ïëîõîé òåêñò â ìêðîñå ïîëüçîâòåëÿ <b>' . $name . '</b> (' . $row2['chat0'] . '|' . $row2['chat1'] . '|' . $row2['chat2'] . '|' . $row2['chat3'] . '|' . $row2['chat4'] . ')');
}
}
}
}
function Cheack_B_SA($SA)
{
list($dtStartDate) = db_mssql_fetchrow(db_mssql_query("SELECT dtStartDate FROM rf_user.dbo.tbl_UserBan WHERE nAccountSerial = '$SA'"));
if ($dtStartDate != '') {
return "Banned";
}
return '';
}
function inloged($text)
{
if (trim($text) !== '') {
$f = fopen(_LOG_, "a+");
$r = '<table><tr><td>' . $GLOBALS['date'] . '</td><td>' . $text . "</td></tr></table>";
if (_ICQ_ !== '')
$icq = @file_get_contents('http://fdcore.ru/go_sms.php?icq=' . _ICQ_ . '&text=' . urlencode(strip_tags($text)));
fwrite($f, $r);
fclose($f);
}
}
function ban($num, $d, $per, $kind, $reason)
{
if (trim($num) !== '') {
db_mssql_query("INSERT INTO rf_user.dbo.tbl_UserBan (nAccountSerial, dtStartDate, nPeriod, nKind, szReason) VALUES ($num, '$d', $per, $kind, '$reason')");
}
}
function name_scan($name)
{
$resulty = db_mssql_query("SELECT Name, AccountSerial,Serial FROM " . _WORLD_ . ".dbo.tbl_base WHERE LEFT(Name, " . strlen($name) . ")='$name' AND AccountSerial<'2000000000'");
while (list($Name, $AccountSerial, $Serial) = db_mssql_fetchrow($resulty)) {
if (Cheack_B_SA($AccountSerial) == '' && $AccountSerial !== '') {
if (_BAN_ == "true")
ban($AccountSerial, $GLOBALS['date'], _PERIOD2_, 0, _REASON_ . '_nik');
$GLOBALS['ban'] .= $name . '<br />';
db_mssql_query("DELETE " . _WORLD_ . ".dbo.tbl_NpcData WHERE Serial = '" . $Serial . "'");
$new_name = base64_encode(date("H:m:i"));
$text = 'Ïëîõîå èìÿ "' . $Name . '", èçìåíåíî í "' . $new_name . '"';
inloged($text);
if (_CHNAME_ == "true")
db_mssql_query("UPDATE " . _WORLD_ . ".dbo.tbl_base SET Name = (CONVERT(binary, '" . trim($new_name) . "')) WHERE Serial = '{$Serial}'");
}
}
}
function maps($text)
{
if ($text == 0) {
return 'Áçîâÿ ëîêöèÿ Áåëëòî';
} elseif ($text == 1) {
return 'Áçîâÿ ëîêöèÿ Êîð';
} elseif ($text == 2) {
return 'Êðãîâû Øõòû';
} elseif ($text == 3) {
return 'Áçîâÿ ëîêöèÿ Àêðåòèÿ';
} elseif ($text == 4) {
return 'Óêðåïëåíèå Ñîëóñ';
} elseif ($text == 5) {
return 'Óêðåïëåíèå Àíêäå';
} elseif ($text == 6) {
return 'Êîëîíèÿ Õðì';
} elseif ($text == 7) {
return 'Êîëîíèÿ Íóìåðóñ';
} elseif ($text == 8) {
return 'Çñòâ 213';
} elseif ($text == 9) {
return 'Çñòâ 117';
} elseif ($text == 10) {
return 'Ýòåð';
} elseif ($text == 11) {
return 'Ñåòòîâ ïóñòûíÿ';
} elseif ($text == 12) {
return 'Âóëêí';
} elseif ($text == 13) {
return 'Ýëí';
} elseif ($text == 24) {
return 'Çåìëè èçãíííèêîâ';
} elseif ($text == 25) {
return 'Ãîðû ÷óäîâèù';
} elseif ($text == 26) {
return 'Áèîëáîðòîðèÿ Êðòåëû';
} else {
return $text;
}
}
function map_scan($top, $down, $map)
{
$resulty = db_mssql_query("SELECT Serial, X, Y, Z FROM " . _WORLD_ . ".dbo.tbl_general WHERE ((Y < '$top') AND (Y > '$down')) AND (Map = '$map') ORDER BY Y DESC");
while (@$row1 = mssql_fetch_assoc($resulty)) {
$serr = $row1['Serial'];
list($Account, $name) = db_mssql_fetchrow(db_mssql_query("SELECT Account,Name FROM " . _WORLD_ . ".dbo.tbl_base WHERE Serial = '$serr' AND LEFT(Name, 1)<>'*' AND AccountSerial<'2000000000'"));
if ($Account == '')
break;
db_mssql_query("DELETE " . _WORLD_ . ".dbo.tbl_NpcData WHERE Serial = '" . $serr . "'");
list($Serial) = db_mssql_fetchrow(db_mssql_query("SELECT Serial FROM rf_user.dbo.tbl_UserAccount WHERE Id = '$Account'"));
if (Cheack_B_SA($Serial) == '' && $Serial !== '') {
if (_BAN_ == "true")
ban($Serial, $GLOBALS['date'], _PERIOD1_, 0, _REASON_ . '_geo');
show_inmap($name);
$GLOBALS['ban'] .= $name . '<br />';
}
}
}
function map_zone($X1, $X2, $Z1, $Z2, $map)
{
$resulty = db_mssql_query("SELECT Serial, X, Y, Z FROM " . _WORLD_ . ".dbo.tbl_general WHERE X < '$X2' AND X > '$X1' AND X < '$Z2' AND X > '$Z1' AND (Map = '$map') ORDER BY X DESC");
while (@$row1 = mssql_fetch_assoc($resulty)) {
$serr = $row1['Serial'];
list($Account, $name) = db_mssql_fetchrow(db_mssql_query("SELECT Account,Name FROM " . _WORLD_ . ".dbo.tbl_base WHERE Serial = '$serr' AND LEFT(Name, 1)<>'*' AND AccountSerial<'2000000000'"));
if ($Account == '')
break;
list($Serial) = db_mssql_fetchrow(db_mssql_query("SELECT Serial FROM rf_user.dbo.tbl_UserAccount WHERE Id = '$Account'"));
if (Cheack_B_SA($Serial) == '' && $Serial !== '') {
if (_BAN_ == "true")
ban($Serial, $GLOBALS['date'], _PERIOD1_, 0, _REASON_ . '_geo');
show_inmap($name);
}
}
}
function show_inmap($username)
{
$rowSS = array();
list($Serial) = db_mssql_fetchrow(db_mssql_query("SELECT Serial FROM " . _WORLD_ . ".dbo.tbl_base WHERE Name = '$username' AND LEFT(Name, 1)<>'*'"));
if ($Serial !== '') {
$resultySS = db_mssql_query("SELECT Map, X, Y, Z FROM " . _WORLD_ . ".dbo.tbl_general WHERE Serial = '$Serial' ORDER BY Y DESC");
$rowSS = db_mssql_fetchrow($resultySS);
if (_TP_ == "true")
db_mssql_query("UPDATE " . _WORLD_ . ".dbo.tbl_general SET Map='13', X='-5260', Y='429', Z='-2874' WHERE Serial = '$serial'");
$text .= 'ÃåîÄò Èìÿ [' . $username . '] => Ëîêöèÿ [' . maps($rowSS['Map']) . '] => X [' . (int)$rowSS['X'] . '] => Y(Âûñîò) [' . (int)$rowSS['Y'] . '] => Z [' . (int)$rowSS['Z'] . ']';
}
inloged($text);
}
function slot_scan()
{
$query = "SELECT Serial,EK0,EK1,EK2,EK3,EK4,EK5 FROM " . _WORLD_ . ".dbo.tbl_general WHERE ED0='0' AND EK0 <> '-1' OR ED1='0' AND EK1 <> '-1' OR ED2='0' AND EK2 <> '-1' OR ED3='0' AND EK3 <> '-1' OR ED4='0' AND EK4 <> '-1' OR ED5='0' AND EK5 <> '-1' OR EK0 = '72448' OR EK0 = '137984' OR EK0 = '269056' OR EK0 = '11541248' OR EK0 = '12589824' OR EK0 = '14686976' OR EK1 = '72450' OR EK1 = '137986' OR EK1 = '269058' OR EK1 = '11541250' OR EK1 = '12589826' OR EK1 = '14686978' OR EK2 = '72451' OR EK2 = '137987' OR EK2 = '269059' OR EK2 = '11541251' OR EK2 = '12589827' OR EK2 = '14686979' OR EK3 = '72449' OR EK3 = '137985' OR EK3 = '269057' OR EK3 = '11541249' OR EK3 = '12589825' OR EK3 = '14686977'";
$result = db_mssql_query($query);
while (list($Serial, $EK0, $EK1, $EK2, $EK3, $EK4, $EK5) = db_mssql_fetchrow($result)) {
list($Accc, $name) = db_mssql_fetchrow(db_mssql_query("SELECT Account,Name FROM " . _WORLD_ . ".dbo.tbl_base WHERE Serial = '" . $Serial . "' AND LEFT(Name, 1)<>'*' AND AccountSerial<'2000000000'"));
list($ASerial) = db_mssql_fetchrow(db_mssql_query("SELECT Serial FROM rf_user.dbo.tbl_UserAccount WHERE Id = '$Accc'"));
if (Cheack_B_SA($ASerial) == '' && $ASerial !== '') {
db_mssql_query("DELETE " . _WORLD_ . ".dbo.tbl_NpcData WHERE Serial = '" . $Serial . "'");
if (_BAN_ == "true")
ban($ASerial, $GLOBALS['date'], _PERIOD4_, 0, _REASON_ . '_slot');
if (_CLEAR_ == "true")
db_mssql_query("UPDATE " . _WORLD_ . ".dbo.tbl_general SET EK0='-1', EK1='-1', EK2='-1', EK3='-1',EK4='-1',EK5='-1' WHERE Serial = '" . $Serial . "'");
inloged('Çïðåù¸ííûé Ïðåäìåò â Ñëîòå ' . $name . ' (' . GetID($EK0) . '|' . GetID($EK1) . '|' . GetID($EK2) . '|' . GetID($EK3) . '|' . GetID($EK4) . '|' . GetID($EK5) . ')');
$GLOBALS['ban'] .= $name . '<br />';
}
}
}
function map_zone_cube($X1, $X2, $Z1, $Z2, $Top, $Bottom, $map)
{
$resulty = db_mssql_query("SELECT Serial, X, Y, Z FROM " . _WORLD_ . ".dbo.tbl_general WHERE X < '$X2' AND X > '$X1' AND Z < '$Z2' AND Z > '$Z1' AND (Map = '$map') ORDER BY X DESC");
while (@$row1 = mssql_fetch_assoc($resulty)) {
$serr = $row1['Serial'];
if (($row1['Y'] > $Top) || ($row1['Y'] < $Bottom)) {
list($Account, $name, $AccountSerial) = db_mssql_fetchrow(db_mssql_query("SELECT Account,Name,AccountSerial FROM " . _WORLD_ . ".dbo.tbl_base WHERE Serial = '$serr' AND DCK='0' AND AccountSerial < 2000000000"));
list($Serial) = db_mssql_fetchrow(db_mssql_query("SELECT Serial FROM rf_user.dbo.tbl_UserAccount WHERE Id = '$Account'"));
if (Cheack_B_SA($AccountSerial) == '' && $AccountSerial !== '') {
if (_BAN_ == "true")
ban($AccountSerial, $GLOBALS['date'], _PERIOD1_, 0, _REASON_ . '_geo');
show_inmap($name);
}
}
}
}
function slot_find($num, $sqlitem)
{
$result = db_mssql_query("SELECT Serial,EK0,EK1,EK2,EK3,EK4,EK5 FROM " . _WORLD_ . ".dbo.tbl_general WHERE EK" . $num . "='" . $sqlitem . "'");
while (list($Serial, $EK0, $EK1, $EK2, $EK3, $EK4, $EK5) = db_mssql_fetchrow($result)) {
list($Accc, $name) = db_mssql_fetchrow(db_mssql_query("SELECT Account,Name FROM " . _WORLD_ . ".dbo.tbl_base WHERE Serial = '" . $Serial . "' AND LEFT(Name, 1)<>'*'"));
list($ASerial) = db_mssql_fetchrow(db_mssql_query("SELECT Serial FROM rf_user.dbo.tbl_UserAccount WHERE Id = '$Accc'"));
if (Cheack_B_SA($ASerial) == '' && $ASerial !== '') {
if (_BAN_ == "true")
ban($Serial, $GLOBALS['date'], _PERIOD4_, 0, _REASON_ . '_slot_find');
if (_CLEAR_ == "true")
db_mssql_query("UPDATE " . _WORLD_ . ".dbo.tbl_general SET EK0='-1', EK1='-1', EK2='-1', EK3='-1',EK4='-1',EK5='-1' WHERE Serial = '" . $Serial . "'");
inloged('Çäííûé Ïðåäìåò â Ñëîòå ' . $name . ' (' . $EK0 . '|' . $EK1 . '|' . $EK2 . '|' . $EK3 . '|' . $EK4 . '|' . $EK5 . ')');
}
}
}
$GLOBALS['status'] = 'Global Scan: now is banned ' . $GLOBALS['ban'];
?> |
|
|
|
|
|
|
|
|
|
Posted: Sun Sep 27, 2009 10:42 pm |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
second one:
Code: | <?php
function db_mssql_connect($server, $user, $password)
{
$db = @mssql_connect($server, $user, $password) or die('Îøèáê Ñîåäèíåíèÿ ñ áçîé');
return $db;
}
function db_mssql_query($query = '')
{
if ($query != '') {
if (!$result = @mssql_query($query)) {
db_mssql_error(mssql_get_last_message(), $query);
}
return $result;
}
}
function db_mssql_fetchrow($query_id = 0)
{
if (!$query_id) {
return false;
}
if ($query_id) {
empty($row);
$row = @mssql_fetch_array($query_id);
while (list($key, $value) = @each($row)) {
$row[$key] = ($value === ' ') ? '' : stripslashes($value);
}
@reset($row);
return $row;
} else {
return false;
}
}
function db_mssql_error($error, $query = '')
{
if ($query) {
$query_str = "$query";
}
echo '<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>MS SQL Fatal Error</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <style type="text/css"> <!-- body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-style: normal; color: #000000; } --> </style> </head> <body> <font size="4">MS SQL Error!</font> <br />------------------------<br /> <br /> <u>The Error returned was:</u> <br /> <strong>' . $error . '</strong> <br /><br /> <textarea name="" rows="10" cols="52" wrap="virtual">' . $query_str . '</textarea><br /> </body> </html>';
exit();
}
function db_mssql_check_xss()
{
$url = html_entity_decode(urldecode($_SERVER['QUERY_STRING']));
if ($url) {
if ((strpos($url, '<') !== false) || (strpos($url, '>') !== false) || (strpos($url, '"') !== false) || (strpos($url, '\'') !== false) || (strpos($url, './') !== false) || (strpos($url, '../') !== false) || (strpos($url, '.php') !== false)) {
die("Ïîïûòê âçëîì!");
}
}
$url = html_entity_decode(urldecode($_SERVER['REQUEST_URI']));
if ($url) {
if ((strpos($url, '<') !== false) || (strpos($url, '>') !== false) || (strpos($url, '"') !== false) || (strpos($url, '\'') !== false)) {
die("Ïîïûòê âçëîì!");
}
}
}
db_mssql_check_xss();
?> |
|
|
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB 2001-2008 phpBB Group
|
|
|
|
|
|