![]() |
|||||||||||||||||||||||||||||||||||||
SQL Virus Using Quines for PostgreSQL |
|||||||||||||||||||||||||||||||||||||
The PostgreSQL exploit (Exploit
1) is functionally similar to the MySQL version. The
differences are explained below.
PostgreSQL does not support variables. A function is created instead. After the virus has replicated itself, the function is dropped, otherwise an error will be generated the next time the virus executes. Strings are handled differently on PostgreSQL.
PostgreSQL uses two single quotes ('') to escape a quote
rather than the \' MySQL uses. It also does not provide the
On PostgreSQL, the function |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||