fix: 🐛 login issue

Add configurable user agent

 Closes: #26, #20, #13
This commit is contained in:
Grey_D
2023-04-27 11:00:45 +08:00
parent b70c5419e3
commit 5e957b5b1e
8 changed files with 64 additions and 484 deletions

View File

@@ -21,7 +21,9 @@ class localTaskCompleter(Completer):
task_meta = {
"discuss": HTML("Discuss with <b>PentestGPT</b> about this local task."),
"brainstorm": HTML("Let <b>PentestGPT</b> brainstorm on the local task for all the possible solutions."),
"brainstorm": HTML(
"Let <b>PentestGPT</b> brainstorm on the local task for all the possible solutions."
),
"help": HTML("Show the help page for this local task."),
"google": HTML("Search on Google."),
"continue": HTML("Quit the local task and continue the previous testing."),
@@ -102,6 +104,7 @@ def main_task_entry(text="> "):
else:
return result
def local_task_entry(text="> "):
"""
Entry point for the task prompt. Auto-complete