vbs

David Macdivitt <[email protected]>
Newsgroups gmane.comp.security.nessus.general
Message-ID <[email protected]>
I have tried to run the following basic vbscript that runs nessuscmd however instead of sending the output to a text file it tries to scan localhost,>,test.txt. 
 
set objshell = createobject("wscript.shell")objshell.run "nessuscmd -p default localhost > test.txt"
 
However if I run the command: nessuscmd -p default localhost > test.txt 
in cmd, it works fine.
 
Anyone know how to get it to work in vbs?
 
David
_________________________________________________________________
Great deals on almost anything at eBay.co.uk. Search, bid, find and win on eBay today!
http://clk.atdmt.com/UKM/go/msnnkmgl0010000004ukm/direct/01/

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.