Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.







challenges:
- name: XSS Tier 1
hints:
- text: Well, I prefer stripes, but let‘s do some cross site scripting! First, let‘s search for „wasp“ in the Search box at the top of the page!
page: score-board
fixture:
- type: id
- value: XSS Tier 1
position: right
- text: Good! You can see, the search value you typed also appears on top of the result list so you remember what it was! How convenient…
page: search
fixture:
- type: ng-bind-html
- value: searchQuery
position: right
hideAfterHint: true
- text: Now, search for this instead and observe what happens… „<h1>wasp“
page: search
fixture:
- type: ng-model
- value: searchQuery
position: bottom
- text: Whoops, what happened here? You might want to inspect the text with your Browser DevTools to find out! Click me when you need more help!
page: search
fixture:
- type: ng-bind-html
- value: searchQuery
position: right
hideAfterHint: true
...
I will most likely be taking up this issue over next few month, together with @jorgestiga.
Hey @J12934 , can I draft a proposal for this project or are you working on it?
Thanks!
🚨 Hacking Instructor is claimed by @J12934. Putting ideas here into the ticket is of course welcome, just please no implementations right now. Thanks!
Oh alright, thanks!
Great progress happening in hacking-instructor branch! Some notes/questions for future increments:
main.js? This would allow e.g. CTF-participants to very easily cheat even when the tutorial mode is turned off via configuration. Could scripts be lazily loaded from server be an option?i18n so the JSON files do not get mixed up too easily.What might also be nice is to write a initial Hacking Instructor Instruction to help users find the scoreboard. This could possibly be linked in the new welcome banner to help new users find the scoreboard and the other hacking instructions.
@J12934 Do you have any smart idea how we can make sure the speech bubbles do not appear too close to the window edges, no matter what anchor you pick? It sometimes overflows the screen or scrolls a bit weirdly. Best example is "Login as Admin" script right now.
@J12934 Do you have any smart idea how we can make sure the speech bubbles do not appear too close to the window edges, no matter what anchor you pick? It sometimes overflows the screen or scrolls a bit weirdly. Best example is "Login as Admin" script right now.
Yeah i think this is pretty hard. Not sure if / how it can be done by CSS alone.
Might need some javascript logic to place the bubble differently when its to close to a edge.
@bkimminich,
I just downloaded and installed the JS. Everything works fine but I do not see the Scoreboard to be able to do the challenges. What am I missing???
Please advise,
thank you
C. Ray Mallory
You need to find the Score Board first. There's a Hacking Instructor button to guide you on the Welcome Banner.
Most helpful comment
🚨 Hacking Instructor is claimed by @J12934. Putting ideas here into the ticket is of course welcome, just please no implementations right now. Thanks!