From 80bdcf5f104b3642962e69c94bf64287c7f12f94 Mon Sep 17 00:00:00 2001 From: Tony M Lambert Date: Thu, 8 Feb 2018 17:31:39 -0600 Subject: [PATCH] Work in progress Linux discovery payload --- Linux/Payloads/Discovery.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Linux/Payloads/Discovery.sh 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