Ubuntu

Perform Penetrative testing in Ubuntu

Penetrative testing in Ubuntu can be done using the oscap tool.

Download the latest vulnerability list using the command

wget https://security-metadata.canonical.com/oval/com.ubuntu.$(lsb_release -cs).usn.oval.xml.bz2

Evaluate the vulnerability using the oscap command

oscap oval eval --report report.html com.ubuntu.$(lsb_release -cs).usn.oval.xml

--

SVN: Creating a Repository and Migration

Technologies: 

Creating a Repository
There are loads of documentation in creating a Repository. Provided below is an example VHOST config file for SVN:

<VirtualHost *:80>
ServerName svn.example.com
DocumentRoot /home/svn/
<Location /svn/example>
  DAV svn
  SVNPath /home/svn/reponame
#  SVNParentPath /var/svn/
  AuthType Basic
  AuthName "Example Repository"
  AuthUserFile /etc/subversion/passwd
  Require valid-user
</Location>
ErrorLog /home/svn/logs/error.log
CustomLog /home/svn/logs/access.log combined
</VirtualHost>

Handling Unwanted Stuff

Technologies: 

This is not a post for handling SPAM.

Please find the following Softwares you would need to install.
1. ModSecurity supplies an array of request filtering and other security features to the Apache HTTP Server, IIS and NGINX. ModSecurity is a web application layer firewall.
2. Mod_evasive prevents against ddos and scripted bots which can hammer a website. Mod_evasive is the Web Denial of Service module used in ASL. It is designed to throttle http and https connections when they reach above a specified threshold.

How to send email from loclahost Drupal hosted in Ubuntu?

Technologies: 

Consider a situation in which you have installed Drupal in your Ubuntu machine. Now you would like to start sending email from localhost.If you have not setup Mail Transfer Agent(MTA) than you will not be able to send email from localhost.

What is Mail Transfer Agent(MTA)?

Wikipedia Says: