Work in progress Linux discovery payload

This commit is contained in:
Tony M Lambert
2018-02-08 17:31:39 -06:00
parent eb56e8216f
commit 80bdcf5f10
+14
View File
@@ -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