Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error autosnort-CentOS-03-31-2014.sh: line 6: '<!DOCTYPE html>' #24

Closed
anshuman27 opened this issue Jun 5, 2014 · 2 comments
Closed

Comments

@anshuman27
Copy link

I am getting following error while I run the script autosnort script.

I am trying to run the script on the CentOS Linux version 2.6.32-279.5.2.el6.centos.plus.x86_64

Kindly look into this.

Regards,
Anshuman

@da667
Copy link
Owner

da667 commented Jun 5, 2014

Anshuman

I've seen this problem before. This usually happens when someone tries to
copy and paste the autosnort shell directly from github. You don't see it
when copying and pasting the shell script, but there's html all over the
page. The error you got looks exactly like an html doctype declaration.

Try downloading the autosnort-master.zip file or use 'git clone' to clone
the scripts. Afterward copy the centos shell script and the shell script to
install the event interface of your choice to /root.

The autosnort-master zip file is here:
https://github.com/da667/Autosnort/archive/master.zip

Or you can install the 'git' client:
Yum install git
Git clone https://github.com/da667/Autosnort.git

Copy the autosnort-centos script, and the script for the output/alert
interface you would like (e.g snorby, base, aanval, snortreport or syslog)
to /root and run the autosnort-centos script.

Thanks,

Da_667
On Jun 5, 2014 5:41 AM, "anshuman27" notifications@github.com wrote:

I am getting following error while I run the script autosnort script.

I am trying to run the script on the CentOS Linux version
2.6.32-279.5.2.el6.centos.plus.x86_64

Kindly look into this.

Regards,
Anshuman


Reply to this email directly or view it on GitHub
#24.

@anshuman27
Copy link
Author

Thank you. By downloading the zip file my issue was resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants