mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2025-02-17 05:48:46 +00:00
Bug fix for multiattack and removing old menu system
This commit is contained in:
parent
19d414cd95
commit
e91e9deaa0
4 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
~~~~~~~~~~~~~~~~
|
||||
version 4.3.8
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
* Fixed a bug when using multiattack with the harvester and metasploit exploits only. It would throw an error that index.html.new was not found. This has been fixed.
|
||||
* Removed the web victim profiler from the web attack menus, this has not been added and is not in the current roadmap for completion.
|
||||
|
||||
~~~~~~~~~~~~~~~~
|
||||
version 4.3.7
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -63,7 +63,6 @@ webattack_menu = ['Java Applet Attack Method',
|
|||
'Man Left in the Middle Attack Method',
|
||||
'Web Jacking Attack Method',
|
||||
'Multi-Attack Web Method',
|
||||
'Victim Web Profiler',
|
||||
'Create or import a CodeSigning Certificate',
|
||||
'0D']
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ def print_error(message):
|
|||
print bcolors.RED + bcolors.BOLD + "[!] " + bcolors.ENDC + bcolors.RED + str(message) + bcolors.ENDC
|
||||
|
||||
def get_version():
|
||||
define_version = '4.3.7'
|
||||
define_version = '4.3.8'
|
||||
return define_version
|
||||
|
||||
class create_menu:
|
||||
|
|
|
@ -327,7 +327,12 @@ try:
|
|||
## Read in newly created index.html
|
||||
if attack_vector == "multiattack":
|
||||
if os.path.isfile("src/program_junk/web_clone/index.html"): os.remove("src/program_junk/web_clone/index.html")
|
||||
shutil.copyfile("src/program_junk/web_clone/index.html.new", "src/program_junk/web_clone/index.html")
|
||||
# check to see if the file is there first
|
||||
if not os.path.isfile("src/program_junk/web_clone/index.html.new"):
|
||||
if os.path.isfile("src/program_junk/web_clone/index.html.bak"):
|
||||
shutil.copyfile("src/program_junk/web_clone/index.html.bak", "src/program_junk/web_clone/index.html.new")
|
||||
if os.path.isfile("src/program_junk/web_clone/index.html.new"):
|
||||
shutil.copyfile("src/program_junk/web_clone/index.html.new", "src/program_junk/web_clone/index.html")
|
||||
time.sleep(1)
|
||||
fileopen=file("src/program_junk/web_clone/index.html","r").readlines()
|
||||
filewrite=file("src/program_junk/web_clone/index.html.new", "w")
|
||||
|
|
Loading…
Add table
Reference in a new issue