PentestGPT icon indicating copy to clipboard operation
PentestGPT copied to clipboard

[Feature] Consider to add Google Search

Open GreyDGL opened this issue 1 year ago • 6 comments

GreyDGL avatar Apr 10 '23 04:04 GreyDGL

Create a new branch to work on this.

GreyDGL avatar Apr 14 '23 06:04 GreyDGL

General design:

  1. Allow user to google search in the process of testing.
  2. Google search embedded reasoning: use google search to improve reasoning process.
    • This part is very tricky, because the keywords are not likely to be found.
    • Some functions that may help in practice:
      1. search based on the test result: check if the machine walkthrough is available online (need a toggle).
      2. check what can do for a specific service.
  3. Google search embedded test generation: check the ways to scan a specific item (images, files, etc.)

GreyDGL avatar Apr 15 '23 02:04 GreyDGL

Basic google search function added. Consider to add parsers for detailed usage.

GreyDGL avatar Apr 22 '23 09:04 GreyDGL

Would it be beneficial to add a vector DB search to gather relevant and readily available data to feed into the LLM of choice? This would save unique Google APIs and web scraping. Already working on the vectorDB (ChromaDB)with someone if that helps:) Could put the implementation into a PR. OR There could be additional discuss options incuding browser output and the prompt for the LLM to search and expand for itself.... idk though...

SATUNIX avatar Sep 16 '23 11:09 SATUNIX

@SATUNIX Yes the vector DB implementation is on the dev plan. Will integrate into the current implementation, but need some further tests to ensure its performance.

GreyDGL avatar Sep 17 '23 11:09 GreyDGL

Adding the basics of Google search feature. Will do further implementations to complete the logic.

GreyDGL avatar Mar 19 '24 14:03 GreyDGL