Cheatsheet for HackTheBox with common things to do while solving these CTF challenges.
Because a smart man once said:
Never google twice.
| [version] | |
| Signature=$chicago$ | |
| AdvancedINF=2.5 | |
| [DefaultInstall_SingleUser] | |
| RegisterOCXs=RegisterOCXSection | |
| [RegisterOCXSection] | |
| C:\Users\test.PENTESTLAB\pentestlab.dll |
Cheatsheet for HackTheBox with common things to do while solving these CTF challenges.
Because a smart man once said:
Never google twice.
Note: I did not author this, i found it somehwere.
With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>With Rubeus version with brute module:
| ########## | |
| # Tweaked Win10 Initial Setup Script | |
| # Primary Author: Disassembler <disassembler@dasm.cz> | |
| # Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences. | |
| # Version: 2.20.2, 2018-09-14 | |
| # Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
| # Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/ | |
| # Tweak difference: | |
| # | |
| # @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ... |
| import socket | |
| import random | |
| import os, sys | |
| import threading | |
| if sys.platform == 'linux' or sys.platform == 'linux2': | |
| clearing = ' clear' | |
| else: | |
| clearing = 'cls' | |
| os.system(clearing) |
| // Determine linux distribution and version | |
| cat /etc/issue | |
| cat /etc/*-release | |
| cat /etc/lsb-release | |
| cat /etc/redhat-release | |
| // Determine kernel version - 32 or 64-bit? | |
| cat /proc/version | |
| uname -a | |
| uname -mrs |
| #!/bin/bash | |
| # | |
| # OpenVAS automation script. | |
| # Mariusz B. / mgeeky, '17 | |
| # v0.2 | |
| # | |
| trap ctrl_c INT | |
| # --- CONFIGURATION --- |
| #!/bin/bash | |
| # Well, entire Kali installation assume that we are normally working as root on our Kali. | |
| # I know that assumption sucks to its root, but I wanted to avoid every "permission denied" issue and I was too lazy | |
| # to get it done properly as a non-root. | |
| if [ $EUID -ne 0 ]; then | |
| echo "This script must be run as root." | |
| exit 1 | |
| fi |
| /* | |
| Spoofed SYN by eKKiM | |
| Educational purpose only please. | |
| Compile with | |
| gcc syn.c -pthread | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <netinet/tcp.h> | |
| #include <netinet/ip.h> |