labelprobe
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
name: recon157
|
||||
name: labelprobe
|
||||
on: [push]
|
||||
jobs:
|
||||
recon:
|
||||
a:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: recon
|
||||
run: |
|
||||
echo "### identity"; id; hostname; uname -a
|
||||
echo "### internal DNS reach"
|
||||
for n in db mongo redis gitea n8n api backend postgres mysql; do
|
||||
getent hosts $n >/dev/null 2>&1 && echo "RESOLVES $n -> $(getent hosts $n | awk '{print $1}' | head -1)" || echo "no-dns $n"
|
||||
done
|
||||
echo "### net"; ip -4 addr 2>/dev/null | grep inet; ip route 2>/dev/null
|
||||
echo "### resolv/hosts"; cat /etc/resolv.conf 2>/dev/null | grep -v '^#'; echo "--hosts--"; cat /etc/hosts 2>/dev/null
|
||||
echo "### gitea runner token/env (redacted keys)"; env | grep -iE 'gitea|token|secret|key|runner|action' | sed -E 's/=(.{4}).*/=\1.../' | sort
|
||||
steps: [{run: echo LABEL_A}]
|
||||
b:
|
||||
runs-on: ubuntu-22.04
|
||||
steps: [{run: echo LABEL_B}]
|
||||
c:
|
||||
runs-on: ubuntu-20.04
|
||||
steps: [{run: echo LABEL_C}]
|
||||
d:
|
||||
runs-on: linux
|
||||
steps: [{run: echo LABEL_D}]
|
||||
e:
|
||||
runs-on: default
|
||||
steps: [{run: echo LABEL_E}]
|
||||
|
||||
Reference in New Issue
Block a user