SAP / odfuzz

Apache License 2.0
18 stars 12 forks source link

Bug in CLI runner #126

Open phanak-sap opened 1 year ago

phanak-sap commented 1 year ago

Reproduced against any service (e.g. Nortwind odata v2_

Fuzzing... Traceback (most recent call last): File "c:\odfuzz\odfuzz\odfuzz.py", line 82, in run_fuzzer manager.start() File "c:\odfuzz\odfuzz\fuzzer.py", line 72, in start fuzzer.run() File "c:\odfuzz\odfuzz\fuzzer.py", line 139, in run self.seed_population() File "c:\odfuzz\odfuzz\fuzzer.py", line 173, in seed_population self._analyze_queries(queries) File "c:\odfuzz\odfuzz\fuzzer.py", line 291, in _analyze_queries analyzed_offsprings.append(self._analyzer.analyze(query)) File "c:\odfuzz\odfuzz\fuzzer.py", line 938, in analyze new_score = FitnessEvaluator.evaluate(query) File "c:\odfuzz\odfuzz\fuzzer.py", line 1024, in evaluate keys_len = sum(len(option_name) for option_name in query[0].options.keys()) TypeError: 'Query' object is not subscriptable