forked from jofpin/trape
-
Notifications
You must be signed in to change notification settings - Fork 0
/
trape.py
executable file
·90 lines (83 loc) · 4.81 KB
/
trape.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#**
#
##########################################
# Trape | People tracker on the Internet #
##########################################
#
# Learn to track the world, to avoid being traced
#
# @version 2.0
# @link https://github.com/jofpin/trape
# @author Jose Pino (@jofpin)
# @copyright 2018 by Jose Pino / <jofpin@gmail.com>
#
# This file is the boot in Trape.
# For full copyright information this visit: https://github.com/jofpin/trape
#
#**
#
###############################################
#
from core.utils import utils #
from core.trape import Trape #
from core.db import Database #
from time import sleep #
try: #
import flask #
import flask_socketio #
import os #
except: ############################################
utils.Go("\t\nPlease install requirements.txt libraries, you can do it executing:") #
utils.Go("\t\npip install -r requirements.txt") #####################################
######################################################
# We generalize the main class of <trape>
trackPeople = Trape()
# call class database
generateData = Database()
if generateData.firstTime:
utils.Go("\033[H\033[J")
utils.Go(utils.Color['whiteBold'] + " @@@@@@@@@@@@@@@@@@@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@@@@@@@@@@@@@@@@@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@ @@@@@@@@@@@@@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@ @@@@@@@@@@@@@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@ @@ @@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@ @@ @@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@ @@@@@@@@@@@@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@ @@@@@ @@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@ @@ @@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@@@@@@@@@@@@@@@@@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@@@@@@@@@@@@@@@@@@@@ ")
utils.Go(utils.Color['whiteBold'] + " @@@@@@@@@@@@@@@@@@@@@@ ")
utils.Go("\t" + utils.Color['white'] + "--" + " " + "v" + utils.Color['redBold'] + "2.0" + utils.Color['white'] + " " + "--" + "\n" + utils.Color['white'])
utils.Go(utils.Color['whiteBold'] + "WELCOME " + utils.Color['greenBold'] + os.uname()[1].upper() + utils.Color['whiteBold'] + " TO TRAPE" + utils.Color['white'])
utils.Go("------")
utils.Go("This is a exclusive version for researchers, or professionals \nwho are dedicated to research, we hope you enjoy." + "\n")
utils.Go(utils.Color['whiteBold'] + "DISCLAIMER" + utils.Color['white'])
utils.Go("------")
utils.Go("This is a monitoring and research tool " + utils.Color['whiteBold'] + "OSINT" + utils.Color['white'] + ", which is distributed \nfor educational and investigative purposes, the person who has bought \nor uses this tool is responsible for its proper use or actions committed, \n" + utils.Color['whiteBold'] + "Jose Pino" + utils.Color['white'] + " (" + utils.Color['blue'] + "@jofpin" + utils.Color['white'] + ") is not responsible for the use Or the scope that people can have \nthrough this software." + "\n")
utils.Go(utils.Color['whiteBold']+ "CREATOR" + utils.Color['white'])
utils.Go("------")
utils.Go(utils.Color["white"] + "- " + utils.Color["greenBold"] + "NAME: " + utils.Color['white'] + "Jose Pino" + " " + utils.Color['white'])
utils.Go(utils.Color["white"] + "- " + utils.Color["greenBold"] + "DESCRIPTION: " + utils.Color['white'] + "Hacker recognized by large technology companies")
utils.Go(utils.Color["white"] + "- " + utils.Color["greenBold"] + "GITHUB: " + utils.Color['white'] + "https://github.com/jofpin")
utils.Go(utils.Color["white"] + "- " + utils.Color["greenBold"] + "TWITTER: " + utils.Color['white'] + "https://twitter.com/jofpin" + utils.Color['white'] + "\n")
sleep(3)
utils.Go("Press enter to Continue...")
raw_input()
# check OS
trackPeople.loadCheck()
# check Version
trackPeople.checkVersion()
# Request root home to run <trape> with all permissions
trackPeople.rootConnection()
# Call the creation of the database when you open this file.
generateData.loadDatabase()
if __name__ == "__main__":
try:
# General expression this is expressed after the root
trackPeople.main()
except Exception as error:
# Result of error
utils.Go(utils.Color['whiteBold'] + "[" + utils.Color['redBold'] + "x" + utils.Color['whiteBold'] + "]" + utils.Color['redBold'] + " " + "ERROR: " + utils.Color['white'] + "%s" % error)