kevin

kevin 查看完整档案

填写现居城市  |  填写毕业院校  |  填写所在公司/组织填写个人主网站
编辑
_ | |__ _ _ __ _ | '_ \| | | |/ _` | | |_) | |_| | (_| | |_.__/ \__,_|\__, | |___/ 个人简介什么都没有

个人动态

kevin 提出了问题 · 1月17日

ios webclip的工具栏如何隐藏 头部总是显示完成

image

尝试了很多方法 iframe 虽然可以不让他显示出来这个工作栏 ,但是无法全屏,而且js很多无法获取到用户的参数,
网上很多人说设置滑动就可以了 设置了一样不行,window.scroll(0,0) 无效! 设置头部也无效,只要一点击a标签就会显示 我不知道为什么 我已经设置了pjax提交 但是还是会显示这个工作栏

求思否大神查看一下

关注 1 回答 0

kevin 提出了问题 · 1月17日

ios webclip的工具栏如何隐藏 头部总是显示完成

image

尝试了很多方法 iframe 虽然可以不让他显示出来这个工作栏 ,但是无法全屏,而且js很多无法获取到用户的参数,
网上很多人说设置滑动就可以了 设置了一样不行,window.scroll(0,0) 无效! 设置头部也无效,只要一点击a标签就会显示 我不知道为什么 我已经设置了pjax提交 但是还是会显示这个工作栏

求思否大神查看一下

关注 1 回答 0

kevin 回答了问题 · 1月14日

设置session cookie_lifetime退出浏览器不失效 没用呀

image
这是当前的phpinfo ,但是关闭浏览器还是不行

关注 3 回答 2

kevin 关注了问题 · 2020-04-16

python3 执行js出错

这是js代码 由于代码混淆了 要分析出来/thread-354129-1-1.html?_dsign=3183fa78这个链接 我用别的软件调试了js代码没问题 不知道为什么python执行了显示错误

js代码:


var location = {
    href: function ($url) {
        console.log($url)
    },
    assign: function ($url) {
        console.log($url)
    },
    replace: function ($url) {
        console.log($url)
    }
}

function LNm() {
    'return LNm';
    return 'l?'
}
OgF = function(OgF_) {
    var _O = function(OgF_) {
        'return OgF';
        return OgF_;
    };
    return _O(OgF_);
};
_zn0Pw = location;
function WjWx(WjWx_) {
    function htm() {
        return getName();
    };
    return htm();
    return 'WjWx'
}
_WzyE0 = 'replace';
orq = function(orq_) {
    'return orq';
    return orq_;
};
uY = '3';
function D0() {
    'return D0';
    return '4'
}
function kJFm() {
    'kJFm';
    function _k() {
        return '129'
    };
    return _k();
}
r1 = '1';
Mf = function() {
    'Mf';
    var _M = function() {
        return '-'
    };
    return _M();
};
CP9P = function() {
    'CP9P';
    var _C = function() {
        return 'fa7'
    };
    return _C();
};
_oyQzX = 'href';
Ge = 'r';
cp = '/';
DP = function() {
    'DP';
    var _D = function() {
        return '-'
    };
    return _D();
};
function ju() {
    'ju';
    function _j() {
        return '1'
    };
    return _j();
}
function getName() {
    var caller = getName.caller;
    if (caller.name) {
        return caller.name
    }
    var str = caller.toString().replace(/[\s]*/g, "");
    var name = str.match(/^function([^\(]+?)\(/);
    if (name && name[1]) {
        return name[1];
    } else {
        return '';
    }
}
CL = function() {
    'CL';
    var _C = function() {
        return '-'
    };
    return _C();
};
_CzT4j = window;
_JPh6d = 'assign';
location[_WzyE0](cp + 'th' + Ge + 'ea' + (function() {
    'return ZI';
    return (function() {
        return 'd';
    })();
})() + DP() + orq('35') + D0() + kJFm() + CL() + ju() + Mf() + OgF('1.') + WjWx('jM9P') + LNm() + (function(dbo_) {
    return (function(dbo_) {
        return dbo_;
    })(dbo_);
})('_d') + (function() {
    'return fa';
    return (function() {
        return 's';
    })();
})() + (function() {
    'return B52h';
    return (function() {
        return 'ign';
    })();
})() + (function(CaH_) {
    'return CaH';
    return CaH_
})('=3') + r1 + (function() {
    'return mH';
    return (function() {
        return '8';
    })();
})() + uY + CP9P() + (function(mM6_) {
    return (function(mM6_) {
        return mM6_;
    })(mM6_);
})('8'));
_CzT4j['href'] = cp + 'th' + Ge + 'ea' + (function() {
    'return ZI';
    return (function() {
        return 'd';
    })();
})() + DP() + orq('35') + D0();

python3代码


import js2py
 
data=open('sjtest.js','r',encoding= 'utf8').read()
data=js2py.eval_js(data)

print(data)

python3执行后出错的内容:

Traceback (most recent call last):
  File "C:\Users\Xiaoma\Desktop\Source code\test.py", line 34, in <module>
    data=js2py.eval_js(data)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\evaljs.py", line 115, in eval_js
    return e.eval(js)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\evaljs.py", line 204, in eval
    self.execute(code, use_compilation_plan=use_compilation_plan)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\evaljs.py", line 199, in execute
    exec (compiled, self._context)
  File "<EvalJS snippet>", line 4, in <module>
  File "<EvalJS snippet>", line 3, in PyJs_LONG_0_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 949, in __call__
    return self.call(self.GlobalObject, args)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 1464, in call
    return Js(self.code(*args))
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\host\jseval.py", line 45, in Eval
    executor(py_code)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\host\jseval.py", line 51, in executor
    exec (code, globals())
  File "<string>", line 267, in <module>
  File "<string>", line 241, in PyJs_LONG_20_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 949, in __call__
    return self.call(self.GlobalObject, args)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 1464, in call
    return Js(self.code(*args))
  File "<string>", line 23, in PyJsHoisted_WjWx_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 949, in __call__
    return self.call(self.GlobalObject, args)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 1464, in call
    return Js(self.code(*args))
  File "<string>", line 18, in PyJsHoisted_htm_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 949, in __call__
    return self.call(self.GlobalObject, args)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 1464, in call
    return Js(self.code(*args))
  File "<string>", line 74, in PyJsHoisted_getName_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 322, in get
    'Undefined and null dont have properties (tried getting property %s)' % repr(prop))
js2py.internals.simplex.JsException: TypeError: Undefined and null dont have properties (tried getting property 'name')

关注 2 回答 1

kevin 提出了问题 · 2020-04-16

python3 执行js出错

这是js代码 由于代码混淆了 要分析出来/thread-354129-1-1.html?_dsign=3183fa78这个链接 我用别的软件调试了js代码没问题 不知道为什么python执行了显示错误

js代码:


var location = {
    href: function ($url) {
        console.log($url)
    },
    assign: function ($url) {
        console.log($url)
    },
    replace: function ($url) {
        console.log($url)
    }
}

function LNm() {
    'return LNm';
    return 'l?'
}
OgF = function(OgF_) {
    var _O = function(OgF_) {
        'return OgF';
        return OgF_;
    };
    return _O(OgF_);
};
_zn0Pw = location;
function WjWx(WjWx_) {
    function htm() {
        return getName();
    };
    return htm();
    return 'WjWx'
}
_WzyE0 = 'replace';
orq = function(orq_) {
    'return orq';
    return orq_;
};
uY = '3';
function D0() {
    'return D0';
    return '4'
}
function kJFm() {
    'kJFm';
    function _k() {
        return '129'
    };
    return _k();
}
r1 = '1';
Mf = function() {
    'Mf';
    var _M = function() {
        return '-'
    };
    return _M();
};
CP9P = function() {
    'CP9P';
    var _C = function() {
        return 'fa7'
    };
    return _C();
};
_oyQzX = 'href';
Ge = 'r';
cp = '/';
DP = function() {
    'DP';
    var _D = function() {
        return '-'
    };
    return _D();
};
function ju() {
    'ju';
    function _j() {
        return '1'
    };
    return _j();
}
function getName() {
    var caller = getName.caller;
    if (caller.name) {
        return caller.name
    }
    var str = caller.toString().replace(/[\s]*/g, "");
    var name = str.match(/^function([^\(]+?)\(/);
    if (name && name[1]) {
        return name[1];
    } else {
        return '';
    }
}
CL = function() {
    'CL';
    var _C = function() {
        return '-'
    };
    return _C();
};
_CzT4j = window;
_JPh6d = 'assign';
location[_WzyE0](cp + 'th' + Ge + 'ea' + (function() {
    'return ZI';
    return (function() {
        return 'd';
    })();
})() + DP() + orq('35') + D0() + kJFm() + CL() + ju() + Mf() + OgF('1.') + WjWx('jM9P') + LNm() + (function(dbo_) {
    return (function(dbo_) {
        return dbo_;
    })(dbo_);
})('_d') + (function() {
    'return fa';
    return (function() {
        return 's';
    })();
})() + (function() {
    'return B52h';
    return (function() {
        return 'ign';
    })();
})() + (function(CaH_) {
    'return CaH';
    return CaH_
})('=3') + r1 + (function() {
    'return mH';
    return (function() {
        return '8';
    })();
})() + uY + CP9P() + (function(mM6_) {
    return (function(mM6_) {
        return mM6_;
    })(mM6_);
})('8'));
_CzT4j['href'] = cp + 'th' + Ge + 'ea' + (function() {
    'return ZI';
    return (function() {
        return 'd';
    })();
})() + DP() + orq('35') + D0();

python3代码


import js2py
 
data=open('sjtest.js','r',encoding= 'utf8').read()
data=js2py.eval_js(data)

print(data)

python3执行后出错的内容:

Traceback (most recent call last):
  File "C:\Users\Xiaoma\Desktop\Source code\test.py", line 34, in <module>
    data=js2py.eval_js(data)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\evaljs.py", line 115, in eval_js
    return e.eval(js)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\evaljs.py", line 204, in eval
    self.execute(code, use_compilation_plan=use_compilation_plan)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\evaljs.py", line 199, in execute
    exec (compiled, self._context)
  File "<EvalJS snippet>", line 4, in <module>
  File "<EvalJS snippet>", line 3, in PyJs_LONG_0_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 949, in __call__
    return self.call(self.GlobalObject, args)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 1464, in call
    return Js(self.code(*args))
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\host\jseval.py", line 45, in Eval
    executor(py_code)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\host\jseval.py", line 51, in executor
    exec (code, globals())
  File "<string>", line 267, in <module>
  File "<string>", line 241, in PyJs_LONG_20_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 949, in __call__
    return self.call(self.GlobalObject, args)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 1464, in call
    return Js(self.code(*args))
  File "<string>", line 23, in PyJsHoisted_WjWx_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 949, in __call__
    return self.call(self.GlobalObject, args)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 1464, in call
    return Js(self.code(*args))
  File "<string>", line 18, in PyJsHoisted_htm_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 949, in __call__
    return self.call(self.GlobalObject, args)
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 1464, in call
    return Js(self.code(*args))
  File "<string>", line 74, in PyJsHoisted_getName_
  File "D:\Program Files (x86)\Python37-32\lib\site-packages\js2py\base.py", line 322, in get
    'Undefined and null dont have properties (tried getting property %s)' % repr(prop))
js2py.internals.simplex.JsException: TypeError: Undefined and null dont have properties (tried getting property 'name')

关注 2 回答 1

kevin 提出了问题 · 2020-04-16

解决JavaScript小白提问call

var hot = {
    loca: function ($url) {
        msg: function ($url) {
            console.log($url)
        }
    }
}

hot.loca.msg('http://baidu');

为什么这样子运行不了 不能在里面再套一层吗

有什么办法能让 hot.loca.msg('http://baidu'); 打印到控制台吗

关注 3 回答 2

kevin 回答了问题 · 2020-04-13

解决求混淆js加密算法解密

image.png

关注 3 回答 3

kevin 赞了回答 · 2020-04-10

JavaScript字符串解密

去重之后发现里面有 [0-9a-f]。那么怀疑是十六进制,两个就是 255,那么先按这个解一下。
image.png

然后解出来的这个东西啥也不是。。。

image.png

正所谓一动操作猛如虎哦。。你还是打断点跟代码吧。

关注 3 回答 2

kevin 提出了问题 · 2020-04-10

解决求混淆js加密算法解密

急需这个网站的请求后的解密url加密,https://9xbuddy.org/
image.png
服务器返回的url他可以进行解码 js被混淆了 本人对js不懂呀,求大神帮帮忙,在下载链接输入:pornhub.com/view_video.php?viewkey=ph5d35a4f825603,就可以查到内容
求大神解密服务器中的url

关注 3 回答 3

kevin 回答了问题 · 2020-04-10

JavaScript字符串解密

不是解密这个 是解密上面的

关注 3 回答 2

认证与成就

  • 获得 0 次点赞
  • 获得 5 枚徽章 获得 0 枚金徽章, 获得 0 枚银徽章, 获得 5 枚铜徽章

擅长技能
编辑

(゚∀゚ )
暂时没有

开源项目 & 著作
编辑

(゚∀゚ )
暂时没有

注册于 2020-03-06
个人主页被 229 人浏览