Description: fix wrong information or typos in the help and README file
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2015-01-28
Index: hashrat-1.5/README
===================================================================
--- hashrat-1.5.orig/README
+++ hashrat-1.5/README
@@ -56,8 +56,8 @@ Options:
   -10             Encode with decimal instead of hex
   -H              Encode with UPPERCASE hexadecimal
   -HEX            Encode with UPPERCASE hexadecimal
-  -64             Encode with base65 instead of hex
-  -base64         Encode with base65 instead of hex
+  -64             Encode with base64 instead of hex
+  -base64         Encode with base64 instead of hex
   -t              Output hashes in traditional md5sum, shaXsum format
   -trad           Output hashes in traditional md5sum, shaXsum format
   -r              Recurse into directories when hashing files
@@ -81,7 +81,7 @@ Options:
   -strict         Strict mode: when checking, check file mtime, owner, group, and inode as well as it's hash
   -S              Strict mode: when checking, check file mtime, owner, group, and inode as well as it's hash
   -d              dereference (follow) symlinks
-  -fs             Stay one one file system
+  -fs             Stay one filesystem
   -dirmode        DirMode: Read all files in directory and create one hash for them!
   -devmode        DevMode: read from a file EVEN OF IT'S A DEVNODE
   -lines          Read lines from stdin and hash each line independantly.
@@ -90,7 +90,7 @@ Options:
   -cgi            Run in HTTP CGI mode
   -net            Treat 'file' arguments as either ssh or http URLs, and pull files over the network and then hash them (Allows hashing of files on remote machines).
                   URLs are in the format ssh://[username]:[password]@[host]:[port] or http://[username]:[password]@[host]:[port]..
-  -idfile <path>  Path to an ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.
+  -idfile <path>  Path to a ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.
   -xattr          Use eXtended file ATTRibutes. In hash mode, store hashes in the file attributes, in check mode compare against hashes stored in file attributes.
   -cache          Use hashes stored in 'user' file attributes. If the stored hash is younger than the mtime of the file, it will be used instead of recalculating the hash. This speeds up hashing, but can result in errors if file mtimes are inaccurate or have been modified for malicious purposes.
   -u <types>      Update. In checking mode, update hashes for the files as you go. <types> is a comma-separated list of things to update, which can be 'xattr' 'memcached' or a file name. This will update these targets with the hash that was found at the time of checking.
@@ -119,7 +119,7 @@ USE EXAMPLES:
 
 	hashrat
 
-		Generate an md5 hash of data read from stdin  (default hash type is md5).
+		Generate a md5 hash of data read from stdin  (default hash type is md5).
 
 	hashrat -jh256
 
@@ -127,15 +127,15 @@ USE EXAMPLES:
 		
 	hashrat -sha256 -64
 
-		Generate an sha-256 hash of data read from stdin, output with base64 encoding.
+		Generate a sha-256 hash of data read from stdin, output with base64 encoding.
 
 	hashrat -sha256 -64 -lines
 
-		Read lines from stdin, and generate an sha-256 with base64 encoding FOR EVERY LINE. This strips any whitespace from the end of the line (including \r and/or \n line terminators). 
+		Read lines from stdin, and generate a sha-256 with base64 encoding FOR EVERY LINE. This strips any whitespace from the end of the line (including \r and/or \n line terminators). 
 
 	hashrat -md5 -trad -rawlines
 
-		Read lines from stdin, and generate an md5 hash in 'traditional' format for every line INCLUDING TRAILING WHITESPACE. This is compatible with 'echo text | md5sum' where 'text' is one line, as 'echo' adds a newline to the end of the text it outputs.
+		Read lines from stdin, and generate a md5 hash in 'traditional' format for every line INCLUDING TRAILING WHITESPACE. This is compatible with 'echo text | md5sum' where 'text' is one line, as 'echo' adds a newline to the end of the text it outputs.
 
 	hashrat *
 
@@ -194,7 +194,7 @@ USES FOR HASHRAT
 
 		echo "facebook.com password 1234" | hashrat -sha1 -64
 
-	Obviously, my password isn't 'password' and my pin isn't '1234', but you get the idea. This gives me a 28-character string that should take "8.02 trillion trillion centuries" to crack with a "massive cracking array" according to Steve Gibson's 'Password haystacks' utility, https://www.grc.com/haystack.htm. This is what I then use as my password. Unfortunately some websites won't take a 28-character password, and for these I have to truncate to the appropriate length (using the -n flag), but the results are still stronger than anything I could remember, and nothing needs storing on disk (as with password managers). 
+	Obviously, my password isn't 'password' and my pin isn't '1234', but you get the idea. This gives me a 28-character string that should take "8.02 trillion centuries" to crack with a "massive cracking array" according to Steve Gibson's 'Password haystacks' utility, https://www.grc.com/haystack.htm. This is what I then use as my password. Unfortunately some websites won't take a 28-character password, and for these I have to truncate to the appropriate length (using the -n flag), but the results are still stronger than anything I could remember, and nothing needs storing on disk (as with password managers). 
 
 	There are some dangers to using the 'echo' method shown above if you are on a shared machine, or if someone gets hold of your computer/harddrive. On a shared machine someone could type 'ps ax' to see all commands running, and if they time it right, they might see your command-line with your password in it. Another danger lies in using a shell (like bash) that will record your typed commands so you can recall them later. Bash stores this information on disk in the file .bash_history, so if you use the 'echo' method shown above your password will be saved on disk. To combat this hashrat has 'line mode'
 
Index: hashrat-1.5/command-line-args.c
===================================================================
--- hashrat-1.5.orig/command-line-args.c
+++ hashrat-1.5/command-line-args.c
@@ -439,8 +439,8 @@ printf("  %-15s %s\n","-8", "Encode with
 printf("  %-15s %s\n","-10", "Encode with decimal instead of hex");
 printf("  %-15s %s\n","-H", "Encode with UPPERCASE hexadecimal");
 printf("  %-15s %s\n","-HEX", "Encode with UPPERCASE hexadecimal");
-printf("  %-15s %s\n","-64", "Encode with base65 instead of hex");
-printf("  %-15s %s\n","-base64", "Encode with base65 instead of hex");
+printf("  %-15s %s\n","-64", "Encode with base64 instead of hex");
+printf("  %-15s %s\n","-base64", "Encode with base64 instead of hex");
 printf("  %-15s %s\n","-t", "Output hashes in traditional md5sum, shaXsum format");
 printf("  %-15s %s\n","-trad", "Output hashes in traditional md5sum, shaXsum format");
 printf("  %-15s %s\n","-r", "Recurse into directories when hashing files");
@@ -463,7 +463,7 @@ printf("  %-15s %s\n","-color", "Use ANS
 printf("  %-15s %s\n","-strict", "Strict mode: when checking, check file mtime, owner, group, and inode as well as it's hash");
 printf("  %-15s %s\n","-S", "Strict mode: when checking, check file mtime, owner, group, and inode as well as it's hash");
 printf("  %-15s %s\n","-d","dereference (follow) symlinks"); 
-printf("  %-15s %s\n","-fs", "Stay one one file system");
+printf("  %-15s %s\n","-fs", "Stay one filesystem");
 printf("  %-15s %s\n","-dirmode", "DirMode: Read all files in directory and create one hash for them!");
 printf("  %-15s %s\n","-devmode", "DevMode: read from a file EVEN OF IT'S A DEVNODE");
 printf("  %-15s %s\n","-lines", "Read lines from stdin and hash each line independantly.");
@@ -472,7 +472,7 @@ printf("  %-15s %s\n","-rl", "Read lines
 printf("  %-15s %s\n","-cgi", "Run in HTTP CGI mode");
 printf("  %-15s %s\n","-net", "Treat 'file' arguments as either ssh or http URLs, and pull files over the network and then hash them (Allows hashing of files on remote machines).");
 printf("  %-15s %s\n","", "URLs are in the format ssh://[username]:[password]@[host]:[port] or http://[username]:[password]@[host]:[port]..");
-printf("  %-15s %s\n","-idfile <path>", "Path to an ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.");
+printf("  %-15s %s\n","-idfile <path>", "Path to a ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.");
 printf("  %-15s %s\n","-xattr", "Use eXtended file ATTRibutes. In hash mode, store hashes in the file attributes, in check mode compare against hashes stored in file attributes.");
 printf("  %-15s %s\n","-txattr", "Use TRUSTED eXtended file ATTRibutes. In hash mode, store hashes in 'trusted' file attributes. 'trusted' attributes can only be read and written by root.");
 printf("  %-15s %s\n","-cache", "Use hashes stored in 'user' xattr if they're younger than the mtime of the file. This speeds up outputting hashes.");
