Install zmap on Kali 2

Zmap is a nice tool. If you don’t know already, it can scan vast subnets very quickly. Best used to scout for targets, make a list and then go exploring them with nmap. It’s not as fast as masscan, but that’s for another post. Zmap has found its way into Kali now, but if you are stuck using a version prior to that change or want to setup from source, here’s how to install it:

apt-get install build-essential make libgmp3-dev libpcap-dev gengeopt byacc flex git libjson-c-dev
git clone git://
cd zmap
make && make install

That should be that. Scan away. Responsibly. 😉

CentOS 6 Squid Proxy Install

Today Mama is going to cook a tasty Squid proxy server on CentOS 6. It’s a reliable, trusted solution used in many web filtering appliances around the world. This howto comes with no guarantees!

Install Squid.

yum install epel-release && yum -y install squid

These are very common forward proxy settings.

vi /etc/squid/squid.conf

acl CONNECT method CONNECT <<– look for this line
## Add a new ACL to allow your LAN access to the Proxy:
acl lan src

http_access allow localhost <<– look for this line
## Let the ACL we just defined have http access via the proxy and add/change to:
http_access allow lan

## Look for http_port and change it to:
http_port 8080

## Copy and paste the below to the bottom of the file:
request_header_access Referer deny all
request_header_access X-Forwarded-For deny all
request_header_access Via deny all
request_header_access Cache-Control deny all

## Look for visible_hostname

## Turn off IP address forwarding:
forwarded_for off

Exit vi (:x), turn on the Squid service at boot and start the service now:
chkconfig squid on
service squid start

Welcome to Mama Linux!

Here we’ll try to provide you with the tastiest Linux recipes that only Mama can provide! We’ll be aiming to help you set up a few different services running on Linux, helping you over any sticking points.