forked from wifiphisher/wifiphisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.py
39 lines (35 loc) · 1.13 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
import os
# Basic configuration
PORT = 8080
SSL_PORT = 443
PEM = 'cert/server.pem'
TEMPLATE_NAME = "minimal"
TEMPLATE_PATH = ""
POST_VALUE_PREFIX = "wfphshr"
NETWORK_IP = "10.0.0.0"
NETWORK_MASK = "255.255.255.0"
NETWORK_GW_IP = "10.0.0.1"
DHCP_LEASE = "10.0.0.2,10.0.0.100,12h"
LINES_OUTPUT = 3
DN = open(os.devnull, 'w')
# Console colors
W = '\033[0m' # white (normal)
R = '\033[31m' # red
G = '\033[32m' # green
O = '\033[33m' # orange
B = '\033[34m' # blue
P = '\033[35m' # purple
C = '\033[36m' # cyan
GR = '\033[37m' # gray
T = '\033[93m' # tan
# set of dictionaries to store URLs and names
LINKSYS = {"index.html": "http://pastebin.com/raw.php?i=b0Uz1sta",
"Linksys_logo.png": "https://i.imgur.com/slBTPcu.png",
"bootstrap.min.js": "http://pastebin.com/raw/scqf9HKz",
"bootstrap.min.css": "http://pastebin.com/raw/LjM8RWsp",
"jquery.min.js": "http://pastebin.com/raw/Bms2tMTE"}
TEMPLATE_DATABASE = {"linksys": LINKSYS, "minimal": None,
"connection_reset": None, "office365": None}
PHISHING_PAGES_DIR = "phishing-pages/"