Skip to content

Instantly share code, notes, and snippets.

@terremoth
Created May 31, 2022 02:59
Show Gist options
  • Select an option

  • Save terremoth/7a3360dee882da74f0d90ffbfd2c78db to your computer and use it in GitHub Desktop.

Select an option

Save terremoth/7a3360dee882da74f0d90ffbfd2c78db to your computer and use it in GitHub Desktop.
Python Hello World the Worst Way
list(map(lambda x: (__import__('sys').platform.__ne__('\x77\x69\x6e32') and __import__('ctypes').cdll.LoadLibrary('libc.so.6') or __import__('ctypes').cdll.msvcrt).putchar(__import__('ctypes').c_char(__import__('ctypes').cast((__import__('ctypes').c_int64 * 2)(8583909746840200520, 11138535027311), __import__('ctypes').POINTER(__import__('ctypes').c_char))[int(x, 0x10)])), '0123456789abcd')) and None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment