미러서버

$ sudo vim /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, pypy3, git, rzsz, tmux

$ sudo apt-get install ssh; sudo apt-get install htop; sudo apt-get install net-tools; wget https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.3.0-linux64.tar.bz2; tar -xvf pypy3.6-v7.3.0-linux64.tar.bz2; sudo mv pypy3.6-v7.3.0-linux64 /usr/local/bin/; sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/pypy3 pypy3; sudo mv pypy3 /usr/local/bin/; curl -O http://python-distribute.org/distribute_setup.py; wget https://bootstrap.pypa.io/get-pip.py; pypy3 distribute_setup.py; pypy3 get-pip.py; sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/pip pypy3-pip; sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/easy_install pypy3-easy_install; sudo mv pypy3-easy_install pypy3-pip /usr/local/bin/; rm -rf pypy3.6-v7.3.0-linux64 pypy3.6-v7.3.0-linux64.tar.bz2 get-pip.py; rm -rf distribute_setup.py; sudo apt-get install git; sudo apt-get install lrzsz; sudo apt-get install tmux; sudo apt-get install upgrade; sudo apt-get install update;

 

* Ubuntu 20.4인 경우

python2

$ sudo apt install python2; curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py; sudo python2 get-pip.py; rm -rf get-pip.py;

 

바이너리

gdb, checksec, z3(python3), binwalk, pwntools(python3), peda
$ sudo apt install gdb; sudo apt install checksec; pip3 install z3; sudo apt install binwalk; python3 -m pip install --upgrade git+https://github.com/Gallopsled/pwntools.git@dev; git clone https://github.com/longld/peda.git ~/peda; echo "source ~/peda/peda.py" >> ~/.gdbinit;

 

포렌식

foremost, pdfcrack, outguess
$ sudo apt install foremost; sudo apt-get install pdfcrack; sudo apt-get install outguess;

 

업데이트

pip 업데이트(패키지 포함)

$ python -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

'MEMO' 카테고리의 다른 글

Python(.pyc) 디컴파일  (0) 2020.05.01
CTF 풀 때 도움 되는 사이트 정리  (0) 2020.04.13
우분투 초기 세팅하는 것들  (0) 2020.04.09
iptime 3000U Network Drive Install  (0) 2020.04.07
pypy3 Install  (0) 2020.03.22
Ubuntu Firewall Setup  (0) 2020.03.22

+ Recent posts