How to install Apache Server, MySQL,PHP,phpmyadmin on linux

We will learn how to install Apache 2 web server with php, MySQL and phpmyadmin on Linux.For this Post i am will be using Ubuntu 12.4 but you can use any linux ditro.

Lets Start.Open up the command terminal in Linux and type “sudo apt-get install update” this will update the repository in ubuntu,After this type this command to install Apache 2 web server”sudo apt-get install apache2″ in the installation it will say do you want to Continue, type “y” to install it.

Ubuntu-2012-12-01-23-31-13

Next we need to install php5 programming language in ubuntu Linux, Type “sudo apt-get install php5” in the Terminal and press enter to install it.

Ubuntu-2012-12-01-23-37-38

After this we will Type this command “sudo apt-get install libapache2-mod-php5” to connect with apache 2 web Server.After this we need to install MySQL database, Type this command in the terminal “sudo apt-get install mysql-server” to install  MySQL database in ubuntu Linux, after the installation mysql server will ask you for the root  password, Type the desire password e.g ubuntusql and press enter after this it will again ask you to retype you password enter the same password and press enter.

Ubuntu-2012-12-02-00-01-34

After setting up the MySQL server on Ubuntu Linux its time to install phpmyadmin, Type “sudo apt-get install libapache2.mod-auth-mysql php5-mysql phpmyadmin”  and press enter, after installation process is over  Configuring phpmyadmin window will show up choose apache2 webserver and press enter.

Ubuntu-2012-12-02-00-10-59

After some Configuration process this window wills show up type your Mysql Database password e.g. “ubuntusql” and press enter.

Ubuntu-2012-12-02-00-15-42

After this another window will show up in that window type your desire phpmyadmin password e.g “ubuntuphp” and press enter, Type the same password again and press enter.

Ubuntu-2012-12-02-00-21-29

Now your good to go everything has install in the system properly now we need to create a link in the /var/www  directory for easy access  to that type this “sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin” in the Terminal and press enter.Now type this command “sudo /etc/init.d/apache2 restart” to restart apache.You can also start or stop apache2 by replacing restart with start or stop.

After that open Firefox or any web browser and type localhost, if you see the following screen that means apache2 server is working properly.

Ubuntu-2012-12-02-00-42-45

To add web content on this server open up the var/www/ directory and create a html or php web file.

To test php locate the www directory by typing this command in the terminal “cd /var/www” after this type this “sudo touch test.php” to create a new php after that type this “sudo gedit test.php” and press enter, a code editor will open up; type this line of code ““in the test.php file to check if  php is working.

Ubuntu-2012-12-02-01-02-24

Open up the web browse and type localhost/test.php in the url, if you see the following page that means php has properly installed on the system.

Ubuntu-2012-12-02-01-00-59

Now Type localhost/phpmyadmin in the url to open phpmyadmin.

Ubuntu-2012-12-02-00-47-07

Enter your Username and password,User name is “root” and the password is ubuntuphp yours will be different and click on go or just press enter. After logging in you will see the following screen.

Ubuntu-2012-12-02-01-09-56

Now everything is working fine to learn more about myself or php check my other posts.

Artifical Feelings and Emotions | Artificial Intelligence.

Artificial Feelings and Emotions  are consider as impossible but now it is possible to develop a Computer program that can process these kinds of data and using that program to create a realistic humanoid Robot that can have  feeling and emotions just like a homosapiens (Human), I have created an Algorithm that will show you the process required to create Artificial Feelings and Emotions. Note if you want to make this program you need to Know Programming, any programming language will work fine but i recommend using C, C++, C#, Java, C#, VB.net, python etc.

Let’s begin the process to create Artificial Feelings and Emotions (AIFE) step by step.

Creating Artificial Feelings

First thing the user does is Some Action which  will start up the program for example a user touches some part of the body, when user touches the body the program needs to know which part have been touched and how much force is exerted on that part and what is the temperature on that part .According to my observation human mode changes or different parts of the brains(Amygdala, Temporal lobe, occipital lobe, Cerebellum, Entorhinal Cortex etc.) are activated when some of their body parts is touched. Human Response differently when different word are spoken together or some sounds is generated for example when human hears music different parts of the brain activated and behave together and the human body begin to feel relax but it doesn’t means that they will always feel relax when music is played some human react opposite of it and there fiscal expression also changes.

In this process i will use my observation to create AIFE program, i will use the following algorithm in form of Diagram.

First user will give a command or perform an action that command will be process in AI Algorithm which is itself a program. AI Algorithm will look in Data file which is the brain of the program data file will contain all data for example “What is your name or age” Answer “Alexander VII age = 15” these data file can be xml files or an sql Database files it depends on you which language and what format you want to access or store data in these files. The user Command is searched in data file after getting the required info the info is then passed to the Translator which will convert the sentence in to different language even thou translator is not required but you can use it any way if you are making a very powerful program like i did, after this the translator will give the results which can be or understand by the user. To Activate the feeling process we will need an sensor connected to arduino or any hardware component which is capable of determining force when user touches the sensor or you can use any touch device for testing purposes but for this example i have used an arduino and piezoelectric sensors.

The Method is connecting the sensor in X,Y array position even thou there are some scientist who are making Robot skin sensor but these sensor are created in the same way. Connect the Sensors in Matrix and then connect it to the arduino also connect the arduino to the computer. we will be using arduino to determine which sensor is activated in which position and how much force is exerted on that particular sensor for example when a user touches a sensor in this case the user have touched the sensor x[4],Y[3] when the sensor is touched it produces a small current or signal which can be understand by the arduino. we will write a program for arduino in C++ or arduino language to use these signals to generate feelings, we also need to Connect the Arduino program to Ai Program so we can use these signal in our program to determine actions in Datafiles for example a user have touced a sensor in X[4], Y[3] position the sensor send the signal to the arduino microcontroller which is linked to the arduino debugger ,The program which have written for arduino to use sensors will send the results in this case it is X[4], Y[3] to AI program. Ai program will use the results and search for the information that have written for that particular results like “don’t touch me here or it hurts“. Example

if(X[4],Y3 = touch); {search.position X[4],Y[3] in datafile;} else {do nothing;}

Well i recommend combing the two values because it will produce some errors if you are making a real robot skin that can response to touch. Example

Combining X[4],Y[3] = 43

if(pos.int(43) = touch); {search.position[43]  in datafile;} else {do nothing;}

you can also  can use arrays, variables and switches. You can use the same process for the touch device like touch screen monitor.

When the Program has detected the position it will search an Answer or movement for that particular position with some tolerance but in this case there is no tolerance because i am using only 10 sensors and You can also measure how much force is exerted on the sensors and also the temperature with the same method as the position.

if(pos.int(43) = 5N); {search.Position[43+5N] in datafile} else {do nothing;}

you need to do a lot of programming to make it behave like a human does.

Emostion

To give emotion to your program you will be using the same method but you will be using feeling + Special Words to Control the behavior of the program for example i said a joke to a program the program will look special words or special sentences with respect to voice tone (which is another process to increase accuracy but you can leave it) in the Datafile and look for approximate movement in this case it is to laugh or smile, when the user told the a  joke the program will start to laugh but you can also use tiny motors to control facial expression of the robot you can also use fiscal expression algorithm or object recognition algorithm to connect to feeling or emotion for example when your sad or happy your fiscal expression changes the program will recognize the expression and tell you “cheer up” or something else.

this is it if you have some troubles write it in the comments and it will be dumb for robots to have feeling and emotion because robots are perfect but you can make a real human with integrated machines and electronics with feeling ,emotion and much more.

i Will also be writing another blog on self-learning and self-awareness algorithms and programs.

 

What is a MotherBoard

A Motherboard or Main board is a major and the most important part of a computer it is Printed Circuit Board  PCB which holds many of the crucial components of the system.Cpu, Ram, Video Card, NIC, Hard Drive, DVD Rom etc. is connected to the motherboard. A motherboard provides the electrical connections by which the other components of the system communicate. Unlike a backplane, it also connects the central processing unit and hosts other subsystems and devices.

Here is close look of a motherboard

MotherBoards are Aviable in different forms and Sizes but every board is different then other and every form has it on case for example you can fit BTX MotherBoard into a ATX case because BTX is large in size.

Form Factor

Form factor is great way of describing a motherboard’s size and shape, impoertan because it involves industry-wide standards and ties with the computer case and power supply unit PSU.The most common motherboard is ATX(Advanced Technology eXtended).

Motherboard Sizes

ATX             = 305mm X 244mm

MiniATX   = 284mm X 208mm

MicroATX =  244mm X 244mm

FlexATX    =  229mm X 191mm

Balanced Technology eXtended

BTX             =  265mm X 325mm

MicroBTX  = 267mm = 263mm

PicoBTX     = 267mm X 203mm

Here is close look of a ATX motherboard

And here is a close look of a BTX moterboard

Thats it i hope you have learn the basic  information about motherboard.

How to install Autocad 2012

AutoCAD was one of the first Computer Aided Design programs to be made available on personal computers. It is built to help people design buildings, products, or public spaces, without having to draw up plans by hand. It was released in 1982 by Autodesk, Inc., and offered a personal solution to software that was before then released only for larger workstations. While CAD programs prior to AutoCAD required massive amounts of computing power in the form of gigantic computers, AutoCAD streamlined its operating and optimized it for the IBM PC, allowing people to work from home or on their own work computers. AutoCAD is easy to use Software design for engineers & designer for designing a product AutoCAD save its file in Dwg format which means drawing, this format is supported by many cad Software, you can download the latest version  of AutoCAD from Autodesk right Know the latest version is AutoCAD 2012 you can download the 30 days trial version or you can buy the Software i recommend that you just download the trial version right know if you like the Software and found this Software very useful then you can buy it.

How to Download and install AutoCAD

To Download AutoCAD fallow the following Steps.

  • Visit the Autodesk Website.
  • Create an account if you have already made an account just login.
  • Go to the product Section and click AutoCAD or you can search AutoCAD in the search bar.
  • Then click on download if you want to buy the Software you can click the buy Button.
  • After click on the download button you would see a download box click on save to download the software on to your Computer Memory.
  • It will take some time depending on the speed of your internet Speed.
  • After the Software has downloaded locate the AutoCAD setup file and double click on it.
  • Soon you would be promoted with AutoCAD installation setup when the setup has done loaded the necessary installation files.
  • Click on install.
  • Choose your region and accept the license agreement and click next.
  • Choose your license type and product information in this case i am choosing standalone license type and the software will be 30 days trial.

  •  After that browse your desire location or leave it to default and click install to install the Software on to the Computer memory.it will take 10 or 15 minutes to install, till then grab yourself a nice sandwich or potato chip.
  • When the software has install click cancel to close the setup box.
  • Click on the AutoCAD icon on the desktop or you can open the software from Start menu>programs>Autodesk>autocad2012>autocad.exe
  • After this AutoCAD would start to load the necessary files after few seconds you will be promoted to the AutoCAD interface.

Getting knowing the AutoCAD interface

AutoCAD 2012 is a very user friendly Software, and its interface is very neat and polished.

The tools in AutoCAD are located in the ribbon and are divided into tabs and each tab is dived in to panels and some tools are located in the fly out. you can see the image of the ribbon below.

To be continued

How you make your first video game in Unity3d

The unity 3d game engine allows you to make games for iPhone, mac and pc

etc.A user can download.The good news is that the basic version is free. A user can Download fully functional version of  Unity3d for nono-commerical use for free from unity3d.com.

Once you download and install it run the Software, after execution It opens up angry robot demo by defults.

You need to download all resource files from unity web site. You can download first person shooter game source file from this link file name is FPS_Tutorial.zip.

Starting with very basic step i.e. Terrain

Terrain is the ground, filed, land, soil. So Terrain is the place or platform where you make a game.

Create a Terrain

Open up unity3d game engine and go on file tab and click on a new scene .after that go to the Terrain tab and click on the create terrain it simple and easy . If your terrain is too big you can set its size by Clicking on Terrain tab go to set Resolution.Now your terrain is ready as you want.

Add a light

Add a light on a terrain is so easy. Just open the Game object tab than go to create other and simply Select the light style from here and adjust it at any point where you want by moving through the vector Arrows red, green and blue on the light. You can also increase and decrease the intensity of light through inspector Colum which can be visible near the Hierarchy and project Colum. The Inspector displays detailed information about your currently selected Game Object.

Add a texture of the land

Selecting the terrain from the Hierarchy Colum.

Than go to the inspector Colum which displays detailed information about your currently selected terrain .From here you pick the paint terrain texture button

Then click on the edit texture

A new window is open click on the dropdown (picture) and selects the texture for the terrain.

Add trees in a Terrain

To add trees in a terrain first select the terrain from Hierarchy Colum after that go to inspector Colum

And pick the place tree button than go to click the edit texture button at here a new box is open i.e. add tree. In this box select the (bend factor = 1) and click on the dropdown button and select the tree. You can also change the brush size, tree density, tree width, tree height from inspector Colum.

functional of Unity 3d for non-commerical use for free. Once you download and install it. It opens up with basic island demo.

You need to download all resource files from unity web site. You can download FPS_Tutorial.zip.

And all other packages which you need to make a game.

Starting with very basic step i.e. Terrain

Terrain is the ground, filed, land, soil. So Terrain is the place or platform where you make a game.

Create a Terrain

Open up unity3d game engine and go on file tab and click on a new scene .after that go to the Terrain tab and click on the create terrain it simple and easy . If your terrain is too big you can set its size by Clicking on Terrain tab go to set Resolution.Now your terrain is ready as you want.

Add a light

Add a light on a terrain is so easy. Just open the Game object tab than go to create other and simply Select the light style from here and adjust it at any point where you want by moving through the vector Arrows red, green and blue on the light. You can also increase and decrease the intensity of light through inspector Colum which can be visible near the Hierarchy and project Colum. The Inspector displays detailed information about your currently selected Game Object.

Add a texture of the land

Selecting the terrain from the Hierarchy Colum

Than go to the inspector Colum which displays detailed information about your currently selected terrain .From here you pick the paint terrain texture button

Then click on the edit texture

A new window is open click on the dropdown and selects the texture for the terrain.

Add trees in a Terrain

To add trees in a terrain first select the terrain from Hierarchy Colum after that go to inspector Colum

And pick the place tree button than go to click the edit texture button at here a new box is open i.e. add tree. In this box select the (bend factor = 1) and click on the dropdown button and select the tree. You can also change the brush size, tree density, tree width, tree height from inspector Colum.

Add Mountains

To add Mountains in a terrain first select the terrain from Hierarchy Colum after that go to inspector Colum and pick the Rise/lower terrain after that pick the brush size and  put the mouse on the scene

Press and hold the left mouse button and move the mouse up and down and see the results. If you need any change just press and hold the left mouse button with shift key.


Add sky box

To add sky box first go to the Assets tab than  go to import package and select the sky boxes. If you have already the sky boxes in your project Colum than skip from this step.

After importing the package go to Hierarchy and select the main camera than go to the component tab

Go to the sub link i.e. rendering from here select the skybox as the component of main camera

Adding the first person controller

To add the first person controller in the game view .just go in project Colum or panel and use the search button and type the first controller this bring you the first person controller prefab. We explain you about prefab in detail later on. The first person controller is given to us by unity to make game quickly and easily.  You just simply drag first person controller prefab into the scene view.

Adding the weapon

To add the weapon to first person shooter first we go to the project panel and go to the object folder

And open the weapons folder and select the Gun as a weapon and drag it into the scene view. After that

Go to the Hierarchy panel click on to the Gun and drag it into the main camera as child object of main camera the reason  is if the Gun is the child object of main camera it will follow the player all time.

 

How to Cracking Oracle 11g


Download Windows Binary: thc-orakelcrackert11g.tar.gz

OrakelCrackert 1.00 released 20070926
=====================================
OrakelCrackert is an Oracle 11g database password hash cracker using a 
weakness in the Oracle password storage strategy. With Oracle 11g, case 
sensitive SHA1 based hashing is introduced. Storing passwords in a case 
sensitive way introduces more possible password combinations so 
password cracking takes longer. For example, the number of possible 
password combinations using a password generated out of the character 
set "[a-z][A-Z][0-9]#$_" where passwords start with a alpha character 
using is 52/65 * 65 ^ passlength. For an 8 position password this means 
254.915.850.312.500 combinations.

Since Oracle is still storing the DES based password hashes, an attack 
much faster than brute forcing can be launched for most (not all) 
passwords. To do so:

1 - Get both the Oralce < 11g and 11g password hash, for example by 
executing the query "select user, password, spare4 from sys.user$ where 
username = ".

2 - Crack the old DES based password hash (field "password") which is 
generated using the upper case version of the mixed case password 
(note: this is not applicable to all possible passwords in Oracle 11g).

3 - If the upper case password is found, calculate the SHA1 result of 
the ASCII value of the password followed by the salt (nibble 41-60 of 
field SPARE4) to the SHA1 based password hash (nibble 1-40 of field 
SPARE4). Do this for every upper/lower case combination possible until 
you have got a match.

4 - Voila!

Using a password generated out of the character set 
"[a-z][A-Z][0-9]#$_" where passwords start with a alpha character 
(currently supported by OrakelCrackert), the number of password 
combinations shrinks to 26/39 * 39 ^ length (= step 2) + 2 ^ length (= 
step 3). A full brute force for an 8 position password will now at 
maximum 'just' take 3.568.006.173.910 tries. This is about 77 times 
less than the original value.

Example:
========
select name, password, spare4 from sys.user$ where name = 'THC';
THC,435D0D3C8468DBC4,S:D39F4CC16573323279E5E4E16D359D6C55DCC09202B03D5D74B6841CEA2E

USER_PASS = ASCII(USER + GUESSED_PASS)
PASS_UPPER = ORACLEHASH(GUESSES_PASS)
FOR(ALL UPPER/LOWER CASE COMBINATIONS)
	PASS_SALT = ASCII(PASS + SALT)
	GUESSED_CASE = SHA1(PASS_SALT)
	IF(GUESSED_CASE == SPARE4)
		DONE!

With real-life data:
USER_PASS = ASCII(THC + THC#) = 0x54484354484323
PASS_UPPER = ORACLEHASH(0x54484354484323) = 0x435D0D3C8468DBC4
FOR LOOP (only the correct guess):
	PASS_SALT = ASCI(tHC# + 0x02B03D5D74B6841CEA2E) = 
0x7448432302B03D5D74B6841CEA2E
	GUESSED_CASE = SHA1(0x7448432302B03D5D74B6841CEA2E) = 
0xD39F4CC16573323279E5E4E16D359D6C55DCC092
	IF(0xD39F4CC16573323279E5E4E16D359D6C55DCC092 == 
0xD39F4CC16573323279E5E4E16D359D6C55DCC092)
		WE'VE GOT HIM!'

How to use Hydra

Say you have wireless router to which you have forgotten the password. The easiest thing to do in this case is
to reset the router to factory defaults. However if you have a lot of custom settings and your backup is
nonexistent, out-dated, corrupted, or the backup restored a password which you do not remember, you can
try a brute force attack on the router. From http://freeworld.thc.org/thc-hydra/. Hydra currently supports:
TELNET, FTP, HTTP-GET, HTTP-HEAD, HTTPS-GET, HTTPS-HEAD, HTTP-PROXY, LDAP2, LADP3,
SMB, SMBNT, MS-SQL, MYSQL, POSTGRES, REXEC, RSH, RLOGIN, CVS, SNMP, SMTP-AUTH,
SOCKS5, VNC, POP3, IMAP, NNTP, PCNFS, ICQ, SAP/R3, SSH2, Teamspeak, Cisco auth, Cisco enable,
Cisco AAA (incorporated in telnet module)
For the sake of this document I will use a Linksys WRT54GL, hardware v1.1, Linksys firmware 4.30.11 and
dd-wrt v2.4sp1. The first thing you have to do is find out if the device uses a username AND password to
login. Several devices only require a password to login into the device as admin, root, system, etc. The easiest
way to find this out is to goto the vendor’s website and download installation manual which willgive you this
information. For the Linksys firmware
boot BackTrack and login as root 1.
hydra -l “” -P wordlist.txt -f -v -e ns 192.168.1.1 http-get /
-l is for a username which is null in this case
-P is a wordlist of passwords to try
-f stop hydra when it finds the password
-v is for verbose
-e try no password and password the ip address of the device one of the currently supported options
192.168.1.1 is the IP of the AP
http-get is the correct option to this AP
/ is where you have to put in the username and password. In this case you have to put in the username
and password before you can do anything. You will have to figure this out for yourself as each device is
different.
2.
some other option you may need are:
-t TASKS run TASKS number of connects in parallel (default: 16)
You may have to adjust this number down as larger numbers may cause the router to crash or
misbehave. I usually use 10.
-v / -V verbose mode / show login+pass combination for each attempt
3.
As I said earlier, http-get is the correct option for my Linksys AP (with the factory firmware). When you goto
the AP website a dialog box opens and prompts for a username and password. Each AP is different and as
Cracking Passwords Version 1.1 file:///D:/password10.html
23 of 45 2/15/2010 3:48 PM
such you will have to change options as RaginRob found out. The following is a slightly modified version
from his tutorial.
I recently started playing around with Hydra and tried to hack my router. After searching the forum and
googling around a while I noticed that there are only some howto’s for routers that have http-auth
authentication. That is, when you go to 192.168.2.1 e.g. and before showing anything you have to enter login
and password in a popup. My router (T-Com Sinus 154 DSL Basic 3) and many others I’ve dealt with so far
work differently. When I want to login to my router, I have to go to 192.168.2.1, a web interface with a
password field shows up, and I have to enter the password which is then checked by /cgi-bin/login.exe via
http-post.
It was quite tricky to find out how to use this authentication with hydra, so I guess there are some of you that
can benefit from this. I’ll describe how I did it, so you can adapt the method and use it with your own router.
First of all I examined the login page of the web interface. Be sure to look at the frame source and not the
frameset. You should see the form and the action, here’s what I saw:
The form is defined as:
<form name=”tF” method=”post” action=”/cgi-bin/login.exe” onSubmit=”evaltF();”>
Somewhere in the form there will be the field that takes the password:
<input type=”password” name=”pws” class=”stylepwd” size=”12″ maxlength=”12″>
This is probably the most important data you need. You need to write down the field name (“pws” in my
case). The size attribute comes in very handy too because it tells us that the password’s max length is 12
characters.
After that I tried to get familiar with Hydra’s options. I figured out that you needthe following options:
hydra -l “” -P passwords.txt -t 1 -f -v -V 192.168.2.1 http-post-form /cgi-bin
/login.exe:pws=^PASS^:loginpserr.htm
-l Sets the login name. In the end I don’t need a login name but hydra gets kind of pissed when you don’tpass
something, so I gave an empty string.
-P The wordlist to use for the password
-t 1 task only, not really necessary, I just wanted to make sure Hydra doesn’t choke on too many requests -f
Hydra shall stop when a working password is found
-v be verbose. and even more. I skipped that in the final version but it’s ok for debugging
192.168.1.1 is victim’s ip
http-post-form the method to use
/cgi-bin/login.exe:pws=^PASS^:loginpserr.htm
This is the most important part. Here we tell Hydra what to pass the passwords to. The argument consists of
three parts separated by “:”.
The first part is the script that takes the POST data, we found that in the frame source above.
The second part is the field name of the password field with an added =^PASS^. ^PASS^ is the variable that
hydra substitutes with the passwords in the wordlist.
The third part is the “incorrect” condition. Hydra has to find out somehow if the current password that was
send to the router is correct or not. You have to find a string that is actually IN A NEGATIVE RESPONSE
from the router. As we don’t have the password yet we can’t know what the router will send if the password is
correct, therefore we have to check if it is NOT, which we can find out easily. To find out what the router
sends back to hydra I used Wireshark.
Cracking Passwords Version 1.1 file:///D:/password10.html
Open up wireshark, go to the router login page, start capturing and then login with a wrong password. After
that, stop capturing and apply a “http” filter. You will see the POST data sentfrom hydra to the router (you
should also see the “pws=blabla” in the details, that’s where hydra sends the passwords from the wordlist).
Below that you’ll find the router answer. In my case it says something like “This page has moved to
loginpserr.htm” packed in some basic HTML. So I used the string loginpserr.htm to validate the .. uhm…
faultyness. OMFG %-]
Hydra will consider a password as CORRECT when the router answer DOES NOT contain the given string.
So be sure to take an expression that somehow sounds like “incorrect” or “wrong”. If you took “the” for
example, and the POSITVE response would be something like “the password you entered was correct”, hydra
will not recognize it as correct but incorrect.
If your router does not only need a password but also a username, you can easily add the according login
name to the last part. So if you need to send the field “login” or whatever it is called in your case with the
value “admin” as the only username you could use
/cgi-bin/login.exe:login=admin&pws=^PASS^:loginpserr.htm
When you need to try a whole username list then you can specify the list via
-L usernames.txt
and
/cgi-bin/login.exe:login=^USER^&pws=^PASS^:loginpserr.htm
For dd-wrt do
boot BackTrack and login as root 1.
hydra -l admin -P wordlist.txt -f -e ns 192.168.1.1 http-get /login.asp
-l is for a username which is admin in this case. dd-wrt allows the user to chose the username that is
require to login to the device so it could be anything.
-P is a wordlist of passwords to try
-f stop hydra when it finds the password
-v is for verbose
-e try no password and password the ip address of the device one of the currently supported options
192.168.1.1 is the IP of the AP
http-get is the correct option to this AP
/ is where you have to put in the username and password. In this case you have to put in the username
and password before you can do anything. You will have to figure this out for yourself as each device is
different.
2.
some other option you may need are:
-t TASKS run TASKS number of connects in parallel (default: 16)
You may have to adjust this number down as larger numbers may cause the router to crash or
misbehave. I usually use 10.
-v / -V verbose mode / show login+pass combination for each attempt

END of hydra

How to use my MySQL Server”Basics”

MySQL is a database to store the user information MySQL is free and Opensource  it is very easy to use,SQl stand for “structure query language.”

What is Database ?

This is one of the hardest topic to define but i will enplane you as easy as possible lets go, imagine an excel sheet on your mind then divide them into rows and columns and give the row a name like a,b,c,d and give the columns 1,2,3,4 then i want you to store “apple” in a1 if you did it then when you need a apple you would go to a1. this is like an array where the data is stores in specific memory and then pointing that memory to access that data.if you understand this then you know what is a database, a database is used to store large amount of data then application or web pages  use that database to access that data,a user can store there picture,music in a database a user can also password protect the data in a database.

How to install Mysql ?

To install MySQL Server on a windows here is the process you can choose your platform.

  • Download MySQL by visiting here .
  • Download the MySQL windows installer.
  • after Downloading install it on the computer.
  • Locate the directory where MySQL is installed and open it up.

after the above process it would open a console window ,type in password if you have entered any  in the installation process.so lets get started to use MySQL first enter the “help” command basically it will print the list of MySQL commands. To see the Databases enter this command “show databases;”   remember to put semi-colon at the end of the command or statement because it means the command or statement has ended.after typing this command you will see some databases that are created to use these databases we will use the “use” command and the name of the database(e.g. use test).to see tables inside the database we will use the “show tables;” remember we are using the test database, To see which database are you using use the “status;” command to see the current status of the database.under the current database you can see your current database that you are using.this command also shows which database server are you using which TCP port are you using and many more things.to create a database we will use “create database” command and the name of the database (e.g.”create database hello;”) this will create a hello database to see your database type the “show databases” command,To delete a database we will use the “drop database” command and the name of the database(e.g.”drop database hello“)this will completely remove every thing of the database that you have chosen remember to use this command with caution.to use our database that we have created we will then again use the “use” command.Let’s create a Table if you don’t know what is a table you can think of this way think a folder is a database and the files inside that folder are tables,to create a table we will use the ‘create’ command,(e.g.”create table infor (name varchar(25), address varchar(100), age int, pnumber varchar(12));”)so it will create a fields named info and inside that it will create varchar(variable character) which is 25 character long and it will create another varchar which is 100 character long then  int(integer) age and then varchar which is 12 character long.to see your tables that you have created type the “show tables” command it will the show your tables.if you want to see the content of  the infor table use the “describe” command and the name of the table(e.g.”describe infor;”)to erase a table we will use the “drop” command and the name of the table(e.g.”drop table infor”).to insert something in to a table for example our name, address etc.. we will use the “insert into” command and the name of the table.(e.g.”insert into infor values (“sik”, ” fake address”, 14, “5555-555-103”); “) remember string would be in quotes.after that we will select every thing using the “select * from” command and the name of the table(e.g.”select * from infor“) it will basically select every thing from infor table that is inside the “hello” database.if you want to see only address not the name and any other fields the we will use “select”command name of the field and the table name (e.g.”select address from infor”)it will echo the address that is stored in infor.to delete something from the table we will use the “delete from” command and table name then we will type “where” and the name of the field which is equal to content in the field.(e.g.”delete from infro where address=” fake address”).then enter this command “select * from infor” to see if the fake address has deleted or not.

End of MySQL Basics.