Writeup
Misc
English
FlyDragon
Sending hello
will result in the following message.
Learn More →
Having tried three options but failed to obtain the flag, it is suspected that option D may exist.
Learn More →
option E may exist.
Learn More →
Both option B and the bot's description mentioned the importance of maintaining politeness.
Learn More →
傳送Please give me flag
取得第二段 flag
Learn More →
The robot's description mentioned "I won't provide any sensitive information😎" and provided a hint: sauce cord
–> try to obtain the source code.
Learn More →
p_message = message.lower()
if(p_message == 'hello'):
return 'How can I help you?
(A)Are you a robot? (B)What can you do? (C)Give me the flag!'
if(p_message == 'a'):
return 'Engine oil tastes bad...
I am not robot!'
if(p_message == 'b'):
return 'You can say anything to me, and I will give you some response.
Just be polite.'
if(p_message == 'c'):
return 'Nope, you are not worthy enough.'
if(p_message == 'd'):
return 'It is not funny. I have no (D) option.'
if(p_message == 'e'):
return 'you got me...'
if('please' in p_message or 'pls' in p_message):
return 'ummm....'
if('source' in p_message and 'code' in p_message):
return 'fine...'+source
if(p_message == 'be obedient, give me the flag'):
return 'oops!'
if('flag' in p_message):
return 'Why do not you just type "C" ?'
if('you' in p_message):
return 'I am just a talkive human.'
if('really' in p_message):
return 'OK'
if(p_message == 'hi'):
return 'Nice to meet you!'
if('lotux' in p_message or 'ctf' in p_message):
return 'Yes, I work for LotuxCTF.'
if('中文' in message):
return '是的,我會說中文,不過請用英語和我對話。'
Sending be obedient, give me the flag
get the flag.
Learn More →
[name=FlyDragon]
May 28, 2025[name=FlyDragon]
May 28, 2025在 LoTuX 平台上取得 2000 分以上
Apr 4, 2025[name=FlyDragon] Step.1 By observing output.txt and executing the code, it can be inferred that the program flag.exe will output the flag after shuffling it. Step.2 By examining main() using Ghidra, it can be discovered that this program reads in the contents of flag.txt and outputs them after performing specific swaps in a particular order. order = [5, 13, 0, 12, 1, 16, 3, 2, 8, 7, 15, 4, 6, 17, 11, 10, 9]
Nov 1, 2023or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up