403Webshell
Server IP : 103.75.185.95  /  Your IP : 216.73.217.162
Web Server : nginx/1.30.0
System : Linux cs-linux-20260509085757017 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : cuuhootoxema ( 1215)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/bug/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/bug/ifupdown
#!/bin/sh

# reportbug expects output on fd 3
exec 1>&3 2>&3

# Dump /etc/network/interfaces

echo "--- /etc/network/interfaces:"
if [ ! -e /etc/network/interfaces ]; then
	echo "MISSING"
	echo
	exit 0
fi

cat /etc/network/interfaces
echo

# Check for source and source-directory stanzas

(while read stanza value; do
	dump() {
		echo "--- $1:"
		cat $1
		echo
	}

	case "$stanza" in
		source)
			dump "$value"
			;;
		source-directory)
			for file in "$value"/*; do
				if [ -e "$file" ]; then
					dump "$file"
				fi
			done
			;;
		*)
			;;
	esac
done) < /etc/network/interfaces

# List if-*.d scripts

echo "--- up and down scripts installed:"
LANG= ls -l /etc/network/if-*.d
echo

Youez - 2016 - github.com/yon3zu
LinuXploit