mirror of
https://github.com/threatland/TL-BOTS
synced 2024-06-16 03:50:10 +00:00
14 lines
253 B
Python
Executable File
14 lines
253 B
Python
Executable File
#!/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()) |