JavaScript injection question

Learn the basics of how to exploit JavaScript.

JavaScript injection question

Post by UNSC_AI8085 on Fri Dec 11, 2009 7:43 am
([msg=31255]see JavaScript injection question[/msg])

Hello i want to change the value sent in a form using javascript injection .How do i refer to the value if it has no name.

eg this works javascript:alert(document.forms[0].answer.value)
but the other input has no name.

What i am trying to use javascript injection to do SSI injection sent through a modified form...i wonder if it will work...

this is for a HTS mission ( thread locked) , but this is a generic question

-- Sat Dec 12, 2009 6:33 pm --

how do i delete the thread?
UNSC_AI8085
Experienced User
Experienced User
 
Posts: 67
Joined: Wed Dec 02, 2009 9:17 pm
Blog: View Blog (0)


Re: JavaScript injection question

Post by sanddbox on Mon Dec 21, 2009 11:38 pm
([msg=31686]see Re: JavaScript injection question[/msg])

You could use firebug to edit it; it would make it far easier than javascript.
Image

HTS User Composition:
95% Male
4.98% Female
.01% Monica
.01% Goat
User avatar
sanddbox
Expert
Expert
 
Posts: 2337
Joined: Sat Jul 04, 2009 5:20 pm
Blog: View Blog (0)


Re: JavaScript injection question

Post by cilpolir on Tue Dec 22, 2009 7:50 am
([msg=31703]see Re: JavaScript injection question[/msg])

sanddbox wrote:You could use firebug to edit it; it would make it far easier than javascript.

I agree with sanddbox on this one, Firebug is a wonderfull tool whitch let you edit site's from within your firefox browser.
It can be downloaded from here and if you don't have firefox (shame on you :P) you can download that here
Image
User avatar
cilpolir
Poster
Poster
 
Posts: 214
Joined: Sat Sep 12, 2009 10:46 am
Blog: View Blog (0)



Return to Javascript

Who is online

Users browsing this forum: No registered users and 0 guests

cron