Not logged in. · Lost password · Register

SpeedyGonzalez
Member since Jul 2017
103 posts
Subject: John The Ripper auf Mac 10.14.4 installieren
Hallo zusammen,

wie installiere ich den John The Ripper für das aktuelle Übungsblatt in "Human Factors in Security and Privacy"?

Im Internet habe ich diese Anleitung gefunden, allerdings weiss ich nicht wirklich was ein "Build" ist und wie ich mit dieser Anleitung umgehe?

Homebrew und xCode habe ich bereits installiert.

Liebe Grüße
Speedy

    Optimal build on OS X

Using OS X, you can install Xcode (free) and then its "command line tools"
and after that a normal build should work fine. However, using native
gcc (which is really clang) results in suboptimal performance and some
formats are disabled due to ancient OpenSSL.

Here's how to make the best possible of your hardware. There are alternatives
that probably work fine but these instructions are for "Homebrew":

  1. Install Homebrew:
    http://mxcl.github.io/homebrew/
  2. Install Homebrew's gcc and openssl:
    brew install gcc openssl
  3. Make sure /usr/local/bin precedes /usr/bin in your $PATH
  4. Configure, possibly adding a CC option for pointing to a specific gcc:
        ./configure CC="gcc-6"
  5. Clean old files and make:
        make -s clean && make -sj4

After the above, you should be able to get an optimal build with AVX and/or
whatever extra features your CPU has got.

If you get weird problems including things like "error: unknown type name
'dispatch_block_t'" on 10.10 Yosemite, you might need to apply a patch for
the system headers (at your own risk, as always, but backups are created).
From John's "src" directory:

  sudo patch -b -N -p0 < unused/Yosemite.patch

The patch is not needed for 10.11 "El Capitan".

NOTE: The above command will create backup files. If you ever want to restore
everything as it were originally:

  cd /usr/include/dispatch
  sudo mv -vi object.h.orig object.h
  sudo mv -vi queue.h.orig queue.h
  cd -
Ford Prefect
Pangalaktischer- Donnergurgler-Trinker
(Administrator)
Avatar
Member since Oct 2002
3258 posts
+1 SpeedyGonzalez
Im Prinzip steht's schon da. Im Terminal musst du in das Verzeichnis wechseln in das John The Ripper entpackt wurde und das nacheinander ausführen:

brew install gcc openssl
./configure
make -sj4
Quote: <mute> mit Miranda macht irc kein spass :P <Loki|muh> dann geh doch wieder :)
<mute> ich benutze kein miranda <Loki|muh> na und? :)
SpeedyGonzalez
Member since Jul 2017
103 posts
Danke für deine Antwort Ford Prefect, aber leider hat es bisher immer noch nicht geklappt:

Folgendermaßen bin ich vorgegangen:

1. Ich habe mir auf dieser Seite die erste Version runtergelassen (was ist denn der Unterschied zwischen v3 und sse2?)
https://openwall.info/wiki/john/custom-builds#Compiled-for…

john-1.8.0.9-jumbo-macosx_v3.zip (64-bit x86 AVX2) (36.2 MB)
john-1.8.0.9-jumbo-macosx_sse2.zip (64-bit x86 SSE4) (36.2 MB)

2. Diese Datei habe ich dann in einen auf dem Schreibtisch neu erstellten Ordner namens "John" verschoben und dort das .zip geöffnet.
Dort liegt jetzt ein Ordner namens "john-1.8.0.9-jumbo-macosx_v3".
In diesem Ordner befinden sich nun wiederum eine README Datei, eine README-jumbo Datei, ein Ordner namens doc und ein Ordner namens run. (Pfad: Macintosh HD⁩/Benutzer⁩ /⁨Nutzername/⁨Schreibtisch⁩/John/⁨john-1.8.0.9-jumbo-macosx_v3⁩)

3. Ich habe versucht die von dir beschriebenen Schritte sowohl aus dem doc als auch aus dem run Ordner heraus auszuführen, indem ich einfach per cd Befehl dorthin navigiert habe.

Leider hat es so noch nicht geklappt, hat jemand noch Tipps was ich falsch mache? Unten findet ihr noch den Inhalt der beiden Ordner.

LG
Speedy


Inhalt des doc Ordners:
AddressSanitizer-HOWTO.txt        README-PST
AxCrypt-Auditing-HOWTO.md        README-krb5-18-23
BUGS                    README.7z2john.md
CHANGES                    README.Apple_DMG
CHANGES-jumbo                README.BitLocker
CHANGES-jumbo.git            README.FileVault2
CONFIG                    README.FreeBSD
CONTACT                    README.IBM_AS400
COPYING                    README.LUKS
CRAM-MD5.txt                README.LotusNotes
CREDITS                    README.MinGW
CREDITS-jumbo                README.apex
DYNAMIC                    README.bash-completion
DYNAMIC_COMPILER_FORMATS.md        README.bitcoin
DYNAMIC_EXPRESSIONS            README.coding-style
DYNAMIC_SCRIPTING            README.cprepair
ENCODINGS                README.format-epi
EXAMPLES                README.gpg
EXTERNAL                README.ios7
FAQ                    README.keychain
HDAA_README                README.keyring
INSTALL                    README.keystore
INSTALL-UBUNTU                README.kwallet
Kerberos-Auditing-HOWTO.md        README.librexgen
LICENSE                    README.mozilla
LICENSE.mpi                README.mpi
MARKOV                    README.pwsafe
MASK                    README.ssh
MODES                    RULES
NETNTLM_README                RULES-hashcat
OFFICE                    Regen-Lost-Salts.txt
OPTIONS                    SIPcrack-LICENSE
PRINCE                    SecureMode-tutorial.md
README                    dynamic_history.txt
README-CUDA                john-1.7.9-jumbo-7-licensing-stats.txt
README-DISTROS                john-1.7.9-jumbo-7-licensing.txt
README-MIC                pass_gen.Manifest
README-OPENCL                pcap2john.readme
README-PDF

Inhalt des run Ordners:
1password2john.py        lanman.chr
7z2john.pl            lastpass2john.py
DPAPImk2john.py            latin1.chr
SIPdump                ldif2john.pl
aix2john.pl            leet.pl
aix2john.py            lib
alnum.chr            lion2john-alt.pl
alnumspace.chr            lion2john.pl
alpha.chr            lm_ascii.chr
androidfde2john.py        lotus2john.py
apex2john.py            lower.chr
aruba2john.py            lowernum.chr
ascii.chr            lowerspace.chr
axcrypt2john.py            luks2john.py
base64conv            mailer
benchmark-unify            makechr
best64.conf            mcafee_epo2john.py
bestcrypt2john.py        mkvcalcproba
bitcoin2john.py            ml2john.py
bitlocker2john            mongodb2john.js
bks2john.py            mozilla2john.py
blockchain2john.py        netntlm.pl
calc_stat            netscreen.py
cisco2john.pl            odf2john.py
codepage.pl            office2john.py
cprepair            openbsd_softraid2john.py
cracf2john.py            openssl2john.py
dictionary.rfc2865        padlock2john.py
digits.chr            pass_gen.pl
dmg2john            password.lst
dmg2john.py            pcap2john.py
dumb16.conf            pdf2john.pl
dumb32.conf            pem2john.py
dynamic.conf            pfx2john.py
dynamic_disabled.conf        potcheck.pl
dynamic_flat_sse_formats.conf    prosody2john.py
ecryptfs2john.py        ps_token2john.py
ejabberd2john.py        putty2john
encfs2john.py            pwsafe2john.py
enpass2john.py            racf2john
ethereum2john.py        radius2john.pl
filezilla2john.py        rar2john
fuzz.dic            raw2dyna
fuzz_option.pl            regex_alphabets.conf
geli2john.py            relbench
genincstats.rb            repeats16.conf
genmkvpwd            repeats32.conf
gpg2john            rexgen2rules.pl
hccap2john            rulestack.pl
hextoraw.pl            sap2john.pl
htdigest2john.py        sha-dump.pl
hybrid.conf            sha-test.pl
ibmiscanner2john.py        sipdump2john.py
ikescan2john.py            snmp2john.lua
ios7tojohn.pl            ssh2sshng.py
itunes_backup2john.pl        sshng2john.py
iwork2john.py            stats
john                strip2john.py
john.bash_completion        sxc2john.py
john.conf            tgtsnarf
john.zsh_completion        truecrypt2john.py
jtr_rulez.pm            uaf2john
jtrconf.pm            unafs
kdcdump2john.py            undrop
keepass2john            unique
kerberom            unrule.pl
kernels                unshadow
keychain2john.py        upper.chr
keyring2john.py            uppernum.chr
keystore2john.py        utf8.chr
kirbi2john.py            vdi2john.pl
known_hosts2john.py        vncpcap2john
korelogic.conf            wpapcap2john
krbpa2john.py            zip2john
kwallet2john.py            ztex
‎⁨
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Datenschutz | Kontakt
Powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2011 by Yves Goergen