Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24bda96

Browse files
committed
adding items from John the Ripper's word list to the dictionary for Oracle cracking
1 parent 6ec522e commit 24bda96

4 files changed

Lines changed: 3595 additions & 489 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ def setPaths():
11171117
paths.COMMON_TABLES = os.path.join(paths.SQLMAP_TXT_PATH, "common-tables.txt")
11181118
paths.COMMON_OUTPUTS = os.path.join(paths.SQLMAP_TXT_PATH, 'common-outputs.txt')
11191119
paths.SQL_KEYWORDS = os.path.join(paths.SQLMAP_TXT_PATH, "keywords.txt")
1120-
paths.ORACLE_DEFAULT_PASSWD = os.path.join(paths.SQLMAP_TXT_PATH, "oracle-default-passwords.txt")
1120+
paths.SMALL_DICT = os.path.join(paths.SQLMAP_TXT_PATH, "smalldict.txt")
11211121
paths.USER_AGENTS = os.path.join(paths.SQLMAP_TXT_PATH, "user-agents.txt")
11221122
paths.WORDLIST = os.path.join(paths.SQLMAP_TXT_PATH, "wordlist.txt")
11231123
paths.PHPIDS_RULES_XML = os.path.join(paths.SQLMAP_XML_PATH, "phpids_rules.xml")

lib/utils/hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ def dictionaryAttack(attack_dict):
546546
else:
547547
# It is the slowest of all methods hence smaller default dict
548548
if hash_regex == HASH.ORACLE_OLD:
549-
dictPaths = [paths.ORACLE_DEFAULT_PASSWD]
549+
dictPaths = [paths.SMALL_DICT]
550550
else:
551551
dictPaths = [paths.WORDLIST]
552552

0 commit comments

Comments
 (0)