3 ms·
> Hackerrank also records videos and takes random screenshots of you when you are taking a tests. Isn't hacker rank a website? How could it possibly do that?
by matheusmoreira 5y ago
> Hackerrank also records videos and takes random screenshots of you when you are taking a tests.
Isn't hacker rank a website? How could it possibly do that?
- fragmede 5y agoThe JavaScript function Media devices.getUserMedia() will do this, and also includes screen sharing possibilities. It will ask the user for permission first but in a test situation, there's high pressure to accept those permissions or fail the test.
- matheusmoreira 5y agoI see. Okay. So we need to patch that funtion to make them think it's working. I wonder if there's an extension for that.
- Deukhoofd 5y agoJust set up a fake webcam
- matheusmoreira 5y agoWill that work with screen shots and screen sharing?
- Deukhoofd 5y agoShould be similar, but you might need to set up some hacks to spoof the browser in thinking it's the screen. https://testrtc.com/manipulating-getusermedia-available-devices/ https://testrtc.com/manipulating-getusermedia-available-devi...
- imajoredinecon 5y agoNo, but other client-side measures could.
- emidln 5y agoThey are giving you javascript which executes on your machine in a browser you control. You can override those APIs do do whatever you want. In my teens, this would probably have served up goatse. Now it's likely to get a picture of a stick figure labeled with my name. They might get upset about defeating the webcam. They probably won't hire you. Whether you can afford to stand up to surveillance as the norm depends on your personal views and financial situation.
- mannykannot 5y agoUnless you could substitute a realistic facsimilie of yourself answering the question, you would probably simply be treated as if you had declined to take the test, or be suspected of attempting to cheat. No-one who uses Hackerrank is going to spend any time trying to figure out whether they should consider you as a viable candidate, they will just move on to the next.
- matheusmoreira 5y ago> Unless you could substitute a realistic facsimilie of yourself answering the question Sounds great. Maybe some harmless pre-recorded loop. Whatever it takes to defeat their surveillance. Also I bet someday someone will come up with some AI thing to generate that video feed...
- cesarb 5y agoWhat if you don't have a webcam? Most desktop computers don't come with a webcam. If you were warned in advance, you could buy or borrow one, but not if it came as a surprise.
- throwaway890112 5y agoThey don't allow you to take the test without the camera. I had to retake the test someother day for Amzn by borrowing laptop. If I remember right microphone should be turned on too.
- stonecharioteer 5y agoHow about a physical webcam blocker so all you get is a black screen?
- charcircuit 5y agoWebsites can ask for permission to use your camera.
- matheusmoreira 5y agoI just deny it by default.
- kcarter80 5y agoMany websites won't function until you approve, and why did you ask your original question if you understood the denial mechanic?
- matheusmoreira 5y ago> Many websites won't function until you approve I suppose we need to find ways to feed them junk data. > why did you ask your original question It was the screen shot thing that surprised me. Had no idea that was possible.
- gsich 5y agoOBS has a feature for that.
- vultour 5y agoBecause if a website asks me to use my webcam I assume it's going to use my webcam. Why is it surprising that it's recording video?
- matheusmoreira 5y agoIt's fine if I actually want them to use the camera. In this case, they're using their leverage to force me to allow access to the camera in order to spy on me for the benefit of third parties.
- kcarter80 5y agoSuch things have been possible via the web for about a decade.
- matheusmoreira 5y agoI know about camera access, there's a permission prompt for that. Didn't know about screen shots. That's honestly terrifying.
- 0xTJ 5y agoThat functionality alone, I don't find terrifying. It's what allows web-based video-conferencing with screen sharing. However, I'd consider this an abuse of it, you should not be pressured into giving consent to do that as part of a job application. The same goes with the terrible online testing platforms that have grown in use during COVID. They're terrible, ineffective, and an invasion in privacy.
- matheusmoreira 5y ago> However, I'd consider this an abuse of it, you should not be pressured into giving consent to do that as part of a job application. Yes, I completely agree. I hate it when Javascript gains new features and capabilities. Everyone is so happy because they'll be able to create more cool stuff, nobody seems to consider how these capabilities will be abused.
- endless1234 5y agoHow is it terrifying? It's pretty nice to be able to share your screen in an online meeting. It has the same kind of permission prompt, of course.
- matheusmoreira 5y agoBecause it will be abused. Just like video game anti-cheating software used to periodically take and exfiltrate screenshots without the user's knowledge. Reading the privacy policies of those things was terrifying.
- djbusby 5y agoGetUserMedia API in the browser
- deleted 5y ago[deleted]