403Webshell
Server IP : 216.106.184.20  /  Your IP : 216.73.216.234
Web Server : LiteSpeed
System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User : sekoaid1 ( 1891)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/rpm/fileattrs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/rpm/fileattrs/kmod.attr
%__kmod_path           ^/lib/modules/.*/(modules.builtin|.*\.ko|.*\.ko\.gz|.*\.ko\.bz2|.*\.ko\.xz|.*\.ko\.zst)$
%__kmod_provides() %{lua:
  function basename(fn)
      return string.gsub(fn, "(.*/)(.*)", "%2")
  end
  function strip_compress_sfx(fn)
      return string.gsub(fn, "(.*)(\.gz|\.bz2|\.xz|\.zst)?$", "%1")
  end
  function printdep(mod)
      print("kmod("..mod..") ")
  end
  local fn = rpm.expand("%{1}")
  local bn = basename(fn)
  if bn == "modules.builtin" then
      for l in io.lines(fn) do
          local builtin_mod = basename(l)
          printdep(builtin_mod)
          if strip_compress_sfx(builtin_mod) ~= builtin_mod then
              printdep(strip_compress_sfx(builtin_mod))
          end
      end
  else
      local mod = string.match(bn, "%g+.ko")
      if mod then
         printdep(mod)
         if strip_compress_sfx(mod) ~= mod then
             printdep(strip_compress_sfx(mod))
         end
      end
  end
}

Youez - 2016 - github.com/yon3zu
LinuXploit