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
| import urllib.parse | |
| import argparse | |
| import random | |
| import string | |
| import subprocess | |
| import threading | |
| import requests | |
| # python3 htb_cat_xss_account_takeover.py --ip 10.10.x.x -p xx -u http://cat.htb -f ./cat.jpg |
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
| import argparse | |
| import os | |
| import random | |
| import shutil | |
| import string | |
| import subprocess | |
| import tempfile | |
| import requests | |
| class GhostExploit: |
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
| import argparse | |
| import json | |
| import requests | |
| import base64 | |
| class TeamPassSQLiExploit: | |
| # htpasswd -bnBC 10 "" h4ck3d | tr -d ':\n' | |
| ARBITRARY_HASH='$2y$10$u5S27wYJCVbaPTRiHRsx7.iImx/WxRA8/tKvWdaWQ/iDuKlIkMbhq' |
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
| import json | |
| import random | |
| import string | |
| import requests | |
| class HTBHealLFIEnum: | |
| API_URL_ROOT = 'http://api.heal.htb' | |
| def __init__(self): |
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
| name: Generate Threat Modeling Report | |
| on: | |
| pull_request: | |
| types: [opened, reopened, edited, synchronize] | |
| jobs: | |
| pytm: | |
| name: pyTM | |
| runs-on: ubuntu-latest |
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
| #!/bin/sh | |
| adb root && sleep 2 && | |
| echo '\nRemounting ...' && adb remount && | |
| echo '\nPushing cert ...' && adb push ~/burp-certs/9a5ba575.0 /system/etc/security/cacerts && | |
| echo '\nChanging cert permissions ...' && adb shell 'chmod 664 /system/etc/security/cacerts/9a5ba575.0' && | |
| echo '\nRebooting ...' && adb reboot && | |
| echo '\nDone :)' |
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
| import os | |
| import requests | |
| import argparse | |
| import jwt | |
| from datetime import datetime, timezone | |
| invalid_token_msg = 'Invalid Token' | |
| def is_valid_file(parser, arg): | |
| if not os.path.exists(arg): |
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
| import os | |
| import argparse | |
| import csv | |
| import mysql.connector | |
| def is_valid_file(parser, arg): | |
| if not os.path.exists(arg): | |
| parser.error("The file %s does not exist!" % arg) | |
| else: | |
| return arg |
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
| import os | |
| import argparse | |
| import csv | |
| import mysql.connector | |
| def is_valid_file(parser, arg): | |
| if not os.path.exists(arg): | |
| parser.error("The file %s does not exist!" % arg) | |
| else: | |
| return arg |
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
| import requests | |
| import base64 | |
| import argparse | |
| import os | |
| DEFAULT_HEADERS = { 'User-Agent': 'ines-martins-was-here' } | |
| def is_valid_file(parser, arg): | |
| if not os.path.exists(arg): | |
| parser.error("The file %s does not exist!" % arg) |
NewerOlder