CasperSecurity

Current Path : /snap/core24/1587/lib/dhcpcd/dhcpcd-hooks/
Upload File :
Current File : //snap/core24/1587/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
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY