hacktricks/pentesting-web/sql-injection/postgresql-injection/dblink-lo_import-data-exfiltration.md
Carlos Polop d1647fc7c2 b
2024-07-19 11:06:54 +02:00

2.5 KiB

dblink/lo_import data exfiltration

{% hint style="success" %} Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks
{% endhint %}

This is an example of how to exfiltrate data loading files in the database with lo_import and exfiltrate them using dblink_connect.

Check the solution from: https://github.com/PDKT-Team/ctf/blob/master/fbctf2019/hr-admin-module/README.md

{% hint style="success" %} Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks
{% endhint %}