mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-13 14:32:34 +00:00
11 lines
380 B
Bash
11 lines
380 B
Bash
#!/bin/bash -e
|
|
|
|
[ -e android-sdk_r24.4.1-linux.tgz ] || wget https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
|
|
[ -e android-sdk-linux ] || tar xfz android-sdk_r24.4.1-linux.tgz
|
|
|
|
mkdir -p bin
|
|
cd android-sdk-linux
|
|
python -c 'for i in range(10): print "y"+"\n"*1024' | tools/android update sdk --no-ui
|
|
|
|
cd ../bin
|
|
ln -sf ../android-sdk-linux/platform-tools/{adb,fastboot} .
|