From 4aec71f88ac41085294abcefa5e45166c94c44b1 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Mon, 11 Oct 2021 17:04:41 +0100 Subject: [PATCH] Update README.md --- metasploit/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/metasploit/README.md b/metasploit/README.md index 651fd7c..850c7d7 100644 --- a/metasploit/README.md +++ b/metasploit/README.md @@ -5,7 +5,12 @@ You can use this module to **automatically execute a PEASS script from a meterpr ## Manual Installation Copy the `peass.rb` file to the path `modules/post/multi/gather/` inside the metasploit installation. -In Kali: `sudo cp ./peass.rb /usr/share/metasploit-framework/modules/post/multi/gather/` +In Kali: +```bash +sudo cp ./peass.rb /usr/share/metasploit-framework/modules/post/multi/gather/ +# or +sudo wget https://raw.githubusercontent.com/carlospolop/PEASS-ng/master/metasploit/peass.rb -O /usr/share/metasploit-framework/modules/post/multi/gather/peass.rb +` Now you can do `reload_all` inside a running msfconsole or the next time you launch a new msfconsole the peass module will be **automatically loaded**. @@ -66,4 +71,4 @@ Notice that **by default** the obfuscated PEASS script if going to be **uploaded Notice that you can **set parametes** like `-h` in `PARAMETERS` and then linpeas/winpeas will just show the help (*just like when you execute them from a console*). -**IMPORTANT**: You won't see any output until the execution of the script is completed. \ No newline at end of file +**IMPORTANT**: You won't see any output until the execution of the script is completed.