LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-02-2015, 06:17 AM   #1
winxlinx
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Rep: Reputation: 15
How to run multiple nmap scripts at a time ?


Hi All,

I would like to know, how to run multiple nmap scripts at a stretch ?

Appreciate in advance
 
Old 07-02-2015, 06:37 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,910

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
Have you heard about background processes? What are those nmap scripts?
 
Old 07-02-2015, 01:03 PM   #3
bonsaiviking
LQ Newbie
 
Registered: Aug 2014
Posts: 7

Rep: Reputation: Disabled
Specify them as arguments to the --script option: https://nmap.org/book/nse-usage.html#nse-usage
 
Old 07-03-2015, 03:15 AM   #4
winxlinx
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Original Poster
Rep: Reputation: 15
There are so many nmap scripts, for example , to run a nmap script for whois command, the syntax is

nmap target --script whois-ip

so like wise, if i wanted to run the multiple scripts, what would be the syntax ?
 
Old 07-03-2015, 04:43 AM   #5
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,784

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
From nmap(1):
Code:
  --script=<Lua scripts>: <Lua scripts> is a comma separated list of
           directories, script-files or script-categories
 
Old 07-06-2015, 05:05 AM   #6
winxlinx
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Let me try that
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a script shell that run multiple scripts secrets88 Linux - Server 4 06-20-2015 04:21 AM
How to run fsck during a shutdown sequence, or how to run one-time init scripts? bgoodr Debian 5 11-28-2010 03:08 PM
scripts run at boot time with Debian single-user mode jtag Linux - Software 3 04-28-2010 02:33 AM
What time do the scripts in /etc/cron.daily run? abefroman Linux - Server 3 01-06-2010 03:01 PM
How can i run two bash scripts at same time? helptonewbie Programming 3 09-05-2006 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration