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

95
Views
agregue javascript descifrado dentro de javascript

Estoy tratando de agregar javascript descifrado y no funciona

 var decrypedjs = "alert(\"test\")" //for example; function start() { decrypedjs };

y el html

 <button onclick="start()">started</button>

He buscado en muchas fuentes y lo que estoy encontrando no es realmente útil o no funciona.

 var newScript = document.createElement("script"); var inlineScript = document.createTextNode("alert('Hello World!');"); newScript.appendChild(inlineScript); target.appendChild(newScript);
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

No voy a comentar ningún punto de seguridad que no sea no usar eval con cadenas de fuentes externas (post-, obtener parámetros, etc.), pero está buscando el método eval:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval

 var decrypedjs = "alert(\"test\")" //for example; function start() { eval(decrypedjs); }; start();

about 4 years ago · Juan Pablo Isaza Report
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!