12.07.2013 Views

One-way Web Hacking

One-way Web Hacking

One-way Web Hacking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

eturn 0;<br />

}<br />

아래의 스크린샷은 이 두 개의 파일이 www2.example.com에 업로드되고 있는 것을 보여준다.<br />

우리는 이제 ptrace1.c를 컴파일하고, 제대로 컴파일 되었는지 확인할 것이다. 또한 현재의 권한에 대해서도 점검할<br />

것이다. 아래의 스크린샷은 shell.cgi를 통해 실행된 명령을 보여준다.<br />

gcc -o ptrace1 ptrace1.c<br />

ls -la<br />

id

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!