8000 GitHub - jecpr/kali-build
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jecpr/kali-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kali Linux CTF Build - Ansible Playbook

This is an ansible playbook to set-up and configure a kali machine designed for CTF's like Hack the Box and Try Hack Me.

This is heavily based on Ippsec's Parrot build, but tailored for Kali with a handful of other useful tools thrown in for good measure.

Instructions for installation:

  1. Grab the pre-built VM image.
  2. Log in as kali:kali
  3. Change root password
sudo su -
passwd root
reboot
  1. Upon restart, login as root to change kali username
userdel -r olduser
groupdel groupname
adduser newuser
groupadd newgroup
usermod -aG adm,dialout,cdrom,floppy,sudo,audio,dip,video,plugdev,users,netdev,bluetooth,scanner,wireshark,kaboxer newuser
reboot
  1. Upon restart, login with new user and pass
  2. Update and upgrade
sudo apt update
sudo apt full-upgrade
  1. Install dependencies and configure git (see below)
python3 -m pip install ansible
sudo apt install ansible-core
cd ~
git clone git@github.com:jecpr/kali-build.git
  1. Run Ansible script - note you can leave the extra-vars part out if you don't have or use ngrok.
ansible-galaxy install -r requirements.yml
sudo whoami
ansible-playbook main.yml --extra-vars "ngrok_authtoken=INSERT_TOKEN_HERE"
  1. Restart
  2. I use syncthing to synchronise obsidian. If you want to use it, go to syncthing at 127.0.0.1:8384, make bookmark and configure.
  3. Configure foxy-proxy (the burp cert is already there).
  4. Enjoy :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0