You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this activity, I got stuck on creating the script for doing a ping sweep. Mostly this was an issue regarding how best to cut the IPs out from the output of valid pings. To solve this, I used a mix of grep, cut, and tr to separate IPs from the ping output, and append them to a file. I found that this was an issue when writing the NMAP scan script as well, especially considering the output was split between two lines; the line with the IP address I needed to identify, and the line saying that the host resolved OK.