Skip to content

poggersbutnot/pbn_obfuscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PBN Obfuscator

PBN Obfuscator is a overpowered obfuscator for python, which will help you protect your source code.

How to use

If you are running the file directly without any custom sys.argv arguments then you can input your code. And if there are custom sys.argv arguments then it will go like this: python3 obfuscator.py . However if you aren't running the file directly then you can just call the obfuscate() function.

Example

Original:

print("Made by poggersbutnot.")

Obfuscated:

def llnt(*eyjx):
    wgommt = []
    for teyij in eyjx:
        wgommt.append(getattr(__import__("\x62\x75\x69\x6c\x74\x69\x6e\x73"), "\x63\x68\x72")(teyij))
    return ''.join(wgommt)
getattr(__import__("\x62\x75\x69\x6c\x74\x69\x6e\x73"), "\x65\x78\x65\x63")(getattr(__import__("\x62\x75\x69\x6c\x74\x69\x6e\x73"), "\x65\x76\x61\x6c")(llnt((0x218%61)-(0xe),(0x215//207)-(-0x5a),(0x241%0x116)-(-0o143),(0x246//78)-(-0x30),(0x204%0x25)-(-0o15),(0x246^0o144)-(0x1c6),(0x204//199)-(-0x76),(0x214//0x207)-(-0x36),(0x218&0x50)-(-0b100010),(0x246&0x61)-(-0x1c),(0x247%0b11101000)-(-0o1),(0x218^57)-(0x1eb),(0x246^0x143)-(0x2cc),(0x239-200)-(0o425),(0x246%0x228)-(-0o132),(0x218^57)-(0o753),(0x202^0b11001)-(0o666),(0x218^0x29)-(0o725),(0x202//0b10000111)-(-0o165),(0x250-0x200)-(0x19),(0x204//200)-(-0o62),(0x214%114)-(-0x10),(0x215|0x232)-(0x1bf),(0x218//0o752)-(-0x31),(0x246-0x207)-(0x7),(0x204%0x226)-(0x1a8),(0x247|0x232)-(0o777),(0x239%100)-(0x13),(0x214^0b111010)-(0b111111100),(0x247%0b1100100)-(-0o11),(0x239%0x199)-(0o50),(0x247%0x196)-(0o175),(0x247&0b110010)-(-0o142),(0x239%228)-(0x15),(0x215%0b11100111)-(-0x31),(0x220//0b10011001)-(-0o63),0x31,(0x218%232)-(-0o24),(0x215|100)-(0o775),(0x247^143)-(0x292),(0x219-160)-(0o505),(0x204%0x100)-(-0x58),(0x246%0x100)-(-0x32),(0x218*0x141)-(0o517742),(0x215^0b11000111)-(0x29d),(0x214+0x25)-(0b111011101),(0x247&0b111010)-(-0b1110110),(0x214&52)-(-0o36),(0x202//0b11001111)-(-0x2e),(0x239|0x100)-(0o1335),(0x214&0o247)-(-0x74),(0x215|199)-(0o1241),(0x241|0x228)-(0x237),(0x215|0b11001000)-(0b1010000001),(0x218//0b110010)-(-0b1101110),(0x202^0b11010)-(0b111100001),(0x215%0b11100111)-(0b1110),(0x247%231)-(0o35),(0x247%0b1100100)-(-0o45),(0x247%0x225)-(-0x10),(0x218//207)-(-0x2e),(0x247%0b11000111)-(0b1011101),(0x214|231)-(0o1177),(0x214%0b11101000)-(0xd),(0x247%0b11100100)-(0x4f),(0x239%0b11101000)-(0o15),(0x218^0b11110100)-(0b1001110100),(0x218&0x58)-(-0o36),(0x218%232)-(-0o36),(0x247%0x199)-(0x52),(0x239%0x228)-(-0x67),(0x239%0b11101000)-(0o63),(0x239%0b11101000)-(0o62),(0x214^0b111010)-(0x1d2),(0x214|228)-(0o1174),(0x239|0b11101000)-(0b1011000011),(0x241|0x199)-(0o1642),(0x247%0x232)-(-0o107),(0x246%0x231)-(-0x63),(0x214%231)-(0o20),(0x247%104)-(0o12),(0x239^0b111001)-(0o644),(0x214%0b1100100)-(-0b1011000),(0x214^0b111010)-(0x1f7),(0x247%232)-(0x45),(0x214&0b110010)-(-0b1001100),(0x247%200)-(0o77),(0x239%0x228)-(-0x26),(0x218%104)-(-0x23),(0x247%0x232)-(-0x47),(0x241%0x116)-(-0o143),(0x214^0x26)-(0o774),(0x218^0b10011101)-(0b1001010011),(0x239%232)-(0o15),(0x239%228)-(-0o7),(0x215|0x199)-(0o1546),(0x247-0x199)-(0o171),(0x215%231)-(-0o25),(0x218&0b11001)-(-0x60),(0x247%0x100)-(0x10),(0x202//0b11001111)-(-0b110010),(0x202&0b11010)-(-0b1011010),(0x247%0x100)-(-0o61),(0x241|0x58)-(0o1043),(0x247^0b111010)-(0o1030),(0x247%0x199)-(0x52),(0x247%231)-(0x1),(0x214^0b111010)-(0o770),(0x247|231)-(0o1201),(0x239%0x232)-(-0o125),(0x239-199)-(0xfa),(0x215|0b11000111)-(0x2a0),(0x214%0x199)-(0o107),(0x218^0b111101)-(0x1c9),(0x214|232)-(0o1204),(0x202%100)-(-0o44),(0x218&0x50)-(-0o125),(0x250-0x151)-(0o243),(0x218%0b11100100)-(-0b101000),(0x241-141)-(0x182),(0x247|199)-(0o1225),(0x239%0x100)-(-0o43),(0x218^0b10011101)-(0b1000001101),(0x246%0b1110100)-(-0x30),(0x247%232)-(0o76),(0x239|0x200)-(0o1027))))