Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

115
Views
Tracing Javascript in HTMLUnit

Working with a heavily obfuscated and minified Javascript file. I don't have access to original source. My intent is to understand the script and figure out whether it's malicious or not.

I'm looking for a way to trace the Javascript file and find out which functions are getting called. Any actions performed by the script on DOM or standard window functions need to be logged. For example if createElement is called, I want to log that.

I've modified the HTMLUnit code and related Javascript code and have started adding log statements at points of interest. This shows some promise, but some aspects are still not working. For example I know createElement call is being made, but setting breakpoint or adding log statements did not work.

What can I do to trace Javascript calls being made when it comes to DOM or Window objects?

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!