ThisisLegal.com

ThisisLegal Forums

Welcome to the forums! A chance for site members to chat and get help.

You are not logged in.

#1 2013-06-04 04:18:48

SledgePalm
Member
Registered: 2013-06-04
Posts: 1

JS Injection

Hey,

I Understand how JS Injection works and can impliment it.
I was just wondering if it mattered if I changed a form with the alert command or the void command.

For example if I want to change an email address.

I would use
javascript:void(document.forms[0].elements[1].value="email@address.com");
Then use the alert command to see if it worked.

But can I just use:
javascript:alert(document.forms[0].elements[1].value="email@address.com");
would this still change the form?

The only difference I noticed is that it opens an alert box with the new value in it.

Also, is JS injection ever permenant?

Thanks


awesome+:mad:=:hanged:

Offline

#2 2013-06-05 03:02:46

Backbite
Member
Registered: 2013-04-26
Posts: 66

Re: JS Injection

read form action

Offline

Board footer

Powered by FluxBB