security scanner: lynis

Let us talk about scripts, HTML, Perl, PHP, apache, etc.
User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
security scanner: lynis

Post by Stevyn » Mon Dec 31, 2018 12:17 am

security scanner: lynis

https://packages.cisofy.com/#package

ubunutu install
https://packages.cisofy.com/community/#debian-ubuntu

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C80E383C3DE9F082E01391A0366C67DE91CA5D5F

sudo apt install apt-transport-https

echo "deb https://packages.cisofy.com/community/lynis/deb/ stable main" | sudo tee /etc/apt/sources.list.d/cisofy-lynis.list

sudo apt update

sudo apt install lynis

lynis show version

example usage:

Code: Select all


/usr/sbin/lynis --quick | /path/ansi2html.sh --bg=dark > /reports/lynis.html
ansi2html is from http://www.pixelbeat.org/docs/terminal_colours/
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply