question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[🐛] Hacking Instructor doesn't take into account a custom domain

See original GitHub issue

🐛 Bug report

Description

Hacking Instructor doesn’t take into account a custom domain.

Here’s a part of my custom config:

application:
  domain: "example.com"

Take the “Login Jim” challenge instructor script. At the stage of inputting Jim’s email, the instructor script expects “jim@juice-sh.op” and not “jim@example.com”.

Looking at the source code, looks like there’s already a TODO: https://github.com/juice-shop/juice-shop/blob/57b5d56da23104a7040371eb919147f917386950/frontend/src/hacking-instructor/challenges/loginJim.ts#L67

I’m planning to use Juice Shop as a fun learning CTF for the developers in my company, and, since they’re not very experienced with hacking and security, the Hacking Instructor scripts are a really good feature, as it could give a nice boost to start solving challenges.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bkimminichcommented, Nov 20, 2021

With v13.0.0 this is now supported via an extra option to waitForInputToHaveValue:

resolved: waitForInputToHaveValue('#email', 'jim@juice-sh.op', { replacement: ['juice-sh.op', 'application.domain'] })
0reactions
github-actions[bot]commented, Nov 22, 2022

This thread has been automatically locked because it has not had recent activity after it was closed. 🔒 Please open a new issue for regressions or related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

This Site's Domain is Stolen | CSS-Tricks
Hacker gains access to my GoDaddy account and GMail account. He initiates the domain transfer away from GoDaddy: unlocking domain, ...
Read more >
Domain Hijacking and How to Protect Yourself
Not owning your domain under your name can easily lead to the domain being hijacked, because you won't be able to prove that...
Read more >
Running your own email is increasingly an artisanal choice ...
Getting your own domain and using a provider such as fastmail or proton is a first step that gives you lots of security...
Read more >
Locked out of “God mode,” runners are hacking their ...
While NordicTrack doesn't advertise privilege mode as a customer feature, its existence isn't exactly a secret. Multiple unofficial guides tell ...
Read more >
Can I get hacked only by clicking on a link without ...
Yes, you can get hacked. The process works like, 1. Hacker will make a link by which he can easily get to your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found