Closed alphaaurigae closed 6 years ago
It is hard to tell and even read what you did there. I see a "sudo", something that is not required at all. I'm running Xubuntu 16.04 - 64 Bit, it compiles just fine. Please make sure you have the build-essential
packet installed. See below:
$> uname -a
Linux box 4.8.0-54-generic #57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
$> git clone https://github.com/RUB-SysSec/OMEN.git
Cloning into 'OMEN'...
remote: Counting objects: 128, done.
remote: Total 128 (delta 0), reused 0 (delta 0), pack-reused 128
Receiving objects: 100% (128/128), 623.24 KiB | 1.03 MiB/s, done.
Resolving deltas: 100% (57/57), done.
Checking connectivity... done.
$> cd OMEN
user@box:[~/OMEN]
$> make
sed s/__VERSION__/0.3.1/g src/cmdlineCreateNG.h.in > src/cmdlineCreateNG.h
sed s/cmdlineCreateNG.h.in/cmdlineCreateNG.h/g src/cmdlineCreateNG.c.in > src/cmdlineCreateNG.c
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineCreateNG.c -o cmdlineCreateNG.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/createNG.c -o createNG.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/common.c -o common.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/errorHandler.c -o errorHandler.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/smoothing.c -o smoothing.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/commonStructs.c -o commonStructs.o
cc -o createNG createNG.o common.o errorHandler.o smoothing.o cmdlineCreateNG.o commonStructs.o -g -lm -flto
sed s/__VERSION__/0.3.1/g src/cmdlineEnumNG.h.in > src/cmdlineEnumNG.h
sed s/cmdlineEnumNG.h.in/cmdlineEnumNG.h/g src/cmdlineEnumNG.c.in > src/cmdlineEnumNG.c
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineEnumNG.c -o cmdlineEnumNG.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/enumNG.c -o enumNG.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/boosting.c -o boosting.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/nGramReader.c -o nGramReader.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/attackSimulator.c -o attackSimulator.o
cc -o enumNG enumNG.o common.o errorHandler.o boosting.o smoothing.o cmdlineEnumNG.o commonStructs.o nGramReader.o attackSimulator.o -g -lm -flto
sed s/__VERSION__/0.3.1/g src/cmdlineEvalPW.h.in > src/cmdlineEvalPW.h
sed s/cmdlineEvalPW.h.in/cmdlineEvalPW.h/g src/cmdlineEvalPW.c.in > src/cmdlineEvalPW.c
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineEvalPW.c -o cmdlineEvalPW.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/evalPW.c -o evalPW.o
cc -o evalPW evalPW.o common.o errorHandler.o smoothing.o cmdlineEvalPW.o commonStructs.o nGramReader.o -g -lm -flto
sed s/__VERSION__/0.3.1/g src/cmdlineAlphabetCreator.h.in > src/cmdlineAlphabetCreator.h
sed s/cmdlineAlphabetCreator.h.in/cmdlineAlphabetCreator.h/g src/cmdlineAlphabetCreator.c.in > src/cmdlineAlphabetCreator.c
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineAlphabetCreator.c -o cmdlineAlphabetCreator.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/alphabetCreator.c -o alphabetCreator.o
cc -o alphabetCreator alphabetCreator.o common.o errorHandler.o cmdlineAlphabetCreator.o -g -lm -flto
rm -f *.o
$> ls
alphabetCreator createNG docs enumNG evalPW makefile README.md src utils
Feel free to answer to this Issue, otherwise I will close and mark as resolved.
Thx for the detailed reply! Good to know you run xubuntu 16.04. You can close it for the moment, probably my userfail. ill dedicate a bit time to figure whats up when i get back up.
Cant reconstruct what went wrong yesterday, build works fine now on my 16.04 xubuntu. https://github.com/alphaaurigae/ITSEC-Install-Scripts/tree/master/4.Password/3.Wordlist/OMEN
/opt/ITSEC-Install-Scripts/4.Password/3.Wordlist/OMEN/omen-install.sh
/RUB-SysSec/OMEN
INSTALL
fatal: destination path 'OMEN' already exists and is not an empty directory.
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineCreateNG.c -o cmdlineCreateNG.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/createNG.c -o createNG.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/common.c -o common.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/errorHandler.c -o errorHandler.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/smoothing.c -o smoothing.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/commonStructs.c -o commonStructs.o
cc -o createNG createNG.o common.o errorHandler.o smoothing.o cmdlineCreateNG.o commonStructs.o -g -lm -flto
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineEnumNG.c -o cmdlineEnumNG.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/enumNG.c -o enumNG.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/boosting.c -o boosting.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/nGramReader.c -o nGramReader.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/attackSimulator.c -o attackSimulator.o
cc -o enumNG enumNG.o common.o errorHandler.o boosting.o smoothing.o cmdlineEnumNG.o commonStructs.o nGramReader.o attackSimulator.o -g -lm -flto
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineEvalPW.c -o cmdlineEvalPW.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/evalPW.c -o evalPW.o
cc -o evalPW evalPW.o common.o errorHandler.o smoothing.o cmdlineEvalPW.o commonStructs.o nGramReader.o -g -lm -flto
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineAlphabetCreator.c -o cmdlineAlphabetCreator.o
cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/alphabetCreator.c -o alphabetCreator.o
cc -o alphabetCreator alphabetCreator.o common.o errorHandler.o cmdlineAlphabetCreator.o -g -lm -flto
rm -f *.o
robotux@1:~$ omen-
omen-createNG omen-enumNG
robotux@1:~$ omen-createNG
./createNG: '--iPwdList' option required
robotux@1:~$ omen-createNG -h
createNG 0.3.1
The MIT License (MIT)
Copyright (c) 2017 Horst Goertz Institute for IT-Security
(Ruhr-University Bochum)
Usage: createNG [OPTIONS]...
createNG is part of the Ordered Markov ENumerator (OMEN).
createNG creates nGram based on the given password list.
-h, --help Print help and exit
-V, --version Print version and exit
Input Files:
--iPwdList=FILENAME Password list to create nGrams. (mandatory)
Output Filenames:
-c, --cPout=FILENAME Changes output filename for conditional
probabilities. (default=`CP')
-i, --iPout=FILENAME Changes output filename for initial probabilities.
(default=`IP')
-e, --ePout=FILENAME Changes output filename for end probabilities
(default=`EP')
-l, --lenout=FILENAME Changes output filename for password lengths levels
(default=`LN')
-C, --config=FILENAME Changes config filename (default=`createConfig')
-p, --prefix=STRING Adds given prefix to all output files
-s, --suffix=STRING Adds given suffix to all output files
-d, --datefix Adds the current date and time as suffix to all
output files (default=off)
nGram Calculation:
-n, --ngram=INT Changes the size of the nGram n (possible
values="2", "3", "4", "5" default=`4')
-m, --maxLevel=INT Changes the maximum level in range 2 to 101
(default=`11')
-a, --alphabet=STRING Changes the used alphabet to the given <string>
-A, --fAlphabet=FILENAME Changes the used alphabet to the alphabet found in
<filename>.
-S, --smoothing=FILENAME Changes the used smoothing function to the one
defined in <filename>.
Output Modes:
-v, --verbose Gain information about settings and results during
run time. (default=off)
-F, --verboseFile Gain detailed information in the output files.
(default=off)
-w, --printWarnings Prints any warning (if verbose mode is active).
(default=off)
Others:
-u, --withCount The given password list is counted (like this:
#count password). (default=off)
OS: Xubuntu 16.04
`/RUB-SysSec/OMEN INSTALL
Cloning into 'OMEN'... remote: Counting objects: 128, done. remote: Total 128 (delta 0), reused 0 (delta 0), pack-reused 128 Receiving objects: 100% (128/128), 623.24 KiB | 0 bytes/s, done. Resolving deltas: 100% (57/57), done. Checking connectivity... done. [sudo] password for robotux: sed s/VERSION/0.3.1/g src/cmdlineCreateNG.h.in > src/cmdlineCreateNG.h sed s/cmdlineCreateNG.h.in/cmdlineCreateNG.h/g src/cmdlineCreateNG.c.in > src/cmdlineCreateNG.c cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/createNG.c -o createNG.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/common.c -o common.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/errorHandler.c -o errorHandler.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/smoothing.c -o smoothing.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/commonStructs.c -o commonStructs.o sed s/VERSION/0.3.1/g src/cmdlineEnumNG.h.in > src/cmdlineEnumNG.h sed s/cmdlineEnumNG.h.in/cmdlineEnumNG.h/g src/cmdlineEnumNG.c.in > src/cmdlineEnumNG.c cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/enumNG.c -o enumNG.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/boosting.c -o boosting.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/nGramReader.c -o nGramReader.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/attackSimulator.c -o attackSimulator.o sed s/VERSION/0.3.1/g src/cmdlineEvalPW.h.in > src/cmdlineEvalPW.h sed s/cmdlineEvalPW.h.in/cmdlineEvalPW.h/g src/cmdlineEvalPW.c.in > src/cmdlineEvalPW.c cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/evalPW.c -o evalPW.o sed s/VERSION/0.3.1/g src/cmdlineAlphabetCreator.h.in > src/cmdlineAlphabetCreator.h sed s/cmdlineAlphabetCreator.h.in/cmdlineAlphabetCreator.h/g src/cmdlineAlphabetCreator.c.in > src/cmdlineAlphabetCreator.c cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/alphabetCreator.c -o alphabetCreator.o rm -f *.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineCreateNG.c -o cmdlineCreateNG.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineEnumNG.c -o cmdlineEnumNG.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineEvalPW.c -o cmdlineEvalPW.o cc -Wall -std=gnu11 -O3 -Wall -Wpedantic -g -flto -c src/cmdlineAlphabetCreator.c -o cmdlineAlphabetCreator.o cc -o evalPW evalPW.o common.o errorHandler.o smoothing.o cmdlineEvalPW.o commonStructs.o nGramReader.o -g -lm -flto cc: error: common.o: No such file or directory cc: error: errorHandler.o: No such file or directory cc: error: smoothing.o: No such file or directory cc: error: commonStructs.o: No such file or directory cc: error: nGramReader.o: No such file or directory makefile:41: recipe for target 'evalPW' failed make: [evalPW] Error 1 make: Waiting for unfinished jobs....`