403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /etc/apparmor.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/apparmor.d/gs
#------------------------------------------------------------------
#    Copyright (C) 2025 Canonical Ltd.
#
#    Author: Giampaolo Fresi Roglia (gianz)
#
#    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.
#------------------------------------------------------------------
# vim: ft=apparmor

abi <abi/5.0>,

include <tunables/global>
include <tunables/gs>
include <tunables/print-devices>

profile gs /usr/bin/gs {
  include <abstractions/base>
  include <abstractions/private-files-strict>
  include <abstractions/user-tmp>
  include <abstractions/fonts>

  # allow read access to anything in /usr/share, for plugins and input
  # methods
  file r /usr/local/share/**,
  file r /usr/share/**,
  file r /var/lib/ghostscript/**,

  # allow read access to paperspec
  file r /etc/paperspecs,

  # allow access to files with selected extensions under HOME and
  # common mount locations
  owner file rw @{HOME}/**.@{gs_file_ext},
  owner file rw /mnt/**.@{gs_file_ext},
  owner file rw /media/*/**.@{gs_file_ext},

  # allow access to local printer devices
  file rw @{print_devices},

  file mr @{exec_path},

  include if exists <local/gs>
}

Youez - 2016 - github.com/yon3zu
LinuXploit