403Webshell
Server IP : 139.59.63.204  /  Your IP : 216.73.217.62
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/dhcpcd/dhcpcd-hooks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/dhcpcd/dhcpcd-hooks/01-test
# Echo the interface flags, reason and message options

if [ "$reason" = "TEST" ]; then
	# General variables at the top
	set | while read line; do
		case "$line" in
		interface=*|pid=*|reason=*|protocol=*|profile=*|skip_hooks=*)
			echo "$line";;
		esac
	done
	# Interface flags
	set | while read line; do
		case "$line" in
		ifcarrier=*|ifflags=*|ifmetric=*|ifmtu=*|ifwireless=*|ifssid=*)
			echo "$line";;
		esac
	done
	# Old lease
	set | while read line; do
		case "$line" in
		old_*) echo "$line";;
		esac
	done
	# New lease
	set | while read line; do
		case "$line" in
		new_*) echo "$line";;
		esac
	done
	# Router Advertisements
	set | while read line; do
		case "$line" in
		nd[0-9]*_*) echo "$line";;
		esac
	done
	exit 0
fi

Youez - 2016 - github.com/yon3zu
LinuXploit