403Webshell
Server IP : 104.21.14.103  /  Your IP : 3.21.93.139
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/test_pgbouncer.aug
module Test_Pgbouncer =
    let pgconfig =";; database name = connect string
;;
;; connect string params:
;;   dbname= host= port= user= password=
[databases]
; foodb over unix socket
foodb =

; redirect bardb to bazdb on localhost
bardb = host=localhost dbname=bazdb

; acceess to dest database will go with single user
forcedb = host=127.0.0.1 port=300 user=baz password=foo client_encoding=UNICODE datestyle=ISO connect_query='SELECT 1'
[pgbouncer]
;;; Administrative settings
logfile = /var/log/pgbouncer/pgbouncer.log
pidfile = /var/run/pgbouncer/pgbouncer.pid
; ip address or * which means all ip-s
listen_addr = 127.0.0.1
listen_port = 6432
;auth_file = /8.0/main/global/pg_auth
auth_file = /var/lib/pgsql/data/global/pg_auth
admin_users = postgres
server_reset_query = DISCARD ALL
"

test Pgbouncer.lns get pgconfig =
    { "#comment" = "; database name = connect string" }
    { "#comment" = ";" }
    { "#comment" = "; connect string params:" }
    { "#comment" = ";   dbname= host= port= user= password=" }
    { "databases"
        { "#comment" = "foodb over unix socket" }
        { "foodb" }
        { }
        { "#comment" = "redirect bardb to bazdb on localhost" }
        { "bardb" = "host=localhost dbname=bazdb" }
        { }
        { "#comment" = "acceess to dest database will go with single user" }
        { "forcedb" = "host=127.0.0.1 port=300 user=baz password=foo client_encoding=UNICODE datestyle=ISO connect_query='SELECT 1'" }
    }
    { "pgbouncer"
        { "#comment" = ";; Administrative settings" }
        { "logfile" = "/var/log/pgbouncer/pgbouncer.log" }
        { "pidfile" = "/var/run/pgbouncer/pgbouncer.pid" }
        { "#comment" = "ip address or * which means all ip-s" }
        { "listen_addr" = "127.0.0.1" }
        { "listen_port" = "6432" }
        { "#comment" = "auth_file = /8.0/main/global/pg_auth" }
        { "auth_file" = "/var/lib/pgsql/data/global/pg_auth" }
        { "admin_users" = "postgres" }
        { "server_reset_query" = "DISCARD ALL" }
    }
    

Youez - 2016 - github.com/yon3zu
LinuXploit