Pages

Wednesday, 30 December 2015

Learn Basic HTML Part 1

What is HTML?


HTML is a markup language for describing web documents (web pages).
  • HTML stands for Hyper Text Markup Language
  • A markup language is a set of markup tags
  • HTML documents are described by HTML tags
  • Each HTML tag describes different document content.


Example Explained

  • The DOCTYPE declaration defines the document type to be HTML
  • The text between <html> and </html> describes an HTML document
  • The text between <head> and </head> provides information about the document
  • The text between <title> and </title> provides a title for the document
  • The text between <body> and </body> describes the visible page content


HTML Tags

HTML tags are keywords (tag names) surrounded by angle brackets:
<tagname>content</tagname>
  • HTML tags normally come in pairs like <p> and </p>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The end tag is written like the start tag, but with a slash before the tag name
Note : The start tag is often called the opening tag. The end tag is often called the closing tag.



Web Browsers


The purpose of a web browser (Chrome, IE, Firefox, Safari) is to read HTML documents and display them.
The browser does not display the HTML tags, but uses them to determine how to display the document:

Note : Only the <body> area (the white area) is displayed by the browser.


HTML Versions

Since the early days of the web, there have been many versions of HTML:

Version                                        Year

 HTML                                         1991

 HTML 2.0                                   1995

 HTML 3.2                                   1997

 HTML 4.01                                 2000

 HTML 5                                       2014


Write HTML Using Notepad or TextEdit

HTML can be edited by using professional HTML editors like:
  • Microsoft WebMatrix
  • Sublime Text
However, for learning HTML we recommend a text editor like Notepad (PC) or TextEdit (Mac).
We believe using a simple text editor is a good way to learn HTML.
Follow the 4 steps below to create your first web page with Notepad.


Step 1: Open Notepad

  1. To open Notepad in Windows 7 or earlier:
  2. Click Start (bottom left on your screen). Click All Programs. Click Accessories. Click Notepad.
  3. To open Notepad in Windows 8 or later:
  4. Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.

Step 2: Write Some HTML

Write or copy some HTML into Notepad.

Step 3: Save the HTML Page

  1. Save the file on your computer.
  2. Select File > Save as in the Notepad menu.
  3. Name the file "index.html" or any other name ending with html or htm.
  4. UTF-8 is the preferred encoding for HTML files.
  5. ANSI encoding covers US and Western European characters only.
Note : You can use either .htm or .html as file extension. There is no difference, it is up to you.


Step 4: View HTML Page in Your Browser

Open the saved HTML file in your favorite browser.

Note : To open a file in a browser, double click on the file, or right-click, and choose open with.

Empty HTML Elements

  1. HTML elements with no content are called empty elements.
  2. <br> is an empty element without a closing tag (the <br> tag defines a line break).
  3. Empty elements can be "closed" in the opening tag like this: </br>.
  4. HTML5 does not require empty elements to be closed. But if you want stricter validation, or you need to make your document readable by XML parsers, you should close all HTML elements.

____________________

Programs Code

Web Page#1: structure.html

Object: Demonstration of Basic Structure of an HTML Document

Source Code



Output



________________________________

Web Page#2: headings.html

Object: Demonstration of Heading Styles in HTML

Source Code



Output



_______________________________

Web Page#3: paragraphs-breaks.html

Object: Demonstration of Paragraphs & Line Breaks in HTML.

Source Code



Output



___________________________________

Web Page#4: textformatting.html

Object: Demonstration of Text Formatting Tags in HTML.

Source Code



Output



_______________________________

Web Page#5: computeroutput.html

Object: Demonstration of Computer Output Tags in HTML.

Source Code



Output



___________________________________

Web Page#6: abbreviation-acronym.html

Object: Demonstration of Abbreviations & Acronyms in HTML.

Source Code



Output



_______________________________

Web Page#7: quotations.html

Object: Demonstration of Long & Short Quotations in HTML.

Source Code



Output



_____________________________________

Web Page#8: right2left.html

Object: Demonstration of Right To Left (RTL) or Hebrew Text in HTML.

Source Code



Output



________________________________

Web Page#9: preformatted.html

Object: Demonstration of Preformatted Text in HTML.

Source Code



Output


______________________________________

Web Page#10: comments-address.html

Source Code



Output


___________________________________

More Program's In HTML Part 2
_____________

Saturday, 19 December 2015

How to Change a Windows User Password Using Backtrack 4

How to Change a Windows User Password Using Backtrack 4


Locked out of your computer? Wanna hack one of your friends? Can't access an old Windows user account? Then this is the article for you!

Step 1 :

Boot Backtrack 4 in your computer.


Step 2 :

Once Backtrack is done loading and the select menu is visible, pick "Start Backtrack Frame Buffer (1024X768)".


Step 3 :

Once you're allowed to type in commands, type in "startx".


Step 4 :

Once the GUI is visible, go to start(Lower-left corner) Backtrack >> Privilege Escalation >> PasswordAttacks >> Chntpw, opening the Chntpw terminal.
(If it shows error "No such files or directory" check correct path to Chntpw executable in File manager).


Step 5 :

Now inside backtrack, you need to find the file path to a file called SAM, usually under 'Windows/System32/config/SAM'.
We will first mount the windows partition first, so that we can access windows directory.


Step 6 :

Type in the following commands in shell console
"mkdir /mnt/sda1" and press Enter
Type again "mount -t ntfs /dev/sda1 /mnt/sda1" and press Enter.


Step 7 :

Now in the shell console type in "/pentest/passwords//chntpw/chntpw -i <SAMFILEPATH>"
Example in this case:
"/pentest/passwords//chntpw/chntpw -i /Windows/System32/config/SAM".
(Note: Windows path should be case sensitive). This will load SAM in chntpw.


Step 8 :

Type in 1. "Edit user data and passwords". It will display all username of Windows partition.


Step 9 :

Type in the username of the Windows account you want to change the password in.


Step 10 :

Type in 1 to clear the password and press Enter.
You can also type in 2 to edit it.


Step 11 :

Once done, type in the username of the Windows account you changed or cleared the password on and Type in 4.
"To unlock account" and press Enter. This will unlock the account and enable it for using.


Step 12 :

Type in "!" and press Enter to return to main menu of chntpw.


Step 13 :

Type in"q" and press Enter to quit chntpw.


Step 14 :

Chntpw will confirm about the changes you made to SAM.
Type "y" and press Enter to Write hive files.


Step 15 :

Done!
Logout and Close Backtrack 4 and restart Windows!



Warning
  • Do NOT use this method on anyone else computer but your own.
  • Please notice that Backtrack is not very stable and can mess up your computer. Do this at your own risk!
Thanks For Visiting My Blogg.
___________________________________________

Friday, 18 December 2015

How to Acquire a New IP Address In Windows

How to Acquire a New IP Address


An Internet Protocol address (known simply as an IP address) is a series of numbers assigned to any device connected to the Internet. Usually appearing as a period-delimited series of 4 numbers with up to 3 digits each, your IP address serves as a marker regarding your computer's communication over a network. To this end, an IP address leaves a kind of "paper trail" that allows your Internet activity to be tracked. To avoid this, you can acquire a new IP address by following a few steps.

Acquire a New IP Address in Windows

Step 1 :

Open the command prompt window. Do this by clicking the "Start" button, and then selecting "Run." In the window that appears, type "cmd" into the text box and click the "OK" button.

Step 2 :

Release the computer's current IP address. To do this, type "ipconfig /release" into the command prompt window and press Enter.


Step 3 :

Acquire a new IP address. Do this by typing "ipconfig /renew" into the command prompt window and pressing Enter. This should assign the computer a new IP address, which will be different from the previous address.


Step 4 :

Cycle your modem's power. If the above steps don't work, you can try renewing your IP address by cycling your modem's power. Turn off both your computer and your modem (and your router, if you have one). Wait at least 5 minutes, then turn everything back on. If your computer is set to receive an IP address dynamically (the most likely configuration), you should be assigned a new IP address automatically.

Step 5 :

Check to make sure your IP address has changed. To do this, you can log on to a number of different websites that tell you your IP address.



Tips
Generally speaking, using the method above can only change your IP to a new one in the same network segment. So, If you need a real new IP address to bypass a firewall, you can try accessing the web through a proxy server instead of getting a new IP address.
  • You may need to contact your service provider.
  • If you access the Internet through a wireless router, you may be able to renew your IP address through the router's login screen.
Thanks For Visiting My Blogger
________________________________________________

Thursday, 17 December 2015

How to Clear BIOS Password

How to Clear BIOS Password



A BIOS or CMOS password is set and entered from a DOS-like prompt after a computer is powered on and before Windows or another operating system loads. If you have a computer with a BIOS password that has been forgotten, or is unknown, you will not be able to get past the password prompt to boot the operating system or even view what is on the hard drive. Fortunately, there are several methods that can be used to bypass a BIOS password and gain access back to your computer.

Method 1 : Resetting Jumpers

Step 1 : 

Disconnect everything from your desktop tower. Before opening your desktop's case, it's recommended that you detach all of the cables that are currently attached to the back.[1]
  • Make sure that the power cable has been detached.
  • You may be able to perform this method on a laptop as well, but it will require removing the protective case from the back of laptop. You will usually need to remove all of the other panels as well as the battery to get access to the motherboard.

Step 2 :

Press the power button after unplugging the computer. This will dissipate any charge remaining in the motherboard's capacitors, reducing the risk of electrostatic damage.


Step 3 :

Remove the screws on the back to access the inside of the case. Most desktops have thumbscrews, though you may need a Phillips-head screwdriver to loosen or remove the screws.
  • You may find it easier to lay the desktop on its side on a table or workbench so that you can easily access the inside without having to bend over.
  • Click here for more detailed information on opening a desktop computer.
  • Click here for more detailed instructions on opening a laptop computer.

Step 4 :

Ground yourself. Before touching anything inside your computer, you should ground yourself to discharge any built-up static electricity. If you discharge when touching a sensitive component, it could damage or destroy it.
  • You can quickly ground yourself by touching a metal water tap.

Step 5 :

Locate the BIOS reset jumper. This jumper is typically two pins, and is almost always blue. It is usually located near the silver CMOS battery (it looks like a watch battery), but this certainly isn't always the case. Refer to your computer or motherboard's documentation if you are having difficulty finding it.
  • The jumper may be labeled CLEAR CMOS, CLEAR, CLR, JCMOS1, PASSWORD, PSWD, etc.[2]
  • If you don't have a reset jumper (and not all computers do), skip down to the next section.

Step 6 :

Move the jumper one pin over. Most BIOS jumpers are installed on two of three available pins. Moving the jumper over by one pin will reset the password.
  • For example, the jumper is covering pins 1 and 2. Move the jumper so that it is covering pins 2 and three.
  • If there are only two pins available, removing the jumper completely will reset the password.

Step 7 :

Wait about thirty seconds. This will ensure that the BIOS sees the changes made by the jumper and clears the password.


Step 8 :

Return the jumper to its original location. After waiting for about thirty seconds, you can return the jumper to its original position.


Step 9 :

Close up your computer and reconnect any cables. You shouldn't need to get back inside the computer after this, so make sure to close it up completely.


Step 10 :

Power on the computer and enter the BIOS. Press the BIOS setup key as the system is booting up. Since you've reset the BIOS, things like your system clock will need to be adjusted. Any settings changes that you previously made in the BIOS, such as drive assignment or boot order will need to be set again.