Comments (7)
Try to update your version of node to (at least) version 14
from jwt-cracker.
updated to version 18.
Running
sudo jwt-cracker "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmbGFnIjoiQlRMe180X0V5ZXN9IiwiaWF0Ijo5MDAwMDAwMCwibmFtZSI6IkdyZWF0RXhwIiwiYWRtaW4iOnRydWV9.jbkZHll_W17BOALT95JQ17glHBj9nY-oWhT1uiahtv8"
Throws a lot of erros
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module '/home/max/process-chunk.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.12.1
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module '/home/max/process-chunk.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.12.1
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module '/home/max/process-chunk.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.12.1
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module '/home/max/process-chunk.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.12.1
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module '/home/max/process-chunk.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.12.1
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module '/home/max/process-chunk.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
from jwt-cracker.
@Deykun v 2.2.0 is being published right now and it should address this problem. I don't use windows, so please let me know if the problem persists for you.
Thanks again!
from jwt-cracker.
Same error for me
It searchs the file 'process-chunk.js" where you run jwt-cracker
from jwt-cracker.
@Ldarm @Tr4pSec I just drafted a new release (2.1.0) that should solve this problem. Please let me know if it persists!
from jwt-cracker.
I have 2.1.0 installed and unfortunately, it still exists.
Node.js v18.7.0
node:internal/modules/cjs/loader:959
throw err;
^
Error: Cannot find module 'C:\C:\Users\stdey\AppData\Roaming\nvm\v18.7.0\node_modules\jwt-cracker\process-chunk.js'
←[90m at Module._resolveFilename (node:internal/modules/cjs/loader:956:15)←[39m
←[90m at Module._load (node:internal/modules/cjs/loader:804:27)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m
←[90m at node:internal/main/run_main_module:17:47←[39m {
code: ←[32m'MODULE_NOT_FOUND'←[39m,
requireStack: []
}
from jwt-cracker.
@Deykun thanks a lot for reporting this.
This seems a slightly different one.
It is now looking into the right place (-ish) as it's looking inside the jwt-cracker
project folder (rather than the current working directory) for process-chunk.js
.
Still, it's really weird that repeated C:\C:\
at the beginning of your path...
Let me investigate if there's some issue with path
in Node.js
from jwt-cracker.
Related Issues (19)
- Cannot run the script HOT 3
- wordlist is loaded entirely into ram HOT 1
- SECRET NOT FOUND HOT 5
- test HOT 3
- Multithread support HOT 2
- installation issue HOT 4
- Difference between project and hashcat HOT 2
- there is a feature to skip the short length? i mean the length can custom for 7-30 characters only and skip 1-6 characters HOT 4
- Sintaxis error HOT 1
- Error: Cannot find module '${PWD}/process-chunk.js' HOT 1
- Error: Cannot find module 'C:\C:\Users\...\node_modules\jwt-cracker\process-chunk.js' HOT 1
- Unsupported typ: HS256
- error on successful npm installation of jwt-cracker
- SyntaxError: Unexpected token HOT 2
- Whether to support jjwt format HOT 1
- Use password attempts from files (e.g. rockyou or top 1000) HOT 3
- GPU acceleration HOT 2
- It doesn't work if the dash is included in the alphabet HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jwt-cracker.