Home » Hack the Box Bike Machine

Hack the Box Bike Machine

by Hack The Box Forums
0 comment

I cannot get the final three node.js codes to give the appropriate output. It won’t accept “root”, but rather gives syntax errors.

Once I change the return process line to “this.push “return process.mainModule.require(‘child_process’).execSync(‘whoami’);”, it gives me output but does not indicate “root” in the return.

Then all other node.js codes that follow only provide me syntax errors. I’ve tried copying, typing, running this on the HTB desktop, running the lab on a VPN through ParrotSec, and I get stuck at this point every time.

1 post – 1 participant

Read full topic

Source: Read More

You may also like

Leave a Comment


Cybernonstop is created to bring news and knowledge through articles to visitors.

Do not forget to subscribe.

Laest News

@2021 – All Right Reserved. Designed and Developed by PenciDesign