ctfshow 一言既出
时间: 2023-08-22 22:11:26 浏览: 150
一言既出驷马难追-诚信是金_说课_精美学习课件ppt
根据提供的引用内容,这段代码是一个CTF题目。当用户通过GET请求传递一个名为"num"的参数时,如果该参数的值等于114514,那么会执行一段代码。这段代码使用assert函数来判断"num"参数的整数值是否等于1919810,如果不等于则输出"一言既出,驷马难追!",如果相等则输出flag。所以,当用户传递的"num"参数值为114514时,可以得到flag。
#### 引用[.reference_title]
- *1* [CTFshow-菜狗杯-注释-一言既出-驷马难追](https://blog.csdn.net/qq_31415417/article/details/128552487)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [ctfshow菜狗 web 一言既出](https://blog.csdn.net/hypocrite2/article/details/130682314)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [2022CTFSHOW菜狗杯部分题目(四)](https://blog.csdn.net/weixin_40103894/article/details/127912832)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文