-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
43 lines (42 loc) · 1.21 KB
/
install.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
#!/usr/bin/bash
# This code write by (Mr.nope)
# installing portscan
printf '\033]2;Installing Portscan installing\a'
clear
echo "installing..."
sleep 1
echo "
░█▀▀█ █▀▀█ █▀▀█ ▀▀█▀▀ ░█▀▀▀█ █▀▀ █▀▀█ █▀▀▄
░█▄▄█ █──█ █▄▄▀ ──█── ─▀▀▀▄▄ █── █▄▄█ █──█
░█─── ▀▀▀▀ ▀─▀▀ ──▀── ░█▄▄▄█ ▀▀▀ ▀──▀ ▀──▀
(🅟🅞🅡🅣 🅢🅒🅐🅝)"
echo ""
echo "[*] Checking Internet Connection: "
wget -q --tries=10 --timeout=20 --spider https://google.com
if [[ $? -eq 0 ]]; then
echo ""
echo "Internet connected!"
echo ""
echo "Installing portscan package..."
echo ""
sleep 1
apt install update
apt install python3
apt install python-pip
pip install --upgrade pip
chmod +x portscan
pip install requirments.txt
echo ""
echo "finish installing!"
echo ""
echo "
usage:
./portscan"
exit
else
echo "
internet disconnected!
please check your internet connection..."
sleep 1
exit
fi