From 239706e0dd9af7b5e0035c1653ec6e969eb56880 Mon Sep 17 00:00:00 2001 From: thompsa Date: Thu, 28 Jan 2010 11:32:19 +1300 Subject: Fix tar arguments. --- config/snort-dev/snort_download_rules.php | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'config/snort-dev') diff --git a/config/snort-dev/snort_download_rules.php b/config/snort-dev/snort_download_rules.php index 5948aa95..6991e215 100644 --- a/config/snort-dev/snort_download_rules.php +++ b/config/snort-dev/snort_download_rules.php @@ -667,22 +667,22 @@ if ($snortdownload != "off") update_output_window(gettext("May take a while...")); exec("/bin/mkdir -p {$snortdir}/rules_bk/"); exec("/usr/bin/tar xzf {$tmpfname}/{$snort_filename} -C {$snortdir}/rules_bk rules/\*" . - "etc/" . - "so_rules/precompiled/FreeBSD-7.0/i386/2.8.4/\*" . - "so_rules/bad-traffic.rules/" . - "so_rules/chat.rules/" . - "so_rules/dos.rules/" . - "so_rules/exploit.rules/" . - "so_rules/imap.rules/" . - "so_rules/misc.rules/" . - "so_rules/multimedia.rules/" . - "so_rules/netbios.rules/" . - "so_rules/nntp.rules/" . - "so_rules/p2p.rules/" . - "so_rules/smtp.rules/" . - "so_rules/sql.rules/" . - "so_rules/web-client.rules/" . - "so_rules/web-misc.rules/"); + " etc/" . + " so_rules/precompiled/FreeBSD-7.0/i386/2.8.4/\*" . + " so_rules/bad-traffic.rules/" . + " so_rules/chat.rules/" . + " so_rules/dos.rules/" . + " so_rules/exploit.rules/" . + " so_rules/imap.rules/" . + " so_rules/misc.rules/" . + " so_rules/multimedia.rules/" . + " so_rules/netbios.rules/" . + " so_rules/nntp.rules/" . + " so_rules/p2p.rules/" . + " so_rules/smtp.rules/" . + " so_rules/sql.rules/" . + " so_rules/web-client.rules/" . + " so_rules/web-misc.rules/"); /* add prefix to all snort.org files */ /* remove this part and make it all php with the simplst code posible */ chdir ("/usr/local/etc/snort/rules_bk/rules"); -- cgit v1.2.3