GithubHelp home page GithubHelp logo

kali-build's Introduction

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 [email protected]: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 :)

kali-build's People

Contributors

jecpr avatar

Stargazers

INFINITY avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.