Open janluke opened 6 years ago
I am not sure I can make Opy's simplistic parser understand this. But I'll look into it. Thanks for the feedback!
Still no good solution to this. Haven't completely given up, though.
I found a similar question:
name = 'Eric' print(f'Hello, my name is {name}')
This is valid Python code. After obfuscation, the code contains a syntax error:
name = l11l1opy (u"ࠫࡊࡸࡩࡤࠩࠀ") print(l11llopy (u"ࠬࡎࡥࡲ࠰ࠥࡳࡹࠡࡰࡤࡱࡪࠦࡩࡴࠢࡾࡲࡦࡳࡥࡾࠩࠁ"))
cause a error:
print(l11llopy (u"ࠬࡎࡥࡲ࠰ࠥࡳࡹࠡࡰࡤࡱࡪࠦࡩࡴࠢࡾࡲࡦࡳࡥࡾࠩࠁ")) NameError: name 'l11llopy' is not defined
Code to replicate the issue:
or even:
This is valid Python code. After obfuscation, the code contains a syntax error:
The same happens putting "\" at the end of every line.