Made to obfuscate code, but not to protect your code, but hurt other programmers.
This:
def greet():
print("Hello, World!")
if __name__ == "__main__":
greet()
Becomes this:
import pain as ______________________________________________________________________________
______________________________________________________________________________.____________________________________________________________________________(f"""{______________________________________________________________________________.____}{______________________________________________________________________________._____}{______________________________________________________________________________.______}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._______}{______________________________________________________________________________.__________________}{______________________________________________________________________________._____}{______________________________________________________________________________._____}{______________________________________________________________________________.____________________}{______________________________________________________________________________._____________________________________________________________________}{______________________________________________________________________________.______________________________________________________________________}{______________________________________________________________________________._______________________________________________________________________}
{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________.________________}{______________________________________________________________________________.__________________}{______________________________________________________________________________._________}{______________________________________________________________________________.______________}{______________________________________________________________________________.____________________}{______________________________________________________________________________._____________________________________________________________________}{______________________________________________________________________________.________________________________________________________________}{______________________________________________________________________________.__________________________________}{______________________________________________________________________________._____}{______________________________________________________________________________.____________}{______________________________________________________________________________.____________}{______________________________________________________________________________._______________}{______________________________________________________________________________.___________________________________________________________________________}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._________________________________________________}{______________________________________________________________________________._______________}{______________________________________________________________________________.__________________}{______________________________________________________________________________.____________}{______________________________________________________________________________.____}{______________________________________________________________________________.____________________________________________________________________}{______________________________________________________________________________.________________________________________________________________}{______________________________________________________________________________.______________________________________________________________________}
{______________________________________________________________________________._________}{______________________________________________________________________________.______}{______________________________________________________________________________._______________________________________________________________}__{______________________________________________________________________________.______________}{______________________________________________________________________________._}{______________________________________________________________________________._____________}{______________________________________________________________________________._____}__{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________.________________________________________________________________________}{______________________________________________________________________________.________________________________________________________________________}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________.________________________________________________________________}__{______________________________________________________________________________._____________}{______________________________________________________________________________._}{______________________________________________________________________________._________}{______________________________________________________________________________.______________}__{______________________________________________________________________________.________________________________________________________________}{______________________________________________________________________________._______________________________________________________________________}
{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._______}{______________________________________________________________________________.__________________}{______________________________________________________________________________._____}{______________________________________________________________________________._____}{______________________________________________________________________________.____________________}{______________________________________________________________________________._____________________________________________________________________}{______________________________________________________________________________.______________________________________________________________________}""")
Or this:
_ = "a"
__ = "b"
___ = "c"
____ = "d"
_____ = "e"
______ = "f"
_______ = "g"
________ = "h"
_________ = "i"
__________ = "j"
___________ = "k"
____________ = "l"
_____________ = "m"
______________ = "n"
_______________ = "o"
________________ = "p"
_________________ = "q"
__________________ = "r"
___________________ = "s"
____________________ = "t"
_____________________ = "u"
______________________ = "v"
_______________________ = "w"
________________________ = "x"
_________________________ = "y"
__________________________ = "z"
___________________________ = "A"
____________________________ = "B"
_____________________________ = "C"
______________________________ = "D"
_______________________________ = "E"
________________________________ = "F"
_________________________________ = "G"
__________________________________ = "H"
___________________________________ = "I"
____________________________________ = "J"
_____________________________________ = "K"
______________________________________ = "L"
_______________________________________ = "M"
________________________________________ = "N"
_________________________________________ = "O"
__________________________________________ = "P"
___________________________________________ = "Q"
____________________________________________ = "R"
_____________________________________________ = "S"
______________________________________________ = "T"
_______________________________________________ = "U"
________________________________________________ = "V"
_________________________________________________ = "W"
__________________________________________________ = "X"
___________________________________________________ = "Y"
____________________________________________________ = "Z"
_____________________________________________________ = "0"
______________________________________________________ = "1"
_______________________________________________________ = "2"
________________________________________________________ = "3"
_________________________________________________________ = "4"
__________________________________________________________ = "5"
___________________________________________________________ = "6"
____________________________________________________________ = "7"
_____________________________________________________________ = "8"
______________________________________________________________ = "9"
_______________________________________________________________ = " "
________________________________________________________________ = "\""
_________________________________________________________________ = "."
__________________________________________________________________ = "?"
___________________________________________________________________ = "'"
____________________________________________________________________ = "!"
_____________________________________________________________________ = "("
______________________________________________________________________ = ")"
_______________________________________________________________________ = ":"
________________________________________________________________________ = "="
_________________________________________________________________________ = "+"
__________________________________________________________________________ = "-"
___________________________________________________________________________ = ","
____________________________________________________________________________ = exec
_____________________________________________________________________________ = eval
____________________________________________________________________________(f"""{____}{_____}{______}{_______________________________________________________________}{_______}{__________________}{_____}{_____}{____________________}{_____________________________________________________________________}{______________________________________________________________________}{_______________________________________________________________________}
{_______________________________________________________________}{_______________________________________________________________}{_______________________________________________________________}{_______________________________________________________________}{________________}{__________________}{_________}{______________}{____________________}{_____________________________________________________________________}{________________________________________________________________}{__________________________________}{_____}{____________}{____________}{_______________}{___________________________________________________________________________}{_______________________________________________________________}{_________________________________________________}{_______________}{__________________}{____________}{____}{____________________________________________________________________}{________________________________________________________________}{______________________________________________________________________}
{_________}{______}{_______________________________________________________________}__{______________}{_}{_____________}{_____}__{_______________________________________________________________}{________________________________________________________________________}{________________________________________________________________________}{_______________________________________________________________}{________________________________________________________________}__{_____________}{_}{_________}{______________}__{________________________________________________________________}{_______________________________________________________________________}
{_______________________________________________________________}{_______________________________________________________________}{_______________________________________________________________}{_______________________________________________________________}{_______}{__________________}{_____}{_____}{____________________}{_____________________________________________________________________}{______________________________________________________________________}""")
And executes:
Hello, World!
WARNING: PAIN-INATOR DOES NOT SUPPORT VARIABLES INSIDE {}
!
❌❌❌❌❌❌❌
variable = "Hello"
print(f"{variable} World"!)
❌❌❌❌❌❌❌
✅✅✅✅✅✅✅
variable = "Hello"
print(variable + "World"!)
✅✅✅✅✅✅✅
Obfuscate your working python code.
Present the obfuscated code to your boss.
Continue doing this until you are let go.
>>> import paininator
>>> code = "print("Hello, World")
>>> paininator.main(code, independant=False) # 2 Modes, True or False.
import pain as ______________________________________________________________________________
______________________________________________________________________________.________________________________________________________________________________________________________________}{______________________________________________________________________________.________________________________________________________________}{______________________________________________________________________________.__________________________________}{______________________________________________________________________________._____}{______________________________________________________________________________.____________}{______________________________________________________________________________.____________}{______________________________________________________________________________._______________}{______________________________________________________________________________.___________________________________________________________________________}{______________________________________________________________________________._______________________________________________________________}{______________________________________________________________________________._________________________________________________}{______________________________________________________________________________._______________}{______________________________________________________________________________.__________________}{______________________________________________________________________________.____________}{______________________________________________________________________________.____}{______________________________________________________________________________.________________________________________________________________}{______________________________________________________________________________.______________________________________________________________________}""")