-
Notifications
You must be signed in to change notification settings - Fork 0
/
ip-tracer
52 lines (51 loc) · 1.05 KB
/
ip-tracer
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
#!/usr/bin/env bash
# Tool Name :- IP-Tracer
# Author :- Th3Coder
# Date :- 01-01-2024
case "$1" in
-m)
php modules/.tracem.php
;;
-t)
case "$#" in
2)
php modules/.traceip.php $2
;;
*)
echo "error : invalid arguments !!"
echo "use: ip-tracer -t <target_ip>"
;;
esac
;;
-u)
php modules/.update.php
exit
;;
update)
php modules/.update.php
exit
;;
start)
php .IP-Tracer.php
exit
;;
-rm)
php modules/.uninstall.php
exit
;;
-s)
php .IP-Tracer.php
exit
;;
*)
echo "Usage: ip-tracer [command]... [arguments]..."
echo " Commands:"
echo " -s to start ip-tracer menu."
echo " -t <target_ip> to trace target ip."
echo " -m to trace your own ip."
echo " -h to show help."
echo " -u to update ip-tracer."
echo " help to show help."
echo " update to update ip-tracer."
echo " start to start ip-tracer menu."
esac