SQLサーバから別のところに侵入するパターンで、SQLサーバ上でOSのコマンドを利用してるケースが増えている。 各SQLサーバでOSコマンドを実行する方法を知りたい。
Type | How To | Status |
---|---|---|
SQL Server | xp_cmdshell |
Disable by Default |
MySQL | system (\!) |
Enable in Terminal |
PostgreSQL | COPY |
Require pg_execute_server_program role |