SQLi debugging
Last updated
Last updated
When we want to access queries which are transmitted to SQL database by application sometimes we have to modify the SQL file.
For example when it comes to PostgreSQL we are able to modify postgresql.conf file which includes the log_statement property. In order to show all logs that are going to database we configure it in the following way:
Remember that after modification our changes are not saved until we restart the service:
How to restart the service:
When it comes to PostgreSQL you can find logs in the pgsql_log directory. When it comes to other databases you have to do your own research through web search.
Sometimes you are able to execute queries on the application SQL server with provided credentials. In that case pgadmin software can help you.