maskprocessor icon indicating copy to clipboard operation
maskprocessor copied to clipboard

Read charset from file?

Open madbombs opened this issue 8 years ago • 1 comments

Thanks for this wonderful app. I'm not sure this is intentional or not, but unlike hc, mp cannot input a charset from file in (at least not in Windows). As a result, I've resorted to using an environment variable with the charset instead.

C:> set mycharset=0102030406070B0C0F1112131416171B1C1F.... C:> mp64 -q 2 -1 %mycharset% ?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1 --hex-charset

Will reading charset from file be supported in the future?

madbombs avatar Jan 06 '18 04:01 madbombs

Thanks for this wonderful app. I'm not sure this is intentional or not, but unlike hc, mp cannot input a charset from file in (at least not in Windows). As a result, I've resorted to using an environment variable with the charset instead.

C:> set mycharset=0102030406070B0C0F1112131416171B1C1F.... C:> mp64 -q 2 -1 %mycharset% ?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1 --hex-charset

Will reading charset from file be supported in the future?

I used XARGS to import a file containing rules so it iterates the program for each line and writes everything in the same file like this:

xargs -0 -n 1 mp64 -o dictionary.txt < <(tr \\n \\0 </home/user/rules.txt)

Example of a rule inside rules.txt

+1555?d?d?d?d?d?d?d

It created a 5GB file in 5 seconds on my average notebook.

rapbando avatar Sep 27 '21 13:09 rapbando