![]() |
|
Javascript injections help - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +---- Thread: Javascript injections help (/showthread.php?tid=5676635) |
Javascript injections help - Bronze5 - Jul 23, 2017 Im making javascript injection of hackthissite and through tutorials I got javascript:void(document.forms[0].to.value="[email protected]") But Im confused on what the [0] represent. ALSO,I have a quesion on how to code the ".to.value" part. Do I just add a period after the "area" I'm going to void?? if this form makes no sense sorry. * - THC - Jul 23, 2017 Don't post multiple threads about this. I know you've already posted one in that section, just update that one instead. * - Charger - Jul 23, 2017 0 is the first index of <form> elements. Code <form>Code <form>* - Bronze5 - Jul 23, 2017 sorry for reposting, didnt realize i could jsut update mb and thx for the help Charger |