Công Việc IT,

cách tạo file .p8 cho onesignal

The issue that I had was I couldn’t find the way to create the .p8 file and all methods gave me .cer file instead. Head to your Apple developer account Go to the keys section and click on the plus button (or click here): ⚠️ It is very important to select the keys section and NOT the certificate or identifiers. otherwise you will get the .cer file at last ??‍♂️ Select the

Công Việc IT,

letsencrypt could not start HTTP server for challenge: listen tcp :80: bind: address already in use

lỗi renew ssl trong directadmin sed -i ‘s/ss –no-header/ss/’ /usr/local/directadmin/scripts/letsencrypt.sh   2024/07/20 12:24:13 [INFO] [savingbooking.net, www.savingbooking.net] acme: Obtaining SAN certificate 2024/07/20 12:24:14 [INFO] [savingbooking.net] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/379368059547 2024/07/20 12:24:14 [INFO] [www.savingbooking.net] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/379368059557 2024/07/20 12:24:14 [INFO] [savingbooking.net] acme: Could not find solver for: tls-alpn-01 2024/07/20 12:24:14 [INFO] [savingbooking.net] acme: use http-01 solver 2024/07/20 12:24:14 [INFO] [www.savingbooking.net]

Uncategorized,

Block wp-login and xmlrpc brute force attacks with CSF / DirectAdmin

https://github.com/tmiland/csf-custom-regex/blob/master/regex.custom.pm   Edit your /etc/csf/csf.conf like bellow: CUSTOM1_LOG = “/var/log/httpd/domains/*.log” We add the following rules to /usr/local/csf/bin/regex.custom.pm file. If it’s not there, create one. Then we add bellow code : # XMLRPC if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+).*] “\w*(?:GET|POST) \/xmlrpc\.php.*” /)) { return (“WP XMLPRC Attack”,$1,”XMLRPC”,”5″,”80,443″,”1″); } # WP-LOGINS if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+).*]