Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 18.116.8.169
Web Server : Apache/2.4.61 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /etc/dhcp/dhclient-exit-hooks.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /etc/dhcp/dhclient-exit-hooks.d/debug
#
# The purpose of this script is just to show the variables that are
# available to all the scripts in this directory. All these scripts are
# called from dhclient-script, which exports all the variables shown
# before. If you want to debug a problem with your DHCP setup you can
# enable this script and take a look at /tmp/dhclient-script.debug.

# To enable this script set the following variable to "yes"
RUN="no"

if [ "$RUN" = "yes" ]; then
	echo "$(date): entering ${1%/*}, dumping variables." \
		>> /tmp/dhclient-script.debug

	# loop over the 4 possible prefixes: (empty), cur_, new_, old_
	for prefix in '' 'cur_' 'new_' 'old_'; do
		# loop over the DHCP variables passed to dhclient-script
		for basevar in reason interface medium alias_ip_address \
			       ip_address host_name network_number subnet_mask \
			       broadcast_address routers static_routes \
			       rfc3442_classless_static_routes \
			       domain_name domain_search domain_name_servers \
			       netbios_name_servers netbios_scope \
			       ntp_servers \
			       ip6_address ip6_prefix ip6_prefixlen \
			       dhcp6_domain_search dhcp6_name_servers ; do
			var="${prefix}${basevar}"
			eval "content=\$$var"

			# show only variables with values set
			if [ -n "${content}" ]; then
				echo "$var='${content}'" >> /tmp/dhclient-script.debug
			fi
		done
	done

	echo '--------------------------' >> /tmp/dhclient-script.debug
fi

Anon7 - 2022
AnonSec Team