Tag:back bsp inux Get dev ping info connected related
The penetration test database is used to preserve the various data obtained during the penetration test, and many times you restart the Kali to find that the connection is not on the database, in fact because this service does not open the database used by MSF postgresql[email protected]:/# Service PostgreSQL start Open PostgreSQL database services [email protected]:/# msfdb init If your MSF is unable to successfully connect to the database, you can try using initialize command A, database appears to be already configured, skipping initialization because I have created the data So there's no continuation of the initialization process [email protected]:/# msfconsoledb_status View MSF's database connectivity status MSF > db_status[*] PostgreSQL connected to Msfdb_connect used to connect to the database, you are now connected to a database MSF > db_connect[-] PostgreSQL already Connected to msf[-] Run Db_disconnect First if you wish to connect to a different databasehosts see if the database is working properly and you can see the IP that was previously scanned Address related information MSF > hosts hosts===== address mac name os_name os_flavor os_sp Purpose info comments------- &NBSP,--- ---- ------- --------- ----- ------- ---- --------192.168.3.1 8c:ab:8e:fa:10:a1& nbsp Unknown &NBS P device 192.168.3.20 68:db:ca:a9:ce:63 &NB Sp , &NB Sp 192.168.3.24 b8:44:d9:d0:04:08 &NB Sp , &NB Sp 192.168.3.85 40:4e:36:5f:9a:dd &NB Sp   , &NB Sp 192.168.3.86 , &N Bsp 192. 168.3.88 80:e6:50:15:c2:60 , &N Bsp 192.168.3.96 14:2d:27:2b:1c:e9 &NB Sp , &NBSp 192.168.3.111 74:c6:3b:9c:00:65 laptop-v63uitph unknown device 192.168.3.133 &NBSP;5C:AD:C f:86:87:b1 / &NBSP;192.168.3.140&NBSP ; 00:cd:fe:33:16:02 & nbsp 192.168.3.1 42 20:ab:37:62:9f:18 , &N Bsp;192.168.3.144&nbsP 70:ec:e4:d4:e9:d2 & nbsp 192.168.3.1 68 9c:b6:d0:12:75:27 , &N bsp;192.168.3.172 38:bc:1a:24:ac:87 &NBS P , &NB Sp 192.168.3.176 04:52:f3:13:38:71 &N Bsp , &NB Sp   192.168.3.186 e4:f8:9c:e7:58:b0 &N Bsp , &NB Sp 192.168.3.191 68:db:ca:74:57:b9 &N Bsp , &NB Sp 192.168.3.199 b8:27:eb:a9:1c:84 &N Bsp Linux 8.0 server &NBSP ; 192.168.3.211 c8:f2:30:9e:93:83 &N Bsp &NBsp &NBSP;MSF > Db_disconnect disconnecting from the current database MSF > db_status[*] PostgreSQL selected, no Connecti On You can look at the connection status again. Discovery has been disconnected. MSF > Db_connect Use the Db_connect command again to prompt you for the correct writing format example of the connection Data command. [*] Usage:db_connect <user:pass>@
MSF training Camp -3.5.3 common commands for databases in MSF