Points: 6 We are suspecting that the website on http://exp.cybergame.sk:7000/ is hiding something. We need to find out what is hidden in the website. We've gathered what seems to be a proxy configuration file from our trusted source. nginx.conf 题目提供了一个nginx.conf
用上一题的任意文件读取查看index.js 查看login的流程,在login中如果用自己注册的用户登录会得到”The Dark Council has not approved you yet”的error,函数直接返回无法登录,这是因为user.verified在登录时为false 查看register,注册时数据首先会加入数据库,然后再经过了sendEmailToAdministrator之后vertified属性才被设置为false 而在db.js中初始化时这个值是设置为true的 注册之后在verified被修改之前立马登录即可,登录后没找到flag,查看login登录成功后的代码发现返回了一个环境变量中的LOGIN_WELCOME_MESSAGE可能包含提示 抓包查看
Points: 6 You have found an exposed calculator program. It doesn’t seem to do anything useful beyond simple arithmetic operations. The source code is also available on GitHub. Can you make this application more useful? Python version is 3.12.3 Service: exp.cybergame.sk:7002 calc.py
Python Jail沙箱逃逸 breakpoint()绕过过滤,直接getshell
[★★☆] JAILE - User
Points: 6 That is interesting functionality. We can see that a separate user was created to run the calculator, but maybe the root user has more secrets that can be uncovered.