user avatar
Gynvael Coldwind
@gynvael
security researcher/programmer/director @ HexArcana Cybersecurity GmbH ⁂ @pagedout_zine@DragonSectorCTFyoutube.com/@GynvaelEN ⁂ ex-Google ⁂ he/him
Zürich, Switzerland
Joined July 2009
Posts
  • Pinned
    user avatar
    I'm thinking of doing an in-depth Python summer camp? (online live workshop, in English). If you're potentially interested, please add your email to the list: hackArcana.com/summer-python-… (it's just so I can measure interest and have a way to let you know once more info is up).
  • user avatar
    Me coding with ~5y experience: 1. write code Me coding with ~30y experience: 1. read docs for fopen() 2. write 1 line of code 3. check 17 different things in docs/internets about fopen 4. reverse fopen implementation because this one detail... 5. decide to use different function.
  • user avatar
    How to read a file in C according to NETGEAR
    s = popen("cat /proc/l3_neigh_v6", "r");
...
while (fgets(..., s) ...
  • user avatar
    Paged Out! #1 is out! (and it's free to download!) pagedout.institute/?page=issues.p… There are 57 articles in 12 categories: Electronics Programming Assembly Reverse Engineering Sec/Hack Retro File Formats Algorithmics SysAdmin Radio Phreaking OS Internals Enjoy! #PagedOut!
  • user avatar
    Friday was my last day at Google. I'm saddened to leave behind my team of the last 12+ years, but I know Google's security is in great hands. It's time for a short break and then I'm moving on with plans I've made long ago – my own sec research, consulting, and education company.
  • user avatar
    My first program in Python! I still find this syntax a bit confusing with no { } etc. def main( line0: print("Hello World!"), line1: print("What's your name?"), line2: (x := input("Name plz: ")), line3: print(f"Your name is: {x}") ): pass
    Linux terminal with Python script "test.py" invocation.
It first writes out "Hello World", then "What's your name?", then asks for the name, and writes it back out.
  • user avatar
    So an AMD engineer and 2 Google engineers walk into a bar... and write an article about how "Hello World" in #Python works. The article turns out to be 26 pages. From Python, through C, WinAPI/Kernel, font rendering, to GPU. Enjoy! gynvael.coldwind.pl/?lang=en&id=754 asawicki.info/news_1762_hell…
    "Hello World under the microscope" - an article we wrote together with @gynvael and @j00ru! Originally published in issue 100 (1/2022) of the Programista magazine, now available online in Polish and English. asawicki.info/articles/Hello…
  • user avatar
    Here's some blursed Python code for you: a, b, c = {"alice", "has", "a cat"} print(a, b, c)
    First run:
has alice a cat

Second run:
a cat alice has

Third run:
has alice a cat

Fourth run:
alice a cat has
  • user avatar
    A fun and innovative ZIP bomb by David Fifield (and an excellent technical write-up - take a look if you like file format hacks): bamsoftware.com/hacks/zipbomb/ zbsm.zip42 kB→5.5 GB zblg.zip10 MB→281 TB zbxl.zip46 MB→4.5 PB
  • user avatar
    Python was too hard so I've switched to C++. Here's my first "Hello World"!
    C++ code that creates two classes: A and B. And then multiple classes that use multiple inheritance over first A and B, and later the created classes. Finally the code calls multiple printf with %c, and does a lot of weird pointer casting and subtractions. After compiling and running it prints "Hello World!". The source code is at https://gynvael.coldwind.pl/n/cpp_hello_world_kinda
    Linux terminal with Python script "test.py" invocation.
It first writes out "Hello World", then "What's your name?", then asks for the name, and writes it back out.
    My first program in Python! I still find this syntax a bit confusing with no { } etc. def main( line0: print("Hello World!"), line1: print("What's your name?"), line2: (x := input("Name plz: ")), line3: print(f"Your name is: {x}") ): pass
  • user avatar
    I just randomly found a YouTube channel with 22 videos that explain modern cryptographic algorithms + show how to implement them in Python! Awesome for learning crypto! The channel has 80 subs. Any chance we could show some love to the creator? youtube.com/channel/UCp1rL… Plz RT
  • user avatar
    Boss: Hey IT guy, can you program our pharmacy logo to flash or sth? Bob: Say no more! Narrator: Bob, a demoscene veteran, was waiting for this opportunity for 25 years.
  • user avatar
    TIL from @q3k and @marcan42: wget saves downloaded file's source URL (and sometimes referrer) in extended attributes. This includes the cases where the URL has a user/password in it 🙃 $ getfattr -d -m - test user.xdg.origin.url="https://user:[email protected]/"
  • user avatar
    Random tip for Windows users: If you are worried about accidentally double-clicking a malicious executable in your Download folder or are worried about random DLLs (carpet bombing / DLL hell), just DISABLE EXECUTION in that folder: icacls Download /deny Everyone:(OI)(IO)(X)