This has been an interesting experience for me. I wanted to create a script in a game called Grey hack, it (the script) allows you to decipher hashes by searching a password list and then printing the password. If it didn't find a password, it would decipher them and then print the result. It has been such a mess for me. I first tried doing this in Grey hack using it's API. I created the script, it prints out some of the hashes that it found but not all of them before giving me an error saying "Load time exceeded." I tried to improve the load time but to no avail.
Here's the first iteration of the script.
It worked well for a list that had 4 hashes but anything more than 4 won't work most of the time. The next logical thing to do? Install Linux and download Miniscript's cmdline. And that's exactly what I did! I'm lazy but if I want something done then I will do it. It was the only solution to work around the load time problem.
I barely had any experience with Linux, the only experience I had with Linux came from Grey Hack that looks like Linux. The installation took me some time. Miniscript didn't have execution permissions out of the box and It took me some time to figure out. I had to contact the creator of Miniscript.
After I got it installed, I had to convert Grey Hack's Miniscript (+ their API) into vanilla Miniscript, which turned out fine until I found out Miniscript didn't have standard standard intrinsic for split. WHAT?! I thought to myself. Alright fine, the Manual has an example for that, surely the example will run perfectly without any errors. Wrong. The example ran with errors, I had to contact the creator again and he gave me a fresh build that fixed my issue. I finally solved my issues, the code worked. Now I can become lazy again and barely do any work.
Here's the final version of the script.
Special thanks to JoeStrout (the creator of Miniscript) for helping me and for creating Miniscript.
Thanks for reading my adventure.