Making a script to run several nmap scans and save out put to a file
I was wondering how to make a bash script to do several nmap scans at once and save the output so I can read it laster, example of what I was doing,
i wanted to have these run and either save to one output file to cat later or if that's not possible then 3 different files to cat either or, I'm pretty new at this, I tried nmap -A $IP -oN root/home/nmap after each scan and that didn't work idk I'm stuck
Moderator's Comments:
Please use code tags as required by forum rules.
Thank you!
Last edited by Peasant; 03-04-2020 at 11:52 PM..
Reason: Added code tags
Hello Everybody,
Could anyone please tell me how to get ssh to work without asking for passwords? (i want to do a ssh <hostname> without getting a request for a password but getting connected straight away)
I have attempted the following but to no avail :( ...
I tried to generate a SSH... (5 Replies)
I am processing some terabytes of information on a computer having 8 processors (each with 4 cores) with a 16GB RAM and 5TB hard drive implemented as a RAID. The processing doesn't seem to be blazingly fast perhaps because of the IO limitation.
I am basically running a perl script to read some... (13 Replies)
Hello evry1,
Trying to come up with a script that picks content from another file, and saved the new file with the original file name but adding the time when the script is run to the new file name.
after which it compresses this new file.
Thanks in advance (1 Reply)
Hi all,
How to:
Run a bash script, display on the screen and save all information in a file including error information.
For example:
I have a bash script called test.sh
now I want to run the test.sh and display the output on the screen and save the output including error info to a file.
... (1 Reply)
hi guys
i have a problem with my file did not work as usual. The problem is i need to open the file and save as using same name and after that the file is work properly. Is it any shell script can do open the file and save as using same name..because i have thousand of file with the same problem (3 Replies)
Can someone help me edit the below script to make it run faster?
Shell: bash
OS: Linux Red Hat
The point of the script is to grab entire chunks of information that concerns the service "MEMORY_CHECK".
For each chunk, the beginning starts with "service {", and ends with "}".
I should... (15 Replies)
Dear every one,
I am working with the data of my lab program and I have to do many times by the same list of some commands (grep, then save to file, then use awk to delete odd lines, save to file, use awk to delete even lines, save to file...).
Is there any way to save a list of command which I... (4 Replies)
Hi friends,
In my shell script, I want to open a file using vi editor. After opening the file in vi, I want to save and quit this file automatically.... all through shell script.
the code segment is:
------------------------------------------------------------
cd ~/netfpga/projects/scone/sw/... (2 Replies)
I want to run sql query in shell script and output data save as delimited text (delimited text would be comma)
Code:
SPOOL_FILE=/pgedw/dan.txt
SQL=/pgedw/dan.sql
sqlplus -s username/password@myhost:port/servicename <<EOF
set head on
set COLSEP ,
set linesize 32767
SET TRIMSPOOL ON
SET... (8 Replies)
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
LEARN ABOUT CENTOS
nmapfe
ZENMAP(1) Zenmap Reference Guide ZENMAP(1)NAME
zenmap - Graphical Nmap frontend and results viewer
SYNOPSIS
zenmap [options] [results file]
DESCRIPTION
Zenmap is a multi-platform graphical Nmap frontend and results viewer. Zenmap aims to make Nmap easy for beginners to use while giving
experienced Nmap users advanced features. Frequently used scans can be saved as profiles to make them easy to run repeatedly. A command
creator allows interactive creation of Nmap command lines. Scan results can be saved and viewed later. Saved scan results can be compared
with one another to see how they differ. The results of recent scans are stored in a searchable database.
This man page only describes the few Zenmap command-line options and some critical notes. A much more detailed Zenmap User's Guide is
available at http://nmap.org/book/zenmap.html. Other documentation and information is available from the Zenmap web page at
http://nmap.org/zenmap/.
OPTIONS SUMMARY -f, --file results file
Open the given results file for viewing. The results file may be an Nmap XML output file (.xml, as produced by nmap -oX) or a Umit scan
results file (.usr). This option may be given more than once.
-h, --help
Show a help message and exit.
-n, --nmap Nmap command line
Run the given Nmap command within the Zenmap interface. After -n or --nmap, every remaining command line argument is read as the
command line to execute. This means that -n or --nmap must be given last, after any other options. Note that the command line must
include the nmap executable name: zenmap -n nmap -sS target.
-p, --profile profile
Start with the given profile selected. The profile name is just a string: "Regular scan". If combined with -t, begin a scan with the
given profile against the specified target.
-t, --target target
Start with the given target. If combined with -p, begin a scan with the given profile against the specified target.
-v, --verbose
Increase verbosity (of Zenmap, not Nmap). This option may be given multiple times to get even more verbosity.
Any other arguments are taken to be the names of results files to open.
ENVIRONMENT VARIABLES
ZENMAP_DEVELOPMENT
Set ZENMAP_DEVELOPMENT to disable automatic crash reporting.
BUGS
Like their authors, Nmap and Zenmap aren't perfect. But you can help make them better by sending bug reports or even writing patches. If
Nmap or Zenmap doesn't behave the way you expect, first upgrade to the latest version available from http://nmap.org. If the problem
persists, do some research to determine whether it has already been discovered and addressed. Try Googling the error message or browsing
the nmap-dev archives at http://seclists.org/. Read this full manual page as well. If nothing comes of this, mail a bug report to
<dev@nmap.org>. Please include everything you have learned about the problem, as well as what version of Zenmap you are running and what
operating system version it is running on. Problem reports and Zenmap usage questions sent to dev@nmap.org are far more likely to be
answered than those sent to Fyodor directly.
Code patches to fix bugs are even better than bug reports. Basic instructions for creating patch files with your changes are available at
https://svn.nmap.org/nmap/HACKING. Patches may be sent to nmap-dev (recommended) or to Fyodor directly.
HISTORY
Zenmap was originally derived from Umit, an Nmap GUI created during the Google-sponsored Nmap Summer of Code in 2005 and 2006. The primary
author of Umit was Adriano Monteiro Marques. When Umit was modified and integrated into Nmap in 2007, it was renamed Zenmap.
AUTHORS
Nmap
Fyodor <fyodor@nmap.org> (http://insecure.org)
Hundreds of people have made valuable contributions to Nmap over the years. These are detailed in the CHANGELOG file which is distributed
with Nmap and also available from http://nmap.org/changelog.html.
Umit
Zenmap is derived from the Umit Nmap frontend, which was started by Adriano Monteiro Marques as an Nmap/Google Summer of Code project
(<py.adriano@gmail.com>, http://www.umitproject.org).
Zenmap 07/28/2013 ZENMAP(1)