Last active
April 12, 2022 03:40
-
-
Save ThatXliner/1627c291aaa8899adb3c8a554e7c6ee8 to your computer and use it in GitHub Desktop.
An obfuscated python one-liner that re-cases your inputs in bAsKeTcAsE! Now with a shell-like functionality!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import itertools;print("Say hello to cAsE!\n\tThe world's first case-messing shell. Written in Python 🐍!\nHOW IT WORKS:\n"+'='*12+'\n1. You enter something\n2. iT TrAnSfOrMs iT To sOmEtHiNg cRaZy\n\nEnjoy! 😊 - ThatXliner');[print(''.join([(lambda x,y:y.lower()if x%2==0 else y.upper())(A,B)for(A,B)in enumerate(input('(cAsE)> '))])) for _ in itertools.cycle('a')] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 -c "$(curl -sSf https://gist.githubusercontent.com/ThatXliner/1627c291aaa8899adb3c8a554e7c6ee8/raw/90a60b8bc5a226a9a74d3ba90de82cd24d57f753/bAsKeTcAsE.py)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to @erezsh for the name! https://gitter.im/lark-parser/Lobby?at=5f9ae7c5d5a5a635f28b79ef