Code Monkey home page Code Monkey logo

Comments (2)

GreyDGL avatar GreyDGL commented on June 8, 2024 1

Hey @0xade1 , this is a wonderful idea! I propose the following implementation and see if it makes sense to you.

  1. For ChatGPT, users may resume the previous chat sessions, which is quite doable.
    • One possible way is to save the current pentest class key information (session_id, conversation_history, etc.) as pickle or txt in a log.
    • Add a continue from function allowing users to continue from a previous session.
  2. For API users, this becomes a bit tricky because due to token size limit, we probably cannot resume efficiently.
    • Try to load the previous several conversations and see if the test can continue
    • Add some customized prompts so that the session can learn form previous testing results, and start a new one.

Thanks for the suggestion again. Please feel free to push PR if you have any ideas. Meanwhile, I'll implement the support for ChatGPT usage and see if it works.

from pentestgpt.

GreyDGL avatar GreyDGL commented on June 8, 2024

The feature is integrated into the latest commit.

from pentestgpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.