| ID: | 3645 |
|---|---|
| 标题: | web344 |
| 描述: | * 此题为 【从0开始学web】系列第三百四十四题 * 此系列题目从最基础开始,题目遵循循序渐进的原则 ``` router.get('/', function(req, res, next) { res.type('html'); var flag = 'flag_here'; if(req.url.match(/8c|2c|\,/ig)){ res.end('where is flag :)'); } var query = JSON.parse(req.query.query); if(query.name==='admin'&&query.password==='ctfshow'&&query.isVIP===true){ res.end(flag); }else{ res.end('where is flag. :)'); } }); ``` |
| 类型: | WEB入门.nodejs |
| 网站: | ctfshow |
| 题目链接: | https://ctf.show/api/v1/challenges/828 |
| 赛事: | nodejs |
| 年度: | None |
| Flag值: | 无 |
| writeup: | https://geekdaxue.co/read/fosusec@ctfshow/mq82t9 |