def ticknormal(): num = random.randint(7, 7) temp = zmaptool.Zmaptool() temp.do_scan(port=operator.get(str(num)), num='30') print('Tick! The time is: %s' % datetime.now())
def tick(): num = random.randint(1, 1) temp = zmaptool.Zmaptool() temp.do_scan(port=operator.get(str(num)), num='4', needdetail='1') print('Tick! The time is: %s' % datetime.now())
def zmaptask(): num = random.randint(8, 8) temp = zmaptool.Zmaptool() temp.do_scan(port=operator.get(str(num)), num='20') print('Tick! The time is: %s' % datetime.now())