diff options
author | tgilmullin <TGilmullin@ptsecurity.ru> | 2014-05-22 15:54:13 +0400 |
---|---|---|
committer | tgilmullin <TGilmullin@ptsecurity.ru> | 2014-05-22 15:54:13 +0400 |
commit | 5f96a9ef96f8371fd939c9f7eb566e3597802f50 (patch) | |
tree | 797399654b952eb5f0d7b6beac6ca0240eff0d1b /config.py | |
parent | 30e04f89660d2fd994cb3f8e07456d71c24d40ce (diff) |
Password Bruter v.1.0. modules added
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/config.py b/config.py new file mode 100644 index 0000000..c5f0467 --- /dev/null +++ b/config.py @@ -0,0 +1,62 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- +# Author: Gilmullin T.M. + +# This is configuration file for Password Bruter with default parameters. Please, do not change variable's names. + + +# ---------- Form-based Auth page parameters --------------------------------------------------------------------------- +# Start URL for Password Bruter. +target = 'http://10.111.113.83/dvwa/vulnerabilities/brute/' + +# xPath for Login field. +xPathLogin = "//input[@name='username']" + +# xPath for Password field. +xPathPassword = "//input[@name='password']" + +# xPath for oK button. +xPathAcceptButton = "//input[@name='Login']" + +# xPath for Success auth. +xPathSuccessAuth = "//img[@src='http://10.111.113.83/dvwa/hackable/users/admin.jpg']" + +# xPath for Fail auth. +xPathFailAuth = "//pre[contains(text(), 'Username and/or password incorrect.']" + +# Selenium Browser string. This param shows Selenium WebDriver which browser to run: *firefox, *chrome, *ie +selBrowserString = '*firefox' + +# Mozilla profile. This param used only for ff. This is relative path to dir with mozilla profile config. +selFFProfile = 'ff_profile' + + +# ---------- Bruter parameters ----------------------------------------------------------------------------------------- +# Path to user's list. +usersFile = 'dict/users.txt' + +# Path to password's list. +passwordsFile = 'dict/pwd.txt' + +# Path to result file. +resultFile = 'result.txt' + +# How many threads do you need? +brutThreads = 1 + +# Rump up period when all browsers will open and all threads will in progress. +rumpUpPeriod = brutThreads * 5 + +# Operation's timeout in seconds. +timeout = 1 + +# If this key is True then Bruter uses random item from user's list and password's list in every iteration. +randomCredentials = False + + +# ---------- Random Generator parameters ------------------------------------------------------------------------------- +# Random Generator parameter. 1 number - number of strings, 2 - string's length, 3 - use or not Numbers, +# 4 - use or not English Upper Case Chars, 5 - use or not English Lower Case Chars, +# 6 - use or not Russian Upper case chars, 7 - use or not Russian Lower Case Chars, 8 - use or not Special Simbols. +# Output file: dict/rnd_<date_time>.txt +randomGeneratorParameter = [100, 8, 1, 1, 1, 0, 0, 0] |