Table of Contents


Setup

Virtualization

Git Globals

$ git config --global user.name "kappa"
$ git config --global user.email "kappajester83@gmail.com"
$ git config --global color.ui auto
$ git config --global pull.rebase false

Git Repository

$ echo "# Labs" >> README.md
$ git init
$ git add . README.md
$ git commit -m "first commit"
$ git branch -M main
$ git remote add origin https://github.com/Kapaajester83/Labs.git
$ git push -u origin main

$ user: kappa
$ pass: "user key" provided by GitHub

Install Files

$ sudo apt install python3 -y
$ sudo apt install openvpn -y
$ sudo apt install nfs-kernel-server -y
$ sudo apt install apache2 -y
$ sudo apt-get install lxc lxc-utils -y
$ sudo apt get vim
$ sudo install exiftool
$ sudo apt install eog
$ sudo apt install ghex

Alias

$ alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
$ alias rot5="tr '0-9' '5-90-4'"
$ alias rot="tr 'A-Za-z0-9' 'N-ZA-Mn-za-m5-90-4'"

Open VPN

$ cd/ [directory].opvpn
$ CTRL+C (to close terminal and end sesstion)

Python3 Server

kalijester68@htb[/htb]$ sudo apt install python3 -y
kalijester68@htb[/htb]$ python3 -m http.server
CTRL + z (back to terminal)

kalijester68@htb[/htb]$ python3 -m http.server --directory /home/cry0l1t3/target_files
kalijester68@htb[/htb]$ python3 -m http.server 443

Metasploit