22
.gitea/workflows/banners.yml
Normal file
22
.gitea/workflows/banners.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: banners
|
||||||
|
on: [workflow_dispatch]
|
||||||
|
jobs:
|
||||||
|
b:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
set +e
|
||||||
|
docker run --rm --net host alpine sh -c '
|
||||||
|
echo "M_SSH"
|
||||||
|
(echo ""; sleep 2) | nc -w3 207.180.243.189 22 2>/dev/null | head -1
|
||||||
|
echo "M_MYSQL"
|
||||||
|
(sleep 2) | nc -w3 207.180.243.189 3306 2>/dev/null | head -c 120 | tr -d "\0" ; echo
|
||||||
|
echo "M_WHM"
|
||||||
|
wget -qS --no-check-certificate --timeout=6 -O /dev/null https://207.180.243.189:2087/ 2>&1 | grep -iE "HTTP/|server:|x-powered" | head -4
|
||||||
|
echo "M_CPANEL"
|
||||||
|
wget -qS --no-check-certificate --timeout=6 -O /dev/null https://207.180.243.189:2083/ 2>&1 | grep -iE "HTTP/|server:" | head -3
|
||||||
|
echo "M_FTP"
|
||||||
|
(sleep 2) | nc -w3 207.180.243.189 21 2>/dev/null | head -2
|
||||||
|
echo "M_DONE"
|
||||||
|
' 2>&1 | head -30
|
||||||
|
exit 0
|
||||||
Reference in New Issue
Block a user