This blog is NOT OFFICIAL website of Kali Linux. We just share Tutorials to learn Cybersecurity.

Trape -- People Tracker On Internet

Information is power. Information gathering is the most crucial part of penetration testing. Tracking targets ip address, browser, Operating Systems, social media accounts is the primary step.

Their are many tools are available to do this, nut in this tutorial  we learn the use of Trape. Trape is written in python, it is a footprinting tool. Trape can help us by getting the ip address, OS, social media accounts by a single click of them.

It also can perform phishing and browser hooking attacks.

Trape doesn't comes pre-installed with Kali Linux, we need to clone it from github repository.

So open our terminal window and type following command and press enter.

git clone
 The screenshot of the command is following:

This is not a large tool, trape need few seconds to download. After download is complete we need to go to trape's directory using cd command and then we check the files using ls command. Here we are going to join those commands in a single command using && like this :

cd trape && ls
The screenshot is following:

First we need to install all the requirements for trape tool to do this we use this simple command.

pip install -r requirements.txt

 The screenshot is following:

Now we can run the python script and check the options by using the simple command as following:

python -h
The screenshot is following:

Here we must need to use Ngrok token.The older tutorials on internet will not work here. In the older versions of trape we can use it without ngrok(offline mode) but we can add ngrok, in this new version ngrok is must. Here comes a question.
What is this Ngrok?
Ngrok is a tool that makes a tunnel that we can access our localhost  in the internet.

So we need to go and sign up .

After sign up we get the API key in the auth sidebar,screenshot is following.

Now copy the API token and come back to terminal and paste the token. Now this will ask for Google Maps API token, to get follow this guide and paste the API key of Google map, this will help to get the location. Sorry, I cant show my Google map's API token for security reason so no screenshot for this one. This API tokens are needed for first time configuration only.

After pasting Google map's API this will ask for a url. Target will see this url's website after clicking our link, like the following screenshot.

We are using for an example or we can use any other link.
Then Trape will ask for the port here type 80 (port for http) and press enter.

After doing this Trape will open like the screenshot below:

We can choose the lure urls to catch targets in our local network or public internet. We can see the information of target in the control panel link.
Screenshot of control panel is following:

Control panel can be accessible with the access key. For better result in public internet we can use url shortener to hide the ngrok url. All done now wait for targets click, whenever target clicks on the link we got the information of target.

We have another Kali Linux tool which makes location tracking kids play, this is super easy read it by clicking here.
Any questions or review ? Please leave a comment. If you like this Trape tutorial then please share with friends.
Kali Linux


Post a Comment
  • Unknown photo
    UnknownApril 7, 2019 at 7:13 AM

    Awesome nice article. I will not click any unknown link from today

    Delete Comment
    • Galactivale photo
      GalactivaleJuly 28, 2019 at 2:14 PM

      Great info man! Would be great if you did an in depth guide.

      Delete Comment
      • Unknown photo
        UnknownSeptember 7, 2019 at 3:56 PM

        Not working. repeatedly asking api key even though i entered both

        Delete Comment
        • Fazil Seo photo
          Fazil SeoOctober 26, 2019 at 11:04 PM

          I got too much interesting stuff on your blog. I guess I am not the only one having all the enjoyment here! Keep up the good work.

          Delete Comment
          • smiler kai photo
            smiler kaiJanuary 5, 2020 at 9:48 PM

            Is ggmap no longer able to run on trape? I just tried it and it appears like this: "
            this page didn't load Google Map correctly." hope you see my comment...

            Delete Comment
            • Kali Linux photo
              Kali LinuxJanuary 6, 2020 at 6:47 AM

              smiler kai thanks for your comment. You are a regular reader of our blog. trape is not updated for a long time. So many error may occur.

              Delete Comment
              • smiler kai photo
                smiler kaiJanuary 6, 2020 at 6:32 PM

                oh, thanks admin

                Delete Comment
              • Business Duniya photo
                Business DuniyaFebruary 19, 2020 at 1:20 AM

                Getting error 'config _trape'

                Delete Comment
                • Kali Linux photo
                  Kali LinuxFebruary 19, 2020 at 8:01 AM

                  News flash the maker doesn't give a shit about this tool it's broke use beef xss

                  Delete Comment
                • Unknown photo
                  UnknownMay 13, 2020 at 7:41 PM

                  Getting error 'config_trape'
                  Give me solution please

                  Delete Comment
                  • AnonymousJune 3, 2020 at 9:36 PM

                    Same here can't set up I just get "[x] ERROR: local variable 'config_trape' referenced before assignment "

                    Delete Comment
                    • Kali Linux photo
                      Kali LinuxJune 4, 2020 at 8:25 AM

                      There are some new problems in Trape 2 version. Not only this some users got issues with API keys.

                      The devlopers are working on Trape Version 3. Just after it's release we will feature it on our website. Keep Visiting.

                      Delete Comment
                    • Aniqa Rajput photo
                      Aniqa RajputAugust 9, 2020 at 3:46 AM

                      The name web organize promoting is an a blend of two enterprises - web advertising, a term utilized for showcasing an item or business on the web and system advertising, a term utilized for advertising an item or open door utilizing informal. what is a webinar

                      Delete Comment
                      • Unknown photo
                        UnknownSeptember 7, 2020 at 12:51 AM

                        i am getting pip no modul error i have installed modules then also

                        Delete Comment
                      • Unknown photo
                        UnknownDecember 7, 2020 at 8:56 PM

                        getting error no module named flask

                        Delete Comment
                      • Peter photo
                        PeterJanuary 1, 2021 at 4:07 PM

                        Fact 5 : Most SEO companies use both ethical and unethical inbound linking strategies. Webdesign Kortessem

                        Delete Comment
                        • ujjwal photo
                          ujjwalMay 23, 2021 at 10:20 PM

                          └─$ python -h
                          Traceback (most recent call last):
                          File "", line 23, in
                          from core.utils import utils #
                          File "/home/ujjwal/trape/core/", line 23, in
                          import http.client
                          ImportError: No module named http.client

                          this is error i face please suggest me solution to fix it

                          Delete Comment