makefile
来自「跟rainbow table结合破解windoes登陆密码及各种hash密码」· 代码 · 共 77 行
TXT
77 行
####### Compiler, tools and optionsCC = gccCFLAGS = -O3 -Wall -fomit-frame-pointer -funroll-loops -mcpu=i686 -staticINCPATH = LFLAGS = -staticLIBS = -lcrypto HEADERS = make_redux.h \ make_hash.h SOURCES = ophcrack.c \ make_redux.c \ make_hash.c \ test_hash.c \ test_speed.c \ precomp.c \ binarize.c OBJECTS = make_redux.o \ make_hash.o UTILS = test_speed test_hashTARGETS = ophcrack precomp binarize $(UTILS)first: all####### Implicit rules.SUFFIXES: .c .o .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<####### Build rulesall: $(TARGETS)utils: $(UTILS)ophcrack: ophcrack.o $(OBJECTS) $(CC) $(LFLAGS) -o ophcrack $(OBJECTS) ophcrack.o $(LIBS)precomp: precomp.o $(OBJECTS) $(CC) $(LFLAGS) -o precomp $(OBJECTS) precomp.o $(LIBS)test_hash: test_hash.o $(OBJECTS) $(CC) $(LFLAGS) -o test_hash $(OBJECTS) test_hash.o $(LIBS)test_speed: test_speed.o $(OBJECTS) $(CC) $(LFLAGS) -o test_speed $(OBJECTS) test_speed.o $(LIBS)binarize: binarize.o $(CC) $(LFLAGS) -o binarize binarize.cclean: rm *.o rm $(TARGETS)####### Test / Demo# create a set of two tables, binarize them and find the password 00001Qtest: precomp ophcrack binarize test_hash if [ test -a Test ]; then rm -rf Test; fi mkdir Test ./precomp -d Test/ -t 1000 -m 4000 0 ./precomp -d Test/ -t 1000 -m 4000 1 cd Test && ../binarize table0 && ../binarize table1 ./ophcrack -s -t 1000 -d Test/ 3b5d4264276d312ee516b06b1b1dc3a9:fff23d5f2a088b0bc952337fbaa8d6c4
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?