如果要对Pentest Box更新,你可以使用update命令,以下是update的更新脚本源代码所在位置。

update的更新脚本:https://github.com/pentestbox/scripts/blob/master/update.py

但在更新过程中,会出现bundler过低问题,导致升级msf不成功等问题。

1、更新,执行命令:

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过低问题,导致升级msf不成功。升级bundler时,提示https ssl证书过期,此时应改用http的源。备注:有部分网友提供淘宝源(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更新系统

gem update bundler ##更新bundler

再进行更新:

update all ##更新全部应用