최신글
-
CTF
UofTCTF 2026 - Personal Blog Writeup
UofTCTF 2026 - Personal Blog Writeup해외대회에서 처음 먹은 퍼스트블러드였다. 아래처럼 설명이 있다.For your eyes only?Visit the website here.Author: janky 1. analyzeserver.js/api/autosave에서 rawContent에 대한 입력 값 검증이 없는 것이 보였다.app.post('/api/autosave', requireLogin, (req, res) => { const db = req.db; const postId = Number.parseInt(req.body.postId, 10); if (!Number.isFinite(postId)) { return res.status(400).json({ ok: fa..
-
CTF
ASIS CTF Final - ricks gallery 정리
ASIS CTF Final에 참가했다. 하나 풀어야지 하고 이 문제를 선택했다. 문제 사이트는 이렇게 사진이 나오고 다음 사진으로 계속 변경된다. AnalysisDockerfile먼저 Flag 이름이 난수화되어 있었다. FROM php:8.3.4-apacheRUN a2enmod rewriteRUN sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.confCOPY src/ /var/www/htmlCOPY flag.txt /flag.txtRUN chmod -R 555 /var/www/html && \ chown -R root:root /var/www/html && \ chown root:root /flag.txt && \..
-
Hardware(IoT)
하드웨어 체크
Check.bat@echo offecho ==========================================echo [ 시스템 기본 정보 확인 ]echo ==========================================systeminfo | findstr /C:"OS Name" /C:"OS Version" /C:"System Manufacturer" /C:"System Model" /C:"BIOS Version"echo.echo ==========================================echo [ CPU 확인 ]echo ==========================================wmic cpu get Nameecho.echo ==============..
-
CTF
shaktiCTF25 web Writeup
https://ctf.teamshakti.in/ Login to ShaktiCTF25Forgot Password?Reset Nowctf.teamshakti.inFriendsI'm not good with hiding things... can I interest you with a secretFlag? const express = require("express");const { graphqlHTTP } = require("express-graphql");const { GraphQLObjectType, GraphQLSchema, GraphQLID, GraphQLString, GraphQLList,} = require("graphql");const rateLimit = require("express..
-
System (Pwnable)
ROP Emporium - ret2win writeup
ROP Emporium - ret2win writeup https://ropemporium.com/challenge/ret2win.html ret2win challengeret2win Locate a method that you want to call within the binary. Call it by overwriting a saved return address on the stack. Click below to download the binary: No spoilers here Take the time to read these challenge pages, there aren't any spoilers and theropemporium.com checksec을 확인했더니 NX만 걸려있었다.[*] ..
-
System (Pwnable)
PIE 및 RELocation Read-Only(RELRO) 우회방안
PIEPosition-Independent Executable(PIE)은 무작위 주소에 매핑돼도 실행 가능한 실행 파일을 뜻합니다. PIC(Position-Independent Code)공유 오브젝트는 기본적으로 재배치(Relocation)가 가능하도록 설계되어 있습니다.재배치가 가능하다는 것은 메모리의 어느 주소에 적재되어도 코드의 의미가 훼손되지 않음을 의미하는데,컴퓨터 과학에서는 이런 성질을 만족하는 코드를 Position-Independent Code(PIC)라고 부릅니다. pic의 코드는 rip를 기준으로 데이터를 상대 참조(Relative Addressing)하기 때문에 바이너리가 무작위 주소에 매핑돼도 제대로 실행될 수 ASLR을 꺼도 PIE가 적용된 프로세스는 무작위 주소에 매핑되지 않음 ..