Nov 30, 2012

Hacking Website Database with SQLmap in Backtrack 5 or Linux OS


All we needed is a vulnerability webpage. Lets say you have a url like this



http://www.site.com/section.php?id=51



and that it is prone to sql injection because the developer of that site did not properly escape the parameter id.



This can be simply tested by trying to open the url



http://www.site.com/section.php?id=51'



We just added a single quote in the parameter. If this url throws an error then it is clear that the database has reacted with an error because it got an unexpected single quote..



To understand the process please change video quality to 1080p and watch in HD Quality





Test and Boot an ISO Image Using Virtual Machine


 



To test an ISO image without burning to a disc using Oracle VirtualBox or VMWare Workstation. Of course, you can use any of the other virtual machine software to get a similar result. I also have Virtual PC installed and it too does a good job of mounting ISO images for testing, but for this article VirtualBox is used because it’s freely available to run on all Windows and Unix systems.


 


Simply follow the steps to load an ISO image into VirtualBox:


 


Step 1


 


Download and install VirtualBox.


 


Step 2


 


Run VirtualBox.


 


Boot an ISO Image Using Virtual Box 1


Nov 29, 2012

How to find the Web Server that a web site runs on


There are many website that provides this type of services. The program detects the web server that a web site is running on.


 


Website 1


 


http://www.yellowpipe.com/yis/tools/craftnet/index.php?q=www.jijokjose.com&submit=OK


 


How to find the Web Server that a web site runs on 1




 

Nov 27, 2012

Internet access problem in Terminal using proxy server network connection



Internet access problem in Terminal using proxy server network connection



When we use different internet connection in one laptop, and if one of those connections is proxy server network connection, then we may have a problem with accessing internet in Ubuntu Software Center and in Terminal.



In direct connection we haven’t any problem with internet access. But when we switch to proxy connection, at first everything is ok, internet works in Gnome.(firefox and all applications can take access from GNOME). But Terminal and Software Center gives connection error. We can do this simple action in Terminal.



Open Terminal or press Ctrl + Alt + T and type the following commands.



Step 1



Navigate to /etc/apt directory using



cd /etc/apt



Internet access problem in Terminal using proxy server network connection 1





Nov 25, 2012

How to solve no interfaces listed in Wireshark


 



After installing wireshark in linux some peoples got an error that no interface is listed which look likes below.


 


wireshark no interface 1


 


To eliminate this error do the following.


 


Method 1


 


Some of the specific files/devices that needed permissions in Ubuntu, so open wireshark in root account or use the following command to open wireshark.


 


sudo wireshark


 

Nov 23, 2012

How to install a .tar.gz (or .tar.bz2) file in linux


 


The answer is you cannot "install" a .tar.gz file or .tar.bz2 file. Because .tar.gz files are gzip-compressed tarballs, compressed archives like .zip files. .bz2 files are compressed with bzip2.


 


Step 1


 


Open a terminal or press Ctrl + Alt + T




 


Step 2


 


Use the command cd <foldername> to navigate to the correct folder.


 


Make sure you first read a file called INSTALL or INSTALL.txt or README




 


Step 3


 


Extract the files with one of the commands


 


If it's tar.gz use


 


tar xvzf PACKAGENAME.tar.gz


 


If it's a tar.bz2 use


 


tar xvjf PACKAGENAME.tar.bz2




 

Nov 19, 2012

How to Fix Windows Bootloader - Using bootrec.exe Tool


 



To run the Bootrec.exe tool, you must start Windows Recovery Environment. To do this, follow these steps:


 


Step 1


 


Put the Windows Vista or Windows 7 or Windows 8 installation disc in the disc drive, and then start the computer.




 


Step 2


 


Press a key when you are prompted.




 


Step 3


 


Select a language, a time, a currency, a keyboard or an input method, and then click Next.




Nov 16, 2012

How to Repair GRUB 2 When Ubuntu Won't Boot


 


Using Terminal Method



If you have Ubuntu 12.04 installed, ensure you use a Ubuntu 12.04 live CD.


Open a terminal after booting into the live environment. Identify the partition Ubuntu is installed on using one of the following commands:


 


sudo fdisk -l


sudo blkid


 


Step 1


 


Here is the output of both commands. In the sudo fdisk -l command, the Ubuntu partition is identified by the word Linux in the System column. 


 


Output of drive information 1




Nov 14, 2012

Various Array Operations in PHP


An array can be created using the array() language construct. It takes any number of comma-separated key => value pairs as arguments.



array(



    key  => value,



    key2 => value2,



    key3 => value3,



    ...



)




The comma after the last array element is optional and can be omitted. This is usually done for single-line arrays, i.e. array(1, 2) is preferred over array(1, 2, ).





 

Nov 11, 2012

Apache 2 Web Server in Linux - Start, Stop and Restart


 


Start Apache 2 Web Server


 


To start Apache 2 web server, enter:


 


/etc/init.d/apache2 start


 


or


 


sudo /etc/init.d/apache2 start




 


Restart Apache 2 Web Server


 


Restart Apache 2 web server, enter:


 


/etc/init.d/apache2 restart


 


or


 


sudo /etc/init.d/apache2 restart




 

Nov 7, 2012

How to import large sql file (> 3MB) in wamp using phpMyAdmin


Normally phpMyAdmin imports sql files with less than 3 MB. To upload .sql files with more than 3 MB (usually in wordpress site) we have  to use a diffent method.



Step 1



Move to phpMyAdmin folder usually it is located in "C:\wamp\apps\phpmyadmin3.3.9". 



Step 2



Open config.inc.php file.



Find the code $cfg['UploadDir'] =''; and replace it with $cfg['UploadDir'] = 'upload';



Save config.inc.php file.



Step 3



Create a folder named upload into the phpMyAdmin folder ( C:\wamp\apps\phpmyadmin3.3.9 ).


Making usb bootable windows using winUSB


 



 



 


WinUSB Maker, is a tool to make dynamically any Removable Device / External HDD as bootable with Windows Setup. Watch the video to know how make usb bootable windows OS.


 









Nov 6, 2012

Remove Old Kernels from Ubuntu 12.10 with Ubuntu Tweak


 



If you’ve been using and updating Ubuntu for sometime now, you may have old kernels installed on your system that are not useful anymore.


 


Using Ubuntu Tweak, this brief tutorial is going to show you how to remove those old kernels from Ubuntu 12.04 / 12.10 easily with few clicks. If these unused kernels are not removed, they may just end of using valuable space on your system’s disks.


 


Step 1


 


To get started, press Ctrl + Alt + T on your keyboard to open the terminal. When it opens, run the commands below to add Ubuntu Tweak PPA


 


sudo add-apt-repository ppa:tualatrix/ppa



Nov 4, 2012

Install LAMP (Linux + Apache + MySQL + PHP ) in Ubuntu 12.10


LAMP stands for Linux, Apache, MySQL and PHP. This script installs those programs and packages at once easily in Ubuntu.



Press Ctrl + Alt + T on your keyboard to open the terminal. When it opens run the commands below to install the packages.


 


sudo apt-get install lamp-server^


 



During the installation, you’ll be prompted to create a password or MySQL server. Create one to continue.


 


Test 1 - Apache


 


After the installation, test Apache by opening your web browser and typing localhost. When you seen the screen below, it means Apache is functioning.


 


Install LAMP (Linux + Apache + MySQL + PHP ) in Ubuntu 12.10




Nov 1, 2012

Install wine 1.5.16 in ubuntu 12.10


 



Wine version 1.5.16 has just been released and the following steps show you how to install it in Ubuntu 12.10.


 


For more about this release, please click here.


 


And if you don’t know what Wine is, it is a program that lets you run or install programs designed for Windows in Linux systems, including Ubuntu.


 


If you ever wanted to install Windows programs in Linux, then Wine is the program you’ll need to help you do that.


 


Step 1


 


To get started, press Ctrl + Alt + T on your keyboard to open the terminal. When it opens run the commands below to add Wine’s PPA.


 


sudo add-apt-repository ppa:ubuntu-wine/ppa