Author Archives: kartook

Linux : How to setup Static IP Address in Ubuntu 10.10

Setup Static IP Address If you want to setup a Static IP Address in your system , Modify the file   /etc/network/interfaces.   If your First Ethernet   Interface is eth0 ,see the following Example.   Just add the following lines in the file with the help of an Editor and Restart the network or […]

Cisco : Generate Crypto Keys via ASDM

To generate the key pair from ASDM go to  Configuration, then select the  Device Management tab. Expand  Certificate Management and go to  Identity Certificates. Click  Add and select the  Add a New Identity Certificate radio button.   Then click  New. In the Add Key Pair dialog box,  take the defaults and  click  Generate Now. Don’t […]

ubuntu :Install Ubuntu restricted extras through script

How to   Install Ubuntu restricted extras through Script Copy below yext and save as restricted.sh Then run !/bin/sh   sudo su   # install debconf-utils apt-get install debconf-utils   # create answer file debconf-set-selections <<EOF sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true msttcorefonts msttcorefonts/defoma note EOF   # install jdk apt-get -y install ubuntu-restricted-extras

Ubuntu : Fix The Screen Messed up at Start-up and Shutdown

If you’re running Ubuntu Maverick with Nvidia Official drivers, and your screen messed up at starting up and shutting down the system. You can try following method to fix the problem. Step 1: First, open up a terminal window from Applications -> Accessories menu. Run this command to install preparing tools: sudo apt-get install v86d […]

Linux : How to configure Sun VirtualBox on CentOS 5.x

installation process of VirtualBox on a fresh centos5.5 server. The installation of VirtualBox will require the building of kernel modules. If the development environment and kernel source are not already installed: Step-1: Install the necessary tools, just issue the following command from command prompt, you must have root privilege for this. #yum groupinstall “Development Tools” […]

Security VOIP :Automated VOIP penetration testing using sipautohack

A demonstration of “sipautohack” scanning an internal network that has 3 SIP devices. For each SIP device that acts as a PBX (registrar) it then identifies the extensions by trying to guess commonly used extension names. For example 1234,2345, 5000,6000 etc. Once it identifies a valid extension such as 6001, it will try to identify […]

LINUX : Install Logwatch on ubuntu

Install Logwatch : Issue the following command to install Logwatch along with Postfix: apt-get install postfix logwatch Be sure to select the “Internet Site” configuration when installing Postfix. Configure Logwatch Link Once you have installed Logwatch, you will need to configure it to email you the reports it generates. You are encouraged to look through […]

Linux : Using Fail2ban to Block Network Probes

Installing and Using Fail2ban On Debian and Ubuntu system Make sure your package repositories and installed programs are up to date by issuing the following commands: kartook@K:~$ sudo apt-get update [sudo] password for kartook: kartook@K:~$ sudo apt-get upgrade –show-upgraded kartook@K:~$ sudo apt-get install python kartook@K:~$ sudo apt-get install fail2ban kartook@K:~$ Afterwards, you will find all […]

Windows : Configure SQL Server Agent to Restart Services Automatically

Configure SQL Server Agent to Restart Services Automatically You can configure SQL Server Agent to restart the SQL Server and SQL Server Agent services automatically if they stop unexpectedly. Configuring automatic restart of these services is a good idea because it might keep you from getting paged if the server stops for some reason at […]