未加星标

John The Ripper Modes and Configuration

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二03 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

John have a lot of different features and in order to configure these features it provides a lot of configuration options. In this tutorial we will look some of them.

Getting Help

There is two way to get help abut John. One is the simplest way by using -h .

$ john -h John the Ripper password cracker, version 1.8.0.6-jumbo-1-bleeding [linux-x86-64] Copyright (c) 1996-2015 by Solar Designer and others Homepage: http://www.openwall.com/john/ Usage: john [OPTIONS] [PASSWORD-FILES] --single[=SECTION] "single crack" mode --wordlist[=FILE] --stdin wordlist mode, read words from FILE or stdin --pipe like --stdin, but bulk reads, and allows rules --loopback[=FILE] like --wordlist, but fetch words from a .pot file --dupe-suppression suppress all dupes in wordlist (and force preload) --prince[=FILE] PRINCE mode, read words from FILE --encoding=NAME input encoding (eg. UTF-8, ISO-8859-1). See also doc/ENCODING and --list=hidden-options. --rules[=SECTION] enable word mangling rules for wordlist modes --incremental[=MODE] "incremental" mode [using section MODE] --mask=MASK mask mode using MASK --markov[=OPTIONS] "Markov" mode (see doc/MARKOV) --external=MODE external mode or word filter --stdout[=LENGTH] just output candidate passwords [cut at LENGTH] --restore[=NAME] restore an interrupted session [called NAME] --session=NAME give a new session the NAME --status[=NAME] print status of a session [called NAME] --make-charset=FILE make a charset file. It will be overwritten --show[=LEFT] show cracked passwords [if =LEFT, then uncracked] --test[=TIME] run tests and benchmarks for TIME seconds each --users=[-]LOGIN|UID[,..] [do not] load this (these) user(s) only --groups=[-]GID[,..] load users [not] of this (these) group(s) only --shells=[-]SHELL[,..] load users with[out] this (these) shell(s) only --salts=[-]COUNT[:MAX] load salts with[out] COUNT [to MAX] hashes --save-memory=LEVEL enable memory saving, at LEVEL 1..3 --node=MIN[-MAX]/TOTAL this node's number range out of TOTAL count --fork=N fork N processes --pot=NAME pot file to use --list=WHAT list capabilities, see --list=help or doc/OPTIONS --format=NAME force hash of type NAME. The supported formats can be seen with --list=formats and --list=subformats

And the other method is by using man page. Man page provides more details.

$ man john JOHN(8) System Manager's Manual JOHN(8) NAME john - a tool to find weak passwords of your users SYNOPSIS john [options] password-files ... Modes

John have 3 different modes to crack passwords.

Wordlist:In this mode john will look a given wordlist to crack passwords.

Single Crack:Int this mode john will try crack login:password files.

Incremental:This is the most powerfull mode, john will try all alphabet to crack also new methods can be created in this mode.

When john started without any Mode parameter is tries Modes sequencially like Single Mode, Word List Mode, Incremental Mode.

We set Mode manually like below. After selected Mode search ends it do not jumps next Mode.

$ john --single unshadowed single is the Mode specifier or si can be used as abrevation Configuration

Configuration file about john can be found in /etc/john/john.conf

If we look into john.conf we will see there is a lot of configuration like word list, alert, defaults, algorithms, rules.

Local user configuration resides in user home directory with name .john . It is a hidden file where provides john history, configuration,cracked passwords etc.

Here is some configuration about Incremental methods alphanumeric wordlist calculation

[Incremental:Alnum] File = $JOHN/alnum.chr MinLen = 1 MaxLen = 13 CharCount = 62

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: TIOPTWordCTIUT
分页:12
转载请注明
本文标题:John The Ripper Modes and Configuration
本站链接:http://www.codesec.net/view/561367.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(33)