@@ -15,8 +15,8 @@ def _build_parser() -> argparse.ArgumentParser:
1515 description = "AI pentest testcase runner" ,
1616 epilog = (
1717 "Samples:\n "
18- " ./ ai run https://prompt-injection-lab.vercel.app/api/chat\n "
19- " ./ ai run https://api-inference.huggingface.co/models/gpt2 --report reports/hf.json\n "
18+ " ai run https://prompt-injection-lab.vercel.app/api/chat\n "
19+ " ai run https://api-inference.huggingface.co/models/gpt2 --report reports/hf.json\n "
2020 " python3 main.py run offline://lab\n "
2121 ),
2222 formatter_class = argparse .RawDescriptionHelpFormatter ,
@@ -28,9 +28,9 @@ def _build_parser() -> argparse.ArgumentParser:
2828 help = "Run all pentest cases against a target URL" ,
2929 epilog = (
3030 "Examples:\n "
31- " ./ ai run https://prompt-injection-lab.vercel.app/api/chat\n "
32- " ./ ai run https://aihorde.net/api/v2\n "
33- " ./ ai run https://chat.openai.com/backend-api/models --quiet\n "
31+ " ai run https://prompt-injection-lab.vercel.app/api/chat\n "
32+ " ai run https://aihorde.net/api/v2\n "
33+ " ai run https://chat.openai.com/backend-api/models --quiet\n "
3434 ),
3535 formatter_class = argparse .RawDescriptionHelpFormatter ,
3636 )
@@ -63,7 +63,7 @@ def _interactive_args() -> argparse.Namespace:
6363 show_vulnerable_targets_hint (load_vulnerable_target_urls (history_path ))
6464 command_line = input ("Command (example: ai run https://target-ai.example): " ).strip ()
6565 if not command_line :
66- raise SystemExit ("No command provided. Use `./ ai --help` for usage." )
66+ raise SystemExit ("No command provided. Use `ai --help` for usage." )
6767 tokens = shlex .split (command_line )
6868 if tokens and tokens [0 ] == "ai" :
6969 tokens = tokens [1 :]
@@ -83,7 +83,7 @@ def main() -> None:
8383 print_banner ()
8484
8585 if args .command not in {"run" , "pentest" }:
86- raise SystemExit ("Unknown command. Use `./ ai --help`." )
86+ raise SystemExit ("Unknown command. Use `ai --help`." )
8787
8888 target = {
8989 "source" : "any" ,
0 commit comments