[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch for botnow
[Thread Prev] | [Thread Next]
- Subject: Patch for botnow
- From: izzyb <izzyb@xxxxxxxxxxxxxxx>
- Date: Fri, 2 Jun 2023 22:04:42 -0600
- To: codeforce@xxxxxxxxxx
This patch adds the missing unveils needed to for botnow to send email. It fixes a crash in current version in repo.
diff --git a/botnow b/home/botnow/botnow index dc0a0c6..7a377ea 100755 --- a/botnow +++ b/home/botnow/botnow @@ -205,6 +205,8 @@ my $expires = $conf{expires}; unveil("./", "r") or die "Unable to unveil $!"; unveil("$confpath", "r") or die "Unable to unveil $!"; unveil("$backupspath", "rwc") or die "Unable to unveil $!"; +unveil("/usr/sbin/sendmail", "rx") or die "Unable to unveil $!"; +unveil("/bin/sh", "rx") or die "Unable to unveil $!"; unveil() or die "Unable to lock unveil $!"; #dns and inet for sockets, proc and exec for figlet ...Izzy
Re: Patch for botnow | jrmu <jrmu@xxxxxxxxxx> |