File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed
Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1061,7 +1061,7 @@ def showStatus(self, request):
10611061 if currentACL ['admin' ] == 0 :
10621062 return self .ajaxPre (0 , 'Only administrators can see MySQL status.' )
10631063
1064- finalData = mysqlUtilities .showStatus ()
1064+ finalData = mysqlUtilities .shfetchRamowStatus ()
10651065
10661066 finalData = json .dumps (finalData )
10671067 return HttpResponse (finalData )
Original file line number Diff line number Diff line change @@ -139,6 +139,8 @@ SecFilterSelective ARGS "or.+1[[:space:]]*=[[:space:]]1|or 1=1--'|'.+--&quo
139139
140140SecFilterSelective ARGS " into[[:space:]]+outfile|load[[:space:]]+data|/\*.+\*/" </ruleSet >
141141 </censorshipRuleSet >
142+ <bubbleWrap >1</bubbleWrap >
143+ <bubbleWrapCmd>/bin/bwrap --ro-bind /usr /usr --ro-bind /lib /lib --ro-bind-try /lib64 /lib64 --ro-bind /bin /bin --ro-bind /sbin /sbin --dir /var --ro-bind-try /var/www /var/www --dir /tmp --proc /proc --symlink../tmp var/tmp --dev /dev --ro-bind-try /etc/localtime /etc/localtime --ro-bind-try /etc/ld.so.cache /etc/ld.so.cache --ro-bind-try /etc/resolv.conf /etc/resolv.conf --ro-bind-try /etc/ssl /etc/ssl --ro-bind-try /etc/pki /etc/pki --ro-bind-try /etc/man_db.conf /etc/man_db.conf --ro-bind-try /usr/local/bin/msmtp /etc/alternatives/mta --ro-bind-try /usr/local/bin/msmtp /usr/sbin/exim --bind-try $HOMEDIR $HOMEDIR --bind-try /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock --bind-try /home/mysql/mysql.sock /home/mysql/mysql.sock --bind-try /tmp/mysql.sock /tmp/mysql.sock --bind-try /run/mysqld/mysqld.sock /run/mysqld/mysqld.sock --bind-try /var/run/mysqld/mysqld.sock /var/run/mysqld/mysqld.sock '$COPY-TRY /etc/exim.jail/$USER.conf $HOMEDIR/.msmtprc' --unshare-all --share-net --die-with-parent --dir /run/user/$UID ‘$PASSWD 65534’ ‘$GROUP 65534’</bubbleWrapCmd>
142144 <accessDenyDir >
143145 <dir >/</dir >
144146 <dir >/etc/*</dir >
Original file line number Diff line number Diff line change @@ -238,6 +238,5 @@ def main():
238238
239239
240240
241-
242241if __name__ == "__main__" :
243242 main ()
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ def serverStatusHome(request):
3333 None , 'admin' )
3434 return proc .render ()
3535
36-
3736def litespeedStatus (request ):
3837 try :
3938 userID = request .session ['userID' ]
@@ -152,7 +151,6 @@ def getFurtherDataFromLogFile(request):
152151 logging .CyberCPLogFileWriter .writeToFile (str (msg ) + "[getFurtherDataFromLogFile]" )
153152 return HttpResponse ("Not Logged in as admin" )
154153
155-
156154def services (request ):
157155 data = {}
158156
You can’t perform that action at this time.
0 commit comments