newbie in snort [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionI want to download SnortRules from command line but when I put it with this format: I'm with Win Xp
In Opensuse I have apache,php and the curl extension but in Xp I have nothing. I don't have access to internet In Opensuse I just have access via WinXp
http://www.snort.org/sub-rules/<filename>/<oinkcode here>
it tells me:
'http:' is not recognized as an internal or external command,
operable program or batch file.
what is the problem?
I entered this one:
http://www.snort.org/sub-rules/snortrules-snapshot-2900.tar.gz/59882...(myoinkcode here)
It appears that the curl
binary hasn't actually been installed. You can get a copy for WinXP here. Once you have it installed (say in C:\Programs\Curl
with the executable at C:\Programs\Curl\curl.exe
), you can run:
C:> C:\Programs\Curl\curl.exe "http://www.snort.org/sub-rules/..."
And that will grab the data from the URL given and print it to your screen. Run curl.exe --help
for further instructions or look for help at the cURL website.
Best of luck!
EDIT:
If you're use SuSE, then just install curl (it may already be installed), and at the command prompt type:
$ curl http://www.snort.org/...
And type this for help:
$ man curl ...or...
$ curl --help
精彩评论