Accéder au contenu principal

Articles

Affichage des articles du avril, 2026

CVE-2026-21629 Joomla com ajax joomla

## Mod_rewrite in use. RewriteEngine On # Blocage com_ajax via Apache <Files> (plus sûr) <Files "index.php">     <If "%{QUERY_STRING} =~ /(^|&)option=com_ajax(&|$)/">         Require all denied     </If> </Files> # Bloquer com_ajax dans l'administration pour toutes les langues (fr, en, ar, etc.) RewriteCond %{REQUEST_URI} ^(/(fr|en|ar))?/administrator/index.php$ RewriteCond %{QUERY_STRING} (^|&)option=com_ajax(&|$) RewriteRule .* - [F,L] # Force HTTPS RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

WHM rebuild bandwidth db

  Run the  rebuild_bandwidthdb_root_cache  script. /usr/local/cpanel/scripts/rebuild_bandwidthdb_root_cache Please note that the script will process bandwidth for every user on the server and not just the user you wish to manage. Introduction On occasion, you may need to reset a user's bandwidth to 0 before the end of the month. This article provides the procedure to reset a specific user's bandwidth to 0 for the month.   Procedure Access the server's command line as the 'root' user via SSH or "Terminal" in WHM. Move aside the user's bandwidth database file. mv -v /var/cpanel/bandwidth/$username.sqlite{,.$(date +%s)} Please note that "$username" must be replaced with the cPanel user's username. Move aside the user's bandwidth cache file. mv -v /var/cpanel/bandwidth.cache/$username{,.$(date +%s)} Please note that "$username" must be replaced with the cPanel user's username. Run the  rebuild_bandwidthdb_root_cache  script....

port 2087

 grep "success" /usr/local/cpanel/logs/access_log | grep ":2087" | awk '{print $1, $4, $5}' | uniq Pour avoir les derniers connexion au port 2087,heure et date grep "2087" /usr/local/cpanel/logs/access_log | grep ' 200 ' | awk '{print $4, $1}' | sed 's/\[//' | sort | uniq -c | sort -nr