$ ctf42

RollTheDice

Pwn weight 23.95 No technique tags yet.
Difficulty Not rated yet

ELF>@ @@2@8 @@@@��888 �� � �� �� � ��TTTDDP�td888TTQ�tdR�td�� � 00/lib64/ld-linux-x86-64.so.2GNU GNU����m\ �ȱ�3��i%n%5i�@ BE���|�qX  ;� ^%CI�P�V� Qy�  � j"e��$ ��$ ��$ libc.so.6exitfopen__isoc99_scanfputs__stack_chk_failputcharstdinprintffgetsgetcharstdoutrand__cxa_finalizesetvbufstrcmp__libc_start_main_edata__bss_start_end_ITM_deregisterTMCloneTablegmon_start_Jv_RegisterClasses_ITM_registerTMCloneTableGLIBC_2.7GLIBC_2.4GLIBC_2.2.5ii  ii ui � @ �  � � � � � �  � � �   ( 0 8  @  H  P  X h p x � H��H�� H��t�H����5� �%� @�%� h������%� h������%� h������%� h�����%� h�����%� h�����%� h�����%� h�p����%� h�����%z h �P����%r h �@����%j h �0����%b h � ����%Z h �����%� f��%� f�1�I��^H��H���PTL�zH� H�=��'����fDH�=I H�I UH)�H��H��vH�6 H��t ]��fD]�@f.�H�=  H�5 UH)�H��H��H��H��?H�H��tH� H��t ]��f�]�@f.��=� u'H�=� UH��t H�=� �����H���]�� ��@f.�H�=� H�?u �^���fDH�� H��t�UH����]�@���UH��H�ĀdH�%(H�E�1�H�5ZH�=U�V���H�E�H�}�uH�=G������U���H�U�H�E��dH�������H�E�H�������H�E�dH3%(t������UH��H��� ����������������)‰����)��ʍB�E��}����E�H��H���Hc�H��H���H�=������pH�=�������������XH�=�������JH�7 ���tH�=�������.H� �H� �H�=������ H�=��������UH��H���dH�%(H�E�1�H�YCHHZZHHH�E�H�MSHWIH�E�H�U��� H���H�H���H��H�E�H��(���H�=���>���H��0���H�Ǹ�z���H�U�H��0���H��H���D�����uH�N �H�=�������dH�=�������H��0���H�Ǹ������ ����H� ���tH�=�����H�� ��Q���H�=��t���H�� �����t ���H�E�dH3%(t�T�����UH��H��H�=���I���H�E�H��H�=�������l���� ������E���t��t�>��|����IH�A ���tH�=J������-H�% �������H�=c����H� ��H�� ���t ��6�����:������UH��H�� H����H�������H�� H����H������H�� H��H�=���8����������]��AWAVA��AUATL�%^ UH�-^ SI��I��L)�H��H������H��t 1��L��L��D��A��H��H9�u�H��[]A\A]A^A_Ðf.���H��H���rflag.txtSorry, flag doesn't exist.Hurray! You got a 1Congrats! You won a flag!Ah! You just missed itSorry, you can avail this offer only once!You get another chance to enter the coupon!Did you tamper with the dice? This number should not be there!����Z���h���h���h�����������Enter the coupon code: Coupon applied successfully!Invalid coupon code! You entered: You get one more chance to enter the coupon!No more chances left! Enter your choice: %dSorry, but you only get one chance to enter the coupon code!It's too sad to see you go :(%s;T �������p8�����������������(����H(���h�����zRx �����zRx �$`����FJ w�?;*3$"Dh����A�C ~ d�����A�C � �����KA�C F ������A�C � �_���rA�C m D�����eB�B�E �B(�H0�H8�M@r8A0A(B BBB,����@   �� � ���o�8� +  P��� ���o���o����o���od���o� V f v � � � � � � � �   & � Welcome To The Festive Lottery!

  1. Roll the dice!
  2. Enter a coupon code
  3. ExitGCC: (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 201606098Tt��8d� � �  @ 0 @ ��8�� � � � �  � �$ �� � p � . D�$ S� z@ �� �������� ���� �� �� �8 �,A ] � q���$ �� &���$ ����$ ��� 0E T� a��p`e�p ���$ @ *��$ ��$ ��r���$ ��� K�� �� �'�$ 3 M"z  i{�$ ��crtstuff.cJCR_LISTderegister_tm_clones__do_global_dtors_auxcompleted.7594__do_global_dtors_aux_fini_array_entryframe_dummy__frame_dummy_init_array_enymain.cFRAMEND____REND____init_array_ndYNAMIC__itrray_stt__GNU_EH_FRAME_HDRGLOBAL_OFFSET_TABLE__libc_csu_finiputchar@@GLIBC_2.2.5_ITM_deregisterTMCloneTablestdout@@GLIBC_2.2.5puts@@GLIBC_2.2.5stdin@@GLIBC_2.2.5_edatamenugot_6__stack_chk_fail@@GLIBC_2.4printf@@GLIBC_2.2.5quit__libc_start_main@@GLIBC_2.2.5fgets@@GLIBC_2.2.5__data_startstrcmp@@GLIBC_2.2.5getchar@@GLIBC_2.2.5gmon_start__dso_handle_IO_stdin_used__libc_csu_initwin__bss_startmainsetvbuf@@GLIBC_2.2.5another_chancefopen@@GLIBC_2.2.5enter_couponroll_the_dice_Jv_RegisterClasses__isoc99_scanf@@GLIBC_2.7exit@@GLIBC_2.2.5TMC_END_ITM_registerTMCloneTable__cxa_finalize@@GLIBC_2.2.5rand@@GLIBC_2.2.5successfullchoose_option.symtab.strtab.shstrtab.interp.note.ABI-tag.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.got.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.jcr.dynamic.got.plt.data.bss.comment88#TT 1tt$D���o��0N ��pV88+^���odd4k���o��@z����B��P�  �@ @ ��0 0 �@ @ ���� ���V�88T���t�� ��� ��� ��� ���� �8� ��� �  ��$ �$0�$5-1 �$�/ �-�

Writeups

Official

No official writeup linked.

Community

No community writeups yet. Solved it? Share how.

Log in to add a community writeup.