04-26-2017
How to write script to scan ip list through Nessus?
How to call Nessus on the command line to scan a single IP and generate a report? This is my question. Please suggest any idea.
Last edited by sk151993; 05-01-2017 at 02:47 AM..
9 More Discussions You Might Find Interesting
1. Cybersecurity
I am trying to code a php script that calls upon the "nessus" client; and formats the output into a HTML table. Somehow, my shell scripts don't seen to be working correctly...is my syntax messed up?
Here's what i got:
<CENTER><BR><BR><BR><BR>
<table width="" border="0" cellspacing="1"... (0 Replies)
Discussion started by: thomas.jones
0 Replies
2. Shell Programming and Scripting
Hi,
Can any one please suggest me commands for making port scan shell script. (3 Replies)
Discussion started by: nrbhole
3 Replies
3. Shell Programming and Scripting
Dear perl gurus,
I plan to create a script that will scan through a logfile line by line.
And if ever a certain line meets the below conditions, it will alert me via email.
-->
a) Position 10 to 13 = "ABCD"
b) And also if the amount specified in position 620-640 is less than the amount in... (1 Reply)
Discussion started by: gholdbhurg
1 Replies
4. Shell Programming and Scripting
i need to create a shell script, which will go into a directory , and scan the files in it for defined errors, there will be around 10 files in the directory. (3 Replies)
Discussion started by: deeprajn95
3 Replies
5. Shell Programming and Scripting
Hello,
Im new to shell scripting , and i have the following question .
The hcitool scan command returns the bluetooth address of the phone . When it is run the output is something like
Scanning....
00:A1:5D:AB:B2:E9 Nokia 6600
Can i get the output in a varaiable in a... (1 Reply)
Discussion started by: rahulkhn
1 Replies
6. Shell Programming and Scripting
hi
i want to write a script that contain questions upto 50..when i run the script it has to ask the questions one by one with options like a,b,c,d and user has to answer the each question and finally result (contain how many user selected correctly)
please help me...i need hints to do....... (8 Replies)
Discussion started by: srinivas2828
8 Replies
7. Shell Programming and Scripting
I took a stab at writing a script to automate the interactive process of adding users to Nessus - I have zero previous coding experience. So far, it doesn't get me anywhere.
I took small sections of code from posts I found on this site and others:... (1 Reply)
Discussion started by: nolamiami
1 Replies
8. Shell Programming and Scripting
Gents,
Please can you help.
I want to create a list which contends the complete patch of the location of some directories with the size of each file.
need to select only .txt file
In this case I am try to find the subdirectories tp1 and tp2 and create the output list.
jd175-1
tp1... (3 Replies)
Discussion started by: jiam912
3 Replies
9. UNIX for Beginners Questions & Answers
Full title: How to write a script to match a searched name to a given list, and then returns other names with the same properties
Anyway, first time here, hi! So I'm taking an introductory course at uni and there's a question in our lab that asks us to write a script where a user can search a... (4 Replies)
Discussion started by: aheyhey
4 Replies
LEARN ABOUT SUSE
clamdscan
Clamd client(1) Clam AntiVirus Clamd client(1)
NAME
clamdscan - scan files and directories for viruses using Clam AntiVirus Daemon
SYNOPSIS
clamdscan [options] [file/directory]
DESCRIPTION
clamdscan is a clamd client which may be used as a clamscan replacement. It accepts all the options implemented in clamscan but most of
them will be ignored because its scanning abilities only depend on clamd.
OPTIONS
-h, --help
Display help information and exit.
-V, --version
Print version number and exit.
-v, --verbose
Be verbose.
--quiet
Be quiet - only output error messages.
--stdout
Write all messages (except for libclamav output) to the standard output (stdout).
--config-file=FILE
Read clamd settings from FILE.
-l FILE, --log=FILE
Save the scan report to FILE.
-f FILE, --file-list=FILE
Scan files listed line by line in FILE.
-m, --multiscan
In the multiscan mode clamd will attempt to scan the directory contents in parallel using available threads. This option is espe-
cially useful on multiprocessor and multi-core systems. If you pass more than one file or directory in the command line, they are
put in a queue and sent to clamd individually. This means, that single files are always scanned by a single thread. Similarly,
clamdscan will wait for clamd to finish a directory scan (performed in multiscan mode) before sending request to scan another direc-
tory. This option can be combined with --fdpass (see below).
--remove
Remove infected files. Be careful.
--move=DIRECTORY
Move infected files into DIRECTORY.
--no-summary
Do not display summary at the end of scanning.
--reload
Request clamd to reload virus database.
--fdpass
Pass the file descriptor permissions to clamd. This is useful if clamd is running as a different user as it is faster than streaming
the file to clamd. Only available if connected to clamd via local(unix) socket.
--stream
Forces file streaming to clamd. This is generally not needed as clamdscan detects automatically if streaming is required. This
option only exists for debugging and testing purposes, in all other cases --fdpass is preferred.
EXAMPLES
(0) To scan a one file:
clamdscan file
(1) To scan a current working directory:
clamdscan
(2) To scan all files in /home:
clamdscan /home
(3) To scan a file when clamd is running as a different user:
clamdscan --fdpass ~/downloads
(4) To scan from standard input:
clamdscan - <file_to_scan cat file_to_scan | clamdscan -
RETURN CODES
0 : No virus found.
1 : Virus(es) found.
2 : An error occured.
CREDITS
Please check the full documentation for credits.
AUTHOR
Tomasz Kojm <tkojm@clamav.net>
SEE ALSO
clamd(8), clamd.conf(5), clamscan(1)
ClamAV 0.96.1 February 12, 2009 Clamd client(1)