Open endlesslyou opened 5 months ago
Let me try to debug and reproduce this one.
same error.
I cannot reproduce the error, but likely this is due to the connection lost. I'll add a more robust debugger for it.
Same to me
我出现下拉框进行选择的时候,我输入shift + 向右箭头无反应,无法进行选择
@freya270 can you try running PnetestGPT in tmux again?
@GreyDGL FYI, I think this issue not only relates to tmux
, but also relates to the terminal emulator. Since different terminal emulator encode shift+<right arrow>
as a different character. I previously tried alacritty+tmux, and it didn't work. But macos's default terminal.app
+tmux works normally.
Describe the bug When i end my input with shift + right-arrow, pentestgpt gave me error. I use macos Sonoma 14.5 and latest pentestgpt version
pentestgpt --reasoning_model=gpt-4 Your CHATGPT_COOKIE is not set. Please set it in the environment variable. Your GOOGLE_API_KEY is not set. Please set it in the environment variable. Your GOOGLE_API_KEY is not set. Please set it in the environment variable. Welcome to pentestGPT, an automated penetration testing parser empowered by GPT. The settings are:
New conversation.3c9ae05a-2285-11ef-9583-8ecc7cb9e95f is created.
Step 1: Open your terminal.
Step 2: Use Nmap, a free and open-source network scanner, for the port scanning. If it's not installed, you can install it using the following command on Ubuntu:
Step 3: Once Nmap is installed, you can use it to perform a full port scan on test.com by typing the following command into your terminal:
This command will scan all 65535 ports on test.com.
Step 4: Review the output. The open ports will be listed in the command line output.
Remember, the purpose of this task is to identify all open ports on test.com, which will help us understand the network better and plan further penetration testing steps.
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/Users/myuser/Work/Tools/PentestGPT/pentestgpt/utils/pentest_gpt.py", line 742, in main result = self.input_handler() ^^^^^^^^^^^^^^^^^^^^ File "/Users/myuser/Work/Tools/PentestGPT/pentestgpt/utils/pentest_gpt.py", line 471, in input_handler parsed_input = self.input_parsing_handler( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/myuser/Work/Tools/PentestGPT/pentestgpt/utils/pentest_gpt.py", line 312, in input_parsing_handler summarized_content += self.parsingAgent.send_message( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/myuser/Work/venvpentest/lib/python3.12/site-packages/tenacity/init.py", line 330, in wrapped_f return self(f, *args, **kw) ^^^^^^^^^^^^^^^^^^^^ File "/Users/myuser/Work/venvpentest/lib/python3.12/site-packages/tenacity/init.py", line 467, in call do = self.iter(retry_state=retry_state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/myuser/Work/venvpentest/lib/python3.12/site-packages/tenacity/init.py", line 368, in iter result = action(retry_state) ^^^^^^^^^^^^^^^^^^^ File "/Users/myuser/Work/venvpentest/lib/python3.12/site-packages/tenacity/init.py", line 411, in exc_check raise retry_exc from fut.exception() tenacity.RetryError: RetryError[<Future at 0x10698f050 state=finished raised KeyError>]
Before you quit, you may want to save the current session. Please enter the name of the current session. (Default with current timestamp)