Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

233
Visualizações
Discover if a JavaScript payload ran successfully or not

I am using Lua with the HTTP library and I am creating a script that will test for XSS This is the payload i'm using

<image/src/onerror=prompt(8)>

Now the script will do an HTTP request to the website and adding the payload after the query like this ip/?query=<image/src/onerror=prompt(8)>

How can I tell if the prompt was successful and the payload is working?

Are there any hints in the source code or the HTTP request so i can now that the site is vulnerable to XSS?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

No.

Just doing a request and retrieving the resulting HTML source won't have executed the JavaScript (client-side) prompt(8) invocation.

You would need to use a browser to see if the code gets executed; in your case, probably a scriptable browser runner such as Playwright or Puppeteer.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda