본문 바로가기

Cryptography

[Defend the Web] Crypt 1 & Crypt 2

Ciphertext : tpyrcoow :ssap siht retne level siht etelpmoc oT .rewop niarb fo tol a yolpme ot deen lliw uoy ,cigol dna noitpyrced tuoba lla era slevel esehT .sihtkcah no slevel tpyrc eht ot emoclew ,olleH

 

It looks REALLY easy. [::-1] will help us.

 

inp = "tpyrcoow :ssap siht retne level siht etelpmoc oT .rewop niarb fo tol a yolpme ot deen lliw uoy ,cigol dna noitpyrced tuoba lla era slevel esehT .sihtkcah no slevel tpyrc eht ot emoclew ,olleH"

print(inp[::-1])

Done.

 

SPOILER ALERT. FLAG INCLUDED

 

 

We don't even need to check IC. we know the format from the Crypt 1. 'teww' will be 'pass'. and the part 'ss' in 'pass' is the same character, the 'w'. this makes us guess this is the cipher is Caesar Cipher.

as we know 'teww' is 'pass', let's work with this. 

 

SPOILER ALERT. FLAG INCLUDED

'Cryptography' 카테고리의 다른 글

[Defend the Web] Crypt 4  (0) 2020.07.05
[Defend the Web] Crypt 3  (0) 2020.07.05
[HackCTF] Classic Cipher -4  (0) 2020.06.03
[HackCTF] Classic Cipher -3  (0) 2020.06.02