미러서버

대한민국 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. 링크 오류 수정 예정