Sunday, 19 August 2012

Changing Default Operating System And Boot Priority In UBUNTU GRUB TO Windows

Ubuntu is one of the best Operating System coming from the Open Source.It has good performance and protection from viruses like other Linux O/S.
After installing Ubuntu by default the GRUB(GRand Unified Bootloader), which is the loader for Ubuntu will be used when we turn on the system.
A bootloader is a program that run when the system is turned on and its duty is to load the Operating System files to the main memory.
The GRUB by default will list the available options like Ubuntu,memory test etc... and other Operating System installed.The default option selected will be Ubuntu.

Now we will see how to change the default boot Operating System to other O/S.

1.First boot Ubuntu.We have to login as root in order to make changes in the boot priority in Ubuntu.

2.Now from the top panel select places>Search For Files
A new window will open up in that for the field Name contains type grub.cfg and click find.

3.From the list of select results double click on the one with folder /boot/grub.
If  there is any problem on opening it then right click and open with Text-Editor.
[I would recommend first time users to go to folder FileSystem/boot/grub/grub.cfg and  create a copy of the file grub.cfg. ]

Now a text editor will open up and the file will contain many lines of text.
First we have to locate the line 13 which has 'set default="1" '.

grub.cfg default

Saturday, 11 August 2012

Installing JOOMLA In LINUX,UBUNTU SCREENSHOTS

JOOMLA is very usefull software which we can use to build web sites and powerful online applications.
Its not essential for its user to know about HTML,SQL,CSS .The user does not has to care about writing HTML code,managing SQL queries,creating style sheets.Though its very easy to use kind of software its installation might be somewhat difficult for first time users because mostly users are familiar with setup type of installation but JOOMLA is all very different.
We will also need a server(APACHE),SQL(MYSQL),PHP for using JOOMLA.
All the software needed for installing JOOMLA are in OpenSource and freely available.

Here are the steps to install JOOMLA
1.At first we need to download the setup from JOOMLA.ORG.Select the version you want to download and download the full package zip file.
Joomla Download Page


Tuesday, 12 June 2012

SQL Injection-Basic Command

SQL injection is a technique often used to attack databases through a website.
SQL injection is a code injection technique that exploits a security vulnerability in a website's software .
Thus SQL command are injected from website to database at back end.
Consider a sql relation account(name,passwd,balance).Now the php in website will read the usenrame and password and assing to variable $n and $p respectively.
The sql querry will be

SELECT balance FROM account
WHERE name='n' AND passwd='p';
This will work for normal user inputs.
If the user input $n=adarsh '- -
Then -- in sql represent a comment statement.
The sql querry will be

Recover Files & Folder Affected By NEW FOLDER VIRUS

When a computer gets affected by an NEW FOLDER virus,it will create an copy of virus porgram in the name of all the folders in the computer and hide the actual folder and its contents.So when we click a folder thinking to open the folder it actually executes the virus program.
When we use a anti-virus program it will be able to detect the virus and it will delete it,but the problem is that when virus is deleted we cannot get our folders of same name as virus back.
We can recover it by using a Linux based operationg system.This is possible because linux exectuable files are not exe files.
First we need to boot from linux and locate the folder to be recovered on hard disk.the on the directory containing folder there will be a file with same name as folder and with .lnk extension.delete it.
Now boot from windows and we will be able to see our folder back

For this purpose we can use a PUPPY Linux which is very small in size..


Hope Its useful!!!

Install Flash Player Without Administrator Rights

Adobe Flash player has become an important plug-in to be installed in order to view online videos and online games.Most of the schools and colleges provide students account without admin rights and its not possible for them to install flash player...
There is a method to overcome this problem...
This is how its done..
1.Download RARFile to your desktop.
2.Extract the archive using WinRAR/WinZIP/7ZIP.
The file can be extracted online from http://wobzip.org/ .