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

Signing you up...

Thank you for signing up!

PHP Decode

ELF ? 4 ; 4 ( 4 4 4 T T T ..

Decoded Output download

<?  ELF              ?  4   ;      4   	 (      4   4   4                  T  T  T                                            ?.  ?>  ?>  ?  ?           ?.  ?>  ?>                 h  h  h  D   D         Ptd|  |  |  |   |         Qtd                          Rtd?.  ?>  ?>  t  t        /lib/ld-linux.so.2           GNU                        GNU c7wCi.?l%?<                       ?K                ?              W                             C              J              0              u              j              ?              {           "   c              +                                                        P              ?              =              ?              %              5                             \              p                             
   ,        libc.so.6 _IO_stdin_used exit srand fopen puts time putchar stdin printf fgets strlen read stdout malloc alarm atoi sleep __cxa_finalize setvbuf strcmp __libc_start_main __stack_chk_fail GLIBC_2.1 GLIBC_2.1.3 GLIBC_2.4 GLIBC_2.0 _ITM_deregisterTMCloneTable __gmon_start__ _ITM_registerTMCloneTable                                               ii 
   ?      si	         ii 
         ii 
          ?>     ?>     ?     @     ?    ?   
  ?   
  ?    ?    ?    ??    ??    ??    ??    ??    ??    ??    ??  	  ??   
  ??    ?    ?    ?    ?    ?    ?    ?    ?    ?    S??  ?k9  ??`   ?tR  ?[     ?   ?       ?   h    ?   h   ?   h   ?   h   ??   h    ??    h(   ??$   h0   ??(   h8   p?,   h@   `?0   hH   P?4   hP   @?8   hX   0?<   h`    ?@   hh   ?D   hp    ?H   hx   ?L   h?   ?P   h?   ?T   h?   ?\   f??`   f?1^??PTR"   ?7  ??dP??PQV?l   _?$f?f?f?f?f??$f?f?f?f?f?f?   ??7  ???   ???   9t??X   ?tU??Q???t& ??    ?   ?g7  U???   ???   )?S??t??p   ?t 
?PQ??]???'    U?SW?7  ????    u'??\   ?t??x   ?5??   ?]???'    U?]W?$U?S?4???6  e?   ?E1E?j?EPj _???EP`??Ue3   t 
  ?]U?S?$??W6  e?   ?E1????E????E????E????E???E?j ??Pw??gfff???)???)?D??E??gfff???)???)?D??E?uu\??t????P????>Pu??HPJ????>Pu???P.????>Pu??P????>Pu???P????>P??H?P????>P????P????>P??H?P?????>P???P?????>P??H?Py????>Pu???P]????>Pu??<PA????>Pu??|P%????>Pu???P	????Pg???Ee3   tr	  ?]U?S?1?3  e?   ?E1??d   ? j jj Pl???h   ? j jj PU??j???Ee3   t	  ?]U?S??~3  e?   ?E1E???pP;???E?}t&?}t ????P???P???P??}t?}u??E?Ue3   tt  ?]U?S?T3?2  e?   ?E1E?E?E?????P???E??}?t&?}?t ????P???P???Pj??}?t?}?u??E??j i??P??}?u?}?t?}?ui?}?uc 
?gfff???)??E??U??)??E???Q???)??E??E?kd)??E?   ?}?u?}?t?}?uf?}?u`???Q???)??E??E?kd)??E?f?gfff???)??E??U??)??E?X2??Q???)??E??E?kd)??E???Q???)??E??E?kd)??E????E?E?    :?U??E?? ??P???U??E?? <.u 
?j ???E??u?8???E?9w??}?u?E?;E?|?}??  ?E?;E??  ????P??PR????|   ?d??|   ??|   ????RP??7P#?????RP??XP 
???hq  Z???E????P???P????E?} u#????P???P???ji/??uj,?EP???hp  uj y????P??ui?_?}?u?E?;E??}?uK?E?;E?}C????P??XP2??|       ??|   ????RP??7P???Me3 
   t?  ?]U?S?B??.  e?   ?E1?j '??E?j ??E????P???P??????P???juj g??u	??P?E  ????PL??juj *??u??P?E  ???Pu???P???Pu???P???P???Pu???P???P???P?0??|   ?P?? 
P????Ee3   t3  ?]U?S???-  e?   ?E1???$P?????P????P???P???P???P<????P???P???P??P?????P???P???P???P??P? ???$PH????+P6?????P???P???P???P??DP?? ????P???P???P???P??|Pj? ????P???P???PJ????$P????Ee3   t?  ?]U?S?r?.,  e?   ?E1E???P?@?E?}t&?}t ????P???P???P???}t?}u??E?Ue3   t$  ?]?L$?qU?SQ???+  e?   ?E1??jI3?t?t	?1??       P ????P???P???P????   ?u???Ee3   t?   ?eY[]?af?f?f??UWVS7?*  ??l$(??g?? )?t%1??    ?Ut$,t$,?? ??9u?[^_]?v f?f?f?f?f?f?f?S??*  ??S???o*  ?[     [1;33m [1;36m [1;32m [1;31m [1;34m  
???????????????????????????????????????????????????????????????????????????????????? [1;35m   %s      ______                                       %s|xxx| 
   %s     /|_||_\`.__                                   %s| F | 
   %s    (   _    _ _\                                  %s|xxx| 
   %s*** =`-(_)--(_)-'                                  %s| I | 
                                                      %s|xxx| 
                                                    %s| N | 
                                                    %s| I | 
 %s             _-_-  _/\______\__                    %s| S | 
   %s           _-_-__ / ,-. -|-  ,-.`-.                %s|xxx| 
   %s            _-_- `( o )----( o )-'                 %s| H | 
   %s                   `-'      `-'                    %s|xxx| 
   ????????????????????????????????????????????????????????????????????????????????????     
 
Select race: 
1. Highway battle 
2. Circuit 
>   
%s[-] Invalid choice!%s 
     
 
Select car: 
1. ??? 
2. ????? 
>   
[*] Waiting for the race to finish...  %s 
 
[+] You won the race!! You get 100 coins! 
 [+] Current coins: [%d]%s 
 [0m   
[!] Do you have anything to say to the press after your big victory? 
> %s r flag.txt   %s[-] Could not open flag.txt. Please contact the creator. 
  
[3mThe Man, the Myth, the Legend! The grand winner of the race wants the whole world to know this: [0m   %s 
 
[-] You lost the race and all your coins! 
  
%sInsert your data: 
 
 Name:  Nickname:   
%s[+] Welcome [%s%s%s]! 
 
%s[*] Your name is [%s%s%s] but everybody calls you.. [%s%s%s]!  
[*] Current coins: [%d] 
  
?????????????????????????????????????????????????????????????????????????????????  
Car #1 stats:   ???  
[Speed]:        %s??????%s??%s 
     
[Acceleration]: %s??????%s????%s 
  
[Handling]:     %s??????%s??????%s????%s 
  
Car #2 stats:   ?????  
[Speed]:        %s??????%s??????%s??????%s 
    
[Acceleration]: %s??????%s??????%s????%s 
  
[Handling]:     %s????%s 
  
1. Car info 
2. Car selection 
>     ;x      ?   ?   Q   ?     ?8  \  ?  V?    e  ?   t?l  ???         zR |?         (@   FJ 
tx ?;*2$"   @   D           T   }\    A?B 
D?T     x   j   A?B 
D?b    ?   o    A?B 
D?g        F?    A?B 
D??        ?   A?B 
D?      ~P   A?B 
D?H    ,  ?   A?B 
D?x    P  ?    A?B 
D?? 0   t  q?    D Gu Duxu|? AACH   ?  ]    A?A?A?A?N i$A(D,D0M GAAAA                        AN                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         p              
        >           >        o     |        
   +   
                ?                      0     P               o  o  o   o  o                                           >          V  f  v                      &  6  F  V  f  v                                @  E      GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0                        T            h                                                |                                    0       	             
             
     @                    
                             (            |                        >            >            >            ?             @            @                                                         !   p        7   @       F   >        m           y   >                                                            >            >           >            |            ?                              (             8              T        /   @         j             |               @                                    R                                                              "     )	  j                 -   @        :             J              Y             i  @       v  ,                                                           ]                              \                               &                @        3          9  (       @                     I             [  @        g         l  @       r           @                      @                               
 D    P       
  o      crtstuff.c deregister_tm_clones __do_global_dtors_aux completed.7283 __do_global_dtors_aux_fini_array_entry frame_dummy __frame_dummy_init_array_entry racecar.c __FRAME_END__ __init_array_end _DYNAMIC __init_array_start __GNU_EH_FRAME_HDR _GLOBAL_OFFSET_TABLE_ __libc_csu_fini strcmp@@GLIBC_2.0 read@@GLIBC_2.0 _ITM_deregisterTMCloneTable __x86.get_pc_thunk.bx printf@@GLIBC_2.0 fgets@@GLIBC_2.0 _edata time@@GLIBC_2.0 sleep@@GLIBC_2.0 alarm@@GLIBC_2.0 __stack_chk_fail@@GLIBC_2.4 __x86.get_pc_thunk.dx __cxa_finalize@@GLIBC_2.1.3 banner malloc@@GLIBC_2.0 __data_start puts@@GLIBC_2.0 __gmon_start__ exit@@GLIBC_2.0 __dso_handle _IO_stdin_used race_type srand@@GLIBC_2.0 strlen@@GLIBC_2.0 __libc_start_main@@GLIBC_2.0 __libc_csu_init car_menu stdin@@GLIBC_2.0 read_int setvbuf@@GLIBC_2.0 fopen@@GLIBC_2.1 putchar@@GLIBC_2.0 _fp_hw car_info stdout@@GLIBC_2.0 __bss_start main coins __stack_chk_fail_local check atoi@@GLIBC_2.0 __TMC_END__ _ITM_registerTMCloneTable setup  .symtab .strtab .shstrtab .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt.got .text .fini .rodata .eh_frame_hdr .eh_frame .init_array .fini_array .dynamic .data .bss .comment                                                   T  T                    #         h  h                     1             $                  D   o                        N    
                        V         |  |  +                 ^   o       6                k   o       P                z   	      0  0  P                   	   B                                   #                           @  @  @                                                            
                                                         (  (  Q                          |  |  |                               $                          >  .                            >  .                            >  .                           ?  /  t                           @   0                             @  0                          0       0  )                               <0        +         	              <6                                 :                    

Did this file decode correctly?

Original Code

ELF              ?  4   ;      4   	 (      4   4   4                  T  T  T                                            ?.  ?>  ?>  ?  ?           ?.  ?>  ?>                 h  h  h  D   D         Ptd|  |  |  |   |         Qtd                          Rtd?.  ?>  ?>  t  t        /lib/ld-linux.so.2           GNU                        GNU c7wCi.?l%?<                       ?K                ?              W                             C              J              0              u              j              ?              {           "   c              +                                                        P              ?              =              ?              %              5                             \              p                            
   ,        libc.so.6 _IO_stdin_used exit srand fopen puts time putchar stdin printf fgets strlen read stdout malloc alarm atoi sleep __cxa_finalize setvbuf strcmp __libc_start_main __stack_chk_fail GLIBC_2.1 GLIBC_2.1.3 GLIBC_2.4 GLIBC_2.0 _ITM_deregisterTMCloneTable __gmon_start__ _ITM_registerTMCloneTable                                               ii
   ?      si	         ii
         ii
          ?>     ?>     ?     @     ?    ?  
  ?  
  ?    ?    ?    ??    ??    ??    ??    ??    ??    ??    ??  	  ??  
  ??    ?    ?    ?    ?    ?    ?    ?    ?    ?    S??  ?k9  ??`   ?tR  ?[     ?   ?       ?   h    ?   h   ?   h   ?   h   ??   h    ??    h(   ??$   h0   ??(   h8   p?,   h@   `?0   hH   P?4   hP   @?8   hX   0?<   h`    ?@   hh   ?D   hp    ?H   hx   ?L   h?   ?P   h?   ?T   h?   ?\   f??`   f?1^??PTR"   ?7  ??dP??PQV?l   _?$f?f?f?f?f??$f?f?f?f?f?f?   ??7  ???   ???   9t??X   ?tU??Q???t& ??    ?   ?g7  U???   ???   )?S??t??p   ?t
?PQ??]???'    U?SW?7  ????    u'??\   ?t??x   ?5??   ?]???'    U?]W?$U?S?4???6  e?   ?E1E?j?EPj _???EP`??Ue3   t
  ?]U?S?$??W6  e?   ?E1????E????E????E????E???E?j ??Pw??gfff???)???)?D??E??gfff???)???)?D??E?uu\??t????P????>Pu??HPJ????>Pu???P.????>Pu??P????>Pu???P????>P??H?P????>P????P????>P??H?P?????>P???P?????>P??H?Py????>Pu???P]????>Pu??<PA????>Pu??|P%????>Pu???P	????Pg???Ee3   tr	  ?]U?S?1?3  e?   ?E1??d   ? j jj Pl???h   ? j jj PU??j???Ee3   t	  ?]U?S??~3  e?   ?E1E???pP;???E?}t&?}t ????P???P???P??}t?}u??E?Ue3   tt  ?]U?S?T3?2  e?   ?E1E?E?E?????P???E??}?t&?}?t ????P???P???Pj??}?t?}?u??E??j i??P??}?u?}?t?}?ui?}?uc
?gfff???)??E??U??)??E???Q???)??E??E?kd)??E?   ?}?u?}?t?}?uf?}?u`???Q???)??E??E?kd)??E?f?gfff???)??E??U??)??E?X2??Q???)??E??E?kd)??E???Q???)??E??E?kd)??E????E?E?    :?U??E?? ??P???U??E?? <.u
?j ???E??u?8???E?9w??}?u?E?;E?|?}??  ?E?;E??  ????P??PR????|   ?d??|   ??|   ????RP??7P#?????RP??XP
???hq  Z???E????P???P????E?} u#????P???P???ji/??uj,?EP???hp  uj y????P??ui?_?}?u?E?;E??}?uK?E?;E?}C????P??XP2??|       ??|   ????RP??7P???Me3
   t?  ?]U?S?B??.  e?   ?E1?j '??E?j ??E????P???P??????P???juj g??u	??P?E  ????PL??juj *??u??P?E  ???Pu???P???Pu???P???P???Pu???P???P???P?0??|   ?P??
P????Ee3   t3  ?]U?S???-  e?   ?E1???$P?????P????P???P???P???P<????P???P???P??P?????P???P???P???P??P? ???$PH????+P6?????P???P???P???P??DP?? ????P???P???P???P??|Pj? ????P???P???PJ????$P????Ee3   t?  ?]U?S?r?.,  e?   ?E1E???P?@?E?}t&?}t ????P???P???P???}t?}u??E?Ue3   t$  ?]?L$?qU?SQ???+  e?   ?E1??jI3?t?t	?1??       P ????P???P???P????   ?u???Ee3   t?   ?eY[]?af?f?f??UWVS7?*  ??l$(??g?? )?t%1??    ?Ut$,t$,?? ??9u?[^_]?v f?f?f?f?f?f?f?S??*  ??S???o*  ?[     [1;33m [1;36m [1;32m [1;31m [1;34m 
???????????????????????????????????????????????????????????????????????????????????? [1;35m   %s      ______                                       %s|xxx|
   %s     /|_||_\`.__                                   %s| F |
   %s    (   _    _ _\                                  %s|xxx|
   %s*** =`-(_)--(_)-'                                  %s| I |
                                                      %s|xxx|
                                                    %s| N |
                                                    %s| I |
 %s             _-_-  _/\______\__                    %s| S |
   %s           _-_-__ / ,-. -|-  ,-.`-.                %s|xxx|
   %s            _-_- `( o )----( o )-'                 %s| H |
   %s                   `-'      `-'                    %s|xxx|
   ????????????????????????????????????????????????????????????????????????????????????    

Select race:
1. Highway battle
2. Circuit
>  
%s[-] Invalid choice!%s
    

Select car:
1. ???
2. ?????
>  
[*] Waiting for the race to finish...  %s

[+] You won the race!! You get 100 coins!
 [+] Current coins: [%d]%s
 [0m  
[!] Do you have anything to say to the press after your big victory?
> %s r flag.txt   %s[-] Could not open flag.txt. Please contact the creator.
 
[3mThe Man, the Myth, the Legend! The grand winner of the race wants the whole world to know this: [0m   %s

[-] You lost the race and all your coins!
 
%sInsert your data:

 Name:  Nickname:  
%s[+] Welcome [%s%s%s]!

%s[*] Your name is [%s%s%s] but everybody calls you.. [%s%s%s]! 
[*] Current coins: [%d]
 
????????????????????????????????????????????????????????????????????????????????? 
Car #1 stats:   ??? 
[Speed]:        %s??????%s??%s
    
[Acceleration]: %s??????%s????%s
 
[Handling]:     %s??????%s??????%s????%s
 
Car #2 stats:   ????? 
[Speed]:        %s??????%s??????%s??????%s
   
[Acceleration]: %s??????%s??????%s????%s
 
[Handling]:     %s????%s
 
1. Car info
2. Car selection
>     ;x      ?   ?   Q   ?     ?8  \  ?  V?    e  ?   t?l  ???         zR |?         (@   FJ
tx ?;*2$"   @   D           T   }\    A?B
D?T     x   j   A?B
D?b    ?   o    A?B
D?g        F?    A?B
D??        ?   A?B
D?      ~P   A?B
D?H    ,  ?   A?B
D?x    P  ?    A?B
D?? 0   t  q?    D Gu Duxu|? AACH   ?  ]    A?A?A?A?N i$A(D,D0M GAAAA                        AN                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         p             
        >           >        o     |       
   +  
                ?                      0     P               o  o  o   o  o                                           >          V  f  v                      &  6  F  V  f  v                                @  E      GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0                        T            h                                                |                                    0       	            
            
     @                   
                             (            |                        >            >            >            ?             @            @                                                         !   p        7   @       F   >        m           y   >                                                            >            >           >            |            ?                              (             8              T        /   @         j             |               @                                    R                                                              "     )	  j                 -   @        :             J              Y             i  @       v  ,                                                           ]                              \                               &                @        3          9  (       @                     I             [  @        g         l  @       r           @                      @                              
 D    P      
  o      crtstuff.c deregister_tm_clones __do_global_dtors_aux completed.7283 __do_global_dtors_aux_fini_array_entry frame_dummy __frame_dummy_init_array_entry racecar.c __FRAME_END__ __init_array_end _DYNAMIC __init_array_start __GNU_EH_FRAME_HDR _GLOBAL_OFFSET_TABLE_ __libc_csu_fini strcmp@@GLIBC_2.0 read@@GLIBC_2.0 _ITM_deregisterTMCloneTable __x86.get_pc_thunk.bx printf@@GLIBC_2.0 fgets@@GLIBC_2.0 _edata time@@GLIBC_2.0 sleep@@GLIBC_2.0 alarm@@GLIBC_2.0 __stack_chk_fail@@GLIBC_2.4 __x86.get_pc_thunk.dx __cxa_finalize@@GLIBC_2.1.3 banner malloc@@GLIBC_2.0 __data_start puts@@GLIBC_2.0 __gmon_start__ exit@@GLIBC_2.0 __dso_handle _IO_stdin_used race_type srand@@GLIBC_2.0 strlen@@GLIBC_2.0 __libc_start_main@@GLIBC_2.0 __libc_csu_init car_menu stdin@@GLIBC_2.0 read_int setvbuf@@GLIBC_2.0 fopen@@GLIBC_2.1 putchar@@GLIBC_2.0 _fp_hw car_info stdout@@GLIBC_2.0 __bss_start main coins __stack_chk_fail_local check atoi@@GLIBC_2.0 __TMC_END__ _ITM_registerTMCloneTable setup  .symtab .strtab .shstrtab .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt.got .text .fini .rodata .eh_frame_hdr .eh_frame .init_array .fini_array .dynamic .data .bss .comment                                                   T  T                    #         h  h                     1             $                  D   o                        N   
                        V         |  |  +                 ^   o       6                k   o       P                z   	      0  0  P                   	   B                                   #                           @  @  @                                                           
                                                         (  (  Q                          |  |  |                               $                          >  .                            >  .                            >  .                           ?  /  t                           @   0                             @  0                          0       0  )                               <0        +         	              <6                                 :                    

Function Calls

None

Variables

None

Stats

MD5 9a6cd52844b0ebc316a0e0c8ae8e4df6
Eval Count 0
Decode Time 65 ms