Skip to content

Commit

Permalink
fix harvester issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustedSec committed Jan 9, 2018
1 parent 9b95975 commit c49589a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
8 changes: 7 additions & 1 deletion readme/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
~~~~~~~~~~~~~~~~
7.7.4
version 7.7.5
~~~~~~~~~~~~~~~~

* fix line split based on = on credential harvester

~~~~~~~~~~~~~~~~
version 7.7.4
~~~~~~~~~~~~~~~~

* fix code
Expand Down
6 changes: 2 additions & 4 deletions src/core/set.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,8 @@
ipaddr = grab_ipaddress()

if attack_vector == "harvester" or attack_vector == "tabnabbing" or attack_vector == "webjacking":
print_info(
"This option is used for what IP the server will POST to.")
print_info(
"If you're using an external IP, use your external IP for this")
print_info("This option is used for what IP the server will POST to.")
print_info("If you're using an external IP, use your external IP for this")
rhost = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
rhost.connect(('google.com', 0))
rhost.settimeout(2)
Expand Down
2 changes: 1 addition & 1 deletion src/core/set.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.7.4
7.7.5
2 changes: 1 addition & 1 deletion src/core/setcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ def check_config(param):
# remove any quotes or single quotes
line = line.replace('"', "")
line = line.replace("'", "")
line = line.split("=")
line = line.split("=", 1)
return line[1]

# copy an entire folder function
Expand Down

0 comments on commit c49589a

Please sign in to comment.