@app.route('/scans/<int:scan_id>/fuzzable-requests/', methods=['GET'])
@requires_auth
def get_fuzzable_request_list(scan_id):
 scan_info = get_scan_info_from_id(scan_id)
 if (scan_info is None):
  abort(404, 'Scan not found')
 data = []
 for fuzzable_request in kb.kb.get_all_known_fuzzable_requests():
  data.append(b64encode(fuzzable_request.dump()))
 return jsonify({'items': data})

@ app . route ( '/scans/<int:scan_id>/fuzzable-requests/' , methods = [ 'GET' ] ) @ requires_auth def get_fuzzable_request_list ( scan_id ) : scan_info = get_scan_info_from_id ( scan_id ) if ( scan_info is None ) : abort ( 404 , 'Scan not found' ) data = [ ] for fuzzable_request in kb . kb . get_all_known_fuzzable_requests ( ) : data . append ( b64encode ( fuzzable_request . dump ( ) ) ) return jsonify ( { 'items' : data } )
a list with all the known fuzzable requests by this scanner .