일반적으로 클라이언트 브라우저에서 자바스크립트를 이용하여 쿠키 값을 생성,변경,확인이 가능합니다. 

브라우저에서 쿠키 값에 대한 스크립트 요청을 씹도록 할 수 있는 것(쿠키 하이재킹을 방지)이 httponly입니다.



ms 공식문서


php 설정 문서





1. Install metaspoit


아래의 링크로 들어가시면 맥에서 gui환경으로 metasploit을 설치할 수 있습니다.

DownLoad



2. Start metasploit


/opt/metasploit-framework/bin/msfconsole



3. alias


위 명령은 너무 길기 때문에 alias로 별명을 짓습니다.

alias msfconsole='/opt/metasploit-framework/bin/msfconsole'


그리고 이제 실행해 보시기 바랍니다.

usage:
from pwn import *
context(arch = 'i386', os = 'linux')

r = remote('exploitme.example.com', 31337)
# EXPLOIT CODE GOES HERE
r.send(asm(shellcraft.sh()))
r.interactive()


도큐먼트


 Our documentation is available at pwntools.readthedocs.org 
 To get you started, we've provided some example solutions for past CTF challenges in our write-ups repository. 


설치방법

 $ pip install pwn


ctf할때 유용하게 사용할 수 있는 툴입니다. 
python 2.7버전을 권장합니다.



+ Recent posts