403Webshell
Server IP : 49.212.180.16  /  Your IP : 18.191.187.74
Web Server : Apache
System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User : utannto ( 1076)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /etc/autofs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/autofs/special_noauto
#!/bin/sh
#
# $FreeBSD$
#

print_available() {
	sed 's/#.*//' /etc/fstab | awk '$4 ~ /noauto/ { print $2 }'
}

print_one() {
	local _mntpoint

	_mntpoint="${1%/}"
	
	sed 's/#.*//' /etc/fstab | awk '
	$2 == "'"${_mntpoint}"'" && $4 ~ /noauto/ {
		if ($1 ~ /:/) { dev=$1 } else { dev=":"$1 }
		print "-fstype=" $3 "," $4, dev
	}'
}

if [ $# -eq 0 ]; then
	print_available
	exit 0
fi

print_one "$1"
exit 0


Youez - 2016 - github.com/yon3zu
LinuXploit