diff --git a/Linux/Payloads/Discovery.sh b/Linux/Payloads/Discovery.sh new file mode 100644 index 00000000..d2d4394c --- /dev/null +++ b/Linux/Payloads/Discovery.sh @@ -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 \ No newline at end of file