[FHZ]Level09 id : level9 pw : apple [level9@ftz level9]$ ls hint public_html tmp [level9@ftz level9]$ cat hint 다음은 /usr/bin/bof의 소스이다. #include <stdio.h> #include <stdlib.h> #include <unistd.h> main(){ char buf2[10]; char buf[10]; printf("It can be overflow : "); fgets(buf,40,stdin); if ( strncmp(buf2,…
읽어보기 →
[FHZ]Level08 id : level8 pw : break the world [level8@ftz level8]$ ls hint public_html tmp [level8@ftz level8]$ cat hint level9의 shadow 파일이 서버 어딘가에 숨어있다. 그 파일에 대해 알려진 것은 용량이 "2700"이라는 것 뿐이다. shadow 파일이 숨겨져있고 힌트는 size 이다... find…
읽어보기 →
http://score.quals.seccon.jp/ 올해 처음 Defcon qualifying 이 되었다는데.. 문체를 풀어보니 나름 신선하고 재미있었다. (고득점 문제는 하나도 못풀었다) 하루전날 CTF가 있는 줄 알고 아무 준비없이 등록하고 편한 마음으로 풀어봤다. 2014.12.06-07동안 진행했는데 실제 집중해서 푼시간은 5시간이 채 안되는 듯..ㅠ 암튼 결과는 7문제 풀고 800 점…
읽어보기 →
apache2 mod_security 설치 및 테스트 ModSecurity의 주요 특징은 다음과 같다. o 요청(request) 필터링 - 클라이언트로부터 웹 요청이 들어올 때, 웹서버 또는 다른 모듈들이 처리하기 전에 ModSecurity가 요청 내용을 분석하여 필터링한다. o 우회 방지 기술 - 경로와 파라미터를 분석하기 전에 정규화시켜 우회 공격을…
읽어보기 →
[OverTheWire] Natas Level28 http://natas28.natas.labs.overthewire.org/ id : natas28 pw : 끝!
읽어보기 →
[OverTheWire] Natas Level27 http://natas27.natas.labs.overthewire.org/ id : natas27 pw : 55TBjpPZUUJgVP5b3BnbG6ON9uDPVzCJ 이제 익숙한 로그인 폼이다.. 소스를 보자.. <? // morla / 10111 // database gets cleared every 5 min /* CREATE TABLE `users` ( `username` varchar(64) DEFAULT NULL, `password` varchar(64) DEFAULT NULL );…
읽어보기 →
[OverTheWire] Natas Level26 http://natas26.natas.labs.overthewire.org/ id : natas26 pw : oGgWAJ7zcGT28vYazGo4rkhOPDhBu34T (x1, y1)에서 (x2, y2) 으로 직선을 긋는 프로그램이다.. 소스를 보자.. <?php // sry, this is ugly as hell. // cheers kaliman ;) // - morla class Logger{ private $logFile; private $initMsg; private…
읽어보기 →
[OverTheWire] Natas Level25 http://natas25.natas.labs.overthewire.org/ id : natas25 pw : GHF6X7YwACaYYssHVY05cFq83hRktl4c 이번에는 장문의 글이..ㅠ 우측 상단에는 language를 선택하는 부분이 있다. <?php // cheers and <3 to malvina // - morla function setLanguage(){ /* language setup */ if(array_key_exists("lang",$_REQUEST)) if(safeinclude("language/" . $_REQUEST["lang"] )) return 1;…
읽어보기 →
[OverTheWire] Natas Level24 http://natas24.natas.labs.overthewire.org/ id : natas24 pw : OsRmXFguozKpTZZ5X14zNO43379LZveg 이번에도 password 창이 하나 있다.. 소스를 보자.. Password: <form name="input" method="get"> <input type="text" name="passwd" size=20> <input type="submit" value="Login"> </form> <?php if(array_key_exists("passwd",$_REQUEST)){ if(!strcmp($_REQUEST["passwd"],"<censored>")){ echo "<br>The credentials for the next level are:<br>"; echo "<pre>Username:…
읽어보기 →
[OverTheWire] Natas Level23 http://natas23.natas.labs.overthewire.org/ id : natas23 pw : D0vlad33nQF0Hz2EP255TP5wSW9ZsRSE password 창이 하나 있다. 소스를 보자. Password: <form name="input" method="get"> <input type="text" name="passwd" size=20> <input type="submit" value="Login"> </form> <?php if(array_key_exists("passwd",$_REQUEST)){ if(strstr($_REQUEST["passwd"],"iloveyou") && ($_REQUEST["passwd"] > 10 )){ echo "<br>The credentials for the next…
읽어보기 →