Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
R00tS3c
GitHub Repository: R00tS3c/DDOS-RootSec
Path: blob/master/Botnets/Scanning/SSH/class.py
5038 views
1
#!/usr/bin/python -w
2
from random import randint
3
import time
4
5
range = raw_input("Range: ")
6
7
def host():
8
return '%s.255.%i.%i' % (range, rand(), rand())
9
10
def rand():
11
return randint(1, 254)
12
13
while True:
14
print 'scanning %s' % (host())
15