Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

compiled vars: !0 = $flag, !1 = $tmp, !2 = $i line #* E I O op ..

Decoded Output download

<?  compiled vars:  !0 = $flag, !1 = $tmp, !2 = $i 
line     #* E I O op                           fetch          ext  return  operands 
------------------------------------------------------------------------------------- 
   6     0  E >   EXT_STMT                                                  
         1        ASSIGN                                                   !0, '<Redacted_Flag>' 
   7     2        EXT_STMT                                                  
         3        INIT_FCALL                                               'gzdeflate' 
         4        EXT_FCALL_BEGIN                                           
         5        SEND_VAR                                                 !0 
         6        DO_FCALL                                      0  $4       
         7        EXT_FCALL_END                                             
         8        ASSIGN                                                   !1, $4 
   9     9        EXT_STMT                                                  
        10        ASSIGN                                                   !2, 0 
        11      > JMP                                                      ->95 
  10    12    >   EXT_STMT                                                  
        13        MOD                                              ~7      !2, 2 
        14        IS_IDENTICAL                                     ~8      ~7, 0 
        15      > JMPZ                                                     ~8, ->47 
  11    16    >   EXT_STMT                                                  
        17        INIT_FCALL                                               'chr' 
        18        EXT_FCALL_BEGIN                                           
        19        INIT_FCALL                                               'ord' 
        20        EXT_FCALL_BEGIN                                           
        21        FETCH_DIM_R                                      $10     !0, !2 
        22        SEND_VAR                                                 $10 
        23        DO_FCALL                                      0  $11      
        24        EXT_FCALL_END                                             
        25        BW_XOR                                           ~12     $11, 10 
        26        SEND_VAL                                                 ~12 
        27        DO_FCALL                                      0  $13      
        28        EXT_FCALL_END                                             
        29        ASSIGN_DIM                                               !0, !2 
        30        OP_DATA                                                  $13 
  12    31        EXT_STMT                                                  
        32        INIT_FCALL                                               'chr' 
        33        EXT_FCALL_BEGIN                                           
        34        INIT_FCALL                                               'ord' 
        35        EXT_FCALL_BEGIN                                           
        36        FETCH_DIM_R                                      $15     !0, !2 
        37        SEND_VAR                                                 $15 
        38        DO_FCALL                                      0  $16      
        39        EXT_FCALL_END                                             
        40        BW_XOR                                           ~17     $16, 2 
        41        SEND_VAL                                                 ~17 
        42        DO_FCALL                                      0  $18      
        43        EXT_FCALL_END                                             
        44        ASSIGN_DIM                                               !0, !2 
        45        OP_DATA                                                  $18 
        46      > JMP                                                      ->77 
  14    47    >   EXT_STMT                                                  
        48        INIT_FCALL                                               'chr' 
        49        EXT_FCALL_BEGIN                                           
        50        INIT_FCALL                                               'ord' 
        51        EXT_FCALL_BEGIN                                           
        52        FETCH_DIM_R                                      $20     !0, !2 
        53        SEND_VAR                                                 $20 
        54        DO_FCALL                                      0  $21      
        55        EXT_FCALL_END                                             
        56        BW_XOR                                           ~22     $21, 11 
        57        SEND_VAL                                                 ~22 
        58        DO_FCALL                                      0  $23      
        59        EXT_FCALL_END                                             
        60        ASSIGN_DIM                                               !0, !2 
        61        OP_DATA                                                  $23 
  15    62        EXT_STMT                                                  
        63        INIT_FCALL                                               'chr' 
        64        EXT_FCALL_BEGIN                                           
        65        INIT_FCALL                                               'ord' 
        66        EXT_FCALL_BEGIN                                           
        67        FETCH_DIM_R                                      $25     !0, !2 
        68        SEND_VAR                                                 $25 
        69        DO_FCALL                                      0  $26      
        70        EXT_FCALL_END                                             
        71        BW_XOR                                           ~27     $26, 3 
        72        SEND_VAL                                                 ~27 
        73        DO_FCALL                                      0  $28      
        74        EXT_FCALL_END                                             
        75        ASSIGN_DIM                                               !0, !2 
        76        OP_DATA                                                  $28 
  17    77    >   EXT_STMT                                                  
        78        INIT_FCALL                                               'chr' 
        79        EXT_FCALL_BEGIN                                           
        80        INIT_FCALL                                               'ord' 
        81        EXT_FCALL_BEGIN                                           
        82        FETCH_DIM_R                                      $30     !0, !2 
        83        SEND_VAR                                                 $30 
        84        DO_FCALL                                      0  $31      
        85        EXT_FCALL_END                                             
        86        SL                                               ~32     $31, 22 
        87        MOD                                              ~33     ~32, 255 
        88        SEND_VAL                                                 ~33 
        89        DO_FCALL                                      0  $34      
        90        EXT_FCALL_END                                             
        91        ASSIGN_DIM                                               !0, !2 
        92        OP_DATA                                                  $34 
   9    93        POST_INC                                         ~35     !2 
        94        FREE                                                     ~35 
        95    >   STRLEN                                           ~36     !0 
        96        IS_SMALLER                                       ~37     !2, ~36 
        97        EXT_STMT                                                  
        98      > JMPNZ                                                    ~37, ->12 
  22    99    >   EXT_STMT                                                  
       100        INIT_FCALL                                               'base64_encode' 
       101        EXT_FCALL_BEGIN                                           
       102        SEND_VAR                                                 !0 
       103        DO_FCALL                                      0  $38      
       104        EXT_FCALL_END                                             
       105        CONCAT                                           ~39     $38, '%0A' 
       106        ECHO                                                     ~39 
  25   107      > RETURN                                                   1 
 ?>

Did this file decode correctly?

Original Code

compiled vars:  !0 = $flag, !1 = $tmp, !2 = $i
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   6     0  E >   EXT_STMT                                                 
         1        ASSIGN                                                   !0, '<Redacted_Flag>'
   7     2        EXT_STMT                                                 
         3        INIT_FCALL                                               'gzdeflate'
         4        EXT_FCALL_BEGIN                                          
         5        SEND_VAR                                                 !0
         6        DO_FCALL                                      0  $4      
         7        EXT_FCALL_END                                            
         8        ASSIGN                                                   !1, $4
   9     9        EXT_STMT                                                 
        10        ASSIGN                                                   !2, 0
        11      > JMP                                                      ->95
  10    12    >   EXT_STMT                                                 
        13        MOD                                              ~7      !2, 2
        14        IS_IDENTICAL                                     ~8      ~7, 0
        15      > JMPZ                                                     ~8, ->47
  11    16    >   EXT_STMT                                                 
        17        INIT_FCALL                                               'chr'
        18        EXT_FCALL_BEGIN                                          
        19        INIT_FCALL                                               'ord'
        20        EXT_FCALL_BEGIN                                          
        21        FETCH_DIM_R                                      $10     !0, !2
        22        SEND_VAR                                                 $10
        23        DO_FCALL                                      0  $11     
        24        EXT_FCALL_END                                            
        25        BW_XOR                                           ~12     $11, 10
        26        SEND_VAL                                                 ~12
        27        DO_FCALL                                      0  $13     
        28        EXT_FCALL_END                                            
        29        ASSIGN_DIM                                               !0, !2
        30        OP_DATA                                                  $13
  12    31        EXT_STMT                                                 
        32        INIT_FCALL                                               'chr'
        33        EXT_FCALL_BEGIN                                          
        34        INIT_FCALL                                               'ord'
        35        EXT_FCALL_BEGIN                                          
        36        FETCH_DIM_R                                      $15     !0, !2
        37        SEND_VAR                                                 $15
        38        DO_FCALL                                      0  $16     
        39        EXT_FCALL_END                                            
        40        BW_XOR                                           ~17     $16, 2
        41        SEND_VAL                                                 ~17
        42        DO_FCALL                                      0  $18     
        43        EXT_FCALL_END                                            
        44        ASSIGN_DIM                                               !0, !2
        45        OP_DATA                                                  $18
        46      > JMP                                                      ->77
  14    47    >   EXT_STMT                                                 
        48        INIT_FCALL                                               'chr'
        49        EXT_FCALL_BEGIN                                          
        50        INIT_FCALL                                               'ord'
        51        EXT_FCALL_BEGIN                                          
        52        FETCH_DIM_R                                      $20     !0, !2
        53        SEND_VAR                                                 $20
        54        DO_FCALL                                      0  $21     
        55        EXT_FCALL_END                                            
        56        BW_XOR                                           ~22     $21, 11
        57        SEND_VAL                                                 ~22
        58        DO_FCALL                                      0  $23     
        59        EXT_FCALL_END                                            
        60        ASSIGN_DIM                                               !0, !2
        61        OP_DATA                                                  $23
  15    62        EXT_STMT                                                 
        63        INIT_FCALL                                               'chr'
        64        EXT_FCALL_BEGIN                                          
        65        INIT_FCALL                                               'ord'
        66        EXT_FCALL_BEGIN                                          
        67        FETCH_DIM_R                                      $25     !0, !2
        68        SEND_VAR                                                 $25
        69        DO_FCALL                                      0  $26     
        70        EXT_FCALL_END                                            
        71        BW_XOR                                           ~27     $26, 3
        72        SEND_VAL                                                 ~27
        73        DO_FCALL                                      0  $28     
        74        EXT_FCALL_END                                            
        75        ASSIGN_DIM                                               !0, !2
        76        OP_DATA                                                  $28
  17    77    >   EXT_STMT                                                 
        78        INIT_FCALL                                               'chr'
        79        EXT_FCALL_BEGIN                                          
        80        INIT_FCALL                                               'ord'
        81        EXT_FCALL_BEGIN                                          
        82        FETCH_DIM_R                                      $30     !0, !2
        83        SEND_VAR                                                 $30
        84        DO_FCALL                                      0  $31     
        85        EXT_FCALL_END                                            
        86        SL                                               ~32     $31, 22
        87        MOD                                              ~33     ~32, 255
        88        SEND_VAL                                                 ~33
        89        DO_FCALL                                      0  $34     
        90        EXT_FCALL_END                                            
        91        ASSIGN_DIM                                               !0, !2
        92        OP_DATA                                                  $34
   9    93        POST_INC                                         ~35     !2
        94        FREE                                                     ~35
        95    >   STRLEN                                           ~36     !0
        96        IS_SMALLER                                       ~37     !2, ~36
        97        EXT_STMT                                                 
        98      > JMPNZ                                                    ~37, ->12
  22    99    >   EXT_STMT                                                 
       100        INIT_FCALL                                               'base64_encode'
       101        EXT_FCALL_BEGIN                                          
       102        SEND_VAR                                                 !0
       103        DO_FCALL                                      0  $38     
       104        EXT_FCALL_END                                            
       105        CONCAT                                           ~39     $38, '%0A'
       106        ECHO                                                     ~39
  25   107      > RETURN                                                   1

Function Calls

None

Variables

None

Stats

MD5 a29f7cd00f3aa5ebc71adf562bfd59ed
Eval Count 0
Decode Time 108 ms