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

Prevent unexpected error #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

abdilahrf
Copy link

Traceback (most recent call last):
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 123, in <module>
    main()
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 120, in main
    EXP(sys.argv[1])
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 117, in __init__
    self.exp()
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 108, in exp
    print(self.__rce())
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 96, in __rce
    text = text[text.index(']'):].replace("}","").replace("]","")
ValueError: substring not found

image

```
Traceback (most recent call last):
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 123, in <module>
    main()
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 120, in main
    EXP(sys.argv[1])
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 117, in __init__
    self.exp()
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 108, in exp
    print(self.__rce())
  File "/home/abdilahrf/Tools/CVE-2021-3129/exp.py", line 96, in __rce
    text = text[text.index(']'):].replace("}","").replace("]","")
ValueError: substring not found
```
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

Successfully merging this pull request may close these issues.

1 participant