This tool can be used to access factordb (usually used in cryptograpy to obtain known factors of large numbers) from the terminal. Uses python3 requests module to access website, and HTML-based parsing to obtain required factors. The program DOES NOT FACTORIZE, rather obtains data from an existing database.
To configure as a CLI command:
- Clone repo into any directory.
- Rename file to 'factordb' (just to give the feel of a CLI tool)
- Give required permissions to the file, and copy/move it to
/usr/local/bin
NOTE : I am not entirely sure about the safety regarding copying a file into /usr/local/bin, so do it in general at your own risk.
Alternate soln - You could create an alias in .bashrc to run the program (eg : ALIAS factordb='python3 factordb.py')
- Just obtaining all prime factors (or known factors depending on status)
- Obtain all prime factors and verify status (View code to understand more about statuses)

