find command modified

bug/bundler_fix
Roberto Soares Espreto 2014-02-11 10:08:12 -02:00
parent f181134ef8
commit 68578c15a3
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ class Metasploit3 < Msf::Post
crons = get_crons(users, user)
diskspace = execute("/bin/df -ahT")
disks = (mount +"\n\/"+ diskspace)
logfiles = execute("/usr/bin/find /var/log -type f -perm -0004 2>/dev/null")
uidgid = execute("/usr/bin/find / -xdev -type f -perm +ug=s -print 2>/dev/null")
logfiles = execute("find /var/log -type f -perm -4 2> /dev/null")
uidgid = execute("find / -xdev -type f -perm +6000 -perm -1 2> /dev/null")
save("Linux version", distro)
save("User accounts", users)