Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /usr/share/selinux/devel/include/contrib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/selinux/devel/include/contrib/stunnel.if
## <summary>SSL Tunneling Proxy.</summary>

########################################
## <summary>
##	Define the specified domain as a stunnel inetd service.
## </summary>
## <param name="domain">
##	<summary>
##	The type associated with the stunnel inetd service process.
##	</summary>
## </param>
## <param name="entrypoint">
##	<summary>
##	The type associated with the process program.
##	</summary>
## </param>
#
interface(`stunnel_service_domain',`
	gen_require(`
		type stunnel_t;
	')

	domtrans_pattern(stunnel_t, $2, $1)
	allow $1 stunnel_t:tcp_socket rw_socket_perms;
')

########################################
## <summary>
##	Read stunnel configuration content.
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed access.
##	</summary>
## </param>
#
interface(`stunnel_read_config',`
	gen_require(`
		type stunnel_etc_t;
	')

	files_search_etc($1)
	allow $1 stunnel_etc_t:dir list_dir_perms;
	allow $1 stunnel_etc_t:file read_file_perms;
	allow $1 stunnel_etc_t:lnk_file read_lnk_file_perms;
')

haha - 2025