139 Commits

Author SHA1 Message Date
wiire-a
537dd74029 Merge pull request #58 from rofl0r/pthread_stack
Set a reasonable stacksize for threads to prevent huge waste with GLIBC
2017-10-15 20:47:17 +02:00
rofl0r
7cad1983da set a reasonable stacksize for threads to prevent huge waste with GLIBC
GLIBC defaults to giving new threads an insanely huge 8MB stack each, which
causes unnecessary memory waste. we set it to a conservative 64KB, even though
we need less than 1KB ourselves, to give sufficient leeway to buffers used
by libc itself when calling out to some of its functions.
2017-10-15 17:53:50 +01:00
wiire-a
6ee757e808 Updated usage screen 2017-10-14 12:03:32 +02:00
wiire-a
7a875fb09d Updated README 2017-10-14 12:01:41 +02:00
wiire-a
7d0f03d400 Changed default behavior to use all cores available
Used workaround to make it compile on Windows with some MinGW
installations
2017-10-14 11:43:10 +02:00
wiire-a
e2f480a900 Added libpthread dependency 2017-10-09 23:53:24 +02:00
wiire-a
4c25e2059d Removed useless C99 compilation guard 2017-10-09 23:47:59 +02:00
wiire-a
f424be2590 Merge pull request #55 from rofl0r/pthreads
Implement -j option for parallel cracks using pthreads
2017-10-09 23:45:14 +02:00
rofl0r
1e69706bb9 fix endless loop when seed wraps around from 0 to 0xffffffff
the issue could be experienced when the full brute-force space
till the unix epoch was searched.

test with: --start 02/1970 --end 01/1970
2017-10-09 22:36:04 +01:00
rofl0r
80f7774e98 implement -j option for parallel cracks using pthreads
a user-defined number of jobs (N) is started, each one is assigned
SECS_PER_JOB_BLOCK seeds to iterate over, after finishing the block
N * SECS_PER_JOB_BLOCK jobs are skipped, and it goes on again.
that way it is assured that more recent seeds get treated first.
in preliminary tests with a seed 2 years ago, using 8 jobs the
cracking time was reduced from 77 to 24 seconds.
it is possible that adjusting SECS_PER_JOB_BLOCK to a higher value
than currently speeds up cracking even more, since there will be
less "interruptions" in the CPUs branch prediction.
2017-10-09 00:07:08 +01:00
wiire-a
cbcbbd143b Changed time span to +-1 day 2017-10-08 18:23:37 +02:00
wiire-a
6c145761c3 Merge pull request #54 from rofl0r/inline
Fix inline so -O0 works too
2017-10-08 16:22:31 +02:00
wiire-a
9f39191ff2 Merge pull request #53 from rofl0r/getopt
Group getopt non-option arguments together for POSIX compat
2017-10-08 16:22:14 +02:00
rofl0r
cd61db2be5 fix inline so -O0 works too 2017-10-08 14:51:21 +01:00
rofl0r
1a395250c6 group getopt non-option arguments together for POSIX compat
for compatibility with POSIX getopt, non-option arguments
should be grouped together, since on the first occurence
of such an argument, it will consider all following arguments
non-option arguments too. this could be an issue with alternative
libc implementations.
2017-10-08 13:39:47 +01:00
wiire-a
3c8daf98df Updated to 1.3 v1.3 2017-10-07 18:13:10 +02:00
wiire-a
f33dd7a99d Updated to 1.3 2017-10-07 18:11:23 +02:00
wiire-a
5ec1e433aa Merge pull request #49 from binarymaster/master
Add new features
2017-10-07 17:38:25 +02:00
Stas'M
120ed9c8a3 Eliminate warnings, get rid of dynamic pin alloc 2017-10-07 18:34:18 +03:00
binarymaster
85413d0d6e Add full-length brute-force 2017-09-02 13:13:28 +03:00
binarymaster
622b086572 Add option for output file 2017-09-02 09:26:04 +03:00
binarymaster
64ecc3e8c2 Add support for empty string pin 2017-09-01 22:48:18 +03:00
wiire
f723d5017f Added modes 1,2 when mode 3 is detected in auto 2017-02-11 20:28:15 +01:00
wiire
2f12ef5277 Enforced e-nonce mandatory 2017-02-11 20:21:07 +01:00
wiire
fe3bedcb02 Corrected author 2017-02-11 20:17:59 +01:00
wiire
2052795813 Merge pull request #39 from wpa2/patch-1
Update Makefile
2017-02-11 19:31:18 +01:00
wpa2
157cd3d96e Update Makefile 2016-12-25 16:13:54 +02:00
wiire
fd62b81852 Merge pull request #33 from samueloph/master
Changes to makefile
2016-11-03 21:41:31 +01:00
Samuel Henrique
a42a1d21f7 Add manpage 2016-11-03 01:48:13 -02:00
Samuel Henrique
7a90b8e50d Only use optimization CCFLAGS if not set prvlsy 2016-11-02 17:49:50 -02:00
Samuel Henrique
81d5b4bd2a Add flags to debug target 2016-11-02 17:47:56 -02:00
Samuel Henrique
250085102b Remove double PREFIX declaration 2016-11-02 17:46:55 -02:00
Samuel Henrique
d9860f01d1 Add -f parameter to rm on unistall target 2016-11-02 17:46:27 -02:00
Samuel Henrique
867c332755 Remove LOCDIR variable 2016-11-02 17:45:51 -02:00
wiire
953cdd461c Merge pull request #32 from samueloph/master
[src/Makefile] Change paths and add missing flags
2016-10-19 15:31:12 +02:00
Samuel Henrique
520f46d154 Change path and add missing flags
Fix paths and add missing flags: LDFLAGS, CFLAGS and CPPFLAGS.
The authors of this patch are:
Sophie Brun <sophie@freexian.com>,
Samuel Henrique <samueloph@gmail.com>
Gianfranco Costamagna <locutusofborg@debian.org>
2016-10-19 00:06:04 -02:00
wiire
1448fff39f Fixed previous commit 2016-04-27 17:01:34 +02:00
wiire
cfe3d94b46 Added an extra time span of 12 hours when --force is used
See #25
2016-04-25 20:40:39 +02:00
wiire
81f76d7536 Reverted mode 3 check to 1.1
See #25
2016-04-23 13:32:42 +02:00
wiire
7e9d8d73a8 Fixed uninstall target
See #24
2016-04-23 13:14:17 +02:00
wiire
d5a7111097 Fixed $(DESTDIR) used twice in install
See #22
2016-01-07 12:50:23 +01:00
wiire
1c3a7351cc Updated to 1.2.2 v1.2.2 2016-01-04 23:08:02 +01:00
wiire
3b468a2672 Fixed minor warning
See #21
2016-01-04 20:35:25 +01:00
wiire
03da4adea5 Important fix for FreeBSD users
See #21
2016-01-04 17:55:00 +01:00
wiire
150f8d9db2 Updated to 1.2.1 v1.2.1 2016-01-04 11:16:12 +01:00
wiire
d62d3c1ada Updated README once again 2016-01-04 11:12:53 +01:00
wiire
5876cbe68b Updated README 2016-01-04 10:57:05 +01:00
wiire
c6a393302e Updated README 2016-01-04 10:35:54 +01:00
wiire
93401aa164 Updated copyright and license 2016-01-04 10:32:46 +01:00
wiire
321dca3069 Added .editorconfig to enforce some of the code style 2016-01-04 10:23:57 +01:00