The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

What is the role of divis in this script?

Dany | Last updated: Jan 13, 2020 07:15AM UTC

We have this script, " '-alert(1)-' ". I tried to execute this script in lab without "-" and it didn't work. So I searched about it, but didn't find anything interesting to make it clearer for myself. Why is divis so important in this script, what does it do? Could you explain it to me please?

Ben, PortSwigger Agent | Last updated: Jan 13, 2020 09:11AM UTC

Hi, The ' character is terminating the JavaScript string literal and then the - character is terminating the statement allowing you to subsequently enter your payload. Please let us know if you require any further information.

Burp User | Last updated: Jan 24, 2020 12:42PM UTC