Get support for gRoussac/evaluator
If you're new to LTH, please see our FAQ for more information on what it is we do.
Support Options
Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:
View Open IssuesTake a look to see if anyone else has experienced the same issue as you and if they managed to solve it.
Open an IssueMake sure to read any relevant guidelines for opening issues on this repo before posting a new issue.
Sponsor directlyCheck out the page and see if there are any options to sponsor this project or it's developers directly.
gRoussac/evaluator
Evaluator
This project aims to ease evaluating the parameters of javascript functions on a website.
Typically helps with deobfuscating https://stackoverflow.com/questions/32977908/how-can-i-deobfuscate-this-javascript using String.fromCharCode or window.eval or other functions like JSON.stringify
Deployed on Render at evaluator.onlyeum.io (beta ποΈπΈοΈπ·οΈ)
References :
- https://www.getastra.com/e/malware/infections/the-presence-of-these-malicious-javascript-are-the-sign-of-hacked-opencart-magento-or-prestashop-store
- https://github.com/gwillem/magento-malware-scanner/blob/master/rules/frontend.txt


Quick Start & Documentation
API
Use
evaluate/?url=[site url]&function=[function to evaluate]
Example
http://localhost:4200/evaluate/?url=https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_eval&function=window.eval
a screen shot of the website will be provided in the response stream.
π³ Docker
Build and run image with Dockerfile πββοΈ
cd docker
docker build -t evaluator . --force-rm
docker compose up
π§ββοΈ Development
Prerequisites
- npm >= 8.19.2
- nodejs >= 18.7.0 & < 19
π οΈ Usage with npm
Run npm install to install the application.
npm install
Development server
Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
npm start
Build
Run npm run build to launch Jest test the project. The build artifacts will be stored in the dist/ directory.
npm run build
π¦ Usage with Rust
Install
π Go to
evaluatorsubfolder
cd ./evaluator
cargo build
cargo run
-
Five parameters :
-
-pathor-pcsv file to load (first column is website domain) -
-functionor-fthe function to evaluate -
-nb_threadsor-nthe number of threads -
-timeoutor-tthe navigation timeout -
-search_patternor-sa pattern to searchExample
cargo run -- -p All-Live-Magento-Sites.csv -f window.eval -n 5 -s checkout
π License
π¦Ί Security
πͺ¦ Errors ?
If you see any typos or errors you can edit the code directly on GitHub and raise a Pull Request on master branch, many thanks !
Our Mission
We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated
p-e622a1a2