Archive - linux RSS Feed

Quick Install and Configure Puppet with Modules

Puppet install is pretty straightforward

this article is based on these versions

puppet-2.6.6-3.fc15.noarch
puppet-server-2.6.6-3.fc15.noarch

on the master server install puppet-server

1
yum install puppet-server

and on the clients
Continue Reading…

 

Quick Clone a VM without using Vmware vCenter Converter

1. Click on host then Configuration tab
2. Right click on the datastore for the VM you want to clone and then > Browse Datastore
or
you can login to the ESXi server and copy the volume from the datastore manually
It should be in /vmfs/volumes/”DataStore Name”/”Virtual Machine Name”

1
cp -p -r -f "Virtual Machine Name" "New Virtual Machine Name"

3. rename the virtual disks using vmkfstools

1
vmkfstools -E "src".vmdk "new".vmdk

4. Rename the vmx and nvram file to reflect the new virtual machine name
5. Right click the vmx file and > Add to Inventory
6. Power ON the virtual machine

 

encrypt / decrypt files in linux

These are the different ways you can encrypt file in linux, we will use openssl and gnupg’s file encryption and decryption process.

Symmetric encryption

as the name says symmetric encryption uses the same pair of key to encrypt and decrypt a file which is OK if you are not bothered too much about the security of the location of pass-phrase.

from the command prompt type

1
openssl des3 -salt -in file -pass file:pass -out file.encrypt

were file:pass is the location of the passphrase file or you can remove this option and enter the passphrase manually.

to decrypt the encrypted file, use

1
openssl des3 -d -salt -in file.encrypt -out file

if you have the gnupg program installed, you can encrypt the file using:
Continue Reading…

 

plesk pull zones and forward to master nameserver

in case if you dont want plesk to be the primary nameserver for your domains, and if your architecture has a centralized DNS server, then you can push zones from plesk to your primary nameserver
Continue Reading…

 

FootPrinting : : Before the real fun begins

FootPrinting is an art of gathering target information. Its, just like knowing about your enemy before you try to attack. A successful attacker must harvest a wealth of information to execute a focussed and surgical attack. This enables an attacker to create a complete profile of an organization’s security posture and this is achieved by using a combination of tools and techniques.
Continue Reading…

 

Scanning Networks: a newbie guide

Scanning helps one to know what services are running on a machine. This will
show the open ports on which services are listening for connections.

First we will determine whether the target machine is alive or not. This can
be done by sending a icmp echo request packet to the server. The server would
respond with a icmp echo reply showing that it’s alive. The process to
do this on a range of hosts or ipaddresses is known as ping sweep .
Continue Reading…

 

scanning networks

Scanning helps one to know what services are running on a machine. This will
show the open ports on which services are listening for connections.

First we will determine whether the target machine is alive or not. This can
be done by sending a icmp echo request packet to the server. The server would
respond with a icmp echo reply showing that it’s alive. The process to
do this on a range of hosts or ipaddresses is known as ping sweep .

Continue Reading…

 

23 perl books available online



The perl reference guide

The guide contains a concise description of all Perl 5 statements, functions, variables and lots of other useful information.

 
Continue Reading…

 

martian source packets dmesg???

A martian data packet is a network data packet that has an impossible source or destination IP, such as a packet that claims to have come from the broadcast address, 255.255.255.255. Another example of a martian packet would be if you received a packet from 192.168.0.1 through your networks external gateway.
Continue Reading…

 

using nmap for asset scanning

Normally, when people think of using nmap, they assume it’s used to conduct some sort of nefarious network reconnaissance in preparation for an attack. But as with all powerful tools, nmap can be made to wear a white hat, as it’s useful for far more than breaking into networks. Continue Reading…

 
Page 1 of 212»
Theme Tweaker by Unreal