Nov 12, 2013

Howto: Enable Apache SSL in Kali

1. Enable SSL
a2enmod ssl

2. Enable SSL Site
a2ensite ssl

3. Create new certificate(Don't create and push into conf.d)
openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.key
OR
openssl req -config /etc/ssl/openssl.cnf -new -out apache.csr -keyout apache.pem
openssl rsa -in apache.pem -out apache.key 
 
 
4. Use your certificate in /etc/apache2/sites-available/default-ssl
SSLCertificateFile    /etc/apache2/ssl/apache.pem
SSLCertificateKeyFile /etc/apache2/ssl/apache.key 

5. Restart your apache2


If you want to use commercial SSL
1. Create a Certificate Signing Request
openssl req -new -days 365 -nodes -keyout www.mydomain.com.key -out www.mydomain.com.csr

2. Change permission and priviledge
chmod 400 /etc/apache2/ssl/www.mydomain.com.crt
chmod 400 /etc/apache2/ssl/www.mydomain.com.key

3. Configure Apache2
SSLCertificateFile /etc/apache2/ssl/www.mydomain.com.crt
SSLCertificateKeyFile /etc/apache2/ssl/www.mydomain.com.key
SSLCACertificateFile /etc/apache2/ssl/verisign.cer

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Nov 11, 2013

Tools: autosploit - Nmap + Metasploit

Source: Scripts that combine Nmap and Metasploit. 
 

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Nov 10, 2013

Tools: LANs.py - Capture and inject traffic on LAN

Multithreaded asynchronous packet parsing/injecting arp spoofer.
Individually arpspoofs the target box, router and DNS server if necessary. Does not poison anyone else on the network. Displays all most the interesting bits of their traffic and can inject custom html into pages they visit. Cleans up after itself.
Prereqs: Linux, scapy, python nfqueue-bindings, aircrack-ng, python twisted, BeEF (optional), and a wireless card capable of promiscuous mode if you don't use the -ip option

Source: https://github.com/DanMcInerney/LANs.py

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.
 

Sponsors

lusovps.com

Blogroll

About

 Please subscribe my blog.

 Old Subscribe

Share |