Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.137.221.114
Web Server : Apache/2.4.62 (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 :  /proc/3/root/usr/share/augeas/lenses/dist/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/3/root/usr/share/augeas/lenses/dist/tests/test_vsftpd.aug
module Test_vsftpd =

test Vsftpd.lns get "listen=YES\nmdtm_write=false\n" =
  { "listen" = "YES" }
  { "mdtm_write" = "false" }

test Vsftpd.lns get "listen=on\n" = *

test Vsftpd.lns get "local_umask=0777\n" = { "local_umask" = "0777" }

test Vsftpd.lns get "listen_port=ftp\n" = *

test Vsftpd.lns get "ftp_username=ftp_user\n" = { "ftp_username" = "ftp_user" }

(* There must not be spaces around the '=' *)
test Vsftpd.lns get "anon_root = /var/lib/vsftpd/anon" = *


let conf = "# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list
#

pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
allow_writeable_chroot=YES

"

test Vsftpd.lns get conf =
  { "#comment" = "Example config file /etc/vsftpd/vsftpd.conf" }
  {}
  { "#comment" = "The default compiled in settings are fairly paranoid. This sample file" }
  { "#comment" = "loosens things up a bit, to make the ftp daemon more usable." }
  { "#comment" = "Please see vsftpd.conf.5 for all compiled in defaults." }
  {}
  { "#comment" = "Allow anonymous FTP? (Beware - allowed by default if you comment this out)." }
  { "anonymous_enable" = "YES" }
  {}
  { "#comment" = "Default umask for local users is 077. You may wish to change this to 022," }
  { "#comment" = "if your users expect that (022 is used by most other ftpd's)" }
  { "local_umask" = "022" }
  {}
  { "#comment" = "You may specify an explicit list of local users to chroot() to their home" }
  { "#comment" = "directory. If chroot_local_user is YES, then this list becomes a list of" }
  { "#comment" = "users to NOT chroot()." }
  { "chroot_list_enable" = "YES" }
  { "#comment" = "(default follows)" }
  { "chroot_list_file" = "/etc/vsftpd/chroot_list" }
  {}
  {}
  { "pam_service_name" = "vsftpd" }
  { "userlist_enable" = "YES" }
  { "tcp_wrappers" = "YES" }
  { "allow_writeable_chroot" = "YES" }
  {}


Anon7 - 2022
AnonSec Team