UNPKG

hashcat-rules-js

Version:

An implementation of the hashcat rules engine in javascript

246 lines (245 loc) 15.6 kB
const hashcat = require('./dist/hashcat-rules.js'); console.log(hashcat.applyRule("goosebumps","$2$0$2$5T0T5")); console.log(hashcat.applyRule("hashcat","$2$0$2$5")); console.log(hashcat.applyRule("GooseBumps1","t")); console.log(hashcat.applyRule("GooseBumps123!","t")); console.log(hashcat.applyRule("GooseBumps!","t")); console.log(hashcat.applyRule("Password12345!","t")); console.log(hashcat.applyRule("GooseBumps123!","T0T1")); console.log(hashcat.applyRule("GooseBumps123!","T0T2")); console.log(hashcat.applyRule("GooseBumps123!","T0T3")); console.log(hashcat.applyRule("GooseBumps123!","T0T4")); console.log(hashcat.applyRule("GooseBumps123!","T0T5")); console.log(hashcat.applyRule("GooseBumps123!","T0T6")); console.log(hashcat.applyRule("GooseBumps123!","T0T7")); console.log(hashcat.applyRule("GooseBumps123!","T0T8")); console.log(hashcat.applyRule("GooseBumps123!","T0T9")); console.log(hashcat.applyRule("GooseBumps123!","T0TA")); console.log(hashcat.applyRule("GooseBumps123!","T0TB")); console.log(hashcat.applyRule("GooseBumps123!","T0TC")); console.log(hashcat.applyRule("GooseBumps123!","T0TD")); console.log(hashcat.applyRule("GooseBumps123!","T0TE")); console.log(hashcat.applyRule("GooseBumps123!","T1")); console.log(hashcat.applyRule("GooseBumps123!","T1T2")); console.log(hashcat.applyRule("GooseBumps123!","T1T3")); console.log(hashcat.applyRule("GooseBumps123!","T1T4")); console.log(hashcat.applyRule("GooseBumps123!","T1T5")); console.log(hashcat.applyRule("GooseBumps123!","T1T6")); console.log(hashcat.applyRule("GooseBumps123!","T1T7")); console.log(hashcat.applyRule("GooseBumps123!","T1T8")); console.log(hashcat.applyRule("GooseBumps123!","T1T9")); console.log(hashcat.applyRule("GooseBumps123!","T1TA")); console.log(hashcat.applyRule("GooseBumps123!","T1TB")); console.log(hashcat.applyRule("GooseBumps123!","T1TC")); console.log(hashcat.applyRule("GooseBumps123!","T1TD")); console.log(hashcat.applyRule("GooseBumps123!","T1TE")); console.log(hashcat.applyRule("GooseBumps123!","T2")); console.log(hashcat.applyRule("GooseBumps123!","T2T3")); console.log(hashcat.applyRule("GooseBumps123!","T2T4")); console.log(hashcat.applyRule("GooseBumps123!","T2T5")); console.log(hashcat.applyRule("GooseBumps123!","T2T6")); console.log(hashcat.applyRule("GooseBumps123!","T2T7")); console.log(hashcat.applyRule("GooseBumps123!","T2T8")); console.log(hashcat.applyRule("GooseBumps123!","T2T9")); console.log(hashcat.applyRule("GooseBumps123!","T2TA")); console.log(hashcat.applyRule("GooseBumps123!","T2TB")); console.log(hashcat.applyRule("GooseBumps123!","T2TC")); console.log(hashcat.applyRule("GooseBumps123!","T2TD")); console.log(hashcat.applyRule("GooseBumps123!","T2TE")); console.log(hashcat.applyRule("GooseBumps123!","T3")); console.log(hashcat.applyRule("GooseBumps123!","T3T4")); console.log(hashcat.applyRule("GooseBumps123!","T3T5")); console.log(hashcat.applyRule("GooseBumps123!","T3T6")); console.log(hashcat.applyRule("GooseBumps123!","T3T7")); console.log(hashcat.applyRule("GooseBumps123!","T3T8")); console.log(hashcat.applyRule("GooseBumps123!","T3T9")); console.log(hashcat.applyRule("GooseBumps123!","T3TA")); console.log(hashcat.applyRule("GooseBumps123!","T3TB")); console.log(hashcat.applyRule("GooseBumps123!","T3TC")); console.log(hashcat.applyRule("GooseBumps123!","T3TD")); console.log(hashcat.applyRule("GooseBumps123!","T3TE")); console.log(hashcat.applyRule("GooseBumps123!","T4")); console.log(hashcat.applyRule("GooseBumps123!","T4T5")); console.log(hashcat.applyRule("GooseBumps123!","T4T6")); console.log(hashcat.applyRule("GooseBumps123!","T4T7")); console.log(hashcat.applyRule("GooseBumps123!","T4T8")); console.log(hashcat.applyRule("GooseBumps123!","T4T9")); console.log(hashcat.applyRule("GooseBumps123!","T4TA")); console.log(hashcat.applyRule("GooseBumps123!","T4TB")); console.log(hashcat.applyRule("GooseBumps123!","T4TC")); console.log(hashcat.applyRule("GooseBumps123!","T4TD")); console.log(hashcat.applyRule("GooseBumps123!","T4TE")); console.log(hashcat.applyRule("GooseBumps123!","T5")); console.log(hashcat.applyRule("GooseBumps123!","T5T6")); console.log(hashcat.applyRule("GooseBumps123!","T5T7")); console.log(hashcat.applyRule("GooseBumps123!","T5T8")); console.log(hashcat.applyRule("GooseBumps123!","T5T9")); console.log(hashcat.applyRule("GooseBumps123!","T5TA")); console.log(hashcat.applyRule("GooseBumps123!","T5TB")); console.log(hashcat.applyRule("GooseBumps123!","T5TC")); console.log(hashcat.applyRule("GooseBumps123!","T5TD")); console.log(hashcat.applyRule("GooseBumps123!","T5TE")); console.log(hashcat.applyRule("GooseBumps123!","T6")); console.log(hashcat.applyRule("GooseBumps123!","T6T7")); console.log(hashcat.applyRule("GooseBumps123!","T6T8")); console.log(hashcat.applyRule("GooseBumps123!","T6T9")); console.log(hashcat.applyRule("GooseBumps123!","T6TA")); console.log(hashcat.applyRule("GooseBumps123!","T6TB")); console.log(hashcat.applyRule("GooseBumps123!","T6TC")); console.log(hashcat.applyRule("GooseBumps123!","T6TD")); console.log(hashcat.applyRule("GooseBumps123!","T6TE")); console.log(hashcat.applyRule("GooseBumps123!","T7")); console.log(hashcat.applyRule("GooseBumps123!","T7T8")); console.log(hashcat.applyRule("GooseBumps123!","T7T9")); console.log(hashcat.applyRule("GooseBumps123!","T7TA")); console.log(hashcat.applyRule("GooseBumps123!","T7TB")); console.log(hashcat.applyRule("GooseBumps123!","T7TC")); console.log(hashcat.applyRule("GooseBumps123!","T7TD")); console.log(hashcat.applyRule("GooseBumps123!","T7TE")); console.log(hashcat.applyRule("GooseBumps123!","T8")); console.log(hashcat.applyRule("GooseBumps123!","T8T9")); console.log(hashcat.applyRule("GooseBumps123!","T8TA")); console.log(hashcat.applyRule("GooseBumps123!","T8TB")); console.log(hashcat.applyRule("GooseBumps123!","T8TC")); console.log(hashcat.applyRule("GooseBumps123!","T8TD")); console.log(hashcat.applyRule("GooseBumps123!","T8TE")); console.log(hashcat.applyRule("GooseBumps123!","T9")); console.log(hashcat.applyRule("GooseBumps123!","T9TA")); console.log(hashcat.applyRule("GooseBumps123!","T9TB")); console.log(hashcat.applyRule("GooseBumps123!","T9TC")); console.log(hashcat.applyRule("GooseBumps123!","T9TD")); console.log(hashcat.applyRule("GooseBumps123!","T9TE")); console.log(hashcat.applyRule("GooseBumps123!","TA")); console.log(hashcat.applyRule("GooseBumps123!","TATB")); console.log(hashcat.applyRule("GooseBumps123!","TATC")); console.log(hashcat.applyRule("GooseBumps123!","TATD")); console.log(hashcat.applyRule("GooseBumps123!","TATE")); console.log(hashcat.applyRule("GooseBumps123!","TB")); console.log(hashcat.applyRule("GooseBumps123!","TBTC")); console.log(hashcat.applyRule("GooseBumps123!","TBTD")); console.log(hashcat.applyRule("GooseBumps123!","TBTE")); console.log(hashcat.applyRule("GooseBumps123!","TC")); console.log(hashcat.applyRule("GooseBumps123!","TCTD")); console.log(hashcat.applyRule("GooseBumps123!","TCTE")); console.log(hashcat.applyRule("GooseBumps123!","TD")); console.log(hashcat.applyRule("GooseBumps123!","TDTE")); console.log(hashcat.applyRule("GooseBumps123!","TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0T1")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0T2")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0T3")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0T4")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0T5")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0T6")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0T7")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0T8")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T0TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1T2")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1T3")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1T4")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1T5")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1T6")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1T7")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1T8")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T1TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2T3")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2T4")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2T5")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2T6")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2T7")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2T8")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T2TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3T4")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3T5")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3T6")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3T7")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3T8")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T3TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4T5")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4T6")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4T7")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4T8")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T4TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5T6")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5T7")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5T8")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T5TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T6")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T6T7")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T6T8")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T6T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T6TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T6TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T6TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T6TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T6TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T7")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T7T8")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T7T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T7TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T7TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T7TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T7TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T7TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T8")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T8T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T8TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T8TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T8TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T8TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T8TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T9")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T9TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T9TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T9TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T9TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","T9TE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TA")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TATB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TATC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TATD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TATE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TB")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TBTC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TBTD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TBTE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TC")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TCTD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TCTE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TD")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TDTE")); console.log(hashcat.applyRule("qazwsxedcrfvtgbyhnujmikolp","TE"));