One Hat Cyber Team
Your IP :
18.188.163.142
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
sharedrads
/
Edit File:
autossl_runner.sh
#!/bin/bash # The concept here is to kill an autossl proc that is taking longer than # 24 hours. My theory is that sometimes the proc will get stuck, never finish # and then cause autossl to never run properly. pgrep autossl_check | while read pid; do run_days=$(ps --no-headers -p $pid -o etime | awk '/[0-9]+\-/'); if [[ ! -z $run_days ]]; then proc_name=$(ps --no-headers -p $pid -o args); logger "Killing $pid, running for $run_days - $proc_name"; kill $pid; fi done
Simpan