Work in progress Linux discovery payload
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#! /bin/bash
|
||||
cat /etc/*-release
|
||||
uname -ar
|
||||
ifconfig
|
||||
cat /etc/resolv.conf
|
||||
df -h
|
||||
cat /etc/fstab
|
||||
cat /etc/passwd
|
||||
cat /etc/group
|
||||
cat /etc/sudoers
|
||||
last
|
||||
yum list installed
|
||||
chkconfig --list #works with RHEL/CentOS 6, not 7
|
||||
systemctl list-unit-files #works with RHEL/CentOS 7, not 6
|
||||
Reference in New Issue
Block a user