Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookie_pre is different on different computer #1

Closed
sa1tor opened this issue Dec 4, 2017 · 1 comment
Closed

cookie_pre is different on different computer #1

sa1tor opened this issue Dec 4, 2017 · 1 comment

Comments

@sa1tor
Copy link

sa1tor commented Dec 4, 2017

phpcms_v9.6/exp/phpcmsv9.6_sqli+getshell.py第30行

cookies = requests.utils.dict_from_cookiejar(s.cookies)['svyko_siteid']

不同的计算机中显示的cookie_pre是不同的,所以不能直接固定为svyko_sited的,还是用原来的那两行代码即可。

cookie = requests.utils.dict_from_cookiejar(s.cookies)
cookies = re.findall(r"siteid': '(.*?)'",str(cookie))[0]
@yaofeifly
Copy link
Owner

嗯,已修改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants