venaxyt / mysterium

Mysterium the first tool which permits you to retrieve the most part of a Python code even the .py or .pyc was extracted from an executable file, even it is encrypted with every existing encryptage. Mysterium don't make any difference between encrypted and non encrypted files, it can retrieve code from Pyarmor or .pyc files.
https://github.com/venaxyt/mysterium
MIT License
182 stars 31 forks source link

TypeError: unsupported operand type(s) for |: 'str' and 'str' #14

Closed pp0236 closed 2 years ago

pp0236 commented 2 years ago

any help?

  [>] Enter uninspected file path : zaz.pyc

import random
import re
import re
re.escape(~)
re.escape(})
re.escape(|=)
re.escape(|)
re.escape({)
re.escape(^=)
re.escape(^)
re.escape(])
re.escape([)
re.escape(@=)
re.escape(@)
re.escape(>>=)
re.escape(>>)
re.escape(>=)
re.escape(>)
re.escape(==)
re.escape(=)
re.escape(<=)
re.escape(<<=)
re.escape(<<)
re.escape(<)
re.escape(;)
re.escape(:=)
re.escape(:)
re.escape(/=)
re.escape(//=)
re.escape(//)
re.escape(/)
re.escape(...)
re.escape(.)
re.escape(->)
re.escape(-=)
re.escape(-)
re.escape(,)
re.escape(+=)
re.escape(+)
re.escape(*=)
re.escape(**=)
re.escape(**)
re.escape(*)
re.escape())
re.escape(()
re.escape(&=)
re.escape(&)
re.escape(%=)
re.escape(%)
re.escape(!=)
re.escape($)
Traceback (most recent call last):
  File "CNPFLOOD.py", line 3, in <module>
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/__init__.py", line 23, in <module>
    import logging
  File "/usr/lib/python3.8/logging/__init__.py", line 28, in <module>
    from string import Template
  File "/usr/lib/python3.8/string.py", line 80, in <module>
    class Template(metaclass=_TemplateMetaclass):
  File "/usr/lib/python3.8/string.py", line 77, in __init__
    cls.pattern = _re.compile(pattern, cls.flags | _re.VERBOSE)
TypeError: unsupported operand type(s) for |: 'str' and 'str'

  [>] The code is finished, don't forget to follow @venaxyt / @IDRALOU / @Bleu-No / @vjousse on Github
pp0236 commented 2 years ago

im try delete re.py in modules and i got this error "AttributeError: 'str' object has no attribute 'get'" instead of "TypeError: unsupported operand type(s) for |: 'str' and 'str'"

venaxyt commented 2 years ago

Hey bro send me a screen for me to help you.