This repository has been archived by the owner on Feb 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 145
/
settings.py
40 lines (34 loc) · 1.45 KB
/
settings.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
40
import os, datetime
import requests, json
from core.bssidFinder import bssidFinder
from core.employee_lookup import employee_lookup
from core.google import google
from core.hashDecrypt import hashdecrypt
from core.ipFinder import ipFinder
from core.mailToIP import mailToIP
from core.profilerFunc import profilerFunc
from core.searchAdresse import searchAdresse
from core.searchTwitter import searchTwitter
from core.searchPersonne import searchPersonne
from core.searchInstagram import searchInstagram
from core.searchUserName import searchUserName
from core.searchNumber import searchNumber
from core.searchEmail import SearchEmail
from core.Profiler import Profiler
from core.facebookStalk import facebookStalk
def init():
global version
global monip, monpays, codemonpays, pathDatabase
global bssidFinder, employee_lookup, google, hashdecrypt, ipFinder, mailToIP, profilerFunc
global searchPersonne, SearchEmail, searchInstagram, searchTwitter, searchNumber, searchAdresse, searchUserName, facebookStalk
global Profiler
version = '6.0.2'
pathDatabase = os.path.abspath(__file__).split("\\")[:-1]
pathDatabase = "\\".join(pathDatabase)+"\\Watched"
monip = requests.get("https://api.ipify.org/").text
monpays = requests.get("http://ip-api.com/json/"+monip).text
value = json.loads(monpays)
monpays = value['country']
codemonpays = value['countryCode']
if not os.path.exists(pathDatabase):
os.mkdir(pathDatabase)