문제 : USER-AGENT Access Denied! 란다... 소스를 보기위해 http://webhacking.kr/challenge/web/web-08/index.phps 에 접속해보니 소스가 있다. <html> <head> <title>Challenge 8</title> <style type="text/css"> body { background:black; color:white; font-size:10pt; } </style> </head> <body> <br><br> <center>USER-AGENT <? $agent=getenv("HTTP_USER_AGENT"); $ip=$_SERVER[REMOTE_ADDR]; $agent=trim($agent); $agent=str_replace(".","_",$agent); $agent=str_replace("/","_",$agent); $pat="/\/|\*|union|char|ascii|select|out|infor|schema|columns|sub|-|\+|\||!|update|del|drop|from|where|order|by|asc|desc|lv|board|\([0-9]|sys|pass|\.|like|and|\'\'|sub/"; $agent=strtolower($agent); if(preg_match($pat,$agent)) exit("Access Denied!");…
읽어보기 →
문제 : 음...퍼즐?? 소스는 없다.. 퍼즐을 좀 자세히 보니 네모네모로직 같다.. 어렵지 않으니 풀어보자..ㅋ 이런 모양으로 만들고 gogo를 누르니.. 이름을 입력하는 화면이 나온다.. 이름을 입력하고 보니.. 순위? 같은 결과가 나온다.. 분위기를 보니 sql injection 이다. name과 answer 를 insert 하고, name과…
읽어보기 →
[LOB] Level6 (wolfman) id : wolfman pw : love eyuna [wolfman@localhost wolfman]$ ls darkelf darkelf.c [wolfman@localhost wolfman]$ cat darkelf.c /* The Lord of the BOF : The Fellowship of the BOF - darkelf - egghunter + buffer hunter + check length…
읽어보기 →
[LOB] Level5 (orc) id : orc pw : cantata [orc@localhost orc]$ ls wolfman wolfman.c [orc@localhost orc]$ ./wolfman argv error [orc@localhost orc]$ ./wolfman AAA stack is still your friend. wolfman이란 실행파일과 소스파일이 있다. 일단 실행해보니, 인자값을 받고 "stack is still your friend."…
읽어보기 →
[파이썬 해킹 입문 구매하기] 파이썬을 해킹도구로서 사용하기 위한 입문서다.. 앞 부분에는 해킹에 대한 전반적인 개요를 설명하고, 간단히 파이썬 문법을 설명 후, 각 영역별(어플리케이션 해킹, 웹 해킹, 네트워크 해킹, 시스템 해킹)로 파이썬으로 작성한 해킹도구를 조목조목 잘 설명해준다. (그림도 있어 이해하기 좋다.) 예제로…
읽어보기 →
[LOB] Level4 (goblin) id : goblin pw : hackers proof [goblin@localhost goblin]$ ls orc orc.c [goblin@localhost goblin]$ ./orc argv error [goblin@localhost goblin]$ ./orc aaa stack is still your friend. [goblin@localhost goblin]$ orc이란 실행파일과 소스파일이 있다. 일단 실행해보니, 인자값을 받고 "stack is…
읽어보기 →
[LOB] Level3 (cobolt) id : cobolt pw : hacking exposed [cobolt@localhost cobolt]$ ls goblin goblin.c [cobolt@localhost cobolt]$ ./goblin aaa aaa [cobolt@localhost cobolt]$ goblin이란 실행파일과 소스파일이 있다. 일단 실행해보니, 인자값을 받아 그대로 출력한다. 소스를 보면.. [cobolt@localhost cobolt]$ cat goblin.c /* The Lord…
읽어보기 →
[LOB] Level2 (gremlin) id : gremlin pw : hello bof world [gremlin@localhost gremlin]$ ls cobolt cobolt.c [gremlin@localhost gremlin]$ ./cobolt argv error [gremlin@localhost gremlin]$ ./cobolt aaa aaa cobolt이란 실행파일과 소스파일이 있다. 일단 실행해보니, 인자값을 받아 그대로 출력한다. 소스를 보면.. [gremlin@localhost gremlin]$ cat…
읽어보기 →
[LOB] Level1 (gate) id : gate pw : gate [gate@localhost gate]$ ls gremlin gremlin.c [gate@localhost gate]$ ./gremlin argv error [gate@localhost gate]$ ./gremlin aaa aaa gremlin이란 실행파일과 소스파일이 있다. 일단 실행해보니, 인자값을 받아 그대로 출력한다. 소스를 보면.. [gate@localhost gate]$ cat gremlin.c /*…
읽어보기 →
[LOB]환경구성하기. VM 이미지 다운로드 현준씨가 올린 이미지 다운로드 https://docs.google.com/uc?export=download&confirm=Q8e_&id=0B_TNCsczWm6tSzBIdVhCTVFRMms VMplayer 으로 open 첫 로그인 id : gate pw : gate 이제 풀어보자....
읽어보기 →