mirror of
https://github.com/threatland/TL-BOTS
synced 2024-06-24 07:49:59 +00:00
14 lines
253 B
Python
14 lines
253 B
Python
|
#!/usr/bin/python -w
|
||
|
from random import randint
|
||
|
import time
|
||
|
|
||
|
range = raw_input("Range: ")
|
||
|
|
||
|
def host():
|
||
|
return '%s.255.%i.%i' % (range, rand(), rand())
|
||
|
|
||
|
def rand():
|
||
|
return randint(1, 254)
|
||
|
|
||
|
while True:
|
||
|
print 'scanning %s' % (host())
|