Mercurial > repo
annotate bin/sqli @ 11113:aa8e4791536e
<oerjan> learn print_args_or_input Is a utility command that makes it easy to create a shell script that can be used either as a pipe or directly as a HackEgo command. Use as print_args_or_input "$@" | yourShellCode . See also shebang_args_or_input.
author | HackBot |
---|---|
date | Sat, 22 Jul 2017 00:45:19 +0000 |
parents | 88080ce5575b |
children |
rev | line source |
---|---|
6198
88080ce5575b
<b_jonas> ` echo $\'#!/bin/sh\\nexec sqlite3 :memory: "$@"\' > bin/sqli && chmod a+x bin/sqli
HackBot
parents:
diff
changeset
|
1 #!/bin/sh |
88080ce5575b
<b_jonas> ` echo $\'#!/bin/sh\\nexec sqlite3 :memory: "$@"\' > bin/sqli && chmod a+x bin/sqli
HackBot
parents:
diff
changeset
|
2 exec sqlite3 :memory: "$@" |