우분투 초기 환경 구축
미러서버
대한민국 3대장 미러 서버 : ftp.harukasan.org, mirror.kakao.com, ftp.kaist.ac.kr
$ sudo vim /etc/apt/sources.list
$ sudo sed -ie 's/archive.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list
: %s/kr.archive.ubuntu.com/mirror.kakao.com
: %s/us.archive.ubuntu.com/mirror.kakao.com
: %s/archive.ubuntu.com/mirror.kakao.com
: %s/security.ubuntu.com/mirror.kakao.com
기본
ssh, htop, net-tools, git, lrzsz, tmux
$ sudo apt-get install -y ssh htop net-tools git lrzsz tmux;
바이너리
gdb, checksec, z3(python3), binwalk, pwntools(python3), peda
$ sudo apt install -y gdb binwalk python3 python3-dev python3-pip git libssl-dev libffi-dev;git clone https://github.com/slimm609/checksec.sh.git;cp checksec.sh/checksec /usr/local/bin/;rm -rf checksec.sh/ pip3 install z3-solver;pip3 install --upgrade git+https://github.com/arthaud/python3-pwntools.git;git clone https://github.com/longld/peda.git ~/.peda;echo "source ~/.peda/peda.py" >> ~/.gdbinit;
peda-heap
$ git clone https://github.com/Mipu94/peda-heap ~/.peda-heap; echo "source ~/.peda-heap/peda.py" >> ~/.gdbinit
peda-arm
$ git clone https://github.com/alset0326/peda-arm.git ~/.peda-arm; echo "source ~/.peda-arm/peda-arm.py" >> ~/.gdbinit
포렌식
foremost, pdfcrack, outguess
$ sudo apt install -y foremost pdfcrack outguess
업데이트
pip3 업데이트(패키지 포함)
$ python3 -m pip install --upgrade pip; python3 -m pip install --upgrade pip; pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -U
코멘트
- 2020.12. 링크 오류 수정 예정
'Memo' 카테고리의 다른 글
모니터없는 우분투에 가상 드라이브 설치 (0) | 2021.03.04 |
---|---|
VMware Workstation 16에서 macOS BigSur 설치하기 (AMD버전) (0) | 2021.02.24 |
pypy3 Install (0) | 2020.12.13 |
Hyperledger Indy SDK Build (삽질중) (0) | 2020.12.01 |
데이터베이스(DB) 기초 (0) | 2020.10.17 |