0x3C50 / pyobf2

An in-place obfuscator for python 3.11
BSD 3-Clause "New" or "Revised" License
53 stars 8 forks source link

int transformer gives "True" for 1 #5

Closed itskekoff closed 1 year ago

itskekoff commented 1 year ago

I used int transformer which mode is "bits"

# not obfuscated
print(1)
# obfuscated
print(True)  # prints True

could you fix this?

addi00000 commented 1 year ago

Wrapping with int() would solve but isn’t very elegant.

addi00000 commented 1 year ago

True << True >> True also resolves 1.

0x3C50 commented 1 year ago

grafik fixed it