Question: reference httpsnostarchcomdownloadlinuxbasicsforhackerssamplech8pdf the answers should be in screenshots and copy...
The answers should be in screenshots and copy & paste manner when necessary
i. Create a script similar to MySQLscanner.sh but design it to find systems with Microsoft’s SQL Server database at port 1433. Call it MSSQLscanner.
# This script is designed to find hosts with MySQL installed
nmap sT 192.168.181.0/24 p 3306 >/dev/null oG MySQLscan
cat MySQLscan | grep open > MySQLscan2
ii. Alter that MSSQLscanner script to prompt the user for a starting and ending IP address and the port to search for. Then filter out all the IP addresses where those ports are closed and display only those that are open.