Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save timb-machine/54f21940c3536bf87ee26417406c2be5 to your computer and use it in GitHub Desktop.
Save timb-machine/54f21940c3536bf87ee26417406c2be5 to your computer and use it in GitHub Desktop.
So you just want code execution on your NAS?
If you don't need persistence, why work so hard?
$ rm /foo; xmldbc -t "test:10:touch /foo"; ls -la /foo; xmldbc -D /tmp/config.xml; sleep 20; ls -la /foo
ls: /foo: No such file or directory
-rw-r--r-- 1 root root 0 Jun 5 22:11 /foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment