#CryptoComeback # System update and installation of nmap
apt update && apt upgrade -y
apt install nmap -y
# Print the current IP of the phone
echo "Your device's IP address:"
ip a | grep inet
# Scan the local network (replace the network according to the displayed IP)
echo "Starting to scan the local network 192.168.1.0/24 ..."
nmap -sP 192.168.1.0/24
# Comprehensive scan of a specific device (replace with the actual target)
echo "Scanning a specific device on the network: 192.168.1.1"
nmap -A 192.168.1.1