mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-05-03 15:24:59 -04:00
ip/icmp scanner
This commit is contained in:
parent
b65ef8b730
commit
4d4b0dcdff
9 changed files with 318 additions and 1 deletions
14
Network_and_802.11/netaddr/send_mail.py
Executable file
14
Network_and_802.11/netaddr/send_mail.py
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
__author__ = "bt3"
|
||||
|
||||
import netaddr
|
||||
import socket
|
||||
|
||||
subnet = '192.168.1.0/24'
|
||||
|
||||
for ip in netaddr.IPNetwork(subnet):
|
||||
s = socket.socket()
|
||||
print ip
|
||||
s.connect((ip, 25))
|
||||
# send email packets
|
Loading…
Add table
Add a link
Reference in a new issue