real_ssh was a separate service name pointing to the same template and behaviour as ssh. Merged them: ssh is now the single real-OpenSSH service. - Rename templates/real_ssh/ → templates/ssh/ - Remove decnet/services/real_ssh.py - Deaddeck archetype updated: services=["ssh"] - Merge test_real_ssh.py into test_ssh.py (includes deaddeck + logging tests) - Drop decnet.services.real_ssh from test_build module list
23 lines
381 B
Bash
23 lines
381 B
Bash
whoami
|
|
id
|
|
uname -a
|
|
cat /etc/passwd
|
|
cat /etc/shadow
|
|
ls /home
|
|
ls /home/admin
|
|
cat /home/admin/.bash_history
|
|
cat /home/admin/.aws/credentials
|
|
find / -name "*.pem" 2>/dev/null
|
|
find / -name "id_rsa" 2>/dev/null
|
|
find / -name "*.key" 2>/dev/null
|
|
netstat -tunlp
|
|
ss -tunlp
|
|
iptables -L
|
|
cat /etc/crontab
|
|
crontab -l
|
|
ps aux
|
|
systemctl list-units
|
|
cat /etc/mysql/my.cnf
|
|
mysql -u root -p
|
|
history -c
|