WeChat ID
aaronpk_tv
The first course of business was to regain control of the server. Every service on the machine was unresponsive, including SSH. The only thing to do was perform a remote restart and wait for things to come back online.
Osquery exposes an operating system as a high-performance relational database. This design allows you to write SQL-based queries efficiently and easily to explore operating systems. ... SELECT name, path, pid FROM processes WHERE on_disk = 0;
nmap -p 22 --open -sV 10.0.0.0/24
printf "USER:$(openssl passwd -crypt PASSWORD)\n" >> .htpasswd
Service started well with the init file, but stop or restart didn't. In the end the cause was a different path to the pid file in the nginx.conf and the init script. Make sure they both point to the same location.