19 lines
416 B
Plaintext
19 lines
416 B
Plaintext
import_code("/dev/scanner/libbindb.src")
|
|
import_code("/dev/scanner/database.src")
|
|
import_code("/dev/scanner/util_import.src")
|
|
import_code("/dev/scanner/scanner.src")
|
|
|
|
//sometimes giving out non existing IP, maybe whois to filter those out.
|
|
myDB = database()
|
|
count = params[0]
|
|
|
|
i = 0
|
|
while true
|
|
if(i == count.to_int) then break
|
|
ip = randomIp()
|
|
print("\n" + ip)
|
|
scanner(ip)
|
|
i= i + 1
|
|
end while
|
|
|
|
print("Done") |