CTF

    Grey Cat The Flag 2024 Qualifiers

    Grey Cat The Flag 2024 Qualifiers

    [solved] [web/GreyCTF Survey] 더보기 const express = require('express'); const bodyParser = require('body-parser'); const app = express(); const port = 3000 const config = require("./config.json"); app.use(bodyParser.json()) app.use("/", express.static("static")) let score = -0.42069; app.get("/status", async (req, res)=>{ return res.status(200).json({ "error": false, "data": score }); }) app.post(..

    AmateursCTF 2024

    AmateursCTF 2024

    체감상 작년보다 어려웠는데 포너블 10개 중 4개 풀어서 선방했다고 생각한다. [solved] [web] denied 더보기 const express = require('express') const app = express() const port = 3000 app.get('/', (req, res) => { if (req.method == "GET") return res.send("Bad!"); res.cookie('flag', process.env.FLAG ?? "flag{fake_flag}") res.send('Winner!') }) app.listen(port, () => { console.log(`Example app listening on port ${port}`) }) get으로 접근해야 하..

    [QWB CTF 2018] core (with write-up)

    [QWB CTF 2018] core (with write-up)

    롸업과 함께하는 첫 리눅스 커널 문제 환경 세팅 문제 파일은 여기서 받을 수 있다. https://github.com/ctf-wiki/ctf-challenges/tree/master/pwn/kernel/QWB2018-core ctf-challenges/pwn/kernel/QWB2018-core at master · ctf-wiki/ctf-challenges Contribute to ctf-wiki/ctf-challenges development by creating an account on GitHub. github.com 파일들 중 core_give.tar.gz를 압축해제 해준다. bzImage 파일은 커널 이미지 파일이다. core.cpio 파일은 file system을 압축한 파일로 분석 대상 모듈..

    ACSC 2024 Quals

    ACSC 2024 Quals

    [solved] [pwn] rot13 더보기 #include #include #define ROT13_TABLE \ "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" \ "\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f" \ "\x20\x21\x22\x23\x24\x25\x26\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f" \ "\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f" \ "\x40\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a..

    Pearl CTF

    Pearl CTF

    여기가 포너블 맛집이었네.. shakti 말고 이거나 열심히 할걸.. [solved] [pwn] Adventure 더보기 int __cdecl main(int argc, const char **argv, const char **envp) { int choice; // [rsp+Ch] [rbp-4h] BYREF setvbuf(stdout, 0LL, 2, 0LL); setvbuf(stdin, 0LL, 1, 0LL); puts("Welcome to the Adventure!"); puts("You find yourself standing at a crossroad."); puts("What do you do?"); puts("1. Go left"); puts("2. Go right"); puts("3. Sta..