Skip to content

Instantly share code, notes, and snippets.

@leizongmin
Created November 16, 2017 12:40
Show Gist options
  • Save leizongmin/2b8ca30d751a9ba28899f322f25ac1c7 to your computer and use it in GitHub Desktop.
Save leizongmin/2b8ca30d751a9ba28899f322f25ac1c7 to your computer and use it in GitHub Desktop.
Armitage启动命令
#!/bin/sh
echo "start msfrpcd..."
pkill msf
msfrpcd -U msf -P msf -f -S -a 127.0.0.1 &
echo "wait..."
sleep 20
echo "start armitage..."
export MSF_DATABASE_CONFIG=~/.msf4/database.yml
armitage &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment