From 704f8e391d69d4d505e9ca84decc6b5e4190fb54 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Wed, 14 Mar 2012 11:37:43 -0500 Subject: [PATCH] Remove the line that's commented out --- modules/post/linux/gather/enum_system.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/post/linux/gather/enum_system.rb b/modules/post/linux/gather/enum_system.rb index 487afe408b..41936215d0 100644 --- a/modules/post/linux/gather/enum_system.rb +++ b/modules/post/linux/gather/enum_system.rb @@ -1,8 +1,8 @@ ## -# ## This file is part of the Metasploit Framework and may be subject to +# This file is part of the Metasploit Framework and may be subject to # redistribution and commercial restrictions. Please see the Metasploit -# web site for more information on licensing and terms of use. -# http://metasploit.com/ +# Framework web site for more information on licensing and terms of use. +# http://metasploit.com/framework/ ## require 'msf/core' @@ -42,7 +42,6 @@ class Metasploit3 < Msf::Post end - # Run Method for when run command is issued def run distro = get_sysinfo store_loot( @@ -68,13 +67,12 @@ class Metasploit3 < Msf::Post crons = get_crons(users, user) diskspace = execute("/bin/df -ahT") disks = (mount +"\n\/"+ diskspace) - + save("Linux version", distro) save("User accounts", users) save("Installed Packages", installed_pkg) save("Running Services", installed_svc) save("Cron jobs", crons) - #save("Mount", mount) save("Disk info", disks) end