hacktricks/pentesting-web/sql-injection/postgresql-injection/dblink-lo_import-data-exfiltration.md
2024-12-12 11:39:29 +01: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 %}