@app.route('/scans/<int:scan_id>/urls/', methods=['GET'])
@requires_auth
def get_url_list(scan_id):
 scan_info = get_scan_info_from_id(scan_id)
 if (scan_info is None):
  abort(404, 'Scan not found')
 data = [str(u) for u in kb.kb.get_all_known_urls()]
 return jsonify({'items': data})

@ app . route ( '/scans/<int:scan_id>/urls/' , methods = [ 'GET' ] ) @ requires_auth def get_url_list ( scan_id ) : scan_info = get_scan_info_from_id ( scan_id ) if ( scan_info is None ) : abort ( 404 , 'Scan not found' ) data = [ str ( u ) for u in kb . kb . get_all_known_urls ( ) ] return jsonify ( { 'items' : data } )
a list with all the known urls by this scanner .