November 2017
Intermediate to advanced
226 pages
5h 59m
English
Here are the steps for creating a simple network scanner using the scapy module:
import socket, re from scapy.all import *
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect(('8.8.8.8', 80))
ip = s.getsockname()[0]
end = re.search('^[\d]{1,3}.[\d]{1,3}.[\d]{1,3}.[\d]{1,3}', ip) ...Read now
Unlock full access