Giter VIP home page Giter VIP logo

jdansak / osx-ctf-ready Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chikko80/osx-ctf-ready

0.0 2.0 0.0 13.19 MB

This repository makes your Mac OSX system ready for ctfs. It contains a collection of the most popular tools in the pentesting space. Transform your Mac OSX into a kali-like hackstation.

License: GNU General Public License v3.0

Shell 65.19% Python 2.98% C 1.15% PHP 0.30% PowerShell 28.42% Makefile 0.02% Batchfile 1.93%

osx-ctf-ready's Introduction

OSX CTF Ready

GPLv3 License

This repository makes your Mac OSX system ready for ctfs. It contains a collection of the most popular tools in the pentesting space.

The install.sh script turns your macos into a kali-like hackstation. Besides the tools of the kali-tools-top10 metapackage many other tools are installed, which are used in conventional CTFs on platforms like HackTheBox or TryHackMe.

In addition, the repo combines many scripts in the area of priveledge escalation and enumeration in one central place, so that you do not have to search for all the scripts individually.

I wrote an article on medium about the repository in which everything is explained in detail: https://medium.com/@seitzmanuel/how-to-get-your-mac-osx-ready-for-playing-ctfs-hacking-6b6801250d1e

Requirements

This installation requires wget, homebrew, pipx, pip and python >= 3.8 (recommended & tested on 3.8). Install the requirements in the same order as listed here.

Install xcode commandline-tools

  xcode-select --install

Install Homebrew

  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  brew update

Install Python3.8

For safe install download installer via https://www.python.org/downloads/release/python-380/ alternatively (not tested):

  brew install [email protected]

Install pip

  wget https://bootstrap.pypa.io/get-pip.py
  python3 get-pip.py

Install pipx

export <home_directory>/.local/bin to your path if its missing

  python3 -m pip install pipx
  ln -s <path_to_your_python_versions>/3.8/bin/pipx /usr/local/bin/pipx # for example /Library/Frameworks/Python.framework/Versions/3.8/bin/pipx

Install wget

Reboot after installation !important!

  brew install wget

Manual installations

Steghide require a manual installation steps due to the installation of mac ports

1. Download and install mac ports https://guide.macports.org/chunked/installing.macports.html
2. add /opt/local/bin to your path if its missing
sudo port install steghide

Installation

  git clone https://github.com/chikko80/OSX-CTF-Ready.git
  cd OSX-CTF-Ready
  chmod +x install.sh
  ./install.sh

Installation Info

Most of the binaries should be directly available since they are installed via brew.

The others:

Script Location
tokenbreaker jwt
jwt-cracker jwt/jwt-cracker
linkfinder misc/linkfinder
hash-id misc
basic-scanner.py misc
string_finder misc
hydra_builder misc

john (John The Ripper): by default john is installed via homebrew. Therefore only the john binary is installed and not the jumbo pack. So tools like zip2john or ssh2john are missing. Furthermore the "brew-john" binary does not support multithreading via OpenMP. To install John with OpenMP support, read my blog post: https://medium.com/@seitzmanuel/how-to-compile-john-the-ripper-on-mac-osx-with-openmp-support-multicore-big-sur-a60cad850b7d Dont forget to comment john out in the sh file if you are going to install it from source.

The script installs the following software

GUI

  • burp-suite community edition
  • owasp-zap
  • ghidra
  • whireshark

CLI

  • git
  • nmap
  • gobuster
  • nikto
  • wpscan
  • metasploit-framework
  • exploitdb
  • john (!Read Installation Info above!)
  • hashcat
  • samba (smbget,smbclient)
  • binwalk
  • exiftool
  • hydra
  • aircrack-ng
  • smbmap
  • enum4linux
  • crackmapexec
  • pwncat
  • tokenbreaker
  • c-jwt-cracker
  • hash-identifier
  • linkfinder
  • steghide
  • sqlmap

wordlists

  • kali linux wordlists
  • kali linux seclists

Script Collection

Linux

  • chisel (osx, amd64, i386)
  • linpeas.sh (PEASS-ng)
  • linenum.sh
  • linux_smart_enumeration.sh
  • linux_exploit_suggester.sh
  • pspy64
  • pspy32

Windows

  • winpeas.bat (PEASS-ng)
  • winpeasany.exe (PEASS-ng)
  • winpeasany_obfuscated.exe (PEASS-ng)
  • powerup.ps1
  • jaws-enum.ps1
  • printspoof.exe

Reverse Shells

  • invoke-powershelltcp.ps1
  • php-rev-shell.php

Personal Creation

  • basic_scanner.py - Does a basic scan on ctf target - nmap, gobuser, extracting comments of found urls, analyzing with wappalyzer api
  • hydra_buider.py - build hydra commands
  • string_finder.py - finds recursively all files containing string

Optionals

Install wappalyzer to easily identify technologies on websites https://www.wappalyzer.com/

Contributing

Feel free to make new suggestions or recommendations which scripts should be added to the repo, alternatively you can also create a pull request right away

Credits to repositorys

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.