Ubuntu Setup
Ubuntu 20.04 Setup
sudo apt upgrade && sudo apt updatesudo dpkg --add-architecture i386sudo apt-get install -y build-essential ninja-build qemu gdb gdb-multiarch gcc gcc-multilib python3 python3-pip python3-dev ruby-dev default-jdk gradle ruby zlib1g-dev git vim net-tools rdesktop libc6-dbg libc-dbg:i386 locate libssl-dev libffi-dev binwalk libimage-exiftool-perl nmap imagemagick radare2 nikto sqlmap dirb audacity pngcheck scalpel foremost patchelf john hashcat sleuthkit steghide checksec hydra traceroute apktool okteta upxsudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10- Some things will require temporarily adding the kali distribution
sudo suecho "deb http://http.kali.org/kali kali-last-snapshot main non-free contrib" >> /etc/apt/sources.listapt updateexitsudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys [key]sudo apt updatesudo apt-get install exploitdb- Remove line from /etc/apt/sources.list
sudo apt updatesudo pip3 install pwntools z3-solver pycrypto flask xortool tdqm capstone ropgadget sympy scapy pycryptodome IPython uncompyle cipheysudo gem install seccomp-tools one_gadgetsudo snap install --classic codecurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh- Docker
- (opt) Add user to docker group
docker pull angr/angr- pwndbg
- Install foxyproxy for firefox
- BurpSuite
- Go to http://burp (with the proxy on) and install the cert
- Wireshark
- Metasploit
- Ghidra
- pwndra scripts imported
- Volatility3
- RsaCtfTool
- pwninit (newest release binary)
- rockyou.txt
- (opt) NotepadNext
- Show hidden files on
- (opt) login to slack, discord, whatsapp
- (opt) configure terminator/fish/dolphin/whatever
sudo apt-get install -y terminator dolphin konsole fishsudo update-alternatives --config x-terminal-emulatorxdg-mime default org.kde.dolphin.desktop inode/directory- probably adjust settings like profile colors and scrollback
- overwrite
/usr/bin/konsolewith#!/bin/bash\nterminator --working-directory="$2"
- (opt) sidebar firefox/terminator/dolphin/vscode/text editor/okteta/burp/wireshark
-
(opt) favorite ctftime/cyberchef/asciitohex/github/discord/slack/whatsapp/anything else
- Update
~/.bashrc
1
2
3
4
5
6
7
alias ghidra='/home/madstacks/ghidra/ghidra_10.0.2_PUBLIC/ghidraRun'
alias headless='/home/madstacks/ghidra/ghidra_10.0.2_PUBLIC/support/analyzeHeadless'
alias volatility='/home/madstacks/volatility3/vol.py'
alias angr='sudo docker run --rm -v "$(pwd)"/files:/mnt -it angr/angr'
alias ff='dolphin .'
alias py='ipython --no-confirm-exit'
PATH=$PATH:/home/madstacks/metasploit-framework/
This post is licensed under
CC BY 4.0
by the author.