HACKCTF - 나는 해귀다
2020. 7. 29. 08:40ㆍCTF's Write-up
해당 문제는 다음과 같이 첨부파일 하나를 주고, 이를 풀어보면
다음과 같은 사진 하나를 준다.
hex이야기가 나오니 ihex를 통해 hex를 봐보면
iend로 png파일 하나가 끝난 후에 더 코드가 있는 것을 보니 뒷부분만 추출해서 뽑아보았다.
iend가 있어야하는데 거꾸로 된거를 봐서 뒤집어줘야겠다고 생각했다.
다만 고려해야할것이 그냥 뒤집으면 4321 --> 1234 가 되는데 hex특징상 4321 --> 2143 이 되어야하기에 그부분을 고려해서 코딩해줬다.
1
2
3
4
5
6
7
8
9
10
11
12
13
|
a = "82826042 AE444E45 49000000 001DC6AE DA679F36 2C0FFF7F EFFD0400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00944 0000A009 440000A0 09440000 A0094400 00A00895 F0027923 04BFAF3A 92F8C4FE E8F7F0A0 0873E000 FFD7FD3A 4CDFC4C2 BF850049 3F80038A 1FDBD007 CDB3E024 23FC0BB9 207648BF DF6C5FED CAD36C16 FF96E17D F17F0438 5FF6D868 DF064764 7F357DCC 785BC5C3 7FCDD007 E7C3C903 B926FEAE E9B60B7F CB70BEF8 BFC16BFE BF8D5BEB 937BFDBC 7A3FD5F7 EDFCE78F 23B23F9A BEE63C29 F763A803 05BF240E 3C9FE8BA 6D82DFF2 DC2FBE2F F4011308 3F37E7EE FD7BA79D C384B5F9 1D91FDD3 F42AF8F7 9960DFBC 5E7C2DE0 7EB40189 F1AFE04D DF9EF1FD EABF683B E1401127 D4F1FE39 FB5E5C5D 0F9F97B2 1FB75F83 8FF9E277 B467F018 1F60BDFB 57F401D9 F544FBBE 399E6AB8 14010CC9 7EFB3AFD 78317E4E 7F35017C 20CEA008 154ADDC8 41352780 B1892663 C1BEBD87 3B1E77CC D5D687CC EA9F0280 275F498A FE754B13 394A92D5 35B55BBF 773BB5E8 35BB2FA1 D757B2F4 65B1DC31 75BBAE06 26D97EEF 1DB95E58 79BBDCEA 7F7E8E9E F7B8EC9E 6BE365F5 87C747A9 E2593A9D D73F5D79 4F7A6DB4 FEEEE27C 0BC6196D E48EB687 CB9F5E31 E5BCFAC2 F17B6DC2 F59CCAEC C5D1AA62 FAA78758 D1C06EBA 46EA075C A72AB33D 69728B75 DA58DC17 5E2A50CB D3A34B5B B2F103FF CB95E5C5 D46EFCD7 8B6E5410 6EE87BB9 E2BAC59A FDF15EE4 7635F7E6 762ED43E D7D35A60 E82CCD95 EEED3565 2FBED7D2 3C3E0A17 ECA0FAAF 7F74DB0F B8CF6663 6D4CB4BE B17267BF 377C7E4E C32FE5C5 5564557E DC556B9B 7A36CE94 5D211FF0 7FD262BF 9D52C4F1 72B4754D 6DDBCBA7 B2C7CF37 51EBF8F1 D1A0E5EC 1E070FB5 6686F5E1 FE34762F 7B8EC9E6 BE365F59 D6FB736B 491F4BDE 53DE9B6B 3FD97361 968CAC43 AB25A36B 0D54D6B7 FBEE78D6 0EE9F5C5 F6DBC5EF 3995A986 DB9E15A9 8E59DBB9 CCD97C33 1E4D78F3 166A7DAD 9CF5CB13 6DDEB9C7 3BC57DBE 6591DE97 DF9A36FC 94FE86E3 E1F9BEB8 3D15BDBD F8BF748E 0F82C5FB 2CDBD6F8 EB3B33C7 A296E3AE 09BBDF20 F839D90C 7E6F7583 E5DFAEEA 3DFBF45F 823F83FE 9315FCEA 9626E195 25A836D0 54B6B9F7 DA8D5A9D A9ACCFFA 2F6F2E06 0FB56691 CA29FBA8 E85E1310 395ECBEB 3ADF6E6A 81D8D8BD BBC77953 7A6DA4FE EEE9BD92 FD770D7C C45B675A C11C6FD7 A9F5C5F6 DBA3CB5E 3BCE656A 68D13C2B 537AB1B7 73D982DF 5E2C9AF4 E098FE6A 766BEB91 FDDB36D0 FE6BFBC9 D7CB23BF 2FBF3741 DC79BB3B F5CCC3E4 34FED94D ECCCAEA1 E9705EBD 63F45F25 5339D99C 336DB5FA F978BE3F AEB62C54 F8FE1676 2C746FEF B0370E80 317FD262 BF9D52C4 C1D28B5D 5414FE5C 571E571E A77E78B9 BCB81DDE D5E5E8ED 9EF71D93 CD7C6CBE B3ADF6E6 B41EC6D2 AF4DE54D E9B673FD 968CB771 DE2E1AA9 C45B695A AED8DFAF 53EB8BDC 32BBC95B 9D6732B7 346E39BE A9C1D834 60F627C1 6AF6A6E7 8263FA2B D8F7B36E 362A9A87 BE323B76 FC3333E2 AD6FD793 0A3C3754 4E5D751F 4A4E940E 6D76792E 9B4C955B 03A878F7 546C68A7 062EFEA3 17C1DF1C 5C58FE81 8F47CB75 6BCDBDBB FDDD09BF 680245F4 98AFE754 B135D4B5 1D5586B7 8497D58A F5A8F7FB 1EFFEFEF D1B70541 AAAE84DA 3C0F6F6A CD7F1FAF 78E0CDE1 6DD475CF 7B8EC9E6 BE365F59 D6FB737A 923E6727 7D794F7A 6D94FEEE EE78BEF6 A457670F 1146D0AE A8178C45 A9F5C5FA A7734DB3 490FEA4E 656E68D1 35C3C389 B2B07516 91DA8197 827AFD2D BBB9C786 DB5FF1F7 F5A60976 BC79B4BA 1BEE8A8F E863E11A F96828FD 55D0DCDE 6C624BB2 B56EB97E 5B345FA3 1F28ED15 4DEA68F0 55BBD759 1D877E19 8F9D5A34 83C3C5F1 A1336D72 FD72C30E 0CAD6FAE A2D5356E 31F72ABA 80A5C14B 7AC650F1 3FAB6D47 EA36F92F AF32161A B87BE826 EAF727CB 2F3BBCAB A2CC26FC A8C7EEF2 97A8FD87 41B6BBFF 5AB75D36 D6B27FAB E5B479FB AAF9DCD5 6FD66BAD 004ABE93 15FCE743 D8726FA8 29689FA4 B9785074 69743389 F7BEE06B 6B966D6A BFEB9184 57FFAB17 AD3BA8E8 9EF71D93 CD7C6CBE BAA7670E 95EE0583 8FA8EF29 EF4DB29F 170EB87E 5C1C93A9 F5C5E229 4DDAB331 B00EA7D7 17AB4A48 793CE732 B1B28EA8 D874A78F EF2E8A50 CB7755BB 9FDFE1F6 97A7B6CF 3EF4B8F4 C47EEB34 B173941C BB5A227E 0EAFAEFA 4DEE6F86 7AEDE6AB 30723BD9 F4A60D27 8270EDA7 064DADAE 0F17746A C4EAE082 F9B1D97F 3B3FEFFD 2383E0A3 3EB377CB 98D8DD06 0DE6AD46 2D44E67A BD45D2EF D838B8F5 1CF62FE6 AB75DB4D 3C63FEB7 9DECEEF4 D60E520F F1EDA1FC 7F95DBA0 0E9498AF E7A0C4EA 328B583D FA8F5DB7 E9A9C7DA 9F3AEE07 8C5E85BE A62E2B95 1DF3BDC7 64F35F1B 2FACEB7D B9F6A8F0 5651F44D E53DE9B6 33EAD468 DADD5A9F 3D99E55A 805C3ABD 8DFBA5ED 41F63B39 21ECF39E 31FDA361 CA5C7779 755FB59C 2CEE7574 D25C7D2E 3D8F2AD4 C799DB58 85D67225 95CAF52F 758B758C 7E91DBF7 D1BED1D8 9EC68FCB B9FBD2E9 1E2FC153 7A81CCEC ED4A6EDB 357D5D1A DE516EBF 16B31E3C BAECFFEB EBCB56EB 9775EFF8 F9AB570F D553D556 DCC5E3DB 9F9166D0 044A4C57 F381EDE0 F327F3F2 A5F66A79 AB36D797 03461B06 B0716917 5476CE07 8EB9E4B8 DAAFAD56 FB73CFBB 3F6A26F2 86F59D1D 7360B13B AB734AB1 38B6B6AE 39BC11D1 D90FF61B 86EDBF37 4A6E6E5D 296CCAC2 F46C3A73 5388BBB5 9C28F275 74DD747D 2E3D0F2A DCCF55B3 D9FB66F6 E5987F36 626FFBF9 0FEFC03B 4BD57F7E B5E6E91D 91FD58AB 2BF7D1BA 5B07D5ED F5E4FDE9 5B73F636 7E97055D EF683F37 9C5D9B57 D5D4CDA3 FEA9510E A791D42F 578ABB3E 8F95E3E4 ED7374DA 3B875F3B 9F4BA78D 5EBA0091 498AFE71 7F5B738B 5D535B6D 9DBEE72E CBD5B717 7761FD0C FFC7C0DD 77E9389F 01754764 F117E7D0 1DFB9ED6 DF6E7EAB 9E16F1E4 595E50DE B3A3AE61 2898A5B9 8BCF871C 59B6A22C 30D4B6DB B9CC6FF7 AA7D3CB4 B2EF996C CAC2F46C 3A735378 3DDBCEF1 6A74F6DC 77BD2E3F 3985E657 8CEFD70E EB0BBB64 9955734C 9ABDBF5C B6A476FD F5695B57 3D5CBE1D A9B0F3B9 8B86A57E 0ABBDED0 7E62CBF7 D3E5A53A 37CDC0DC DE39F1B0 A5D0CA57 EB46D756 9B4E8FCF 47EEF6FF 7DAAA7AA B9EABE77 343D01DF 997C8F42 E9F61F9E FDAABEFF F7F4D3F9 72C5BE5D 011FEDBD 53B938F3 BD95C29D 18EFF983 C2B178EF 1D73FB4E DD5A87B7 DB9E8DFD BD595759 3797AF59 D1D73094 4C52DCC3 E9FAFF6D 5D9D2879 3A0F6DBB 9FAF5E5C A3B75B87 2D2CBBE6 7397AA68 D874E6A6 D4ED70EA 13CFD539 BA5BF4BD 2E3CEEEB E66970CE FD60566C BA69BE5E 36B7EBA4 B572DA91 DBF7D5A5 6D5CF97B 7E3B5B61 E773633F 7CF05D3C 5D6AFD39 ABA559A3 5A396945 F2F26BAE FFE529AD ADC465D8 CDF0F596 A8EBD6F1 7AB9BFBE DF6D1D83 AF9DCC3E D1C33368 0EF997D2 62BF9CDF CECCE12D 4776BD48 F176F642 BDA4CF2E 0755DC8B 7684DD47 5CEC7B16 4D5DFEEF CDEBA6D9 347974BF 2A9F1ADC DE5EBD67 475CC251 3BAB7360 BFB2297E 1DABE72E 3DCF9774 C3A91C37 6C90FA7C 2D4B6656 17A361D3 9A9B13AE B5D5E737 4CE2EEFF 7F2D2E3C F66A83A6 A8E17579 1967DD6E F978DADF AC8AD5AF 3A91DD5E 535F6AC7 12BF36D5 CDD535C6 EDF01BFD FCF9FE5E 877B7BAE 6C65A96D BAD6EEF2 E0ABBE03 EE53A0EA C786EDCB 4A6FD4D1 ABEC68D8 52A11E4E BDD717EB 46EFD43D 7EDAF97A B1777F77 DBEB7F6A B6E6C368 C9AEEC39 DA2E802A 5262BF9E A3137D4B F1D569CD 8375DDB9 DD15CF65 7E781FAF 3617D875 57E03E9D F5838EEC 529B5ED8 2EE93DBD ABCB6AEF 0CC4DE2D 6F1ACAF2 F5EB3A3A E612F9F0 4F4CDF1B 50F8CB53 1964CFAE CF54EE64 87B3DB66 57E7F138 7133A9AB 374F95F1 B29C9D13 D0C76C8F 2ADCCE2C 1B87AF6F 2D3AAC3F 2F1B5BF5 9FAAE1B5 23B76F88 B56D5CFE 33479DAD 1972B0ED 8E5E39AB A919BBB7 7797054D F018F29D 06509FEA CD8B5E6E 6C2CD87A F3AAEA5B 755E2E69 863E91EB 8BCB1BD5 BDE3F37D 65F77B5F 3B9BF346 2366F0D8 3E7597A0 09909C56 C1D67F66 ED3B57A6 6B68F962 EFF989F6 E3A85FF4 EBFEADC5 F5C0E1B1 FC9EDBE5 D4CCEA77 8C1C0F9D 1BD6ADB8 9DF2DF30 70F76E9F 07636F56 5797AF59 D1D730EB 13BAB736 5C6CE586 AA15C38C B8E5B774 FAE4FD53 8DBB6B4E ADB2B523 99599E7E FAAEC17F 6CBBAE1A 30356BAA 4C3D33A1 4FD8DD55 6CE52BBC 3B26CB8F AEA8D97D 6B7EB64B 56EDA91D 91674A73 C1307576 D61C3DB7 3EED3BBD 650D41AB 05AFD70B CB297BF5 7617CB97 BEEDE5C1 537E29C6 D7DC6CE9 46681CDB B5DA73C9 BB56F20F 371197AF 1FD5CD46 AB3BB562 9AF9677A B1797F71 96A6E187 1B06BC6A 3757E68C 9A6A70F8 79165A00 91378D47 79CE96CE E3D7763B 4A734C1F F9D98875 C0C6DB65 4E1D49BB ADFB474B 7D60E5B1 03FA44C6 C23D61F9 ECD95A47 576D9C1D 8DE3595E 5EBD6747 5CC3AC18 8B5E746E 39898F9E 19DA554C 65F66370 67D7B657 0DF754E3 7FAFB6EA 3B8DD399 95C9CDCF E937DC8B C75B0DEE 640FFAE5 6B57EACF ABFDE24F 2DDD1F38 DAF1989C 2FF60965 DBD5E3A8 E62D5993 D62DD6AD A91DBB7E 15A9BB6A 8E3EEB09 ED5945AF D6D83BE8 2A8F82EE F90C4DFD 294D039B 323FB4C7 5376CDE4 1E6D7529 DFBFF5CD 75B36F3E FCD7BC7F 57B43DB7 8EFED5A8 CC4F546A 38BB37A5 5B43B368 022427B8 B0729E43 46DCDD41 DFD70DCD 86977696 CBD78D6D 0C07EDED A3FFA3EB 8B56BA9A E347BAE0 736F588F E7AD73A3 A560C1D0 C40F0F1B 8E553729 A3EFFEB9 FA36AED5 37AB9BC6 B2BCBD7A 6D9CF86A 0E09D6EA DCEF2D4D 77C63CCE 2C35067D 727EA9C6 C90EA784 E6571788 D838555B 2F0DED75 EB80E6C9 79D666DB FA3BF4DF 2ADCC5CE FDB16AB8 D8B583A2 7ADEFD65 EAB5E6E9 1DBB7CA3 AABB6B0E F2E3BB3D 6C1BFB28 AF836320 FDE5BF41 372E0A3B DC334071 FBABF8A5 BE6D0754 9A07362D 77E1AFD8 9EFF7E79 7D8FD769 D87EDDFB 5BF7E3CC D1D75FBA 3642941D 2B47AEAA FDE0D7CB 098BFAB1 795B75F9 A353B36C 0EB774CD A0089156 AC2F0DDA FE721A34 5ECED734 B7916A66 1D703BBB 8C2FD695 1D73B1EC 5931D71E 375CD307 EF6D3683 0F176EC3 D1B815D7 96AF4DBC 9F2F47E0 9D4DC177 77A52F2F 508DDC66 E75B1CE4 CFAE4F70 C6C90E67 9CE65627 CE5AB098 5BDF939E B072DF25 F5E37C39 B926E6AB 8FADEAC1 AEDD14D5 5EAC2EB3 66693BAD 79BA476E DF1F6AAE DAC39B75 813F55AF D755DDCB 074312DE 533D23C3 E0A1BD59 D68AC4E7 3AC1D1B5 A61D4F2F 3D609ADB AE58D618 CB5FF419 7DBBEB97 E2F58CCC 0F556A38 BBB68025 5F498AFE 7E6B1368 C4C58AEA 70B9A46A D75535FC 6A375C0C 1D7EF4F8 BBAA3B27 19E21C39 6E307759 BF7AB6EB DB1796B7 7EB34CC3 DB3796AF 4DBC9F36 63E4ED46 8DFDD1EF D0F4A607 A91E94E0 D02F1E39 D4FAF4CC E79CFB4F DEC2F277 5DD30786 B2EB52F0 68C5E186 FBA33E4B 1DE44FB8 F32E31D6 19E9C6F1 F9BF5835 BD8149FD 5D73B6EF 3529EB5E 7EABCFFF BE56BE58 FC8EFEBE AD2D3DB9 BCBAFA9D 5AC6FEE5 47F5E25F FBE6EBE1 BAB75C3E 0B57A870 CDE12E1C ACBF7D3C 37833F6D 9A8E6B72 62EF726D A2AD686C 1C15C3AC 668B5F6E D0073BE9 315FCEEF 03627151 F5B03FD5 D854BF73 C1DB55B0 69703876 1BF3DC9D 51D93ACC 558776E3 18F5ABC2 AE62D1E3 1D468ADA 32946E15 28B796AF 4DBC9F1F 76DEA3DA 31D7ED27 C63F4E6E F19F5E39 9CF79F49 E6576701 B2A94F9B B15B8B4B E1FA0D75 49F25AEF D77BFC6F 0F631F23 C61FEF5E AC57D72E EB63B675 42668B4D 5E78E21B 9723B39F 79CE3735 76D61FE3 7B52B1BC F4A466E7 5B069A41 7EDDE5C1 52F3B2DE F8197175 1BD94F44 B87C69E5 C412FEF7 4A7138CD C6D85297 3EE4DB4D A0C9BEB6 EF0EAF0B F75F1E5B BF38DFA3 A00EF7D2 62BF9DAD 88EE6F51 BDC176FC 376F34BF 7FDF97BF D7FFA3CE FF27DB31 BD760D6C 5934B818 9E87A7FF 3AA3B676 9C40EB63 2E386EBA E7B6B794 1AAE79D4 5C3DBB17 54C5BCB5 7A6DE4F9 5356AD2B 7F37DDAB 86DADB4F 8C7A5F8B C399CF59 F15E6572 76B24DC7 C9ECB856 B7F1BB05 6519F25D 6F8BC7A3 BDF35B4F DDF86F23 72A3BAD8 3D61163E CA77FAE7 F452FF1B ADDCED79 99886E3C 8EF0BE1E A9EEABDA BE7B0F74 C4E0DB5B 2E1F05D3 CB6BC57E 6D865A8D BBCF44BC 73A63F6D 564D17ED C580AA66 F6A65EB7 116DC8B1 391DE1A6 EF55749B BFD6BAD7 F2E6247F 567EB7F5 F36D6E80 27DFEA3B 4FDC1FCE 620CDB7F 07678AE5 477CEF31 941D1B8C 83D7D4EC C9DB64EE A923E1BD 769B747F 80B32427 D68F896E 7E0CA93C BD3DE474 E6E602BB 9A94137E 3178F476 182D8DA7 D955CBDF B05C792E AC1A5B1E BFCB8377 EA1CFEB9 75BAF966 948D4F06 F91DDB4B 8DDC65D5 C4ECD66E 0B57A25B B7E90E1B FB587007 2BAFA00B A8ED3F70 7F398833 6DF60713 C5893AA3 A27AADB6 F3EBC66E EBD1B93F BDDDBCA9 23F97BED 36E8FEC7 B79E3BC9 AEEC0425 9379F5A3 E25B9F83 2A4F2F4F 791D39B9 80AEE6A5 04DF8C5E 3C18FDD5 B6B346FC F7930F4D 36B33DFA ED06FEA1 BBEF23BB 4B7733D5 CCED166E 0B57A25B B7E8CE3B FC507027 2927C627 A4FC132F 2AB68366 D0040F51 DA7EE0FE 731066DB C999A85C FCBA18AB DF1F1744 DD4754F1 99BAA61B 70D1A6FB 3C61195B 98382B75 247DAF22 9EA5F0F8 AA35F38E B9379F59 5F6DBFBC 1952797A 7BC0E9CE 4F50FEE4 A5BE6B66 112E1EAF CB787CF9 7533EBA5 C7A29DBC CDDA1372 76D7B78B DA76472F 67D7512F E9FBB4FE 2EE8FDD5 9AD4F556 6E0B579F 7D54F59F 2F4AECDC FA9DEB15 B970CF56 B89B7EF8 B833E3D0 040F51DA 7EE0FE73 1066DBEA 99AB671F B2AFD717 55EE9DBA BD93751D B3FF27DB 7A05C336 9A8D4611 D60AC6F1 A7CA923F A6BF65DC 52918F5A FAB8AA87 F43D7F5A 22BE5C6A 3E4DE7D6 57DB6FEF 06549E5E 9EF7DA73 B3D33BAA 63FE9865 BBA3F84E BA2CFEF2 765BEFD3 AD4CE5D2 F1F3E96E DA85DCD8 465A0CBD DB5BBD68 FD4E12EA 22DA76EF 91DFAFA3 C7FAE58F DBAD16E7 F5CDC16A F1D7E4AD 6C632B93 93C5F046 AD3BEFC4 F7746C4D BF7D247A D9FD9A90 8FF02931 5FCF8A89 C15940C1 8ED5F066 52F4DD91 7FCE54D1 9DF9B338 063D34FE 6123C19B 6D00B460 1D63EC6F 06DD9F9F A7B1D36E 4FEF5753 FBBBF993 79F595F6 DBC3827C CAF4CF5B 3DD8E577 3FB123FE 72F65BD4 87F4C3EC EC386FDB 421870F3 6F7A127F 5E7FCB50 C7F6AFEF F7747F5F 28783296 B3BF7F17 F3A4B4BF 05ABCE4D DB3C232E 5CFB3C57 7F31626D FBE933E6 F8536677 2E80EFF2 7D262BF9 D4A7F9CE 831DEBE0 CCA5E9AA 8AADFFB9 43AD81FC DF9C2EDD 5D34F270 E9A1AFBC B68FFDAA F33BB6B7 5247D4F1 9A6D89FD DAC88B0E 3C99379F 595E673E 1DDBCCAC 4F507E6F 2B05FBC5 32DD8F26 373CB79D 0FC98D6E F64777FB FECFA9D8 C6B30EFB 519F2BC9 4FA38B5E 34D9FA74 077E371B 3C7F0547 097C2E7D D819CAC4 C2F1DFAB DFAB72CE C4DBF7F6 53B17401 729315FC EA53FCFE 7B837C19 94BD34DD 4CE666CD ECA7776B 0BB717E4 3F4D1B77 E07C6587 29A0FDDD D0F753EC 1AADA3EF EE2DB47D CD035CDB CFAFCF33 9E2673A8 3DA7F2B7 1B50C4E7 6DF78B5C DFED5BDD 7EED93F5 C6C759DE B9CBB7E4 91FEC8FF 29F8F8B5 CDA6CFD3 D3383E3B AE0BF685 7F5F0339 5B6CAFF3 DCB23CA8 7E3EFF5F A0BE4E71 3863D446 7DEE7E3F 0FA00FCF A4C57F3A 94FF3D00 5FBED57E B94F2C2F 2E61DB62 975ABAE2 E74C1C27 8D7D85DB 8BF21FA6 2BB9A587 D7ED1B05 DD1B963C CD247FCD D5F157CA B80BDE44 E3DBBCFA CCFA00EA FFAC72E4 EFF73CCB AC7EEC63 3F3765C5 CBDBB496 24FF9FCF CAF2EEB6 594BAFB2 72EB336F EF247EEE 1AB1FB6E 2D7F69BA 8CD50983 E3B7705B B0C1F76F B1C0ACCC F9EB1FCF CFFBFD7E BF7B1FAD F7A1E529 BFB5FDFE 7FCFC7E3 F1F97DF7 A00C4F82 FA008270 A008F3F4 013CCB7D D6DB9680 2CBF8DBF 4011CFFE 7BC77CDC AB7EF3FB FD27F033 9EEDF1F7 C6FEEBF3 FC7FE672 D006CBEF 304923FC 7E3F06F7 9F9FEBFC 151EF67F EBEEF743 E3C6DFA0 08CDF000 2FEF7FCF C5DFFC7E 7FAFCCDF 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802510 00028025 10000280 25100002 80251000 02802410 00007FEF FE6B87AE D483C1C0 812D35F5 AF72AEDA A4A09200 71172F52 E660E327 4D1D3C72 03971BD0 05B638DB 81DBDDED 5E785441 4449C523 000064A8 6FC701C3 0E0000C3 0E000073 59487009 00000005 61FC0B8F B1000041 4D416704 000000E9 1CCEAE00 42475273 01000000 9D9A31F2 00000002 08DD0200 00800300 00524448 490D0000 000A1A0A 0D474E50 89"
a = a.replace(" ", "")
a = a[::-1]
print(a)
ret = ""
for i in range(0, len(a)-1) :
if i % 2 == 0 :
ret += a[i+1]
elif i % 2 == 1 :
ret += a[i-1]
print(ret)
|
cs |
위와같이 코드를 짜고 나온 부분을 다시 ihex에 넣어서 저장하면
위와 같이 나오게 된다. 참고로 한번 더 뒤집으면 인증이 가능합니다.
'CTF's Write-up' 카테고리의 다른 글
DreamHack - off_by_one_000 (0) | 2020.07.29 |
---|---|
DreamHack - basic_exploitation_003 (0) | 2020.07.29 |
DreamHack - image-storage (0) | 2020.07.28 |
HACKCTF - Beginner_Heap (0) | 2020.07.28 |
HACKCTF - 달라란 침공 (0) | 2020.07.28 |