ÿØÿà JFIF  ` ` ÿþš 403 WEBHELL REBORN
403 WEBHELL REBORN
Server : Apache
System : Linux cloud.heroica.com.br 4.18.0-553.36.1.el8_10.x86_64 #1 SMP Wed Jan 22 03:07:54 EST 2025 x86_64
User : farolpborg ( 1053)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/farolpborg/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /home/farolpborg/public_html/.htaccess
RewriteEngine On

#memoria
#php_value upload_max_filesize 1000M
#php_value post_max_size 2000M
#php_value memory_limit 3000M
#php_value max_execution_time 180
#php_value max_input_time 180

#bloquear o arquivo .htaccess contra acesso pela URL
<Files ~ "^\.(htaccess|htpasswd)$">
	deny from all
</Files>

#desabilita pastas
#Options -Indexes

#comprimir arquivos do site para consumir menos banda
<IfModule mod_deflate.c>
	<FilesMatch "\.(js|css|jpg|png|gif|ico|php|html|htm)$">
		<ifModule mod_filter.c>
			SetOutputFilter DEFLATE
			AddOutputFilterByType DEFLATE text/css text/javascript application/x-javascript text/html text/plain text/xml image/x-icon
		</IfModule>
	</FilesMatch>
</IfModule>

#bloquear requisição baseado no user-agent
SetEnvIfNoCase ^User-Agent$ .*(craftbot|download|extract|stripper|sucker|ninja|clshttp|webspider|leacher|collector|grabber|webpictures) HTTP_SAFE_BADBOT
SetEnvIfNoCase ^User-Agent$ .*(libwww-perl|aesop_com_spiderman) HTTP_SAFE_BADBOT
Deny from env=HTTP_SAFE_BADBOT

#paginas de erro
ErrorDocument 	400 										http://www.farolpb.org.br/
ErrorDocument 	401 										http://www.farolpb.org.br/
ErrorDocument 	403 										http://www.farolpb.org.br/
ErrorDocument 	404 										http://www.farolpb.org.br/
ErrorDocument 	500 										http://www.farolpb.org.br/
ErrorDocument 	502 										http://www.farolpb.org.br/
ErrorDocument 	504 										http://www.farolpb.org.br/

#caminho web
RewriteCond 	%{HTTP_HOST} 								!^(www\.|localhost$) [NC]
RewriteCond 	%{HTTP_HOST} 								!^www\.
RewriteRule 	^(.*)$ 										http://www.%{HTTP_HOST}/$1 [R=301,L]

#urls
RewriteRule		^RealMedia/ads/click_lx/(.+)$		        banners-redirecionar.php?slug=$1

RewriteCond 	%{QUERY_STRING} texbus=(.+)
RewriteRule		^resultados-da-busca$					    resultados-da-busca.php?texbus=%1 [L]
RewriteRule		^resultados-da-busca$					    resultados-da-busca.php?texbus=%1&pagina=&2 [L]

RewriteRule		^tag/(.+)$                                  tag.php?tag=$1

#RewriteRule		^contato$                                   contato.php
#RewriteRule		^noticias$                                  noticias.php
#RewriteRule		^noticias$                                  especiais.php

RewriteRule		^noticias/pagina-(.+)$                      noticias.php?pagina=$1
RewriteRule		^noticia/(.+)$	            	            noticia.php?slug=$1

RewriteRule		^blog/pagina-(.+)$                      blog.php?pagina=$1
RewriteRule		^materia/(.+)$	            	            blog-post.php?slug=$1

RewriteRule		^agenda$	            	                eventos.php
RewriteRule		^evento/(.+)$	            	            evento.php?slug=$1

RewriteRule		^estatica/(.+)$	            	            estatica.php?slug=$1

RewriteRule		^associado/(.+)$	            	        associado.php?slug=$1

RewriteRule		^parceiro/(.+)$		                        parceiro-redirecionar.php?slug=$1

RewriteRule		^convenios/(.+)$	            	        convenios.php?cat_slug=$1
RewriteRule		^convenio/(.+)/(.+)$	            	    convenio.php?cat_slug=$1&slug=$2

RewriteRule		^contato/(.+)$	            	            contato.php?especifico=$1

# API
RewriteRule 	^api/(.+)$ 									_api/$1.php [L]

#css / js
RewriteRule		^_assets/css/estilos.css$			 	    _assets/css/estilos.php
RewriteRule		^_assets/js/scripts.js$			 		    _assets/js/scripts.php

#transforma extensao
RewriteCond 	%{REQUEST_FILENAME} 						   !-f
RewriteCond 	%{REQUEST_FILENAME} 						   !-d
RewriteRule 	^([^.?]+[^.?/])						       $1.php [L]

#redireciona se chamar extensao .php
#RewriteCond 	%{THE_REQUEST} 								       ^[A-Z]{3,}\s([^.]+)\.(php|asp|aspx|jsp|xml) [NC]
#RewriteRule 	^ 											       %1 [R,L,NC]

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 128M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
   php_value upload_max_filesize 2M
   php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 128M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
   php_value upload_max_filesize 2M
   php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

Anon7 - 2021