Skip to content

Instantly share code, notes, and snippets.

View 0xHossam's full-sized avatar
🫠

Hossam Ehab 0xHossam

🫠
View GitHub Profile
@0xHossam
0xHossam / SQLtoRCE.py
Created December 7, 2024 14:03
A Python utility that leverages SQL injection to achieve remote code execution (RCE) by deploying obfuscated web shells, featuring proxy support and multi-threading for effective red team operations.
import argparse
import requests
import urllib.parse
import sys
import base64
import logging
import random
import time
import threading
from typing import Optional
@0xHossam
0xHossam / client.py
Last active April 27, 2025 08:24
Data Exfiltration Using DNS over HTTPS (DoH) for HTTPS POST Requests & Sending Data in Chunks
# Info: Stealthy Data Exfiltration Using (DoH) - Client Code
# Date: May 26, 2024
# Author: Hossam
import os, glob, requests, logging, struct, base64, random, time, httpx
from datetime import datetime
import urllib3
import win32com.client
from colorama import Fore, Style, init
from cryptography.fernet import Fernet