icoa-cli 2.19.459 → 2.19.461

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/commands/ai4ctf.js +1 -1
  2. package/dist/commands/ctf4ai-demo.js +1 -1
  3. package/dist/commands/ctf4vla.js +1 -1
  4. package/dist/commands/exam.js +1 -1
  5. package/dist/commands/learn.js +1 -1
  6. package/dist/commands/ref.js +1 -1
  7. package/dist/lib/lazy-assets.js +1 -0
  8. package/dist/lib/learn-curricula.js +1 -1
  9. package/dist/lib/learn-render.js +1 -1
  10. package/dist/lib/learn-replies.js +1 -1
  11. package/dist/lib/py-syntax.js +1 -1
  12. package/package.json +1 -2
  13. package/refs/ROPgadget.txt +0 -67
  14. package/refs/base64.txt +0 -63
  15. package/refs/bash.txt +0 -79
  16. package/refs/binwalk.txt +0 -43
  17. package/refs/bs4.txt +0 -61
  18. package/refs/checksec.txt +0 -57
  19. package/refs/curl.txt +0 -73
  20. package/refs/cyberchef.txt +0 -78
  21. package/refs/exiftool.txt +0 -50
  22. package/refs/ffuf.txt +0 -73
  23. package/refs/gcc.txt +0 -66
  24. package/refs/gdb.txt +0 -83
  25. package/refs/hashcat.txt +0 -64
  26. package/refs/hint.txt +0 -48
  27. package/refs/icoa.txt +0 -72
  28. package/refs/john.txt +0 -74
  29. package/refs/linux.txt +0 -58
  30. package/refs/nc.txt +0 -64
  31. package/refs/nmap.txt +0 -57
  32. package/refs/numpy.txt +0 -59
  33. package/refs/openssl.txt +0 -75
  34. package/refs/pillow.txt +0 -67
  35. package/refs/pwntools.txt +0 -79
  36. package/refs/pycrypto.txt +0 -77
  37. package/refs/python.txt +0 -103
  38. package/refs/r2.txt +0 -85
  39. package/refs/regex.txt +0 -73
  40. package/refs/requests.txt +0 -83
  41. package/refs/rules.txt +0 -28
  42. package/refs/scapy.txt +0 -80
  43. package/refs/sqlmap.txt +0 -69
  44. package/refs/steghide.txt +0 -71
  45. package/refs/struct.txt +0 -61
  46. package/refs/sympy.txt +0 -77
  47. package/refs/tshark.txt +0 -65
  48. package/refs/vim.txt +0 -74
  49. package/refs/volatility.txt +0 -41
  50. package/refs/z3.txt +0 -78
package/refs/bs4.txt DELETED
@@ -1,61 +0,0 @@
1
- BeautifulSoup Quick Reference
2
- =============================
3
-
4
- INSTALLATION
5
- pip install beautifulsoup4
6
-
7
- BASIC USAGE
8
- from bs4 import BeautifulSoup
9
-
10
- soup = BeautifulSoup(html, "html.parser")
11
- soup = BeautifulSoup(html, "lxml")
12
-
13
- FINDING ELEMENTS
14
- soup.find("tag") First matching tag
15
- soup.find_all("tag") All matching tags
16
- soup.find("div", class_="x") By class
17
- soup.find("div", id="main") By id
18
- soup.find("a", href=True) Has attribute
19
- soup.select("div.class") CSS selector
20
- soup.select("#id") By ID selector
21
- soup.select("div > p") Direct children
22
-
23
- ELEMENT PROPERTIES
24
- tag.text Text content
25
- tag.string Direct string content
26
- tag.get_text(strip=True) Stripped text
27
- tag["href"] Attribute value
28
- tag.get("href", "") Attribute with default
29
- tag.attrs All attributes (dict)
30
- tag.name Tag name
31
-
32
- NAVIGATION
33
- tag.parent Parent element
34
- tag.children Direct children
35
- tag.descendants All descendants
36
- tag.next_sibling Next sibling
37
- tag.previous_sibling Previous sibling
38
-
39
- COMMON CTF PATTERNS
40
- # Extract all links
41
- for a in soup.find_all("a"):
42
- print(a.get("href"))
43
-
44
- # Extract form fields
45
- form = soup.find("form")
46
- for inp in form.find_all("input"):
47
- print(inp.get("name"), inp.get("value"))
48
-
49
- # Extract hidden fields
50
- hidden = soup.find_all("input", type="hidden")
51
- for h in hidden:
52
- print(h["name"], h["value"])
53
-
54
- # Extract table data
55
- for row in soup.find_all("tr"):
56
- cells = [td.text for td in row.find_all("td")]
57
- print(cells)
58
-
59
- # Find comments
60
- from bs4 import Comment
61
- comments = soup.find_all(string=lambda t: isinstance(t, Comment))
package/refs/checksec.txt DELETED
@@ -1,57 +0,0 @@
1
- Checksec & Binary Protections Quick Reference
2
- ==============================================
3
-
4
- CHECKSEC
5
- checksec ./binary Check all protections
6
- checksec --file=./binary Same (explicit)
7
-
8
- PROTECTIONS EXPLAINED
9
-
10
- RELRO (Relocation Read-Only)
11
- No RELRO GOT is writable — easy GOT overwrite
12
- Partial RELRO Some sections read-only after load
13
- Full RELRO GOT fully read-only — no GOT overwrite
14
-
15
- Stack Canary
16
- No canary found Stack buffer overflow is straightforward
17
- Canary found Random value on stack — must leak or bypass
18
-
19
- NX (No-Execute)
20
- NX disabled Can execute shellcode on stack/heap
21
- NX enabled Stack/heap not executable — use ROP/ret2libc
22
-
23
- PIE (Position Independent Executable)
24
- No PIE Binary at fixed address — addresses known
25
- PIE enabled ASLR for binary — need info leak
26
-
27
- ASLR (Address Space Layout Randomization)
28
- Check: cat /proc/sys/kernel/randomize_va_space
29
- 0 = off, 1 = partial, 2 = full
30
- Disable: echo 0 > /proc/sys/kernel/randomize_va_space
31
-
32
- PWNTOOLS CHECKSEC
33
- from pwn import *
34
- e = ELF("./binary")
35
- # Prints protections automatically
36
-
37
- e.pie True/False
38
- e.canary True/False
39
- e.nx True/False
40
-
41
- FILE COMMAND
42
- file ./binary Architecture, linking, stripped?
43
-
44
- READELF
45
- readelf -h binary ELF header
46
- readelf -S binary Section headers
47
- readelf -l binary Program headers
48
- readelf -s binary Symbol table
49
- readelf -d binary Dynamic section
50
- readelf -r binary Relocations
51
-
52
- COMMON CTF STRATEGY
53
- No canary + No PIE + No NX → Direct shellcode on stack
54
- No canary + No PIE + NX → ret2libc / ROP
55
- Canary + No PIE + NX → Leak canary, then ROP
56
- Canary + PIE + NX → Leak canary + PIE base, ROP
57
- Full RELRO + all protections → Look for format string / logic bugs
package/refs/curl.txt DELETED
@@ -1,73 +0,0 @@
1
- cURL Quick Reference
2
- ====================
3
-
4
- BASIC REQUESTS
5
- curl URL GET request
6
- curl -v URL Verbose output
7
- curl -s URL Silent mode
8
- curl -o file URL Save to file
9
- curl -O URL Save with original name
10
- curl -L URL Follow redirects
11
- curl -I URL Headers only (HEAD)
12
-
13
- HTTP METHODS
14
- curl -X GET URL
15
- curl -X POST URL
16
- curl -X PUT URL
17
- curl -X DELETE URL
18
- curl -X PATCH URL
19
- curl -X OPTIONS URL
20
-
21
- POST DATA
22
- # Form data
23
- curl -X POST -d "user=admin&pass=123" URL
24
-
25
- # JSON
26
- curl -X POST -H "Content-Type: application/json" \
27
- -d '{"user":"admin"}' URL
28
-
29
- # File upload
30
- curl -X POST -F "file=@localfile.txt" URL
31
-
32
- # Raw data from file
33
- curl -X POST -d @data.json URL
34
-
35
- HEADERS
36
- curl -H "Authorization: Bearer TOKEN" URL
37
- curl -H "Cookie: session=abc" URL
38
- curl -H "User-Agent: Mozilla/5.0" URL
39
- curl -H "Content-Type: application/xml" URL
40
-
41
- AUTHENTICATION
42
- curl -u user:pass URL Basic auth
43
- curl -H "Authorization: Bearer TOKEN" URL
44
-
45
- COOKIES
46
- curl -c cookies.txt URL Save cookies
47
- curl -b cookies.txt URL Send cookies
48
- curl -b "name=value" URL Send specific cookie
49
-
50
- SSL / PROXY
51
- curl -k URL Ignore SSL errors
52
- curl --proxy http://127.0.0.1:8080 URL
53
- curl --proxy socks5://127.0.0.1:1080 URL
54
- curl --cacert cert.pem URL Custom CA cert
55
-
56
- USEFUL OPTIONS
57
- curl -w "%{http_code}" URL Print status code
58
- curl -w "%{time_total}" URL Print response time
59
- curl --max-time 5 URL Timeout (seconds)
60
- curl -A "custom-agent" URL Set user-agent
61
-
62
- CTF PATTERNS
63
- # Test for SSRF
64
- curl "http://target/fetch?url=http://127.0.0.1:8080"
65
-
66
- # Cookie tampering
67
- curl -b "role=admin" URL
68
-
69
- # Header injection
70
- curl -H "X-Forwarded-For: 127.0.0.1" URL
71
-
72
- # Rate-limit bypass
73
- for i in $(seq 1 100); do curl -s URL; done
@@ -1,78 +0,0 @@
1
- CyberChef Quick Reference
2
- =========================
3
-
4
- CyberChef is an encoding/decoding/analysis Swiss army knife.
5
- Online: https://gchq.github.io/CyberChef/
6
- CLI: npm install -g cyberchef-cli
7
-
8
- COMMON ENCODINGS
9
- Base64 Encode/Decode
10
- Base32 Encode/Decode
11
- Hex Encode/Decode
12
- URL Encode/Decode
13
- HTML Entity Encode/Decode
14
- Decimal (from/to)
15
- Binary (from/to)
16
- Octal (from/to)
17
-
18
- CRYPTO OPERATIONS
19
- AES Encrypt/Decrypt
20
- DES Encrypt/Decrypt
21
- XOR (with key)
22
- ROT13 / ROT47
23
- Vigenère Encode/Decode
24
- Caesar Cipher
25
- Atbash Cipher
26
- Rail Fence Cipher
27
- Substitution Cipher
28
-
29
- HASHING
30
- MD5 / SHA1 / SHA256 / SHA512
31
- HMAC
32
- CRC-16 / CRC-32
33
-
34
- DATA FORMAT
35
- From/To Hex
36
- From/To Base64
37
- From/To Binary
38
- Parse IP / URL
39
- Parse JSON / XML / CSV
40
-
41
- ANALYSIS
42
- Frequency Analysis
43
- Entropy
44
- Magic (auto-detect encoding)
45
- Strings
46
- Disassemble
47
-
48
- USEFUL RECIPES (for CTF)
49
-
50
- # Multi-layer decode
51
- Base64 → Hex → XOR
52
-
53
- # ROT13
54
- ROT13("Uryyb") → "Hello"
55
-
56
- # XOR brute force
57
- XOR Brute Force (key length 1)
58
-
59
- # Magic (auto-detect)
60
- Drag data → "Magic" operation → auto-detects encoding
61
-
62
- # Extract strings
63
- "Strings" operation with min length
64
-
65
- COMMAND LINE (cyberchef-cli)
66
- echo "SGVsbG8=" | cyberchef "from_base64"
67
- echo "48656c6c6f" | cyberchef "from_hex"
68
- echo "Hello" | cyberchef "to_base64"
69
- echo "data" | cyberchef "xor({'key':'secret'})"
70
-
71
- COMMON CTF WORKFLOW
72
- 1. Paste unknown data into CyberChef
73
- 2. Use "Magic" to auto-detect encoding
74
- 3. Chain operations (drag & drop)
75
- 4. Common chains:
76
- - Base64 → Gunzip → output
77
- - Hex → From Hex → XOR → output
78
- - URL Decode → Base64 → output
package/refs/exiftool.txt DELETED
@@ -1,50 +0,0 @@
1
- ExifTool Quick Reference
2
- ========================
3
-
4
- BASIC USAGE
5
- exiftool file Show all metadata
6
- exiftool -s file Short tag names
7
- exiftool -G file Show group names
8
- exiftool -json file JSON output
9
- exiftool -a -u file All tags, including unknown
10
-
11
- SPECIFIC TAGS
12
- exiftool -ImageWidth file Single tag
13
- exiftool -GPSLatitude file GPS location
14
- exiftool -Comment file Comments
15
- exiftool -Author file Author
16
- exiftool -CreateDate file Creation date
17
-
18
- WRITE METADATA
19
- exiftool -Comment="text" file Set comment
20
- exiftool -Author="name" file Set author
21
- exiftool -all= file Remove ALL metadata
22
- exiftool -overwrite_original file Don't create backup
23
-
24
- BATCH OPERATIONS
25
- exiftool *.jpg All JPEGs
26
- exiftool -r directory/ Recursive
27
- exiftool -ext jpg directory/ Only .jpg files
28
-
29
- COMPARE
30
- exiftool -a -u file1 file2 Compare metadata
31
-
32
- COMMON CTF PATTERNS
33
- # Check for hidden data in comments
34
- exiftool -Comment image.jpg
35
- exiftool -UserComment image.jpg
36
-
37
- # Check GPS coordinates (physical location clue)
38
- exiftool -GPSPosition image.jpg
39
-
40
- # Check for steganography hints
41
- exiftool -all image.png | grep -i "comment\|software\|description"
42
-
43
- # Thumbnail extraction
44
- exiftool -b -ThumbnailImage image.jpg > thumb.jpg
45
-
46
- # Check if image was edited
47
- exiftool -Software -ModifyDate image.jpg
48
-
49
- # Hidden data in XMP
50
- exiftool -xmp:all image.png
package/refs/ffuf.txt DELETED
@@ -1,73 +0,0 @@
1
- FFUF (Fuzz Faster U Fool) Quick Reference
2
- ==========================================
3
-
4
- BASIC USAGE
5
- ffuf -w wordlist.txt -u http://target/FUZZ
6
-
7
- DIRECTORY FUZZING
8
- ffuf -w /usr/share/wordlists/dirb/common.txt \
9
- -u http://target/FUZZ
10
-
11
- ffuf -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt \
12
- -u http://target/FUZZ
13
-
14
- FILE FUZZING
15
- ffuf -w wordlist.txt -u http://target/FUZZ.php
16
- ffuf -w wordlist.txt -u http://target/FUZZ -e .php,.html,.txt,.bak
17
-
18
- PARAMETER FUZZING
19
- ffuf -w params.txt -u "http://target/page?FUZZ=test"
20
- ffuf -w values.txt -u "http://target/page?param=FUZZ"
21
-
22
- POST DATA FUZZING
23
- ffuf -w wordlist.txt -u http://target/login \
24
- -X POST -d "user=admin&password=FUZZ" \
25
- -H "Content-Type: application/x-www-form-urlencoded"
26
-
27
- HEADER FUZZING
28
- ffuf -w wordlist.txt -u http://target/ \
29
- -H "X-Custom-Header: FUZZ"
30
-
31
- SUBDOMAIN FUZZING
32
- ffuf -w subdomains.txt -u http://FUZZ.target.com
33
- ffuf -w subdomains.txt -u http://target.com \
34
- -H "Host: FUZZ.target.com"
35
-
36
- VHOST FUZZING
37
- ffuf -w vhosts.txt -u http://target.com \
38
- -H "Host: FUZZ" -fs 4242
39
-
40
- FILTERING
41
- -fc 404 Filter by status code
42
- -fc 404,403 Multiple codes
43
- -fs 4242 Filter by response size
44
- -fw 12 Filter by word count
45
- -fl 5 Filter by line count
46
- -fr "Not Found" Filter by regex
47
- -mc 200 Match only status 200
48
- -ms 1234 Match by size
49
-
50
- OPTIONS
51
- -t 50 Threads (default 40)
52
- -rate 100 Requests per second limit
53
- -timeout 5 Timeout in seconds
54
- -r Follow redirects
55
- -c Colorize output
56
- -o output.json Save output
57
- -of json Output format
58
- -v Verbose
59
- -s Silent (only results)
60
-
61
- RECURSIVE
62
- ffuf -w wordlist.txt -u http://target/FUZZ \
63
- -recursion -recursion-depth 2
64
-
65
- MULTIPLE WORDLISTS
66
- ffuf -w users.txt:USER -w passes.txt:PASS \
67
- -u http://target/login \
68
- -X POST -d "user=USER&pass=PASS" \
69
- -mode clusterbomb
70
-
71
- MODES
72
- clusterbomb All combinations (default for multi)
73
- pitchfork Paired (line by line)
package/refs/gcc.txt DELETED
@@ -1,66 +0,0 @@
1
- GCC Compiler Quick Reference
2
- ============================
3
-
4
- BASIC COMPILATION
5
- gcc -o output source.c Compile C
6
- g++ -o output source.cpp Compile C++
7
- gcc -c source.c Compile only (no link)
8
- gcc -S source.c Generate assembly
9
- gcc -E source.c Preprocess only
10
-
11
- OPTIMIZATION
12
- gcc -O0 source.c No optimization (debug)
13
- gcc -O1 source.c Basic optimization
14
- gcc -O2 source.c Standard optimization
15
- gcc -O3 source.c Aggressive optimization
16
- gcc -Os source.c Optimize for size
17
-
18
- DEBUG
19
- gcc -g source.c Debug symbols (for GDB)
20
- gcc -ggdb source.c GDB-specific debug info
21
-
22
- WARNINGS
23
- gcc -Wall source.c All common warnings
24
- gcc -Wextra source.c Extra warnings
25
- gcc -Werror source.c Treat warnings as errors
26
- gcc -pedantic source.c Strict standard compliance
27
-
28
- SECURITY FLAGS
29
- # Disable protections (for exploit development)
30
- gcc -fno-stack-protector -z execstack -no-pie source.c -o vuln
31
-
32
- # Disable specific protections
33
- -fno-stack-protector Disable stack canary
34
- -z execstack Make stack executable (disable NX)
35
- -no-pie Disable PIE
36
- -Wl,-z,norelro Disable RELRO
37
-
38
- # Enable protections
39
- -fstack-protector-all Enable stack canary
40
- -pie -fPIE Enable PIE
41
- -Wl,-z,relro,-z,now Full RELRO
42
- -D_FORTIFY_SOURCE=2 Buffer overflow detection
43
-
44
- LINKING
45
- gcc source.c -lm Link math library
46
- gcc source.c -lpthread Link pthreads
47
- gcc source.c -lcrypto Link OpenSSL crypto
48
- gcc -static source.c Static linking
49
-
50
- ARCHITECTURE
51
- gcc -m32 source.c Compile 32-bit
52
- gcc -m64 source.c Compile 64-bit
53
- gcc -march=native source.c Native architecture
54
-
55
- COMMON CTF PATTERNS
56
- # Compile vulnerable binary for practice
57
- gcc -fno-stack-protector -z execstack -no-pie -o vuln vuln.c
58
-
59
- # Compile with debug symbols for reversing practice
60
- gcc -g -O0 -o binary source.c
61
-
62
- # Compile shellcode runner
63
- gcc -z execstack -o runner runner.c
64
-
65
- # Cross-compile
66
- gcc -m32 -o binary32 source.c
package/refs/gdb.txt DELETED
@@ -1,83 +0,0 @@
1
- GDB / pwndbg Quick Reference
2
- ============================
3
-
4
- STARTING
5
- gdb ./binary Start debugging
6
- gdb -q ./binary Quiet mode
7
- gdb -p PID Attach to process
8
- gdb -args ./binary arg1 arg2 With arguments
9
-
10
- RUNNING
11
- r / run Start program
12
- r < input.txt With stdin from file
13
- c / continue Continue execution
14
- n / next Step over
15
- s / step Step into
16
- ni / si Next/step instruction
17
- finish Run until return
18
- kill Kill program
19
-
20
- BREAKPOINTS
21
- b main Break at function
22
- b *0x401000 Break at address
23
- b file.c:42 Break at line
24
- b *main+50 Break at offset
25
- info b List breakpoints
26
- delete N Delete breakpoint N
27
- disable N Disable breakpoint
28
- enable N Enable breakpoint
29
- watch *0x601000 Watchpoint (break on write)
30
-
31
- EXAMINING
32
- x/10x $rsp 10 hex words from RSP
33
- x/20i $rip 20 instructions from RIP
34
- x/s addr String at address
35
- x/10gx addr 10 giant (64-bit) hex values
36
- x/10wx addr 10 word (32-bit) hex values
37
- x/10bx addr 10 bytes hex
38
-
39
- p $rax Print register
40
- p/x $rax Print in hex
41
- p (int)$rax Print as int
42
- info reg All registers
43
-
44
- MEMORY
45
- vmmap Memory map (pwndbg)
46
- search -s "flag" Search memory for string
47
- search -x 4141 Search for hex pattern
48
-
49
- STACK
50
- bt / backtrace Call stack
51
- frame N Switch frame
52
- info frame Frame details
53
-
54
- PWNDBG SPECIFIC
55
- checksec Security mitigations
56
- got GOT entries
57
- plt PLT entries
58
- heap Heap overview
59
- bins Heap bins
60
- telescope 20 Smart stack view
61
- cyclic 200 Generate pattern
62
- cyclic -l 0x41414141 Find pattern offset
63
- rop ROP gadgets
64
- canary Show stack canary
65
- libc Libc base address
66
-
67
- SET VALUES
68
- set $rax = 0 Set register
69
- set *(int*)0x601000 = 42 Set memory
70
- set args "AAAA" Set arguments
71
-
72
- COMMON CTF PATTERNS
73
- # Find buffer overflow offset
74
- cyclic 200 > pattern.txt
75
- r < pattern.txt
76
- # After crash:
77
- cyclic -l $rsp
78
-
79
- # Bypass check
80
- b *check_password
81
- r
82
- set $rax = 1
83
- c
package/refs/hashcat.txt DELETED
@@ -1,64 +0,0 @@
1
- Hashcat Quick Reference
2
- =======================
3
-
4
- BASIC USAGE
5
- hashcat -m MODE hash.txt wordlist.txt
6
- hashcat -m MODE hash.txt -a 3 ?a?a?a?a?a (brute force)
7
-
8
- COMMON HASH MODES (-m)
9
- 0 MD5
10
- 100 SHA1
11
- 1400 SHA256
12
- 1700 SHA512
13
- 1800 sha512crypt ($6$)
14
- 3200 bcrypt
15
- 1000 NTLM
16
- 5600 NetNTLMv2
17
- 13100 Kerberos TGS-REP (Kerberoast)
18
- 22000 WPA-PBKDF2-PMKID+EAPOL
19
- 500 MD5crypt ($1$)
20
- 7400 SHA256crypt ($5$)
21
- 11600 7-Zip
22
- 13400 KeePass
23
- 16800 WPA-PMKID-PBKDF2
24
-
25
- ATTACK MODES (-a)
26
- 0 Dictionary (wordlist)
27
- 1 Combination (word1+word2)
28
- 3 Brute-force / mask
29
- 6 Wordlist + mask
30
- 7 Mask + wordlist
31
-
32
- MASK CHARSETS
33
- ?l Lowercase [a-z]
34
- ?u Uppercase [A-Z]
35
- ?d Digits [0-9]
36
- ?s Special chars
37
- ?a All printable
38
- ?b All bytes (0x00-0xff)
39
-
40
- RULES
41
- hashcat -m 0 hash.txt wordlist.txt -r rules/best64.rule
42
- hashcat -m 0 hash.txt wordlist.txt -r rules/rockyou-30000.rule
43
-
44
- OPTIONS
45
- --show Show cracked passwords
46
- --force Ignore warnings
47
- -o output.txt Output file
48
- -w 3 Workload profile (1-4)
49
- --potfile-disable Don't use potfile
50
- --username Hash file has usernames
51
- -O Optimized kernels
52
-
53
- COMMON CTF PATTERNS
54
- # MD5 dictionary
55
- hashcat -m 0 hash.txt /usr/share/wordlists/rockyou.txt
56
-
57
- # SHA256 with rules
58
- hashcat -m 1400 hash.txt wordlist.txt -r rules/best64.rule
59
-
60
- # Brute force 6-char alphanumeric
61
- hashcat -m 0 hash.txt -a 3 ?a?a?a?a?a?a
62
-
63
- # Known format: flag{????}
64
- hashcat -m 0 hash.txt -a 3 "flag{?a?a?a?a}"
package/refs/hint.txt DELETED
@@ -1,48 +0,0 @@
1
- AI Hint System Reference
2
- ========================
3
-
4
- LEVELS
5
- Level A — General Guidance (50 uses)
6
- - Conceptual direction only
7
- - No specific vulnerability names
8
- - No code or commands
9
- - Guides you with questions
10
-
11
- Level B — Deep Analysis (10 uses)
12
- - May identify vulnerability types
13
- - May suggest tool categories
14
- - No complete commands
15
- - No exploit code
16
-
17
- Level C — Critical Assist (2 uses)
18
- - Key conceptual breakthrough
19
- - May name specific algorithms
20
- - No complete exploit code
21
- - No flags
22
- - Requires confirmation before use
23
-
24
- COMMANDS
25
- hint <question> Level A hint
26
- hint-b <question> Level B hint
27
- hint-c <question> Level C hint (requires confirmation)
28
- hint budget Check remaining budget
29
-
30
- USAGE TIPS
31
- 1. Open a challenge first: open <id>
32
- This sets context for better hints.
33
-
34
- 2. Be specific in your question:
35
- BAD: "how do I solve this?"
36
- GOOD: "what type of vulnerability might be in a login form
37
- that doesn't sanitize input?"
38
-
39
- 3. Start with Level A — it's cheap (50 uses).
40
- Only escalate to B/C when A isn't enough.
41
-
42
- 4. Check your budget: hint budget
43
-
44
- TOKEN CAP
45
- All AI usage shares a 50,000 token cap.
46
- Level A uses ~500 tokens per query.
47
- Level B uses ~1000 tokens per query.
48
- Level C uses ~1500 tokens per query.