├── .IP-Tracer.php
├── .setup.php
├── LICENSE
├── README.md
├── install
├── ip-tracer
├── modules
├── .traceip.php
├── .tracem.php
├── .uninstall.php
├── .update.php
├── help.php
├── ip-tracer
├── system.php
├── trace
├── trip.php
└── trm.php
├── src
├── Screenshot_2018-08-06-15-32-17-1.png
└── Screenshot_2020-05-17-20-52-59-1.png
└── trace
/.IP-Tracer.php:
--------------------------------------------------------------------------------
1 | > ');
40 | menu();
41 | }
42 |
43 | function upd() {
44 | logo();
45 | echo "\n\033[01;32mUpdating IP-Tracer.........\033[01;37m\n\n";
46 | sleep(1);
47 | system("cd ~/ && git clone https://github.com/rajkumardusad/IP-Tracer.git");
48 | system("cd ~/ && sudo git clone https://github.com/rajkumardusad/IP-Tracer.git");
49 | system("cd ~/IP-Tracer && sh install");
50 | logo();
51 | echo "\n\033[01;32m IP-Tracer updated !!!\033[01;37m\n";
52 | sleep(1);
53 | menu();
54 | }
55 |
56 | function menu() {
57 | logo();
58 | echo " \033[01;32m[ \033[01;37m1 \033[01;32m] \033[01;33mTrack IP Address.\n";
59 | echo " \033[01;32m[ \033[01;37m2 \033[01;32m] \033[01;33mTrack Your IP Address.\n";
60 | echo " \033[01;32m[ \033[01;37m3 \033[01;32m] \033[01;33mAbout us.\n";
61 | echo " \033[01;32m[ \033[01;37m4 \033[01;32m] \033[01;33mHelp.\n";
62 | echo " \033[01;32m[ \033[01;37m5 \033[01;32m] \033[01;33mUpdate IP-Tracer.\n";
63 | echo " \033[01;32m[ \033[01;37mx \033[01;32m] \033[01;33mExit \n\n\033[00m";
64 | $inp = readline(' IP-Tracer >> ');
65 | if ($inp=="x" || $inp=="exit") {
66 | echo "\n\033[01;31m Exiting .......\033[00m\n";
67 | sleep(1);
68 | echo "\033[01;32m Bye ....... :)\n\n\033[00m";
69 | exit();
70 | } else if ($inp=="1") {
71 | trac();
72 | } else if ($inp=="2") {
73 | tracm();
74 | } else if ($inp=="3") {
75 | About();
76 | } else if ($inp=="4") {
77 | help();
78 | } else if ($inp=="5") {
79 | upd();
80 | } else {
81 | echo "\n \033[01;31mErr : Invalid Command \033[01;32m'$inp'\033[00m";
82 | sleep(1);
83 | menu();
84 | }
85 | }
86 | menu();
87 | ?>
88 |
--------------------------------------------------------------------------------
/.setup.php:
--------------------------------------------------------------------------------
1 | \033[01;37m | \033[01;33mTrack IP\033[01;37m |
92 | | \033[01;32mtracer --help\033[01;37m | \033[01;33mFor more information\033[01;37m |
93 | ----------------------------------------------
94 |
95 | \033[01;31mNote :- ip-api will automatically ban any IP addresses doing over 150 requests per minute.\033[00m
96 |
97 |
98 | EOL;
99 | } else {
100 | echo "\n\n\033[01;31m Sorry IP-Tracer is not installed !!!\033[00m";
101 | }
102 | }
103 | }
104 | $a=new set;
105 | $a->Setup();
106 | $a->logo();
107 | ?>
108 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Rajkumar Dusad
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## IP-Tracer
2 |
3 | IP-Tracer is used to track an ip address. IP-Tracer is developed for Termux and Linux based systems. you can easily retrieve ip address information using IP-Tracer. IP-Tracer use ip-api to track ip address.
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## How to install IP-Tracer ?
11 |
12 | * `apt update`
13 |
14 | * `apt install git -y`
15 |
16 | * `git clone https://github.com/rajkumardusad/IP-Tracer.git`
17 |
18 | * `cd IP-Tracer`
19 |
20 | * `chmod +x install`
21 |
22 | * `sh install` or `./install`
23 |
24 |
25 | ## How to use IP-Tracer
26 |
27 | * `trace -m` to track your own ip address.
28 |
29 | * `trace -t target-ip` to track other's ip address for example `ip-tracer -t 127.0.0.1`
30 |
31 | * `trace` for more information.
32 |
33 | **OR**
34 |
35 | * `ip-tracer -m` to track your own ip address.
36 |
37 | * `ip-tracer -t target-ip` to track other's ip address for example `ip-tracer -t 127.0.0.1`
38 |
39 | * `ip-tracer` for more information.
40 |
41 | **This project is not actively maintained.**
42 |
--------------------------------------------------------------------------------
/install:
--------------------------------------------------------------------------------
1 | # Tool Name :- IP-Tracer
2 | # Author :- Rajkumar Dusad
3 | # Date :- 5/8/2018
4 |
5 | if [ -e /usr/lib/sudo ];then
6 | if [ ! -e /usr/bin/php ];then
7 | sudo apt-get update
8 | sudo apt-get upgrade -y
9 | sudo apt-get install php -y
10 | sudo apt-get install php5 -y
11 | fi
12 | else
13 | if [ -d /usr/bin ];then
14 | if [ ! -e /usr/bin/php ];then
15 | apt-get update
16 | apt -get upgrade -y
17 | apt-get install php -y
18 | apt-get install php5 -y
19 | fi
20 | fi
21 | fi
22 | if [ ! -d /usr/bin ];then
23 | if [ ! -e /data/data/com.termux/files/usr/bin/php ];then
24 | pkg update
25 | pkg upgrade -y
26 | pkg install php -y
27 | pkg install php5 -y
28 | fi
29 | fi
30 | php .setup.php
31 | exit
32 |
--------------------------------------------------------------------------------
/ip-tracer:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # Tool Name :- IP-Tracer
3 | # Author :- Rajkumar Dusad
4 | # Date :- 10/10/2018
5 |
6 | case "$1" in
7 | -m)
8 | php modules/.tracem.php
9 | ;;
10 | -t)
11 | case "$#" in
12 | 2)
13 | php modules/.traceip.php $2
14 | ;;
15 | *)
16 | echo "error : invalid arguments !!"
17 | echo "use: ip-tracer -t "
18 | ;;
19 | esac
20 | ;;
21 | -u)
22 | php modules/.update.php
23 | exit
24 | ;;
25 | update)
26 | php modules/.update.php
27 | exit
28 | ;;
29 | start)
30 | php .IP-Tracer.php
31 | exit
32 | ;;
33 | -rm)
34 | php modules/.uninstall.php
35 | exit
36 | ;;
37 | *)
38 | echo "Usage: ip-tracer [command]... [arguments]..."
39 | echo " Commands:"
40 | echo " -t to trace target ip."
41 | echo " -m to trace your own ip."
42 | echo " -h to show help."
43 | echo " -u to update ip-tracer."
44 | echo " help to show help."
45 | echo " update to update ip-tracer."
46 | echo " start to start ip-tracer menu."
47 | esac
48 |
--------------------------------------------------------------------------------
/modules/.traceip.php:
--------------------------------------------------------------------------------
1 | \033[01;32m";
7 | $NCL="\033[00m";
8 | date_default_timezone_set($data['timezone']);
9 | system("clear");
10 | echo <<
53 |
--------------------------------------------------------------------------------
/modules/.tracem.php:
--------------------------------------------------------------------------------
1 | \033[01;32m";
6 | $NCL="\033[00m";
7 | date_default_timezone_set($data['timezone']);
8 | system("clear");
9 | echo <<
52 |
--------------------------------------------------------------------------------
/modules/.uninstall.php:
--------------------------------------------------------------------------------
1 | uni();
52 | $a->logo();
53 | ?>
54 |
--------------------------------------------------------------------------------
/modules/.update.php:
--------------------------------------------------------------------------------
1 |
40 |
--------------------------------------------------------------------------------
/modules/help.php:
--------------------------------------------------------------------------------
1 | \033[01;37m | \033[01;33mTrack IP\033[01;37m |
10 | | \033[01;32mtrace --help\033[01;37m | \033[01;33mFor more information\033[01;37m |
11 | -----------------------------------------------
12 |
13 | \033[01;33m Note :- \033[01;31mip-api will automatically ban any IP addresses doing over 150 requests per minute.\033[00m
14 |
15 |
16 | EOL;
17 | $prompt="\033[00m";
18 | echo $prompt;
19 | $getact = readline(' IP-Tracer >> ');
20 | menu();
21 | }
22 | ?>
23 |
--------------------------------------------------------------------------------
/modules/ip-tracer:
--------------------------------------------------------------------------------
1 | # Tool Name :- IP-Tracer
2 | # Author :- Rajkumar Dusad
3 | # Date :- 10/10/2018
4 | # Powered By :- Aex Software's
5 | if [ -d /data/data/com.termux/files/usr/share ];then
6 | cd /data/data/com.termux/files/usr/share/IP-Tracer
7 | exec bash trace $@
8 | elif [ -d /usr/share ];then
9 | cd /usr/share/IP-Tracer
10 | exec bash trace $@
11 | fi
12 |
--------------------------------------------------------------------------------
/modules/system.php:
--------------------------------------------------------------------------------
1 |
16 |
--------------------------------------------------------------------------------
/modules/trace:
--------------------------------------------------------------------------------
1 | # Tool Name :- IP-Tracer
2 | # Author :- Rajkumar Dusad
3 | # Date :- 10/10/2018
4 | # Powered By :- Aex Software's
5 | if [ -d /data/data/com.termux/files/usr/share ];then
6 | cd /data/data/com.termux/files/usr/share/IP-Tracer
7 | exec bash trace $@
8 | elif [ -d /usr/share ];then
9 | cd /usr/share/IP-Tracer
10 | exec bash trace $@
11 | fi
12 |
--------------------------------------------------------------------------------
/modules/trip.php:
--------------------------------------------------------------------------------
1 | \033[01;32m";
12 | $NCL="\033[00m";
13 | date_default_timezone_set($data['timezone']);
14 | system("clear");
15 | echo <<> ');
58 | menu();
59 | }
60 | ?>
61 |
--------------------------------------------------------------------------------
/modules/trm.php:
--------------------------------------------------------------------------------
1 | \033[01;32m";
6 | $NCL="\033[00m";
7 | system("clear");
8 | date_default_timezone_set($data['timezone']);
9 | echo <<> ');
52 | menu();
53 | }
54 | ?>
55 |
--------------------------------------------------------------------------------
/src/Screenshot_2018-08-06-15-32-17-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rajkumardusad/IP-Tracer/6b9c454657eb2faee7e01f351ada5b04e41e502d/src/Screenshot_2018-08-06-15-32-17-1.png
--------------------------------------------------------------------------------
/src/Screenshot_2020-05-17-20-52-59-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rajkumardusad/IP-Tracer/6b9c454657eb2faee7e01f351ada5b04e41e502d/src/Screenshot_2020-05-17-20-52-59-1.png
--------------------------------------------------------------------------------
/trace:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # Tool Name :- IP-Tracer
3 | # Author :- Rajkumar Dusad
4 | # Date :- 10/10/2018
5 |
6 | case "$1" in
7 | -m)
8 | php modules/.tracem.php
9 | ;;
10 | -t)
11 | case "$#" in
12 | 2)
13 | php modules/.traceip.php $2
14 | ;;
15 | *)
16 | echo "error : invalid arguments !!"
17 | echo "use: trace -t "
18 | ;;
19 | esac
20 | ;;
21 | -u)
22 | php modules/.update.php
23 | exit
24 | ;;
25 | update)
26 | php modules/.update.php
27 | exit
28 | ;;
29 | start)
30 | php .IP-Tracer.php
31 | exit
32 | ;;
33 | -rm)
34 | php modules/.uninstall.php
35 | exit
36 | ;;
37 | *)
38 | echo "Usage: trace [command]... [arguments]..."
39 | echo " Commands:"
40 | echo " -t to trace target ip."
41 | echo " -m to trace your own ip."
42 | echo " -h to show help."
43 | echo " -u to update ip-tracer."
44 | echo " help to show help."
45 | echo " update to update ip-tracer."
46 | echo " start to start ip-tracer menu."
47 | esac
48 |
--------------------------------------------------------------------------------