How to use:
----------------
Check the source code for the file. When downloading scripts or code from the internet, this is always a good practice.
You can do this by right clicking on md and opening with a text editor.
From a shell prompt, you can run 'cat ~/Downloads/md' 'nano ~/Downloads/md' or 'vi ~/Downloads/md'
To run the script, you first need to make it executable.
In a file manager, you can generally right click on the file, go to properties, open the permissions tab, and check the box that says to make it executable.
From a shell prompt, you can use 'chmod u+x ~/Downloads/md'
Once you make the file executable, use '~/Downloads/md' to simply run it.
To run it to scan a file, use '~/Downloads/md <path/to/file>'
(Replace '~/Downloads/md' with the place you put the file and the name of, if you moved/changed it.
On the Windows Subsystem for Linux, the file will likely be at '/mnt/c/Users/<YOURUSER>/Downloads/md')
----------------
How to install:
----------------
If, for some reason, you want to install the script for easier use, it's quite simple.
To install for all users, you will need root/sudo access.
Simply run 'sudo mv ~/Downloads/md /bin'
If you don't have sudo, use 'su -' input the root password, then run 'mv /home/<YOURUSER>/Downloads/md /bin' After that, run 'exit'
To install only for yourself, create a folder in your home directory (I suggest .bin).
You can do this with the file manager, or by running 'mkdir ~/.bin'
From there, move the script to the new folder. On the command line, you can run 'mv ~/Downloads/md ~/.bin'
Finally, assuming you're using bash, you will want to add the line 'PATH=/home/<YOURUSER>/.bin:$PATH' to a file called '.bashrc'
In the file manager, you will need to right click, and check the box saying 'Show Hidden' or something similar, and use a text editor to edit .bashrc
On the command line, you can simple use 'nano ~/.bashrc' or 'vi ~/.bashrc'
Once you add the line, it will change when you log out and log back in. To do it without relogging, run 'PATH=/home/`whoami`/.bin:$PATH'
Once you follow either, you can simply put 'md <name/of/file>' to scan a file
----------------
Version Releases
----------------
0.0.1 - Initial release. Supports scanning of plaintext and script files for instances of commands that could potentially be used maliciously. Has a help page accessible by using --help as the first option, and can force the scanning of unsupported files with -f as the second option. Pass the file you want to scan as the first option.