Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 919 Bytes

15284181122152.md

File metadata and controls

36 lines (21 loc) · 919 Bytes

#快速构建一台 Metasploit 渗透 VPS

tags: #姿势#, #工具#,

快速构建一台 Metasploit 渗透 VPS

官方有方案:

Nightly+Installers+·+rapid7/metasploit-framework+W...

仔细参考很容易。

如果你买的 VPS 内存小,那么可以这样来解决 MSF 启动的这个错误:

virtual memory exhausted: Cannot allocate memory

dd if=/dev/zero of=/swap bs=1024 count=1M

Format the swap file:

mkswap /swap

Enable the swap file:

swapon /swap

Enable swap on boot:

echo "/swap swap swap sw 0 0" >> /etc/fstab

本质是加了个 swap 虚拟内存,用来解决物理内存过小导致的问题。

相关知识点请自行百度/Google。