(no title)
aspizu | 4 months ago
$ uv run --with tshu python -m asyncio
>>> from tshu import sh
>>> username = "aspizu; rm -rf /"
>>> await sh(t"echo {username}")
aspizu; rm -rf /aspizu | 4 months ago
$ uv run --with tshu python -m asyncio
>>> from tshu import sh
>>> username = "aspizu; rm -rf /"
>>> await sh(t"echo {username}")
aspizu; rm -rf /
Flimm|4 months ago
Does this code print out the contents of the file named `--help`, or does it print the documentation for the `cat` command?