Blog: 2025-11-28

From razwiki
Jump to navigation Jump to search

This cgi script

hack $ cat cgi-bin/hello.py 
#!/usr/bin/env python3
print('Content-type: text/html')
print()
print('<h2>WHOA</h2>')

This server command

python3 -m http.server --cgi 8000

Good https://stackoverflow.com/questions/30516414/how-to-run-cgi-hello-world-with-python-http-server

wiki.cgi #idea

---

Got the windows vm working on m4 macbook air. Needed to use Win11_25H2_English_Arm64.iso. Also needed to go into the settings and remove the cd and re-add it, for some reason - feels like a virtualbox bug.

Anyways I found indeed os.mkfifo is not available on windows. Here's what is available:

Screenshot 2025-11-28 at 10.32.38 PM.png