-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
72 lines (58 loc) · 1.59 KB
/
install.sh
File metadata and controls
72 lines (58 loc) · 1.59 KB
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
#!/bin/bash
echo "=========================================="
echo "Android.Ghosts Network Scanner Installer"
echo "Telegram: https://t.me/Android_Ghosts"
echo "=========================================="
# Update package list
echo "[+] Updating package list..."
pkg update -y
# Install Python and required packages
echo "[+] Installing Python and dependencies..."
pkg install -y python python-pip
# Install required Python packages
echo "[+] Installing Python libraries..."
pip install colorama
# Install additional tools for scanning
echo "[+] Installing network tools..."
pkg install -y root-repo
pkg install -y tsu
pkg install -y nmap
pkg install -y arping
# Make script executable
echo "[+] Making scanner executable..."
chmod +x scanner.py
chmod +x run.sh
# Create examples directory
echo "[+] Creating examples..."
mkdir -p examples
# Create sample IP list
cat > examples/ips.txt << 'EOF'
# Android.Ghosts Scanner - Example IP List
# Format: One IP per line, CIDR notation, or hostname
# Local network range
192.168.1.1
192.168.1.100
# Common DNS servers
8.8.8.8
1.1.1.1
# Example with hostname
google.com
# CIDR notation example
# 192.168.1.0/24
# Commented lines start with #
EOF
echo ""
echo "=========================================="
echo "Installation Completed Successfully!"
echo "=========================================="
echo ""
echo "To run the scanner:"
echo " ./run.sh"
echo " OR"
echo " python scanner.py"
echo ""
echo "Join our Telegram channel:"
echo " https://t.me/Android_Ghosts"
echo ""
echo "Example IP list created: examples/ips.txt"
echo "=========================================="