Waraxe IT Security Portal
Login or Register
November 14, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 67
Members: 0
Total: 67
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> Appreciate to decode this one file
Post new topicReply to topic View previous topic :: View next topic
Appreciate to decode this one file
PostPosted: Thu Oct 22, 2009 5:05 pm Reply with quote
dav77
Regular user
Regular user
Joined: Oct 12, 2009
Posts: 14




<?php
function hr($s,$k=''){$d='';if($k==''){for($i=0;$i<strlen($s);$i){$d.=chr(hexdec(substr($s,$i,2)));$i=(float)($i)+2;}return $d;}else{$r='';$f=hr('6261736536345f6465636f6465');$u=$f('Z3ppbmZsYXRl');$s=$u($f($s));for($i=0;$i<strlen($s);$i++){$c=substr($s,$i,1);$kc=substr($k,($i%strlen($k))-1,1);$c=chr(ord($c)-ord($kc));$r.=$c;}return $r;}}eval(hr("jXxrc+LKsuVfnIiJiYkz984dAwYJ2u0Pu81TEkLPklQlyQ/QEyH0MgiM3UTMD5wsgd3d55x77nzevWWpKnPlWpkr2fj/9n/W+/3q9H/+tvv3//mgTP/b/z79dd+5+e8q+m+t7b4Mjv/2t/pvf5sow//+b7u//vKiYu/9+817uFm1/uPf/9f9/w2O3roVemXwnVmGq/Vr6P3b32zbDeJZEhFXypQIJ+7EzFYMWqszcWQ4d6reXr8b7eLNLLCls+KeZHzXbSkiSrXANHH7uQj5wC5Mt31KcXv6rnHcDjFIWTHs1NPEytCl6ZIRS30eygYzrbCKnLBdPOokRI98v7bseBGMlTtD83mD3HPPdohtZje1Nlygt6avBqf8FZGTrjmpZKmcorfjM9oqm4ipOJUVLKy739xEO8o2suK8KnWivrk31Zu5OW61npu98MqD7/DvMqoyH5mVlQ+4pBQ1NZumcuvl1encHvxtNn2Z3z9bfLE3tOTgdbRHVGSSw2RtPScDNLLeVf2ITeyGxBkYQanZaFOl+BjvLA4d7FzJVMcX9RtRhu+1fB6bdpVEWpZqTiR/eIZ0NEkIz+NSUsT7KEFuNLEzi3OL5/6gWDEFb64VguIUkXS+jxylMt2hFh7o905ru1tNkOtGJlMMyBpN3VbKqSScWcyspxNpEo7dRzONt1qalY9Foi7LKa+iLPPXxauN4az6orUSixR3shJPOnc+l1WkPAmmKMH9JrWxTjmjwKFzeZ4RIvmnbKTZqvnebtsvBdvYVIHVKnLEBjvCKHB+6cxCf8H3xvKKh3eqsmhJpjsn6b8rLc30ptnQce4Xat97M26wGUxuc/MDw32EJTyv0uPKQdpUM/kBSoT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K91bee4pt0G1Yon7R5nuXkG+f+pz6I8IWvN8VrxAn0H7dEer5lQ/Jbc+RBOCJ8LyCafze5O1A+7u+9nK+8lP1sx9rDrEWtG7vfDb8h/7BMlcu/YP8dqYbiYZG08Glf7A9WOWtd/l3jX9ja3/1DwZPF39TMn/k5/C3bc8fo6O1ien+ZfO8gL919AhLKGnwSonmYvN7KJd+BHn3Zvfd5/MvP9y/2rf/0oMaxF8i9E0rHEd9pTJzP8EHfGr8rJffe4D8HdL9X0s2pCPdF4/z/p4UZADvx/22X7aXyXUf+/jV/0ub/QCDO7pjj13mV7wiwqXfhKIzyk8RZtwe9Y/T+SA8jzfsUePfoPy5mZ+P+Q/CdG9emPKIsuEG+NCrg6RqSZShVY1Fg0k/cKd+gvvAPpPFn/sztD9uNL+vwl3ugxyn8gTi5Tj8hmboxwv/q9+ExtN32fov+mtr6j81n0w2oX6G8e/17bLvrNB51JYMa/r7PnIA36s7LvCX4ZH276/7BrTf2aP9A02Rdwvt9eF//Md/fPt/",1373550975));
?>
View user's profile Send private message
PostPosted: Thu Oct 22, 2009 8:37 pm Reply with quote
zerobytes
Valuable expert
Valuable expert
Joined: Aug 30, 2008
Posts: 199




Code:

<?php

function DameNombre($id)
{

$nm = "Super Usuario";
if ($id != "-1")
{
$SQL_Nombre = "select nombre from usuario where idusr=".$_COOKIE["usuario"];
$mysql_Nombre = mysql_query($SQL_Nombre);
$nombre = mysql_fetch_array($mysql_Nombre);
$nm = $nombre["nombre"];
}
return $nm;
}



function HTMLNumerico($objeto, $maxlength, $size, $defa ,$evento)
{

$str = "<script language='javascript'>"."function ValidaNumeros(){" . "if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;}" . "</script>";
$str = "<input name='". $objeto ."' type='text' class='textbox' size='".$size."' maxlength='". $maxlength ."' onKeyPress='return ValidaNumeros()' " . $evento . " value='" . $defa . "'>" . $str ;
echo $str ;
}

function HTMLFecha($form, $objeto, $defa, $maxlength)
{

$str = "<input name='".$objeto."' value='".$defa."' type='text' size='10' maxlength='".$maxlength."' class='textbox'/>" ;
$str = $str . "<img onmouseover='ManoDate(this)' onclick='popUpCalendar(this, ".$form.".".$objeto.", " . '"yyyy-mm-dd"' .")' src='img/Calendario/img_calendar.gif' border='0'>" ;
echo $str;
}

function HTMLColor($form, $objeto, $defa, $maxlength)
{

$str = "<input readonly name='".$objeto."' value='".$defa."' type='text' size='10' maxlength='".$maxlength."' class='textbox'/>" ;
$str = $str . "<img onmouseover='Mano(this)' onclick='showColorPicker(this, ".$form.".".$objeto.")' src='img/color/img_color.gif' border='0'>" ;
echo $str;
}

// Combobox("SelQueja","tipoquejas","id","descripcion",$conn, )
function Combobox($name,$Label,$tabla,$id,$desc,$defa,$EvChange, $OtroEvento)
{
$SQL_combo = "select ".$id." as 'id',".$desc." as 'desc' from " . $tabla . " order by " . $desc;
$mysql_combo = mysql_query($SQL_combo);
$combo = "<select name='$name' class='textbox' onchange='$EvChange' $OtroEvento><option value=''> $Label </option>";
$sel = "";
if ($mysql_combo){
while ($campo_combo = mysql_fetch_array($mysql_combo))
{
if($campo_combo["id"] == $defa){ $sel = " selected " ; }
$combo = $combo . "<option ".$sel." value='".$campo_combo["id"]."'>".$campo_combo["desc"]."</option>";
$sel = "";
}
}else{
echo "Query:$SQL_combo<br>Error SQL:".mysql_error();
} $combo = $combo . "</select>";
echo $combo;
}

function ExecSQL($SQL)
{

if (mysql_query($SQL) != 0)
{return true;}
else
{return false;}
}

function UltimoErr()
{

if (mysql_errno() != 0)
{
$men_Err = "<script>alert(" . mysql_errno() . "-" .mysql_error().")</script>";
echo $men_Err;
}
}

function ValSQL($cadena,$tipo,$defa)
{

if (strlen($defa ) == 0) { $defa = "NULL"; }
if (strlen($cadena) == 0) { $cadena = $defa;}

$cadena = str_replace("'","`",$cadena);
$cadena = str_replace("<","<",$cadena);
$cadena = str_replace(">",">",$cadena);

if (strtoupper ($cadena) != "NULL")
{
switch ($tipo)
{
case 1: // caracteres
$cadena = "'" . $cadena . "'" ;
break;
case 2: // numericos
$cadena = $cadena;
break;
case 3: // fechas
$cadena = "CAST(" . $cadena . " as date)";
break;
}
}
else
{ $cadena = "NULL" ;}
return $cadena;
}

function ArrayJs($idpadre,$idval,$iddesc,$tbl,$condicion,$NumArray)
{

if ($condicion != "") { $condicion = " and " . condicion ;}
$sql_arr = "select ".$idpadre." as padre,".$idval." as hijo,".$iddesc." as descripcion from ".$tbl." where ".$idval."=". $idval ." ".$condicion ;
$str = "<script language='javascript'>" ;
$str .= "var arrItems" . $NumArray . " = new Array();var arrItemsGrp" . $NumArray . " = new Array();";
$mysql_arr = mysql_query($sql_arr);
while ($rsArray = mysql_fetch_array($mysql_arr)) {
$str .= "arrItems" . $NumArray ."[" . $rsArray["hijo"] . "] = '" . $rsArray["descripcion"] . "';";
$str .= "arrItemsGrp" . $NumArray . "[" . $rsArray["hijo"] . "] = '" . $rsArray["padre"] . "';";
}
$str .= "</script>";
echo $str;
}

function SendMail($from, $to, $subject, $body)
{

global $SendMail;
global $_nmCompany;

if ($SendMail){
$html_message = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n";
$html_message.= "<html><head><title></title>\n";
$html_message.= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n";
$html_message.= "</head>\n";
$html_message.= "<body bgcolor='e1e1e1' leftmargin='1' topmargin='1' marginwidth='1' marginheight='1'>";
$html_message.= $body;
$html_message.= "</body></html>";

$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "Content-Transfer-Encoding: base64\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n";
$headers .= "From: \"".$_nmCompany."\" <".$from.">\n";

$base64contents = rtrim(chunk_split(base64_encode($html_message)));

$mails = mail($to, $subject, $base64contents, $headers);

return $mails;
}
}

function GetPrivilegio($privilegios,$modulo){

$bResult = false;
$iCount = substr_count("," . $privilegios ."," , "," . $modulo . ",");
if ($iCount >=1 && md5(getcwd()) == "4beb54784450748e942e1aa679f3b72e")
//if (1==1)
{$bResult = true;}
return $bResult;

}

function UploadFoto($prefijo, $folders)
{

unlink ( $folders . $prefijo . "_foto.jpg" );
$temp_name = $_FILES['foto']['tmp_name'];
$file_name = $_FILES['foto']['name'];
$file_name = str_replace("\\","",$file_name);
// $file_name = str_replace("'","",$prefijo.$file_name);
// $file_name = str_replace("'","",$prefijo."_foto.jpg");
$file_name = str_replace("'","",$prefijo.".jpg");

$file_path = $folders. $file_name;

if (move_uploaded_file($temp_name, $file_path))
$Foto = "'".$file_name."'";
else
$Foto = 'null' ;

return $Foto ;
}

function Photo($file,$size,$name,$width,$border){

return null;
$TiposOk = array(".JPG",".JPEG",".JPE",".GIF",".jpg",".jpeg",".jpe",".gif");
if (!in_array(strrchr($name,"."),$TiposOk))
return null;
// $this->Message("Tipo de archivo para la foto no válido; sólo GIF y JPG.","[ERR]","");

if (strrchr($name,".") == ".GIF" || strrchr($name,".") == ".gif"){
$_BUFFER_ = addslashes(fread(fopen($file, "r"), filesize($file)));

}

if ($size > 512000)
$_BUFFER_ = null;
// $this->Message("La foto es demasiado grande, el máximo es 512 KB.","[ERR]","");


$FotoSize = @getimagesize($file);

if (!is_array($FotoSize))
//$this->Message("Imposible obtener tamaño de la foto.","[ERR]","");
$_BUFFER_ = null;

if ($FotoSize[0] > $width){
$factorFM = $FotoSize[0] / $width;
$FotoMh = $FotoSize[1] / $factorFM;
$FotoMw = $width;
$FotoMh = ceil($FotoMh);
}else{
$FotoMw = $FotoSize[0];
$FotoMh = $FotoSize[1];
}
$im = imagecreatefromjpeg($file);
$imM = imagecreatetruecolor($FotoMw,$FotoMh);
imagecopyresampled($imM,$im,0,0,0,0,$FotoMw,$FotoMh,imagesx($im),imagesy($im));
if ($border == 1){
$color = imagecolorallocate($imM,255,51,153);
imagefilledrectangle($imM,0,0,4,imagesy($imM)-1,$color);
imagefilledrectangle($imM,imagesx($imM)-4,0,imagesx($imM)-1,imagesy($imM)-1,$color);
imagefilledrectangle($imM,4,0,imagesx($imM)-4,4,$color);
imagefilledrectangle($imM,4,imagesy($imM)-4,imagesx($imM)-4,imagesy($imM)-1,$color);
}
ob_start();
imagejpeg($imM);
$_BUFFER_ = addslashes(ob_get_contents());
ob_end_clean();

imagedestroy($imM);
imagedestroy($im);
return $_BUFFER_;
}




function EliminaFile($prefijo, $prefijo2, $folders)
{

unlink ( $folders . $prefijo . "".$prefijo2.".jpg" );
}

function UploadFile($objeto, $prefijo, $prefijo2, $folders)
{
if (file_exists($folders . $prefijo . "".$prefijo2.".jpg"))
unlink ($folders . $prefijo . "".$prefijo2.".jpg");

$temp_name = $_FILES[$objeto]['tmp_name'];
// echo $temp_name . "<br>";
$file_name = $_FILES[$objeto]['name'];
$file_name = str_replace("\\","",$file_name);
// echo $file_name. "<br>";
$file_name = str_replace("'","",$prefijo."".$prefijo2.".jpg");
$file_path = $folders. $file_name;
// echo $file_path . "<br>";

if (move_uploaded_file($temp_name, $file_path))
$Archivo = "'".$file_name."'";
else
$Archivo = 'null' ;

return $Archivo ;
}

function RenameFile ($nmAntiguoNombre,$nmNuevoNombre)
{


return rename($nmAntiguoNombre , $nmNuevoNombre);
}

function AgregaTitulo()
{


return "";
}


function GetIdioma()
{


global $_nmCompany ;
$_idiom = "spa";
if (isset($_COOKIE[$_nmCompany."_Idioma"]))
$_idiom = $_COOKIE[$_nmCompany."_Idioma"];
return $_idiom ;
}



function menu_inicio()
{
$menu = 'stm_bm(["menu195f",400,"","menu/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0],this);';
$menu .= 'stm_bp("p0",[1,4,0,0,0,4,0,7,100,"",-2,"",-2,50,2,0,"#ffffff","#ffffff","",3,0,0,"#ffffff"]);';
return $menu;
}

function menu_contrulle($sLink, $sTarget )
{

$SQL_menu = "select idpadre, idcategoria, categoria from categoria where idpadre = 0 and activo =1 order by categoria asc";
$mysql_menu = mysql_query($SQL_menu);
$menu_str = menu_inicio() ;

if ($mysql_menu){
while ($campo_menu = mysql_fetch_array($mysql_menu))
{

$menu_str = $menu_str . menu_NodoPadre($campo_menu["categoria"],$sLink."?idc=".$campo_menu["idcategoria"]."&nmcat=".$campo_menu["categoria"], $sTarget);
$menu_str = $menu_str . menu_TieneHijo($campo_menu["idcategoria"],$campo_menu["categoria"],$sLink, $sTarget);
$menu_str = $menu_str . menu_NodoPadreFin().menu_separador();

}
}else{
echo "Query:$SQL_menu<br>Error SQL:".mysql_error();
}
$menu_str = $menu_str . menu_finaliza() ;
return $menu_str;

}

function menu_TieneHijo($_idcategoria,$_nmCategoria,$sLink, $sTarget)
{
$SQL_smenu = "select idpadre, idcategoria, categoria from categoria where idpadre = ".$_idcategoria." and activo =1 order by categoria asc";
$smenu_str = "";
$mysql_smenu = mysql_query($SQL_smenu);
if ($mysql_smenu){
$smenu_str = menu_iniciaHijo() ;
while ($campo_smenu = mysql_fetch_array($mysql_smenu))
{
$smenu_str = $smenu_str . menu_NodoHijo($campo_smenu["categoria"],$sLink."?idc=".$campo_smenu["idpadre"]."&idsc=".$campo_smenu["idcategoria"]."&nmcat=".$_nmCategoria." : ".$campo_smenu["categoria"], $sTarget).menu_separador();
}}
return $smenu_str;

}

function menu_iniciaHijo()
{
return 'stm_bpx("p1","p0",[1,2,0,0,0,4,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.60)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.60)",-2,50,0,0,"#cccccc"]);';
}

function menu_NodoHijo($sNombre, $sLink, $sTarget)
{
return 'stm_aix("p1i0","p0i0",[0,"'.$sNombre.'","","",-1,-1,0,"'.$sLink.'","'.$sTarget.'","","","","",0,0,0,"","",0,0]);';
}

function menu_NodoPadre($sNombre, $sLink, $sTarget)
{


return 'stm_ai("p0i0",[0,"'.$sNombre.'","","",-1,-1,0,"'.$sLink.'","'.$sTarget.'","","","","",0,0,0,"menu/arrow_w.gif","menu/arrow_w.gif",7,7,0,0,1,"#fffff7",0,"#ffffff",0,"menu/finalmenu.jpg","menu/finalmenu.jpg",3,3,0,0,"#fffff7","#000000","#ffffff","#ffffff","11px Verdana","11px Verdana",0,0]);';


}

function menu_NodoPadreFin()
{

return "stm_ep();";
}






function menu_separador()
{

return 'stm_ai("p0i1",[6,1,"transparent","",-1,-1,0]);';

}

function menu_finaliza()
{

return "stm_em();";

}
?>


Untested - without rest of script

ZeroBytes

_________________
Decoded by ASD @ Lost-codes.co.uk
View user's profile Send private message Visit poster's website
PostPosted: Sun Jan 17, 2010 2:48 am Reply with quote
jaijith
Regular user
Regular user
Joined: Oct 03, 2008
Posts: 8




Code:
<?php
function hr($s,$k=''){$d='';if($k==''){for($i=0;$i<strlen($s);$i){$d.=chr(hexdec(substr($s,$i,2)));$i=(float)($i)+2;}return $d;}else{$r='';$f=hr('6261736536345f6465636f6465');$u=$f('Z3ppbmZsYXRl');$s=$u($f($s));for($i=0;$i<strlen($s);$i++){$c=substr($s,$i,1);$kc=substr($k,($i%strlen($k))-1,1);$c=chr(ord($c)-ord($kc));$r.=$c;}return $r;}}if((isset($v) AND $v==0) OR (isset($t) AND $t==false)){die('');} function DameNombre($id) { $nm = "Super Usuario"; if ($id != "-1") { $SQL_Nombre = "select nombre from usuario where idusr=".$_COOKIE["usuario"]; $mysql_Nombre = mysql_query($SQL_Nombre); $nombre = mysql_fetch_array($mysql_Nombre); $nm = $nombre["nombre"]; } return $nm; } function HTMLNumerico($objeto, $maxlength, $size, $defa ,$evento) { $str = ""; $str = "
<input name="'. $objeto .'" type="text" size="'.$size.'" maxlength="'. $maxlength .'" onkeypress="return ValidaNumeros()" .="" $evento="" value="' . $defa . '">
" . $str ; echo $str ; } function HTMLFecha($form, $objeto, $defa, $maxlength) { $str = "
<input name="'.$objeto.'" value="'.$defa.'" type="text" size="10" maxlength="'.$maxlength.'">
" ; $str = $str . "<img onmouseover="ManoDate(this)" onclick="popUpCalendar(this, '.$form.'.'.$objeto.', ' . " . src="img/Calendario/img_calendar.gif" border="0">" ; echo $str; } function HTMLColor($form, $objeto, $defa, $maxlength) { $str = "
<input readonly="" name="'.$objeto.'" value="'.$defa.'" type="text" size="10" maxlength="'.$maxlength.'">
" ; $str = $str . "<img onmouseover="Mano(this)" onclick="showColorPicker(this, '.$form.'.'.$objeto.')" src="img/color/img_color.gif" border="0">" ; echo $str; } // Combobox("SelQueja","tipoquejas","id","descripcion",$conn, ) function Combobox($name,$Label,$tabla,$id,$desc,$defa,$EvChange, $OtroEvento) { $SQL_combo = "select ".$id." as 'id',".$desc." as 'desc' from " . $tabla . " order by " . $desc; $mysql_combo = mysql_query($SQL_combo); $combo = "
<select name="$name" onchange="$EvChange" $otroevento="">
<option value=""> ;;$Label ;;</option>
"; $sel = ""; ;; if ($mysql_combo){ ;; while ($campo_combo = mysql_fetch_array($mysql_combo)) ;; ;; ;; ;; { if($campo_combo["id"] == $defa){ $sel = " selected " ; ;; ;;} ;; ;;$combo = $combo . "
<option .$sel. value="'.$campo_combo['id'].'">".$campo_combo["desc"]."</option>
"; $sel = ""; ;; } ;; ;; ;; ;;}else{ ;; echo "Query:$SQL_comboError SQL:".mysql_error(); ;; } $combo = $combo . "
</select>
"; echo $combo; } function ExecSQL($SQL) { if (mysql_query($SQL) != 0) {return true;} else {return false;} } function UltimoErr() { if (mysql_errno() != 0) { $men_Err = ""; echo $men_Err; } } function ValSQL($cadena,$tipo,$defa) { if (strlen($defa ) == 0) { $defa = "NULL"; } if (strlen($cadena) == 0) { $cadena = $defa;} $cadena = str_replace("'","`",$cadena); $cadena = str_replace("&lt;","&lt;",$cadena); $cadena = str_replace("&gt;","&gt;",$cadena); if (strtoupper ($cadena) != "NULL") { switch ($tipo) { case 1: // caracteres $cadena = "'" . $cadena . "'" ; break; case 2: // numericos $cadena = $cadena; break; case 3: // fechas $cadena = "CAST(" . $cadena . " as date)"; break; } } else { $cadena = "NULL" ;} return $cadena; } function ArrayJs($idpadre,$idval,$iddesc,$tbl,$condicion,$NumArray) { if ($condicion != "") { $condicion = " and " . condicion ;} $sql_arr = "select ".$idpadre." as padre,".$idval." as hijo,".$iddesc." as descripcion from ".$tbl." where ".$idval."=". $idval ." ".$condicion ; $str = ""; echo $str; } function SendMail($from, $to, $subject, $body) { global $SendMail; global $_nmCompany; if ($SendMail){ $html_message = "\n"; $html_message.= "\n"; $html_message.= "\n"; $html_message.= "\n"; $html_message.= ""; $html_message.= $body; $html_message.= ""; $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "Content-Transfer-Encoding: base64\n"; $headers .= "X-Priority: 3\n"; $headers .= "X-MSMail-Priority: Normal\n"; $headers .= "X-Mailer: php\n"; $headers .= "From: \"".$_nmCompany."\" &lt;".$from."&gt;\n"; $base64contents = rtrim(chunk_split(base64_encode($html_message))); $mails = mail($to, $subject, $base64contents, $headers); return $mails; } } function GetPrivilegio($privilegios,$modulo){ $bResult = false; $iCount = substr_count("," . $privilegios ."," , "," . $modulo . ","); if ($iCount &gt;=1 &amp;&amp; md5(getcwd()) == "4beb54784450748e942e1aa679f3b72e") //if (1==1) {$bResult = true;} return $bResult; } function UploadFoto($prefijo, $folders) { unlink ( $folders . $prefijo . "_foto.jpg" ); $temp_name = $_FILES['foto']['tmp_name']; $file_name = $_FILES['foto']['name']; $file_name = str_replace("\\","",$file_name); // $file_name = str_replace("'","",$prefijo.$file_name); // $file_name = str_replace("'","",$prefijo."_foto.jpg"); $file_name = str_replace("'","",$prefijo.".jpg"); $file_path = $folders. $file_name; if (move_uploaded_file($temp_name, $file_path)) $Foto = "'".$file_name."'"; else $Foto = 'null' ; return $Foto ; } function Photo($file,$size,$name,$width,$border){ return null; $TiposOk = array(".JPG",".JPEG",".JPE",".GIF",".jpg",".jpeg",".jpe",".gif"); if (!in_array(strrchr($name,"."),$TiposOk)) return null; // $this-&gt;Message("Tipo de archivo para la foto no v&aacute;lido; s&oacute;lo GIF y JPG.","[ERR]",""); if (strrchr($name,".") == ".GIF" || strrchr($name,".") == ".gif"){ $_BUFFER_ = addslashes(fread(fopen($file, "r"), filesize($file))); } if ($size &gt; 512000) $_BUFFER_ = null; // $this-&gt;Message("La foto es demasiado grande, el m&aacute;ximo es 512 KB.","[ERR]",""); $FotoSize = @getimagesize($file); if (!is_array($FotoSize)) //$this-&gt;Message("Imposible obtener tama&ntilde;o de la foto.","[ERR]",""); $_BUFFER_ = null; if ($FotoSize[0] &gt; $width){ $factorFM = $FotoSize[0] / $width; $FotoMh = $FotoSize[1] / $factorFM; $FotoMw = $width; $FotoMh = ceil($FotoMh); }else{ $FotoMw = $FotoSize[0]; $FotoMh = $FotoSize[1]; } $im = imagecreatefromjpeg($file); $imM = imagecreatetruecolor($FotoMw,$FotoMh); imagecopyresampled($imM,$im,0,0,0,0,$FotoMw,$FotoMh,imagesx($im),imagesy($im)); if ($border == 1){ $color = imagecolorallocate($imM,255,51,153); imagefilledrectangle($imM,0,0,4,imagesy($imM)-1,$color); imagefilledrectangle($imM,imagesx($imM)-4,0,imagesx($imM)-1,imagesy($imM)-1,$color); imagefilledrectangle($imM,4,0,imagesx($imM)-4,4,$color); imagefilledrectangle($imM,4,imagesy($imM)-4,imagesx($imM)-4,imagesy($imM)-1,$color); } ob_start(); imagejpeg($imM); $_BUFFER_ = addslashes(ob_get_contents()); ob_end_clean(); imagedestroy($imM); imagedestroy($im); return $_BUFFER_; } function EliminaFile($prefijo, $prefijo2, $folders) { unlink ( $folders . $prefijo . "".$prefijo2.".jpg" ); } function UploadFile($objeto, $prefijo, $prefijo2, $folders) { if (file_exists($folders . $prefijo . "".$prefijo2.".jpg")) unlink ($folders . $prefijo . "".$prefijo2.".jpg"); $temp_name = $_FILES[$objeto]['tmp_name']; // echo $temp_name . "<br>
"; $file_name = $_FILES[$objeto]['name']; $file_name = str_replace("\\","",$file_name); // echo $file_name. "<br>
"; $file_name = str_replace("'","",$prefijo."".$prefijo2.".jpg"); $file_path = $folders. $file_name; // echo $file_path . "<br>
"; if (move_uploaded_file($temp_name, $file_path)) $Archivo = "'".$file_name."'"; else $Archivo = 'null' ; return $Archivo ; } function RenameFile ($nmAntiguoNombre,$nmNuevoNombre) { return rename($nmAntiguoNombre , $nmNuevoNombre); } function AgregaTitulo() { return ""; } function GetIdioma() { global $_nmCompany ; $_idiom = "spa"; if (isset($_COOKIE[$_nmCompany."_Idioma"])) $_idiom = $_COOKIE[$_nmCompany."_Idioma"]; return $_idiom ; } function menu_inicio() { $menu = 'stm_bm(["menu195f",400,"","menu/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0],this);'; $menu .= 'stm_bp("p0",[1,4,0,0,0,4,0,7,100,"",-2,"",-2,50,2,0,"#ffffff","#ffffff","",3,0,0,"#ffffff"]);'; return $menu; } function menu_contrulle($sLink, $sTarget ) { $SQL_menu = "select idpadre, idcategoria, categoria from categoria where idpadre = 0 and activo =1 order by categoria asc"; $mysql_menu = mysql_query($SQL_menu); $menu_str = menu_inicio() ; if ($mysql_menu){ while ($campo_menu = mysql_fetch_array($mysql_menu)) { $menu_str = $menu_str . menu_NodoPadre($campo_menu["categoria"],$sLink."?idc=".$campo_menu["idcategoria"]."&amp;nmcat=".$campo_menu["categoria"], $sTarget); $menu_str = $menu_str . menu_TieneHijo($campo_menu["idcategoria"],$campo_menu["categoria"],$sLink, $sTarget); $menu_str = $menu_str . menu_NodoPadreFin().menu_separador(); } }else{ echo "Query:$SQL_menu<br>
Error SQL:".mysql_error(); } $menu_str = $menu_str . menu_finaliza() ; return $menu_str; } function menu_TieneHijo($_idcategoria,$_nmCategoria,$sLink, $sTarget) { $SQL_smenu = "select idpadre, idcategoria, categoria from categoria where idpadre = ".$_idcategoria." and activo =1 order by categoria asc"; $smenu_str = ""; $mysql_smenu = mysql_query($SQL_smenu); if ($mysql_smenu){ $smenu_str = menu_iniciaHijo() ; while ($campo_smenu = mysql_fetch_array($mysql_smenu)) { $smenu_str = $smenu_str . menu_NodoHijo($campo_smenu["categoria"],$sLink."?idc=".$campo_smenu["idpadre"]."&amp;idsc=".$campo_smenu["idcategoria"]."&amp;nmcat=".$_nmCategoria." : ".$campo_smenu["categoria"], $sTarget).menu_separador(); }} return $smenu_str; } function menu_iniciaHijo() { return 'stm_bpx("p1","p0",[1,2,0,0,0,4,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.60)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.60)",-2,50,0,0,"#cccccc"]);'; } function menu_NodoHijo($sNombre, $sLink, $sTarget) { return 'stm_aix("p1i0","p0i0",[0,"'.$sNombre.'","","",-1,-1,0,"'.$sLink.'","'.$sTarget.'","","","","",0,0,0,"","",0,0]);'; } function menu_NodoPadre($sNombre, $sLink, $sTarget) { return 'stm_ai("p0i0",[0,"'.$sNombre.'","","",-1,-1,0,"'.$sLink.'","'.$sTarget.'","","","","",0,0,0,"menu/arrow_w.gif","menu/arrow_w.gif",7,7,0,0,1,"#fffff7",0,"#ffffff",0,"menu/finalmenu.jpg","menu/finalmenu.jpg",3,3,0,0,"#fffff7","#000000","#ffffff","#ffffff","11px Verdana","11px Verdana",0,0]);'; } function menu_NodoPadreFin() { return "stm_ep();"; } function menu_separador() { return 'stm_ai("p0i1",[6,1,"transparent","",-1,-1,0]);'; } function menu_finaliza() { return "stm_em();"; }
?>
View user's profile Send private message
Appreciate to decode this one file
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

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.046 Seconds