Nice vid. %14$lx and %14$p both do the job in 64bit too. A couple of lines of python saves a lot of hassle with 64bit chunks: chunks_64 = ['7b4654436f636970','355f31346d316e34','3478345f33317937','31655f673431665f','7d383130386531'] flag = '' for chunk in chunks_64: decoded_chunk = '' for i in range(0, len(chunk), 2): c = chr(int(chunk[i]+chunk[i+1],16)) decoded_chunk+=c flag+=decoded_chunk[::-1] print(flag)
Thank you very much for this. I'm a beginner on these concepts and it's very helpful to have an experienced demonstration to follow along with.
Glad it is helpful!
the way to find a solution with a good idea. GG Sir!
👍🏻
Thanks!
No proper explanation sir, first IDK why all this doing, why and use?
Nice vid. %14$lx and %14$p both do the job in 64bit too. A couple of lines of python saves a lot of hassle with 64bit chunks:
chunks_64 = ['7b4654436f636970','355f31346d316e34','3478345f33317937','31655f673431665f','7d383130386531']
flag = ''
for chunk in chunks_64:
decoded_chunk = ''
for i in range(0, len(chunk), 2):
c = chr(int(chunk[i]+chunk[i+1],16))
decoded_chunk+=c
flag+=decoded_chunk[::-1]
print(flag)
Thanks for the tip!