Page 19 -
P. 19
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-
linux-i686.tar.bz2
bzip2 -d phantomjs-1.9.8-linux-i686.tar.bz2
tar xvf phantomjs-1.9.8-linux-i686.tar
cp phantomjs-1.9.8-linux-i686/bin/phantomjs /usr/bin/
3. SMBExec
삼바 Samba 도구를 이용한 빠른 psexec 스타일 공격용 도구다.
다음 명령을 실행한다.
git clone https://github.com/pentestgeek/smbexec.git /opt/smbexec
cd /opt/smbexec && ./install.sh
• 1번 Debian/Ubuntu and derivatives를 선택한다.
• 모두 디폴트로 선택한다.
다음 명령을 실행한다.
./install.sh
• 4번 Compile smbexec binaries를 선택한다.
• 컴파일을 마치면 5번 Exit를 선택한다.
4. Masscan
Masscan은 가장 빠른 인터넷 포트 스캐너로, 6분 안에 전체 인터넷을 스캔할 수 있다.
apt-get install git gcc make libpcap-dev
git clone https://github.com/robertdavidgraham/masscan.git /opt/masscan
cd /opt/masscan
make
make install
5. Gitrob
GitHub 검사 도구다.
# git clone https://github.com/michenriksen/gitrob.git /opt/gitrob
# gem install bundler
# service postgresql start
# su postgres
$ createuser -s gitrob --pwprompt
$ createdb -O gitrob gitrob
$ exit
# cd /opt/gitrob/bin
# gem install gitrob
1장 프리게임 - 설치 029
해커 플레이북 2(본문)4차.indd 29 2015-12-11 오후 8:44:52