Skip to content

Instantly share code, notes, and snippets.

@richarddun
richarddun / gist:1bb11d32cafc394efbcb8f4a8b6cb130
Last active April 23, 2024 14:22
scapy script to send http requests
#!/usr/bin/env python
"""
Script to open TCP connection and send 1 HTTP GET request containing
a specific string, and header
Usage:
./http.py <IP_of_target>
There is only one mandatory argument, which is the target IP address.