TechSpiritSS / Terminal-Portfolio

Terminal Style Portfolio made with HTML / CSS / JS
MIT License
62 stars 82 forks source link

[Bug]: `calc` is using `eval` directly #144

Closed Siddhesh-Agarwal closed 1 year ago

Siddhesh-Agarwal commented 1 year ago

Contact Details

siddhesh.agarwal@gmail.com

What happened?

So the calc command in the terminal is using eval() directly leaving the website open to a range of problems.

image

What should have happened?

Apart from math functions, no command should be allowed to be executed without strict mode

What browsers are you seeing the problem on?

No response

Version

No response

Relevant log output

No response

TechSpiritSS commented 1 year ago

Go for it 🚀