!SGkzNqBXEJutSYnahE:matrix.org

C

117 Members
C Programming Ask C related questions here.14 Servers

Load older messages


SenderMessageTime
14 Jan 2021
@dei6eisu:matrix.org@dei6eisu:matrix.orgRedacted or Malformed Event07:35:24
@ramdomacc:matrix.orgramdomacc set a profile picture.13:06:48
@hunter-gatherer:matrix.orghunter-gathererSorry, I had to step away from my machine for a while (children are a curse on productivity). 16:46:43
@hunter-gatherer:matrix.orghunter-gathererYes, the XOR key is supposed to increment. Maybe I'll just try with a shorter message. The scope of the challenge is basically this: A challenger gets a small binary dump that has been encrypted along with the disassembly of the function used to encrypt the data. The challenger then has to write their own program/script to decrypt the dump which unlocks the password for the next flag. If that clears things up at all...16:50:12
@hunter-gatherer:matrix.orghunter-gatherer So if I pass a string to encrypt_text() and then pass it back into decrypt_text() and write the outputs to a file in the order (initial string, encrypted, decrypted) I gets this: 16:53:38
@hunter-gatherer:matrix.orghunter-gatherer
00000000: 4f6e 746f 2063 6861 6c6c 656e 6765 2074  Onto challenge t
00000010: 6872 6565 2120 5468 6520 7061 7373 776f  hree! The passwo
00000020: 7264 2066 6f72 2074 6865 206e 6578 7420  rd for the next 
00000030: 6368 616c 6c65 6e67 6520 6973 3a20 6d6e  challenge is: mn
00000040: 7177 6a67 7574 6c77 620a 6e4c 574b 0545  qwjgutlwb.nLWK.E
00000050: 4f49 4546 4e42 4a4b 0f44 5940 5651 1416  OIEFNBJK.DY@VQ..
00000060: 6350 5c1a 4b5d 4e4d 482f 3326 6322 2a34  cP\.K]NMH/3&c"*4
00000070: 673c 212f 6b22 2836 3b70 323a 3238 3933  g<!/k"(6;p2:2893
00000080: 393f 3c7a 322f 677e 320e 1015 0903 1012  9?<z2/g~2.......
00000090: 0b1f 0b0a 4f6e 746f 2063 6861 6c6c 656e  ....Onto challen
000000a0: 6765 2074 6872 6565 2120 5468 6520 7061  ge three! The pa
000000b0: 7373 776f 7264 2066 6f72 2074 6865 206e  ssword for the n
000000c0: 6578 7420 6368 616c 6c65 6e67 6520 6973  ext challenge is
000000d0: 3a20 6d6e 7177 6a67 7574 6c77 62e4 ec8b  : mnqwjgutlwb...
000000e0: 6e55 0a                                               nU.
16:54:12
@hunter-gatherer:matrix.orghunter-gatherer *
00000000: 4f6e 746f 2063 6861 6c6c 656e 6765 2074  Onto challenge t
00000010: 6872 6565 2120 5468 6520 7061 7373 776f  hree! The passwo
00000020: 7264 2066 6f72 2074 6865 206e 6578 7420  rd for the next 
00000030: 6368 616c 6c65 6e67 6520 6973 3a20 6d6e  challenge is: mn
00000040: 7177 6a67 7574 6c77 620a 6e4c 574b 0545  qwjgutlwb.nLWK.E
00000050: 4f49 4546 4e42 4a4b 0f44 5940 5651 1416  OIEFNBJK.DY@VQ..
00000060: 6350 5c1a 4b5d 4e4d 482f 3326 6322 2a34  cP\.K]NMH/3&c"*4
00000070: 673c 212f 6b22 2836 3b70 323a 3238 3933  g<!/k"(6;p2:2893
00000080: 393f 3c7a 322f 677e 320e 1015 0903 1012  9?<z2/g~2.......
00000090: 0b1f 0b0a 4f6e 746f 2063 6861 6c6c 656e  ....Onto challen
000000a0: 6765 2074 6872 6565 2120 5468 6520 7061  ge three! The pa
000000b0: 7373 776f 7264 2066 6f72 2074 6865 206e  ssword for the n
000000c0: 6578 7420 6368 616c 6c65 6e67 6520 6973  ext challenge is
000000d0: 3a20 6d6e 7177 6a67 7574 6c77 62e4 ec8b  : mnqwjgutlwb...
000000e0: 6e55 0a                                               nU.
16:54:25
@hunter-gatherer:matrix.orghunter-gathererI guess I'm still confused on where these extra bytes are coming from.16:54:59
@dei6eisu:matrix.org@dei6eisu:matrix.orgRedacted or Malformed Event18:21:53
@hunter-gatherer:matrix.orghunter-gatherer yeah, so it is repeated three times. The original, the ciphered, then the ciphered passed back into the decryption function. I guess I just don't fundamentally understand where the bytes 5 bytes before the last 0x0a byte are coming from. 18:55:15
15 Jan 2021
@noahaon:matrix.orgnoahaon joined the room.04:47:49
@dei6eisu:matrix.org@dei6eisu:matrix.org joined the room.06:14:45
@dei6eisu:matrix.org@dei6eisu:matrix.org left the room.06:14:52
@eledoro:matrix.org@eledoro:matrix.org joined the room.15:24:38
@eledoro:matrix.org@eledoro:matrix.org left the room.15:25:17
@eledoro:matrix.org@eledoro:matrix.org joined the room.15:25:20
@eledoro:matrix.org@eledoro:matrix.org left the room.15:26:00
@eledoro:matrix.org@eledoro:matrix.org joined the room.15:49:12
@eledoro:matrix.org@eledoro:matrix.org left the room.15:49:33
18 Jan 2021
@tj-janke:matrix.orgtj-janke joined the room.18:38:21
@fr0x41nk:matrix.orgf changed their display name from fr0x41nk to f.20:12:27
@fr0x41nk:matrix.orgf removed their profile picture.20:12:42
19 Jan 2021
@pqcraft:matrix.orgPQCraft joined the room.03:57:12
@pqcraft:matrix.orgPQCraft C > C++ 03:58:19
@ucuntu:matrix.orgUcuntu joined the room.08:35:08
@ucuntu:matrix.orgUcuntu set a profile picture.08:36:38
@tj-janke:matrix.orgtj-janke set a profile picture.10:44:50
@stb1900:matrix.orgWolfgang@matrix joined the room.15:05:52
@nikhilanand:matrix.orgvilran set a profile picture.19:09:43
@kosshi:matrix.orgkosshi changed their profile picture.20:04:39

There are no newer messages yet.


Back to Room List