-
Notifications
You must be signed in to change notification settings - Fork 190
/
Copy pathWin7VNC.sh
44 lines (41 loc) · 2.89 KB
/
Win7VNC.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
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip > /dev/null 2>&1
unzip ngrok-stable-linux-amd64.zip > /dev/null 2>&1
read -p "Paste authtoken here (Copy and Ctrl+V to paste then press Enter): " CRP
./ngrok authtoken $CRP
nohup ./ngrok tcp 5900 &>/dev/null &
echo Please wait for installing...
sudo apt update -y > /dev/null 2>&1
echo "Installing QEMU (2-3m)..."
sudo apt install qemu-system-x86 curl -y > /dev/null 2>&1
clear
echo Downloading Windows files from aank.me
rm -rf win7 win7.img
curl -L -o win7.gz https://ia902208.us.archive.org/35/items/w7-qcow2/win7lite.img.gz
echo "Wait.."
gunzip win7.gz
mv win7 win7.img
echo "Windows 7 x86 Lite On Gitpod, GCloud and GColab"
echo Your VNC IP Address:
curl --silent --show-error http://127.0.0.1:4040/api/tunnels | sed -nE 's/.*public_url":"tcp:..([^"]*).*/\1/p'
echo "Note: Use Right-Click Or Ctrl+C To Copy"
echo "Please Don't Close this Tab"
echo "Support YT Channel-> Aank is ME"
echo "LinK: https://aank.me/Youtube"
b='\033[1m'
r='\E[31m'
g='\E[32m'
c='\E[36m'
endc='\E[0m'
enda='\033[0m'
# Branding
printf """$c$b
██╗ ██╗███╗ ██╗ ██████╗ ██████╗ █████╗ ██╗ ██╗ ██████╗ ███████╗████████╗██╗███╗ ██╗ ██████╗
██║ ██║████╗ ██║██╔════╝ ██╔════╝ ██╔══██╗██║ ██║██╔═══██╗██╔════╝╚══██╔══╝██║████╗ ██║██╔════╝
██║ ██║██╔██╗ ██║██║ ███╗██║ ███╗███████║███████║██║ ██║███████╗ ██║ ██║██╔██╗ ██║██║ ███╗
██║ ██║██║╚██╗██║██║ ██║██║ ██║██╔══██║██╔══██║██║ ██║╚════██║ ██║ ██║██║╚██╗██║██║ ██║
███████╗██║██║ ╚████║╚██████╔╝╚██████╔╝██║ ██║██║ ██║╚██████╔╝███████║ ██║ ██║██║ ╚████║╚██████╔╝
╚══════╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
$r Support YT Channel-> Aank is ME © 2022 $c https://aank.me/Youtube
$endc$enda""";
sudo qemu-system-x86_64 -vnc :0 -hda win7.img -smp cores=2 -m 8192M -machine usb=on -device usb-tablet > /dev/null 2>&1
sleep 43200