-
Notifications
You must be signed in to change notification settings - Fork 380
/
trace
47 lines (46 loc) · 969 Bytes
/
trace
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
#!/usr/bin/env bash
# Tool Name :- IP-Tracer
# Author :- Rajkumar Dusad
# Date :- 10/10/2018
case "$1" in
-m)
php modules/.tracem.php
;;
-t)
case "$#" in
2)
php modules/.traceip.php $2
;;
*)
echo "error : invalid arguments !!"
echo "use: trace -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
;;
*)
echo "Usage: trace [command]... [arguments]..."
echo " Commands:"
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