Skip to content

Instantly share code, notes, and snippets.

View shellfeel's full-sized avatar
🏠
Working from home

shellfeel

🏠
Working from home
View GitHub Profile
@phith0n
phith0n / fpm.py
Last active June 3, 2025 01:39
Fastcgi PHP-FPM Client && Code Execution
import socket
import random
import argparse
import sys
from io import BytesIO
# Referrer: https://github.com/wuyunfeng/Python-FastCGI-Client
PY2 = True if sys.version_info.major == 2 else False
#!/usr/bin/python
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected])
# The author disclaims copyright to this source code.
import sys
import struct
import socket
import time
import select