Skip to content

Commit

Permalink
old test code removal, add better wording, remove old templates
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustedSec committed May 25, 2018
1 parent bed41d3 commit 3b71bde
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 4,159 deletions.
9 changes: 9 additions & 0 deletions readme/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
~~~~~~~~~~~~~~~~
version 7.7.7
~~~~~~~~~~~~~~~~

* remove old test code
* add better wording for templates
* remove old templates yahoo and facebook
* add better descriptions for using NAT/External IP addresses for credential harvester

~~~~~~~~~~~~~~~~
version 7.7.6
~~~~~~~~~~~~~~~~
Expand Down
24 changes: 22 additions & 2 deletions src/core/set.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,28 @@
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("""
-------------------------------------------------------------------------------
--- * IMPORTANT * READ THIS BEFORE ENTERING IN THE IP ADDRESS * IMPORTANT * ---
The way that this works is by cloning a site and looking for form fields to
rewrite. If the POST fields are not usual methods for posting forms this
could fail. If it does, you can always save the HTML, rewrite the forms to
be standard forms and use the "IMPORT" feature. Additionally, really
important:
If you are using an EXTERNAL IP ADDRESS, you need to place the EXTERNAL
IP address below, not your NAT address. Additionally, if you don't know
basic networking concepts, and you have a private IP address, you will
need to do port forwarding to your NAT IP address from your external IP
address. A browser doesns't know how to communicate with a private IP
address, so if you don't specify an external IP address if you are using
this from an external perpective, it will not work. This isn't a SET issue
this is how networking works.
""")

#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")
try:
rhost = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
rhost.connect(('google.com', 0))
Expand Down
45 changes: 0 additions & 45 deletions src/html/templates/facebook/index.template

This file was deleted.

Loading

0 comments on commit 3b71bde

Please sign in to comment.