amiralbenz

Priv8 Decoder IonCube

Jul 27th, 2015
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ IonCube Priv8 Decoder by hasker$amiral$lord$mr.wolf
  5. *
  6. * @ Version : 1
  7. * @ Author : amiral$mr.wolf
  8. * @ Release on :2015
  9. * @ Email : sea@jabber******
  10. *
  11. **/
  12.  
  13. if (!extension_loaded( 'ionCube Loader' )) {
  14. $__oc = strtolower( substr( php_uname( ), 0, 3 ) );
  15. $__ln = 'ioncube_loader_' . $__oc . '_' . substr( phpversion( ), 0, 3 ) . ($__oc = 'win' ? '.dll' : '.so');
  16.  
  17. if (function_exists( 'dl' )) {
  18. @dl( $__ln );
  19. }
  20.  
  21.  
  22. if (function_exists( '_il_exec' )) {
  23. return _il_exec( );
  24. }
  25.  
  26. $__ln = '/ioncube/' . $__ln;
  27. $__oid = $__id = realpath( ini_get( 'extension_dir' ) );
  28. $__here = dirname( __FILE__ );
  29.  
  30. if (( 1 < strlen( $__id ) && $__id[1] = ':' )) {
  31. $__id = str_replace( '\', '/', substr( $__id, 2 ) );
  32. $__here = str_replace( '\', '/', substr( $__here, 2 ) );
  33. }
  34.  
  35. $__rd = str_repeat( '/..', substr_count( $__id, '/' ) ) . $__here . '/';
  36. $__i = strlen( $__rd );
  37.  
  38. while ($__i--) {
  39. if ($__rd[$__i] = '/') {
  40. $__lp = substr( $__rd, 0, $__i ) . $__ln;
  41.  
  42. if (file_exists( $__oid . $__lp )) {
Advertisement
Add Comment
Please, Sign In to add comment