Open S1W opened 6 years ago
Since the secrets.js is a plain JavaScript function that is expected to return a flat array of strings you can do whatever fits your needs within the function body. If you simply want to test a hardcoded list of passwords against your BIP38 encrypted private key your secrets.js could look like the following:
'use strict';
module.exports = (function() {
return [
'password1',
'password2',
'password3',
];
}());
Thanks for replying! I'd like to try something like this to read my strings from file:
var lines = require('fs').readFileSync(filename, 'utf-8')
.split('\n')
.filter(Boolean);
But since my list is around 6GB in total (yeah, really big), I suppose that will eat to much memory? edit found this approach, will try something with it: https://coderwall.com/p/ohjerg/read-large-text-files-in-nodejs
Hi how are you? could tell me if your script has how to set the size of the password, example I know my password has a size of 17 to 24 but I do not know how to configure.
i would like to know that above question myself too please....
Thanks for developing this tool! I've been looking at the secrets.json file. Is there a way to test passwords with first letter caps also? And would it be possible to loop through a larger password list? I have around 10 words that I want to test, or maybe use a user defined password list as input?