Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobowski authored Jul 28, 2023
1 parent 817b9c9 commit da62777
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions cakefuzzer/domain/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,22 +399,24 @@ async def save_to_file(self, filename: Path = Path("results.json")):

if vuln.iteration_result is None:
dump_vuln = {
"strategy_name": None,
"payload": payload,
"detection_result": vuln.vulnerability.detection_result,
"context_location": vuln.vulnerability.context_location,
"vulnerability_location": vuln.vulnerability_location,
"vulnerability_id": i,
"path": None,
"method": None,
"superglobal": {
"_GET": None,
"_POST": None,
"_REQUEST": None,
"_COOKIE": None,
"_FILES": None,
"_SERVER": None,
},
"found_in":{
"strategy_name": None,
"payload": payload,
"detection_result": vuln.vulnerability.detection_result,
"context_location": vuln.vulnerability.context_location,
"vulnerability_location": vuln.vulnerability_location,
"vulnerability_id": i,
"path": None,
"method": None,
"superglobal": {
"_GET": None,
"_POST": None,
"_REQUEST": None,
"_COOKIE": None,
"_FILES": None,
"_SERVER": None,
},
}
}

else:
Expand Down

0 comments on commit da62777

Please sign in to comment.