Commit 89088bd4 authored by wang's avatar wang

开始按压验证码

parent 2f733bce
...@@ -301,8 +301,8 @@ class PxBypass(): ...@@ -301,8 +301,8 @@ class PxBypass():
return n return n
def _gen_pc(self, t, e): def _gen_pc(self, t, e):
self.log.info(f'genpc t: {t}') # self.log.info(f'genpc t: {t}')
self.log.info(f'genpc e: {e}') # self.log.info(f'genpc e: {e}')
# ctx = execjs.compile(jsCode) # ctx = execjs.compile(jsCode)
h = hmac.new(e.encode(), t.encode(), hashlib.md5) h = hmac.new(e.encode(), t.encode(), hashlib.md5)
t = h.hexdigest() t = h.hexdigest()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment