Categories
HowTos Linux

TakeScreenshot in BackTrack 5 Linux – Screen capturing application

BackTrack 5 Linux is world most popular penetration testing distribution it is compiled purely with Penetration testing tools. TakeScreenshot is popular image capturing application available under all Linux distribution but isn’t available under BackTrack 5.

TakeScreenShot is still available in repository in gnome-utils package, you can follow below guideline.

How to install TakeScreenShot on BackTrack 5 ?

aptitude install gnome-utils

To access application;

Applications -> Accessories -> Take Screen Shot

 

Categories
HowTos Linux

GoAccess on rhel/CentOS 6 Linux – Real time Apache Log Analyzer


About GoAccess :
GoAccess is linux terminal’s real time Apache Log Analyzer and gives you interactive view of Apache access log. It is super fast and provides you real time reporting on the fly.
Currently it support Apache two standard reports 1. Combined Log Format 2. Common Log Format. You can also monitor nginx log if it is configured with Apache log format.

I have been using it for a long time on Ubuntu/BackTrack and CentOS 4. This time i am compiling it on CentOS 6 on our 64bit VPS.

Installing dependencies :
yum install glib2 glib2-devel glibc make geoip

Categories
HowTos Linux

YUM behind authenticated ISA Proxy Server

Background

YUM stands for Yellow dog Updated Modified. When you are working on linux server which is behind ISA Proxy Server that requires authentication (user & password) will fail to install a rpm package from remote repository using YUM. So without full filling ISA authentication you will not be able to install anything from remote repositories using YUM and will throw ERROR code 407 with message “The ISA Server requires authorization to fulfill the request..

how to install package using YUM behind authenticated proxy server?

vim /etc/yum.conf

Categories
Linux Troubleshootings

tailwatchd is not running – A restart was attempted automagically

Last night, i got an email from one of my client’s CPanel server that tailwatched is failed and is not running.

Email contained :

tailwatchd failed @ Fri Dec 23 00:30:10 2011.A restart was attempted automagically
Service Check Method: [check command] tailwatchd is not running

To see what services handle by tailwatched

/usr/local/cpanel/libexec/tailwatchd --status

Categories
HowTos Linux

Running Lighttpd and Apache on same port, same Server ( CEntOS 6 / RHEL )

In this tutorial i will tell you how to configure Lighttpd and Apache on same port 80 on same server. In our case, we have CentOS 6 on our server but you can follow this for any Linux flavor e.g Ubuntu/BackTrack Linux etc.

Requirements :

  • Two Internet Public IPs ( Configured on eth0 and eth0:0)
  • Lighttpd
  • Apache
Categories
HowTos Linux

How to install or Uninstall APF (Advance Policy Firewall) on CentOS / Ubuntu / BackTrack or any Linux distro

APF Advance Policy firewall that provides you an easy way to configure iptables rules. This is a short snippet how can you install/configure or uninstall APF on your Linux Server.

wget http://www.rfxn.com/downloads/apf-current.tar.gz
tar -zxvf apf-current.tar.gz
cd apf-9.7-2
./install.sh

APF installation is completed.

How to allow specific incoming ports in APF ? e.g 80,21
vim /etc/apf/conf.apf