From 6409854efc7dcf5e9cfb02b9cb97305609faa429 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 9 Oct 2011 13:16:30 -0500 Subject: improved splice3 code - d3v11 --- contrib/splice3/LINUX/manual | 30 +++++++++++++++++++++++++++++- contrib/splice3/LINUX/splice3.py | 23 ++++++++++++++++------- 2 files changed, 45 insertions(+), 8 deletions(-) (limited to 'contrib/splice3/LINUX') diff --git a/contrib/splice3/LINUX/manual b/contrib/splice3/LINUX/manual index 2be74fb..649a224 100644 --- a/contrib/splice3/LINUX/manual +++ b/contrib/splice3/LINUX/manual @@ -491,7 +491,18 @@ these two modules strip 5 or 13 character .br words from the selected dictionary and produce .br -WEP compatible hex passwords. +WEP compatible hex passwords. If your dictionary +.br +does not contain 5 or 13 character words then +.br +splice3 will likely give an error. + + +--se-create Social Engineering Module: +.br +see the social engineering section below for +.br +details. .SH CHARACTERS @@ -594,6 +605,23 @@ a}password0Yz .br ... +.SH +SOCIAL ENGINEERING + +--se-create Social Engineering Module: +.br +splice3 is equipped with a social engineering module to create +.br +concatenated words from the selected dictionary. This module +.br +allows for "Module Stacking". IE, if you select other other +.br +modules when setting this flag then compiled words will also +.br +be incorporated into the algorithm as if they appeared on the +.br +the selected dictionary itself. + .SH DESHADOW diff --git a/contrib/splice3/LINUX/splice3.py b/contrib/splice3/LINUX/splice3.py index affcf72..5953f6c 100755 --- a/contrib/splice3/LINUX/splice3.py +++ b/contrib/splice3/LINUX/splice3.py @@ -1549,12 +1549,20 @@ def WEP13(): def SOCEN(): + socen = [] + socen_a = [] + socen_words = [] + + try: + for i in Word: + socen_words.append(i.replace('\n', '')) + except: + pass + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: socen_words.append(line.replace('\n', '')) - socen = [] - socen_a = [] for i in socen_words: for let in i: try: @@ -1592,10 +1600,6 @@ def SOCEN(): Word.append(a + b + c) - -if SESwitch is True: - socen_words = [] - SOCEN() if RegularSwitch is True: REGULAR() if BWSwitch is True: @@ -1610,7 +1614,8 @@ if wep5 is True: WEP5() if wep13 is True: WEP13() - +if SESwitch is True: + SOCEN() DoMix = False if AlphaSwitch is True: @@ -1635,6 +1640,10 @@ else: User.append("") UserCount = 1 +if not Word: + print "splice3: error: compiled empty wordlist" + sys.exit(1) + Word = list(set(Word)) WordCount = 0 ShowWord = [] -- cgit v1.2.3