Skip to content

Commit 1b62269

Browse files
author
atom
committed
Initial commit
1 parent 10727d7 commit 1b62269

File tree

6 files changed

+1184
-2
lines changed

6 files changed

+1184
-2
lines changed

CHANGES

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
* v0.10 -> v0.11:
2+
3+
- Open Source the project
4+
- License is MIT
5+
- Moved repository to github: https://github.com/jsteube/statsprocessor
6+
- Added CHANGES
7+
- Added LICENSE
8+
- Added README.md

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Jens Steube
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
1-
# statsprocessor
2-
High-Performance word generator based on markov stats
1+
statsprocessor
2+
==============
3+
4+
Statsprocessor is a word-generator based on per-position markov-chains packed into a single stand-alone binary.
5+
6+
Example
7+
--------------
8+
9+
The following example was made just to see what comes out of statsprocessor.
10+
11+
root@sf:~/statsprocessor-0.07# ./sp64.bin --pw-min 5 --pw-max 5 hashcat.hcstat ?l?l?l?l?l | head -9
12+
sange
13+
songe
14+
serin
15+
singe
16+
sunge
17+
srane
18+
shane
19+
slane
20+
snder
21+
22+
In markov-attack we have a statistic generated which letter is following which letter based on the analysis of the original input dictionary used to generate the .hcstat. In this case the most used letter on the first position is the letter is “s”. The program then looks up the markov-table with the key “s” to get the most used letter after the letter “s” on position 0. In our case, its the letter “a”. This “chain” goes till the ende of the word and iterates through all letters stored in the markov-table.
23+
24+
Compile
25+
--------------
26+
27+
Simply run make
28+
29+
Binary distribution
30+
--------------
31+
32+
Binaries for Linux, Windows and OSX: https://github.com/jsteube/statsprocessor/releases

hashcat.hcstat

32.1 MB
Binary file not shown.

src/Makefile

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
##
2+
## Makefile for sp
3+
##
4+
5+
CFLAGS = -W -Wall -std=c99 -O2 -s
6+
#CFLAGS = -W -Wall -std=c99 -g
7+
8+
#CC_LINUX32 = /opt/hashcat-toolchain/linux32/bin/i686-hashcat-linux-gnu-gcc
9+
#CC_LINUX64 = /opt/hashcat-toolchain/linux64/bin/x86_64-hashcat-linux-gnu-gcc
10+
CC_LINUX32 = gcc
11+
CC_LINUX64 = gcc
12+
CC_WINDOWS32 = /usr/bin/i686-w64-mingw32-gcc
13+
CC_WINDOWS64 = /usr/bin/x86_64-w64-mingw32-gcc
14+
CC_OSX32 = /usr/bin/i686-apple-darwin10-gcc
15+
CC_OSX64 = /usr/bin/i686-apple-darwin10-gcc
16+
17+
CFLAGS_LINUX32 = $(CFLAGS) -m32 -DLINUX
18+
CFLAGS_LINUX64 = $(CFLAGS) -m64 -DLINUX
19+
CFLAGS_WINDOWS32 = $(CFLAGS) -m32 -DWINDOWS
20+
CFLAGS_WINDOWS64 = $(CFLAGS) -m64 -DWINDOWS
21+
CFLAGS_OSX32 = $(CFLAGS) -m32 -DOSX
22+
CFLAGS_OSX64 = $(CFLAGS) -m64 -DOSX
23+
24+
all: sp64.bin
25+
26+
sp32: sp32.bin sp32.exe sp32.app
27+
sp64: sp64.bin sp64.exe sp64.app
28+
29+
clean:
30+
rm -f sp32.bin sp64.bin sp32.exe sp64.exe sp32.app sp64.app
31+
32+
sp32.bin: sp.c
33+
$(CC_LINUX32) $(CFLAGS_LINUX32) -o $@ $^
34+
35+
sp64.bin: sp.c
36+
$(CC_LINUX64) $(CFLAGS_LINUX64) -o $@ $^
37+
38+
sp32.exe: sp.c
39+
$(CC_WINDOWS32) $(CFLAGS_WINDOWS32) -o $@ $^
40+
41+
sp64.exe: sp.c
42+
$(CC_WINDOWS64) $(CFLAGS_WINDOWS64) -o $@ $^
43+
44+
sp32.app: sp.c
45+
$(CC_OSX32) $(CFLAGS_OSX32) -o $@ $^
46+
47+
sp64.app: sp.c
48+
$(CC_OSX64) $(CFLAGS_OSX64) -o $@ $^

0 commit comments

Comments
 (0)