meshcore-hashtag-cracker 1.6.0 → 1.8.0
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.
- package/README.md +3 -3
- package/browser/meshcore_cracker.min.js +317 -6
- package/browser/meshcore_cracker.min.js.map +4 -4
- package/browser/testbed.html +199 -0
- package/dist/core.d.ts +6 -0
- package/dist/core.d.ts.map +1 -1
- package/dist/core.js +25 -4
- package/dist/core.js.map +1 -1
- package/dist/cpu-bruteforce.js +1 -1
- package/dist/cpu-bruteforce.js.map +1 -1
- package/dist/cracker.d.ts +5 -2
- package/dist/cracker.d.ts.map +1 -1
- package/dist/cracker.js +302 -42
- package/dist/cracker.js.map +1 -1
- package/dist/gpu-bruteforce.js +1 -1
- package/dist/gpu-bruteforce.js.map +1 -1
- package/dist/gpu-wordpairs.d.ts +38 -0
- package/dist/gpu-wordpairs.d.ts.map +1 -0
- package/dist/gpu-wordpairs.js +600 -0
- package/dist/gpu-wordpairs.js.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +15 -5
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ This is an LLM-developed library and has borne out its correctness in various ap
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
13
13
|
- WebGPU-accelerated brute force (100M+ keys/second on modern GPUs)
|
|
14
|
-
- Dictionary attack support with built-in English wordlist (
|
|
14
|
+
- Dictionary attack support with built-in English wordlist (482k words)
|
|
15
15
|
- Configurable filters (sender, UTF-8, timestamp) to handle MAC collisions with sanity checks
|
|
16
16
|
- Progress callbacks with ETA
|
|
17
17
|
- Resume support for interrupted searches
|
|
@@ -52,7 +52,7 @@ For direct browser usage without a bundler, download [`browser/meshcore_cracker.
|
|
|
52
52
|
|
|
53
53
|
```typescript
|
|
54
54
|
import { GroupTextCracker } from 'meshcore-hashtag-cracker';
|
|
55
|
-
// Built-in
|
|
55
|
+
// Built-in 482k word English dictionary (tree-shakeable, ~4MB)
|
|
56
56
|
// Dictionary is checked BEFORE GPU brute force - a room like #football
|
|
57
57
|
// takes hours to brute force but milliseconds via dictionary lookup
|
|
58
58
|
import { ENGLISH_WORDLIST } from 'meshcore-hashtag-cracker/wordlist';
|
|
@@ -98,7 +98,7 @@ const result = await cracker.crack(packetHex, {
|
|
|
98
98
|
validSeconds: 2592000, // Timestamp window in seconds (default: 30 days)
|
|
99
99
|
forceCpu: false, // Force CPU mode, skip GPU (default: false)
|
|
100
100
|
startFrom: 'abc', // Resume after this position (optional)
|
|
101
|
-
startFromType: 'bruteforce', // 'dictionary' or 'bruteforce' (default: 'bruteforce')
|
|
101
|
+
startFromType: 'bruteforce', // 'dictionary', 'dictionary-pair', or 'bruteforce' (default: 'bruteforce')
|
|
102
102
|
});
|
|
103
103
|
```
|
|
104
104
|
|