Enhance the scan functionality so that when a user performs a scan, the tool also generates a report in both JSON and HTML formats. This will provide users with detailed, exportable results they can review or share. The implementation should ensure:
- After every scan, a JSON report summarizing the findings is created.
- An HTML version of the report is also generated for easy viewing.
- Both reports are saved to a user-specified or default location.
- Update documentation to reflect the new report generation feature.
This will improve usability and accessibility of scan results.