How to Save Nmap Results?

FeltSecure Labs
A free video tutorial from FeltSecure Labs
FeltSecure Labs: Cyber Security Courses with 10000+ Students
4.1 instructor rating • 3 courses • 18,326 students

Lecture description

Saving Nmap scan results using different formats.

You can save nmap scan results with "output" switches.

Learn the types of nmap outputs and save it to your disk!

Learn more from the full course

Practice Your First Penetration Test: Kali & Metasploit Lab

Learn ethical hacking with Kali in your own lab, scan targets with Nmap and exploit victims with metasploit!

02:46:35 of on-demand video • Updated May 2017

  • Install and configure Kali Linux
  • Prepare virtual lab environment with Kali and victim machines
  • Scan networks with Nmap
  • Discover vulnerable applications
  • Exploit Linux and Windows servers with Metasploit
English [Auto] We have over there on many comments, so you might be asking, hey, we are running the same commands again and again, this doesn't make sense in a real Lepanto. So how can it prevent running the same commands? Well, of course, you can save the results. Let's take a look at how it can be done. The keyboard here is output. Let's look if there is anything in the guide we can use. So let me clear my screen first and then type and map, dash, dash cam, pipe, ramp and then output. OK, there is this apparent output stylesheet, no stylesheet, but I'm actually looking for something else, so keep in mind this grep is case sensitive. So I will add this. And then senator again and now I have these two first lines, it tells about how you can save the output like a normal example for other reasons, like script kiddie. By the way, let me explain one thing to you. Of course, I know the parameters for any method, but probably so do you. The idea is to do some practice with great function, which is which is very useful for testing and in the Linux world in general. Furthermore, there are tons of parameters in and map as in many other security tools. You can't memorize them all, at least when you are a beginner. So it's a good idea to do some practice with this group function. For example, you can use men and map to search through tons of pages of detail. OK, anyway, let's continue from where we left off. There are mainly three types of output formatting and the normal one. There's one example based and graspable. There's also one more Mesta output format which gives out all these three types together. This one. Okay, so let's give it a try. Open the comment. We run previously like this. OK. And then add this perimeter dash o a and then type something like scan results. OK. And then presenter. When completed, pipe allow or else stash a party to list the files here, OK, you see this XML extension and map and map extensions. Actually, these are very self-explanatory, regular results, this one, and have similar results, this one and gravelled results, GMF this one, some tools like Métis Boyd can import these outputs, but in some cases you would want graft outputs by yourself. So it's a good idea to have them all three. But let's stay organized. But check your current directory by typing PWP. We are on the route now, so let's change the directory to desktop by typing CWD desktop. OK, now create a directory by typing and make your and map results. OK, then go back by typing in space, but that's. You can also use this see the dash to move back to the Petraeus directory, which you were. OK, now we're on the road if I type again. So I see my scan results here. So let's move the files to the folder. We have just created type M.V. and then type scan results. I pressed tab to autocomplete so time and then some of the press staff put a space and then type desktop. And Microsoft's. And then if you list the files here, you won't be able to see the files here, but on the desktop and my results here we have it, you can add this, allow shortcuts to the profile so that you won't have to type this as a party. OK, let's do it together to save time. OK, let's open this back or see. And then by pressing control and I've come to here, OK, I delete this by pressing X and then I press A to add some more keys. Here they are to escape, say, exit, and then log in again to make the changes enabled and then follow. And I see my output. OK, great. So let's wrap up this section.