![]() ![]() Since Nmap isįree, the only barrier to port scanning mastery is knowledge. Hand, try to solve every problem with the default SYN scan. Scan techniques and choose the appropriate one (or combination) for a Pulling out the perfect gizmo which makes the job seem effortless. Jalopy to a real mechanic, he invariably fishes around in a huge tool chest until #Replace input file with gnmap scan, It will generate a list of all open portsĬat results.gnmap |awk -F'' '", str(service.As a novice performing automotive repair, I can struggleįor hours trying to fit my rudimentary tools (hammer, duct tape, getPorts.sh \n"Įcho "No argument specified. reducing the time needed"Įcho -e "\nUsage. ![]() This runs a basic nmap scan, collects open ports and does a more advanced scan. Next step and objecive is to automaticly scan web apps with a directory scan and niktoo scan of identified web apps #!/bin/bashĮcho "Welcome to the quick lil tool. (NB: I'm not looking to get it just for the spefic case, usingĬut -f 3 -d "," will work for this case, but if the http server was in the first field it would not work.)Īfter which i can use the cut command to get the port to then add it to a file with the ip, resulting inĬould anyone advise a good way to do this?Ĭode of my simple bash script for doing a basic scan of all ports,the then doing a more advanced one based on the open ports found. which is the first part of my problem solved.īut now I am looking for a way to only get (from the above example) 8000/open/tcp//http-alt/// From this I can get the IP of hosts with a http server open by using the cut command and getting the second field. ![]() Using grep to delete any lines that do no contain the string "http". I have my nmap results in grepable format. ) and capture them ip and ports in order to automaticly perform web app scans. I am trying to take a nmap scan result, determine the http ports (http, https, http-alt. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |