heap공부를 하던 중 해당 사이트를 알았다.

https://github.com/scwuaptx/HITCON-Training

 

scwuaptx/HITCON-Training

For Linux binary Exploitation. Contribute to scwuaptx/HITCON-Training development by creating an account on GitHub.

github.com

위 사이트를 clone하면 터미널에 설치할 수 있다.

$ cd ~
$ git clone https://github.com/scwuaptx/HITCON-Training.git 
$ cd HITCON-Training && chmod u+x ./env_setup.sh && ./env_setup.sh

위 처럼 명령어를 치자.

$ apt-get install docker docker.io

docker을 이용해야 함으로 docker도 설치.

$  cd HITCON-Training
$ ./docker.sh

docker.sh를 실행시켜주자.
참고로 생각보다 좀 오래걸리는듯하다.

$ Got permission denied while trying to connect to the Docker daemon socket at unix......

docker.sh를 실행했을 때, 이런식으로 에러가 뜨는 경우가 있는데

$ sudo usermod -a -G docker $USER
$ sudo service docker restart

이런 식으로 명령어를 쳐주고 다시 실행해보자.
그래도 에러가 뜰 경우 우분트를 껏다 켜보면 된다.

참고

http://www.kwangsiklee.com/2017/05/%ED%95%B4%EA%B2%B0%EB%B0%A9%EB%B2%95-solving-docker-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket/

불러오는 중입니다...

 

+ Recent posts