如果要對Pentest Box更新,你可以使用update命令,以下是update的更新腳本源代碼所在位置。
update的更新腳本:https://github.com/pentestbox/scripts/blob/master/update.py
但在更新過程中,會出現(xiàn)bundler過低問題,導(dǎo)致升級msf不成功等問題。
1、更新,執(zhí)行命令:
update
-----------
| update all | Updates Everything in PentestBox |
| update android | Updates Android Security Tools |
| update exploitation | Updates Exploitation Tools |
| update forensics | Updates Forensics Tools |
| update informationgathering | Updates InformationGathering Tools |
| update passwordattacks | Updates Password Attacks Tools |
| update reverseengineering | Updates Reverse Engineering Tools |
| update sniffing | Updates Sniffing Tools |
| update stresstesting | Updates Stress Testing Tools |
| update webapplication | Updates WebApplication Tools |
| update config | Updates PentestBox Config Files |
------------------------
全部更新:
update all
也可以針對針對單個類別進行更新
update android
update exploitation
update forensics
update informationgathering
update passwordattacks
update reverseengineering
update sniffing
update stresstesting
update webapplication
update config
2、更新過程中可能的問題:
在更新過程中,可能會遇到bundler過低問題,導(dǎo)致升級msf不成功。升級bundler時,提示https ssl證書過期,此時應(yīng)改用http的源。備注:有部分網(wǎng)友提供淘寶源(https://gems.ruby-china.org/),但是https,同樣不能更新成功。
解決辦法:
gem sources -r https://rubygems.org/ ##移除默認源
gem sources -a http://rubygems.org/ ##新增源
或者將以上2條命令合并會一條:gem sources --add http://rubygems.org/ --remove https://rubygems.org/
gem sources -l ##查看源
gem update --system ##gem更新系統(tǒng)
gem update bundler ##更新bundler
再進行更新:
update all ##更新全部應(yīng)用
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。