I need a script to fetch the status of TCP port connection from Source machine with respective destination and port details.
Source_Name Source_IP Destination_Name Destination_IP Portocol Port Status
From my desktop I need to generate a report of the status Port availability with respect to destination name or IP. But this should check with source name or IP and not in my desktop. Basically Source machine varies like development, testing and Production for all these severs I will not have login permission to do telnet individually. So from my desktop I need to pull the telnet report of all the source machine with their respective destination and port details as given above.
1. Here the challenges is to skip the authentication while scanning the source machine. Because I don't have privilege for Prod machines. When I try to run the TCP Connection script I am getting an error like, " Access denied,PSSessionStateBroken. Conencting to remote server failed with the following message:ACCESS DENIED ".
2. It should not scan my local desktop, it has to scan the source machine with their respective destination and port details.
If you don't have permission, then you can't do this. The whole point of security is to stop unauthorized people from gaining this information. An intruder could simply scan machines and figure out what was available, otherwise.
You must be logged in to reply to this topic.