Table of Contents
People tracker – In this article, I’m going to show you how hackers control android phones through a web browser with trape tool
What is a trape tool?
Trape is an exploration and analysis tool of OSINT, which enables people to monitor and execute intelligent social engineering attacks in real-time.
It was developed to show the world how large Internet companies obtain sensitive information, such as the session status of their websites or services, and control users through browsers without their knowledge, but they are being developed to help government organizations. Companies and researchers hunt down cyber criminals.
git clone https://github.com/jofpin/trape.git
Now change your directory to people tracker (trape) tool
Now install the requirements of the people tracker (tape) tool so type the below command on your terminal.
pip3 install -r requirements.txt
After that, run the following command in the terminal.
python3 trape.py -h
Press enter to continue
Now you will be asked to provide ngrok tokens. So, past your ngrok token here and press Enter.
This tool will then ask for the Google Maps API, so pass your Google Maps API here and press Enter.
After that, it will also request the URL Shortener API, whether you need to pass it or skip it and press Enter.
Now we need to paste the IP API then press the enter button
After pasting the IP API, press Enter to complete the Trape configuration process.
How to get the Google API?
First, click the button below to go to the Google API Generator website.
Now click the credential parameter on the left said list
After that click the create credential as shown in the below image
Now click the API key below the create credential to create the API key
How to get the IP API?
First, you will go to the ipstack website so click the below button.
Click signup button
Choose free API account
Now fill in all your details to create an account.
After completing the above information, simply click the Register button. After that, you can see your IP API key.
How to use the people tracker (Trape) tool?
After the installation is complete, run the following command in the terminal. This command will help you access the web interface.
python3 trape.py --url http://example.com --port 8080
Now copy the link to the control panel to paste the browser and access the people tracker (trape) tool in the web interface.
Benefits of people tracker (trape) tool
1. Locator optimization
Follow the path between you and the target you are pursuing. The path is updated every time you move, and the target location is automatically determined by the browser traversal, so you can bypass the requested location on the victim’s side while maintaining 99% accuracy of the locator.
When you’re close to the target, Trape will tell you.
2. Reset API
Generates an API (random or custom), and through this you can control and monitor other Web sites on the Internet remotely, getting the traffic of all visitors.
3. PROCESS HOOKS
Manages social engineering attacks or processes in the target’s browser.
— SEVERAL: You can issue a phishing attack of any domain or service in real-time as well as send malicious files to compromise the device of a target.
— SPEECH: A process of audio creation is maintained which is played in the browser of the target, using this you can execute personalized messages in different voices with languages in Spanish and English.
4. PUBLIC NETWORK TUNNEL:
Trape has its own API that is linked to ngrok.com to allow the automatic management of public network tunnels; So you can publish the content of your trape server which is executed locally to the Internet, to manage hooks or public attacks.
5. CLICK ATTACK TO GET CREDENTIALS:
Automatically obtains the target credentials, recognizing your connection availability on a social network or Internet service.
You can get information about the user’s network.
— SPEED: Viewing the target’s network speed. (Ping, download, upload, type connection)
— HOSTS OR DEVICES: Here, you can automatically scan all the devices connected to the target network.
7. 30-session recognition
Session recognition is one of trape’s most interesting attractions since you as a researcher can know remotely what service the target is connected to.
You can delete logs and view alerts for each process or action you run against each target.
How to solve errors on the people tracker tool?
If you face some problems installing the tool, it is probably due to Python versions conflicts, you should run a Python 2.7 environment :
pip3 install virtualenv virtualenv -p /usr/bin/python3 trape_env source trape_env/bin/activate pip3 install -r requirements.txt python3 trape.py -h
HELP AND OPTIONS
user:~$ python3 trape.py --help usage: python3 trape.py -u <> -p <> [-h] [-v] [-u URL] [-p PORT] [-ak ACCESSKEY] [-l LOCAL] [--update] [-n] [-ic INJC] optional arguments: -h, --help show this help message and exit -v, --version show program's version number and exit -u URL, --url URL Put the web page url to clone -p PORT, --port PORT Insert your port -ak ACCESSKEY, --accesskey ACCESSKEY Insert your custom key access -l LOCAL, --local LOCAL Insert your home file -n, --ngrok Insert your ngrok Authtoken -ic INJC, --injectcode INJC Insert your custom REST API path -ud UPDATE, --update UPDATE Update trape to the latest version
–URL In this option you add the URL you want to clone, which works as a decoy.
–port Here you insert the port, where you are going to run the trape server.
–accesskey You enter a custom key for the trape panel, if you do not insert it will generate an automatic key.
–inject code trape contains a REST API to play anywhere, using this option you can customize the name of the file to include, if it does not, generates a random name allusive to a token.
–local Using this option you can call a local HTML file, this is the replacement of the –URL option made to run a local lure in a trape.
–ngrok In this option you can enter a token, to run at the time of a process. This would replace the token saved in configurations.
–version You can see the version number of trape.
–update Option used to upgrade to the latest version of trape.
–help It is used to see all the above options, from the executable.