Skip to content

Add PayloadsAllTheThings Integration Tool (patt.py)#828

Open
urnamehere wants to merge 1 commit intoswisskyrepo:masterfrom
urnamehere:claude/create-integration-tool-Ad7hU
Open

Add PayloadsAllTheThings Integration Tool (patt.py)#828
urnamehere wants to merge 1 commit intoswisskyrepo:masterfrom
urnamehere:claude/create-integration-tool-Ad7hU

Conversation

@urnamehere
Copy link
Copy Markdown

CLI tool that indexes and integrates all repo content — 56 vuln categories, 60+ wordlists, and 34 methodology guides — into a searchable, browsable interface with pipe-friendly output.

Commands: list, info, search, payloads, wordlists, dump, techniques.

https://claude.ai/code/session_01CwqjiUzyiPv5jaNj7BeGkG

CLI tool that indexes and integrates all repo content — 56 vuln
categories, 60+ wordlists, and 34 methodology guides — into a
searchable, browsable interface with pipe-friendly output.

Commands: list, info, search, payloads, wordlists, dump, techniques.

https://claude.ai/code/session_01CwqjiUzyiPv5jaNj7BeGkG
@kasem545
Copy link
Copy Markdown

kasem545 commented Mar 20, 2026

hello @urnamehere great work can you add to wordlists flag or something to get (copy )the wordlist to directory ,it will be nice addition


    if args.file:
        name_lower = args.file.lower()
        matches = [tf for tf in txt_files if tf.name.lower() == name_lower]
        if not matches:

            matches = [tf for tf in txt_files if name_lower in tf.name.lower()]
        if not matches:
            print(f"Wordlist '{args.file}' not found in '{cat}'. Available:")
            for tf in txt_files:
                print(f"  - {tf.name}")
            sys.exit(1)
        if len(matches) > 1:
            print(f"Ambiguous name '{args.file}'. Matches:")
            for tf in matches:
                print(f"  - {tf.name}")
            sys.exit(1)
        src = matches[0]
        if args.output:
            dest = Path(args.output)
            dest.parent.mkdir(parents=True, exist_ok=True)
            shutil.copy2(src, dest)
            print(f"Saved {colorize(src.name, 'green')} → {colorize(str(dest), 'cyan')} ({count_lines(src)} payloads)")
        else:

            with open(src, "r", errors="replace") as f:
                for line in f:
                    stripped = line.rstrip("\n\r")
                    if stripped:
                        print(stripped)
        return



    p_wordlists.add_argument("-w", "--file", metavar="FILENAME", help="Specific wordlist file to extract")
    p_wordlists.add_argument("-o", "--output", metavar="PATH", help="Save the wordlist to this path (requires -w)")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants