如何手動設定 Metasploit 的環境變量,當我執行時,db_driver
我收到此訊息:
[*] No Active Driver
[*] Available:
[*] DB Support: Enable the postgresql driver with the following command:
[*] * This requires libpq-dev and a build environment
[*] $ gem install postgres
[*] $ gem install pg # is an alternative that may work
經過谷歌搜索,我發現 Metasploit 設置了一些環境變量,並且可以加載已安裝的驅動程序,但對我來說,Metasploit 似乎沒有設置環境變量。