Category : scapy

I’m new to python and using scapy. Trying to make a basic active reconnaissance program to do the following: fetch the IP address for the given network interface (eg enp0s or lo) Should then send an ICMP request to every host in this network (can assume it is a /24 network). Detect if an ICMP ..

Read more

I am using Scapy to create an SSDP protocol discovery packet for all devices (ssdp:all) however suddenly I am not getting any response from the devices when I did get them before. I am using a Ubuntu VM. This is the code I am using to create the packet. ssdpPacket = IP(dst="239.255.255.250")/UDP(sport=6700,dport=1900)/Raw(load=’M-SEARCH * HTTP/1.1rnHOST: 239.255.255.250:1900rnST:ssdp:allrnMAN:"ssdp:discover"rnMX: ..

Read more

I’m trying to send a TLS ClientHello Packet to an IP with a SNI to check if firewall returns RST Packets. How should I go about doing so with scapy within a script? I have tried this: from scapy.layers.tls.automaton_cli import TLSClientAutomaton def tls_check(domain): t=TLSClientAutomaton(server="1.1.1.1",dport=443,server_name=domain) t.run() tls_check("1337x.to") While it does kinda work, in that it shows ..

Read more