Hack Forums
Test your javascript skills | XSS challenge 2 - 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: Test your javascript skills | XSS challenge 2 (/showthread.php?tid=5542040)

Pages: Pages 1 2


Test your javascript skills | XSS challenge 2 - redlightrouter - Feb 3, 2017

Hello all,

I made a little XSS challenge that's pretty advanced, I think alot harder than the other one I made. (https://hackforums.net/showthread.php?tid=5483982 )

It's different from the other one I made, but I don't want to spoil what's different ;).

Here is the link:
Quote:http://xsschallenge.coolpage.biz/xss2.php

I expect you guys to be sweet with this one ^^
ps. dont forget to pm me your vector.

Thanks Ryuga, for helping me not being dumb lol.

Good luck.

Spoiler (Click to View)

EDIT:

I've updated it alot. I'm now 80% sure other vector won't be possible than the one I had in mind.


* - Ryuga - Feb 3, 2017

~ easy one, ty.
[Image: l9A7GcZ.png]


* - Faith Connors - Feb 3, 2017

goddamn, right when i have to go on a road trip :(
well, remember to leave some vectors open for me to give it a shot lmao


* - redlightrouter - Feb 3, 2017

(Feb 3, 2017 01:19 PM)Faith Connors Wrote:  goddamn, right when i have to go on a road trip :(
well, remember to leave some vectors open for me to give it a shot lmao

Ofcourse Faith :). Enjoy your road trip.


* - Faith Connors - Feb 5, 2017

bumping back up for easy access
also just got home so lets give it a shot

without the php this would have been hard af dude lmao
but at least i actually kinda get whats going on so thanks for that i appreciate it lmao

Done:
[Image: 8SnkUIS.png]


* - Ryuga - Feb 6, 2017

Did the #1 as well ..
Spoiler (Click to View)


* - redlightrouter - Feb 7, 2017

(Feb 6, 2017 10:47 AM)Ryuga Wrote:  Did the #1 as well ..
Spoiler (Click to View)

Nice! That one was fairly easy if you understand javascript. Many people here only understand common xss payloads, thats why I made the challenge.
Also, I have to say that you're pretty dang good with xss. Keep it up :).

Well I think it's time for the solution since I was pretty bitchy about this one (sorry about that 😏)

Here it is (includes images):
Spoiler (Click to View)
I'd like to thank you all for participating in this challenge. I've learned some new payloads by making these challenges and I hope I learned you some new things aswell.


* - Faith Connors - Feb 7, 2017

found a new vector but dont want u to patch it zzzzz feelsbad lmao
whatever, these are training me to get better so thx bby <3


* - Ryuga - Feb 8, 2017

Well done! 🙂 - btw this is one of the shortest payload(s) to alert 'xss' ✌
Spoiler (Click to View)


* - Faith Connors - Feb 8, 2017

(Feb 8, 2017 12:05 AM)Ryuga Wrote:  Well done! 🙂 - btw this is one of the shortest payload(s) to alert 'xss' ✌
Spoiler (Click to View)

goddamn youre better than js than me lmao
mine was maybe twice as long, involved newlines


* - Ryuga - Feb 8, 2017

(Feb 8, 2017 05:39 AM)Faith Connors Wrote:  goddamn youre better than js than me lmao
mine was maybe twice as long, involved newlines

Thanks but tbh, I'm not good at js, I'm still trying to learn it .. here's what you should (or I try when trying to XSS in such context) ..
Quote:Arithmetic Operators
Comparison and Logical Operators
Bitwise Operators
and of course, closing teh "thing" and commenting out/balancing the line! ');alert(1)//
🎉


* - •^v^–[ bLacKn3x ]–^v^• - Feb 8, 2017

Spoiler (Click to View)


* - redlightrouter - Feb 8, 2017

(Feb 8, 2017 12:05 AM)Ryuga Wrote:  Well done! 🙂 - btw this is one of the shortest payload(s) to alert 'xss' ✌
Spoiler (Click to View)

Dude stop bypassing and making me feel bad 😟
Jk, I love learning by your payloads. You see I'm not the best in scripting so I'll miss a lot of things that could bypass it. I won't patch anything from now on btw.

(Feb 7, 2017 08:56 PM)Faith Connors Wrote:  found a new vector but dont want u to patch it zzzzz feelsbad lmao
whatever, these are training me to get better so thx bby <3

No problem. Glad you're enjoying these challenges ;)


* - suffixor - Feb 9, 2017

What I ended up with.

Spoiler (Click to View)


* - redlightrouter - Feb 10, 2017

(Feb 9, 2017 08:36 PM)suffixor Wrote:  What I ended up with.

Spoiler (Click to View)

Nice! After Ryuga bypassed this numerous times I also came up with
Spoiler (Click to View)