rats – source code analysis

I stublemed across this recently so thought of sharing this for you 🙂

sudo yum install rats

And some details about rats

RATS(Rough Auditing Tool for Security) scans through code, finding potentially
dangerous function calls. The goal of this tool is not to definitively find
bugs (yet). The current goal is to provide a reasonable starting point for
performing manual security audits.
The initial vulnerability database is taken directly from things that could be
easily found when starting with the forthcoming book, "Building Secure
Software" by Viega and McGraw.

 

systemctl enable and start service

Most of the times when I want to enable the service, I find myself enabling it immediately or it is vice versa. So, the commands I used to use were:

systemctl enable sshd.service
systemctl start sshd.service

But recently I learned that I do not need the 2 commands and this can be done in single command like below

1
 

systemctl enable --now sshd.service