Basic Hacking: Javascript Injection Prank

Essay specific features

 

Issue:

Technology

 

Written by:

Bryan R

 

Date added:

September 24, 2014

 

Level:

 

Grade:

A

 

No of pages / words:

3 / 598

 

Was viewed:

4777 times

 

Rating of current essay:

 
Essay content:

we set a variable to a and made it alert the value of a. now heres where it gets more advanced. go to a page with a login form like gmail.com and type this into the url bar javascript:alert(document.forms[0].action) the document function as you might have guessed documents something. as for the forms[0], your asking for the form (a type of html tag for those who dont know) and the number 0 (the first one on the page)...
displayed 300 characters

Custom written essay

All essays are written from scratch by professional writers according to your instructions and delivered to your email on time. Prices start from $10.99/page

Order custom paper

Full essays database

You get access to all the essays and can view as many of them as you like for as little as $28.95/month

Buy database access

Order custom writing paper now!

  • Your research paper is written
    by certified writers
  • Your requirements and targets are
    always met
  • You are able to control the progress
    of your writing assignment
  • You get a chance to become an
    excellent student!

Get a price guote

 
 

as for the forms[0], your asking for the form (a type of html tag for those who dont know) and the number 0 (the first one on the page). and the action is where the form submits too. now what were to happen if we were to change this value through a void, try it javascript:void(document.forms[0].action="http://www...
displayed 300 characters

General issues of this essay:

Related essays:

x
Services