Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Thursday, 25 October 2012

Ip Commands For Linux Most useful


Display Current Config for all NIC’s:
 ifconfig

Display Current Config for eth0: ifconfig eth0

Assign IP: ifconfig eth0 192.168.1.2

Ping: ping -c 3 192.168.1.1

Assign multiple IP’s: ifconfig eth0:0 192.168.1.2


Monday, 3 September 2012

Linux A Target Rich Environment for Malware after All, Wirenet Trojan in the Wild

No one is arguing that Windows isn’t the biggest target for malware writers, but it’s starting to look like Microsoft’s OS isn’t alone. Threats for the Mac have made the occasional headline, and a new Trojan is making the rounds on both Mac and Linux. That’s right: a cross-platform virus. 

Wirenet, as it’s being called by Dr. Web (the Russian security company that discovered the malware), is designed to steal passwords. The bug goes after passwords stored in popular Internet browsers and sends them to a server, encrypted with AES

According to Dr. Web, the Trojan can pull passwords from stored password lists and also function as a keylogger. Targeted applications include Chrome, Chromium, Firefox, Opera, Pidgin, SeaMonkey, and Thunderbird. Dr. Web hasn’t yet determined how Wirenet spreads, but it says that the Trojan has been seen in the wild. It installs to the user’s home directory. 

Monday, 27 August 2012

Understanding The /etc/Password File Format

Can you explain /etc/passwd file format for Linux and UNIX operating systems?

/etc/passwd file stores essential information, which is required during login i.e. user account information. 


/etc/passwd is a text file, that contains a list of the system’s accounts, giving for each account some useful information like user ID, group ID, home directory, shell, etc. 

It should have general read permission as many utilities, like ls use it to map user IDs to user names, but write access only for the superuser (root). 

Understanding fields in /etc/passwd


The /etc/passwd contains one entry per line for each user (or user account) of the system. All fields are separated by a colon (symbol. Total seven fields as follows.

Hacking Updates, How To Tutorial, Linux Hacking — March 22, 2012 7:24 pm How To: Upgrade To Ubuntu 12.04 from Previous Versions


Ubuntu 12.04 beta is out now and everybody is excited. It has cool new features and some major changes. Banshee Media player has been replaced from Rhythm box Media Player, having some changes in Unity and sidebar. It could be a good option to upgrade from your previous version of Ubuntu to Ubuntu 12.04. Although stable version of Ubuntu 12.04 is going to be release on 26 of April.

Now How To: Upgrade to ubuntu 12.04

There are many ways to do that such, let’s take a look on how to upgrade to ubuntu 12.04.

1. You can download the ISO image from the official website and burn that into CD. Boot the cd and upgrade while installing into your machine which have earlier version of Ubuntu

2. You can make a Boot-able flash drive to upgrade. Use UNetBootIn  to make Boot-able flash drive. Click Here To Download Unitbootin Now.

3. Or you can try a simple way by just upgrading using Update Manager, but while we actually trying to do that it won’t show any upgrade note.


Sunday, 19 August 2012

Introduction to linux



1. What is Linux?


Linux is a free Unix-type operating system for computer devices. The operating system is what makes the hardware work together with the software. The OS is the interface that allows you to do the things you want with your computer. Linux is freely available to everyone. OS X and Windows are other widely used OS. 
                                                                            
Linux gives you a graphical interface that makes it easy to use your computer, yet it still allows those with know-how to change settings by adjusting 0 to 1.
It is only the kernel that is named Linux, the rest of the OS are GNU tools. A package with the kernel and the needed tools make up a Linux distributionMandrake , SUSE LinuxGentoo and Redhat are some of the many variants. GNU/Linux OS can be used on a large number of boxes, including i386+ , Alpha, PowerPC and Sparc.


2. Understanding files and folders


Linux is made with one thought in mind: Everything is a file.
A blank piece of paper is called a file in the world of computers. You can use this piece of paper to write a text or make a drawing. Your text or drawing is called information. A computer file is another way of storing your information.
If you make many drawings then you will eventually want to sort them in different piles or make some other system that allows you to easily locate a given drawing. Computers use folders to sort your files in a hieratic system.
A file is an element of data storage in a file system. Files are usually stored on harddrives, cdroms and other media, but may also be information stored in RAM or links to devices.
To organize our files into a system we use folders. The lowest possible folder is root / where you will find the user homes called /home/. 
/
  /home/
  /home/mom/
  /home/dad/

Universal USB installer

Universal USB Installer is a Live Linux USB Creator that allows you to choose from a selection of Linux Distributions to put on your USB Flash Drive. The Universal USB Installer is easy to use. Simply choose a Live Linux Distribution, the ISO file, your Flash Drive and, Click Install. Other features include; Persistence (if available), and the ability to fat32 format the flash drive (recommended) to ensure a clean install. Upon completion, you should have a ready to run bootable USB Flash Drive with your select Linux version installed.
Universal USB Installer (UUI) Screenshots