403Webshell
Server IP : 3.7.136.76  /  Your IP : 216.73.216.142
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-39-148 7.0.0-1010-aws #10~24.04.1-Ubuntu SMP PREEMPT Mon Jul 27 17:41:33 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /snap/snapd/28254/usr/lib/snapd/apparmor.d/abstractions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/snapd/28254/usr/lib/snapd/apparmor.d/abstractions/alts
# vim:ft=apparmor
# ------------------------------------------------------------------
#
#    Copyright (C) 2026 darix
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------

## Usage example:
##
## /root/bin/test-alts
## ```
## #!/usr/bin/ruby
##
## puts "Hello world"
## ```
##
## with ln -sf /usr/bin/alts /usr/bin/ruby
##
## /etc/apparmor.d/test-alts
## ```
## abi <abi/5.0>,
##
## include <tunables/global>
##
## profile test-alts /root/bin/test-alts {
##   include <abstractions/alts>
##
##   /usr/bin/ruby.ruby4.0 cx -> actual_script,
##
##   profile actual_script {
##     include <abstractions/base>
##     include <abstractions/ruby>
##     /usr/bin/ruby.ruby4.0 mr,
##     /root/bin/test-alts r,
##   }
## }
## ```
##

  abi <abi/5.0>,

  include <abstractions/base>

  /{,usr/}bin/alts mr,

  /usr/share/libalternatives/ r,
  /usr/share/libalternatives/*/ r,
  /usr/share/libalternatives/*/*.conf r,
  # system override
  /etc/libalternatives.conf r,
  # user override
  owner @{HOME}/.config/libalternatives.conf r,

  include if exists <abstractions/alts.d>

Youez - 2016 - github.com/yon3zu
LinuXploit