!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/usr/lib/oci-linux-config/cloud/scripts/initramfs-mod/   drwxr-xr-x
Free 9.29 GB of 93.48 GB (9.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     net.sh (1.2 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash
#
# Copyright (C) 2020 Oracle Corp., Inc.  All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl
#
# /usr/lib/oci-linux-config/cloud/scripts/initramfs-mod/net.sh
#

echo "$(date) - OCI initramfs network modification script started."

# Symlink network config files where cloud-init >= 19.4 expects them
DRACUT_CFG=/run/initramfs/state/etc/sysconfig/network-scripts
CI_DIR=/run
if [ -d $DRACUT_CFG ]; then
    FILE_COUNT=`ls $DRACUT_CFG | wc -l`
    if [ $FILE_COUNT -eq 0 ]; then
        # Create dummy file if dracut did not create network device config
        dummycfg=$CI_DIR/net-dummy.conf
        echo "DEVICE=\"dummy\"" > $dummycfg
        echo "BOOTPROTO=dhcp" >> $dummycfg
        echo "$(date) - Creating dummy config $dummycfg."
    else
        for dcfg in $DRACUT_CFG/*; do
            filename=${dcfg##*/}
            devname=${filename##ifcfg-}
            cicfg=$CI_DIR/net-$devname.conf
            if [ ! -e $cicfg ]; then
                echo "$(date) - Creating symlink from $dcfg to $cicfg."
                ln -s $dcfg $cicfg
            fi
        done
    fi
fi

echo "$(date) - OCI initramfs network modification script done."

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0036 ]--