Skip to content

0xSirawit/CTFriends-JOHNLOVECOFEE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

CTFriends-JOHNLOVECOFEE

First, we got weird strings from the challenge

JOHNLOVEJOHNJOHNJOHNLOVEJOHNJOHNJOHNLOVECOFFEECOFFEEJOHNJOHNCOFFEEJOHNLOVEJOHNJOHNLOVECOFFEECOFFEEJOHNLOVEJOHNCOFFEEJOHNCOFFEELOVECOFFEECOFFEECOFFEECOFFEELOVECOFFEECOFFEEJOHNJOHNCOFFEEJOHNLOVEJOHNCOFFEEJOHNCOFFEELOVECOFFEEJOHNLOVECOFFEECOFFEEJOHNCOFFEELOVECOFFEECOFFEEJOHNCOFFEELOVECOFFEELOVECOFFEECOFFEELOVEJOHNCOFFEELOVECOFFEELOVECOFFEECOFFEEJOHNJOHNCOFFEEJOHNLOVEJOHNCOFFEEJOHNCOFFEELOVECOFFEEJOHNLOVEJOHNCOFFEELOVECOFFEECOFFEEJOHNJOHNCOFFEEJOHNLOVEJOHNCOFFEEJOHNCOFFEELOVECOFFEEJOHNLOVECOFFEECOFFEEJOHNLOVECOFFEECOFFEECOFFEELOVECOFFEELOVECOFFEECOFFEEJOHNJOHNCOFFEEJOHNLOVECOFFEECOFFEECOFFEECOFFEELOVECOFFEECOFFEELOVEJOHNJOHNCOFFEELOVECOFFEECOFFEECOFFEECOFFEELOVECOFFEECOFFEEJOHNJOHNCOFFEEJOHNLOVEJOHNCOFFEECOFFEECOFFEELOVECOFFEEJOHNCOFFEECOFFEELOVEJOHNJOHNJOHNLOVEJOHNJOHNJOHNLOVEJOHNCOFFEECOFFEELOVECOFFEECOFFEEJOHNJOHNCOFFEEJOHNLOVECOFFEEJOHNJOHNCOFFEELOVECOFFEEJOHNCOFFEELOVECOFFEELOVECOFFEECOFFEECOFFEELOVECOFFEECOFFEECOFFEELOVECOFFEECOFFEEJOHNLOVECOFFEEJOHNCOFFEELOVECOFFEE

These strings have three words. And if we look carefully at the strings we will find out that in the strings don't have 'LOVELOVE'. It just has single 'LOVE'. So I figured it out this is morsecode use 'LOVE' for '/'.

  • JOHN: '-'
  • LOVE: '/'
  • COFFEE: '.'

I coded python to convert the strings to morsecode and decode morsecode to plaintext.

┌──(kali㉿kali)-[~/CTFriends-JOHNLOVECOFEE]
└─$ python3 solve.py               
CTFr{too_much_caffeine_can_cause_high_blood_pressure}