Skip to content

Commit

Permalink
v1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Colum Paget committed Jan 15, 2024
1 parent 7e8a76c commit b9ad7f9
Show file tree
Hide file tree
Showing 10 changed files with 1,776 additions and 1,415 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v1.17 (2024-01-15)
* Fix build with compilers where library order matters
* Update manpage

v1.16 (2024-01-14)
* Added base32 hash encoding
* TOTP authentication support
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
CC = gcc
CFLAGS = -g -O2
LIBS = -lssl -lcrypto libUseful-5/libUseful.a
INSTALL=/bin/install -c
prefix=/usr/local
LIBS = libUseful-5/libUseful.a -lssl -lcrypto
INSTALL=/usr/bin/install -c
prefix=/usr
bindir=$(prefix)${exec_prefix}/bin
FLAGS=$(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -D_FILE_OFFSET_BITS=64 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1
FLAGS=$(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1
OBJ=common.o encodings.o command-line-args.o ssh.o http.o fingerprint.o include-exclude.o files.o filesigning.o xattr.o check-hash.o find.o otp.o memcached.o frontend.o cgi.o xdialog.o output.o
EXE=hashrat

Expand Down
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CC = @CC@
CFLAGS = @CFLAGS@
LIBS = @LIBS@ @STATIC_LIBS@
LIBS = @STATIC_LIBS@ @LIBS@
INSTALL=@INSTALL@
prefix=@prefix@
bindir=$(prefix)@bindir@
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ OPTIONS
-hmac HMAC using specified hash algorithm
-totp <secret> TOTP code from supplied secret (defaults to google authenticator compatible code).
-totp <url> TOTP code from supplied otpauth url.
-digits <n> Produce TOTP code with <n> digits.
-period <n> Produce TOTP code with period/lifetime of <n> seconds.
-digits <n> Produce TOTP code with <n> digits.
-period <n> Produce TOTP code with period/lifetime of <n> seconds.
-8 Encode with octal instead of hex
-10 Encode with decimal instead of hex
-H Encode with UPPERCASE hexadecimal
Expand Down Expand Up @@ -343,7 +343,7 @@ If run with the '-net' option, hashrat will treat paths starting with 'http://'

Hashrat can be used as a TOTP authenticator, and defaults to google-authenticator compatible codes.
```
hashrat -otp 3EK4LIB2553CUPA7DBXJMMKDCYTEA2IZA
hashrat -totp 3EK4LIB2553CUPA7DBXJMMKDCYTEA2IZA
```


Expand Down
2 changes: 1 addition & 1 deletion common.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "libUseful-5/libUseful.h"
#include "glob.h"

#define VERSION "1.16"
#define VERSION "1.17"

#define ACT_NONE 0
#define ACT_HASH 1
Expand Down
Loading

0 comments on commit b9ad7f9

Please sign in to comment.