def main(): exclude = get_scan_exclusion_info(fetch_exclusion_scan(1)[0]) limit_num = 10000 # Number of limit of requests scan_type = 'scan_sqli' requests = fetch_request(exclude, scan_type, limit_num) if requests: for request in requests: scanner(request) else: print highlight("[!] no new request found", 'yellow')
def main(): exclude = get_scan_exclusion_info(fetch_exclusion_scan(2)[0]) # 2 means exclusion type is FI(File Inclusion) limit_num = 10000 # Number of limit of requests scan_type = 'scan_fi' requests = fetch_request(exclude, scan_type, limit_num) if requests: for request in requests: try: scanner(request) except Exception, err: print highlight("[!] scanner failed: {}".format(str(err)), 'red') pass
def main(): exclude = get_scan_exclusion_info(fetch_exclusion_scan(0)[0]) limit_num = 10000 # Number of limit of requests scan_type = 'scan_xss' requests = fetch_request(exclude, scan_type, limit_num) if requests: for request in requests: try: scanner(request) except Exception, err: print highlight("[!] scanner failed: {}".format(str(err)), 'red') pass
def main(): exclude = get_scan_exclusion_info(fetch_exclusion_scan( 2)[0]) # 2 means exclusion type is FI(File Inclusion) limit_num = 10000 # Number of limit of requests scan_type = 'scan_fi' requests = fetch_request(exclude, scan_type, limit_num) if requests: for request in requests: try: #print 'lyue' #print request scanner(request) except Exception, err: print highlight("[!] scanner failed: {}".format(str(err)), 'red') pass