Sign in
Categories
Your Saved List Become a Channel Partner Sell in AWS Marketplace Amazon Web Services Home Help

Handy and quick, but requires memory swapping enabled to run Metasploit

  • By tweprime
  • on 09/24/2015

Ideal for easy payload delivery. Ran into the same memory issue on the free tier regarding Metapsploit as others, but the memory swap fix by user anthony nena worked for me (reposting here):

To enable memory swapping:

sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
sudo /sbin/mkswap /var/swap.1
sudo /sbin/swapon /var/swap.1

Add the following line to /etc/fstab
/var/swap.1 swap swap defaults 0 0

Reboot! Enjoy


There are no comments to display