john
暂无简介
- License 许可
- AGPL-3.0
- 所属仓库
- 0xwi11iam/Suijin
- 最近更新
- 2026-11-14
- Stars
- ★ 24
- Forks
- 4
02 资源文件 5
- 脚本__init__.py50 B
- 脚本entry.py2.1 KB
- 脚本main.py674 B
- 参考文档manifest.json437 B
- 参考文档plugin.json384 B
03 SKILL.md 正文
John the Ripper
[warn] LONG-RUNNING — Always use
"background": true. Password cracking can take hours.{"tool_name": "john_crack", "tool_args": {"hashfile": "...", "wordlist": "...", "background": true}}(john_crack)
Offline hash cracker. Supports MD5, SHA, NTLM, bcrypt, descrypt, SSH keys, archives.
Installation
- Homebrew:
brew install john-jumbo - APT:
sudo apt install john
Usage
{"tool": "john_crack", "args": {"hashfile": "/tmp/hashes.txt", "wordlist": "/usr/share/wordlists/rockyou.txt"}}
{"tool": "john_crack", "args": {"hashfile": "/tmp/hashes.txt", "format": "nt"}}
Common Formats
| Format | Hash Type |
|---|---|
raw-md5 |
MD5 |
raw-sha256 |
SHA-256 |
nt |
NTLM (Windows) |
bcrypt |
bcrypt ($2b$/$2y$) |
sha512crypt |
SHA-512 ($6$) |
descrypt |
DES (old Unix) |
krb5tgs |
Kerberos TGS |
ssh-ng |
SSH private key |
Extract + Crack Workflow
- Extract:
ssh2john id_rsa > hash.txtorzip2john archive.zip > hash.txt - Crack:
{"tool": "john_crack", "args": {"hashfile": "hash.txt", "wordlist": "/usr/share/wordlists/rockyou.txt"}} - Show:
{"tool": "execute_terminal", "args": {"cmd": "john --show hash.txt"}}
Common Extraction Commands
| Source | Command |
|---|---|
| SSH key | ssh2john id_rsa > hash.txt |
| ZIP | zip2john archive.zip > hash.txt |
| RAR | rar2john archive.rar > hash.txt |
| Keepass | keepass2john database.kdbx > hash.txt |
| Linux shadow | unshadow /etc/passwd /etc/shadow > hash.txt |
04 同仓库更多 Skills
WSTG Session Management Testing
Test session tokens for entropy, predictability, fixation, logout, timeout, cookie scope
WSTG Information Gathering
Systematic information gathering: search engine discovery, web server fingerprinting, review page content for info leaka
WSTG Identity & Authentication Testing
Test credential encryption in transit, authentication bypass, weak lockout, password reset, security question, multi-fac
WSTG Error Handling Testing
Test for stack traces, verbose errors, CWE search, improper error handling
WSTG Data Validation Testing
Test reflected/stored/DOM XSS, SQL injection, LDAP injection, ORM injection, command injection, format string
WSTG Cryptography Testing
Test for weak SSL/TLS, padding oracle, weak encryption, clear-text transmission