GreyDGL / PentestGPT

A GPT-empowered penetration testing tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It can't run

4ooooo opened this issue · comments

image
I use it on the virtual machines(kali and ubuntu),it has something wrong. Then I use it on windows11, it's the same bug. What should I do to solve it?

I can't seem to reproduce your issue.

Do you get any errors when you run pentestgpt-connection ?
And do you see a line "New conversation.(xx) is created." in the output?

yes,it also gets error.
image
I can't see the output you mentioned. Could it be a problem with my API-key?

I doubt it, because if that's the case then it's odd that you're getting "ChatGPT Sessions Initialized." in the first image.

What's after the lines shown in the 2nd image? Are you getting:

2. You're connected with OpenAI API. You have GPT-3.5 access. To start PentestGPT, please use <pentestgpt --reasoning_model=gpt-3.5-turbo-16k>

Also, what are you getting in the case of the first image before initializing the session? I mean similar to:

image

yes,I get it,I can start a chat, but after I submit my instruction, it gets errors.
image

That's odd, you should be getting New conversation is created before getting your input, similar to:

image

As a sanity check, which version of pentestgpt are you using? I'm using 0.11.0

yeah, it's same. I'm using 0.11.0. I have another question. When I use pentest-connection. It seems only test the gpt4, and then post an error. It doesn't test the gpt3.5.
image

Okay, did you add a valid payment method (e.g. a credit card) to your OpenAI account? You can add it from the account settings in https://platform.openai.com/. It is required to use PentestGPT.

Also, is the OpenAI library the latest? It should be 0.27.10

OK, I didn't add any payment method. I use the free acount. Is this my key problem?

Yes, I believe so, similar to #149
You're required to add a payment method to your account to use PentestGPT

OK, I see, thank you very much.