04-28-2024, 01:38 PM
Here are the commands (by example) used to do the network scan for Receivers.
Code:
# Scan the given subnet for hosts with open port 6600 (MPD) and then parse out the IP addresses. Note the netmask is assumed to be /24 (255.255.255.0)
sudo nmap -Pn -p6600 --open 192.168.1.0/24 -oG /tmp/mpd_nmap.scan >/dev/null
cat /tmp/mpd_nmap.scan | grep "6600/open" | cut -f 1 | cut -d " " -f 2
# Pick an IP address from the list and then enter the URL below in a Browser.
http://192.168.1.121/command/?cmd=trx-control.php -rx
Look for "On" or 'Off' in the status line thats returned. Either of these values will indicate a Receiver has been found.