Skip to content

Commit a58476d

Browse files
authored
Update script.sh
Termux - delete alpine
1 parent 3e76867 commit a58476d

File tree

1 file changed

+40
-21
lines changed

1 file changed

+40
-21
lines changed

script.sh

Lines changed: 40 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -684,17 +684,6 @@ droid
684684
pkg install mailutils -y
685685
pkg install nmh -y
686686
pkg install tsduck-tools -y
687-
clear
688-
sleep 3 > /dev/null
689-
clear
690-
pkg install qemu-utils qemu-common qemu-system-x86_64-headless -y
691-
mkdir alpine && cd alpine
692-
wget http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-virt-3.12.3-x86_64.iso
693-
qemu-img create -f qcow2 alpine.img 4G
694-
qemu-system-x86_64 -machine q35 -m 1024 -smp cpus=2 -cpu qemu64 \
695-
-drive if=pflash,format=raw,read-only,file=$PREFIX/share/qemu/edk2-x86_64-code.fd \
696-
-netdev user,id=n1,hostfwd=tcp::2222-:22 -device virtio-net,netdev=n1 \
697-
-cdrom alpine-virt-3.12.3-x86_64.iso -nographic alpine.img
698687
clear
699688

700689
neofetch
@@ -751,6 +740,45 @@ droid
751740
pkg install postgresql -y
752741
clear
753742

743+
744+
# alpine=$(cat << "alpine1"
745+
746+
# You want install virtual alpine?
747+
748+
# alpine1
749+
# )
750+
751+
# echo "$alpine1"
752+
753+
# alpine2=0
754+
755+
# while [[ $alpine2 -ne 1 && $alpine2 -ne 2 ]]
756+
757+
# do
758+
# read -p "Select an option [1-2]: " alpine2
759+
760+
# done
761+
762+
# case $alpine2 in
763+
764+
# 1)
765+
766+
# clear
767+
# pkg install qemu-utils qemu-common qemu-system-x86_64-headless -y
768+
# mkdir alpine && cd alpine
769+
# wget http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-virt-3.12.3-x86_64.iso
770+
# qemu-img create -f qcow2 alpine.img 4G
771+
# qemu-system-x86_64 -machine q35 -m 1024 -smp cpus=2 -cpu qemu64 \
772+
# -drive if=pflash,format=raw,read-only,file=$PREFIX/share/qemu/edk2-x86_64-code.fd \
773+
# -netdev user,id=n1,hostfwd=tcp::2222-:22 -device virtio-net,netdev=n1 \
774+
# -cdrom alpine-virt-3.12.3-x86_64.iso -nographic alpine.img
775+
# ;;
776+
777+
# 2)
778+
# echo "No install"
779+
# continue
780+
# ;;
781+
754782
nethunter=$(cat << "EOF"
755783
...
756784
...~:+o+
@@ -2162,15 +2190,7 @@ tools
21622190
echo
21632191
echo -e "\e[31mWifite is installed with git, you just need to use: sudo ./wifite.py\e[0m"
21642192
echo
2165-
sleep 4 > /dev/null
2166-
pkg install qemu-utils qemu-common qemu-system-x86_64-headless -y
2167-
mkdir alpine && cd alpine
2168-
wget http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-virt-3.12.3-x86_64.iso
2169-
qemu-img create -f qcow2 alpine.img 4G
2170-
qemu-system-x86_64 -machine q35 -m 1024 -smp cpus=2 -cpu qemu64 \
2171-
-drive if=pflash,format=raw,read-only,file=$PREFIX/share/qemu/edk2-x86_64-code.fd \
2172-
-netdev user,id=n1,hostfwd=tcp::2222-:22 -device virtio-net,netdev=n1 \
2173-
-cdrom alpine-virt-3.12.3-x86_64.iso -nographic alpine.img
2193+
sleep 3 > /dev/null
21742194
nethunter=$(cat << "EOF"
21752195
...
21762196
...~:+o+
@@ -2191,7 +2211,6 @@ EOF
21912211

21922212
echo "$nethunter"
21932213

2194-
# Declare op
21952214
op=0
21962215

21972216
while [[ $op -ne 1 && $op -ne 2 ]]

0 commit comments

Comments
 (0)