1. Engineering
  2. Computer Science
  3. reference httpsnostarchcomdownloadlinuxbasicsforhackerssamplech8pdf the answers should be in screenshots and copy...

Question: reference httpsnostarchcomdownloadlinuxbasicsforhackerssamplech8pdf the answers should be in screenshots and copy...

Question details

Reference https://nostarch.com/download/LinuxBasicsForHackers_Sample_Ch8.pdf

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.

MySQLscanner.sh script:

#! /bin/bash

# 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

cat 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.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution