We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import loguru import sys import argparse
from pentestgpt.utils.pentest_gpt import pentestGPT
def main(): """main function""" parser = argparse.ArgumentParser(description="PentestGPT")
# parser arguments # 0. log directory parser.add_argument("--log_dir", type=str, default="logs") # 1. Reasoning Model parser.add_argument("--reasoning_model", type=str, default="gpt-3") # 2. Parsing Model parser.add_argument("--parsing_model", type=str, default="gpt-3.5-base") # Depracted: set to False only for testing if using cookie parser.add_argument("--useAPI", action="store_true", default=True) args = parser.parse_args() pentestGPTHandler = pentestGPT( reasoning_model=args.reasoning_model, parsing_model=args.parsing_model, useAPI=args.useAPI, log_dir=args.log_dir, ) pentestGPTHandler.main()
if name == "main": main()
The text was updated successfully, but these errors were encountered:
I don't see the issue here. May you help to elaborate?
Sorry, something went wrong.
I'd love to paticipate on this PentestGPT
No branches or pull requests
import loguru
import sys
import argparse
from pentestgpt.utils.pentest_gpt import pentestGPT
def main():
"""main function"""
parser = argparse.ArgumentParser(description="PentestGPT")
if name == "main":
main()
The text was updated successfully, but these errors were encountered: