Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
PK!:  document_stream.rbnu[# frozen_string_literal: true require_relative '../tree_builder' module Psych module Handlers class DocumentStream < Psych::TreeBuilder # :nodoc: def initialize &block super @block = block end def start_document version, tag_directives, implicit n = Nodes::Document.new version, tag_directives, implicit push n end def end_document implicit_end = !streaming? @last.implicit_end = implicit_end @block.call pop end end end end PK!.^{{ recorder.rbnu[# frozen_string_literal: true require_relative '../handler' module Psych module Handlers ### # This handler will capture an event and record the event. Recorder events # are available vial Psych::Handlers::Recorder#events. # # For example: # # recorder = Psych::Handlers::Recorder.new # parser = Psych::Parser.new recorder # parser.parse '--- foo' # # recorder.events # => [list of events] # # # Replay the events # # emitter = Psych::Emitter.new $stdout # recorder.events.each do |m, args| # emitter.send m, *args # end class Recorder < Psych::Handler attr_reader :events def initialize @events = [] super end EVENTS.each do |event| define_method event do |*args| @events << [event, args] end end end end end PK!Đdd logging.pynu[""" raven.handlers.logging ~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import from __future__ import print_function import datetime import logging import sys import traceback from raven.utils.compat import string_types, iteritems, text_type from raven.base import Client from raven.utils.encoding import to_string from raven.utils.stacks import iter_stack_frames RESERVED = frozenset(( 'stack', 'name', 'module', 'funcName', 'args', 'msg', 'levelno', 'exc_text', 'exc_info', 'data', 'created', 'levelname', 'msecs', 'relativeCreated', 'tags', 'message', )) CONTEXTUAL = frozenset(( 'user', 'culprit', 'server_name', 'fingerprint' )) def extract_extra(record, reserved=RESERVED, contextual=CONTEXTUAL): data = {} extra = getattr(record, 'data', None) if not isinstance(extra, dict): if extra: extra = {'data': extra} else: extra = {} else: # record.data may be something we don't want to mutate to not cause unexpected side effects extra = dict(extra) for k, v in iteritems(vars(record)): if k in reserved: continue if k.startswith('_'): continue if '.' not in k and k not in contextual: extra[k] = v else: data[k] = v return data, extra class SentryHandler(logging.Handler, object): def __init__(self, *args, **kwargs): client = kwargs.get('client_cls', Client) if len(args) == 1: arg = args[0] if isinstance(arg, string_types): self.client = client(dsn=arg, **kwargs) elif isinstance(arg, Client): self.client = arg else: raise ValueError('The first argument to %s must be either a ' 'Client instance or a DSN, got %r instead.' % (self.__class__.__name__, arg,)) elif 'client' in kwargs: self.client = kwargs['client'] else: self.client = client(*args, **kwargs) self.tags = kwargs.pop('tags', None) logging.Handler.__init__(self, level=kwargs.get('level', logging.NOTSET)) def can_record(self, record): return not ( record.name == 'raven' or record.name.startswith(('sentry.errors', 'raven.')) ) def emit(self, record): try: # Beware to python3 bug (see #10805) if exc_info is (None, None, None) self.format(record) if not self.can_record(record): print(to_string(record.message), file=sys.stderr) return return self._emit(record) except Exception: if self.client.raise_send_errors: raise print("Top level Sentry exception caught - failed " "creating log record", file=sys.stderr) print(to_string(record.msg), file=sys.stderr) print(to_string(traceback.format_exc()), file=sys.stderr) def _get_targetted_stack(self, stack, record): # we might need to traverse this multiple times, so coerce it to a list stack = list(stack) frames = [] started = False last_mod = '' for item in stack: if isinstance(item, (list, tuple)): frame, lineno = item else: frame, lineno = item, item.f_lineno if not started: f_globals = getattr(frame, 'f_globals', {}) module_name = f_globals.get('__name__', '') if ( last_mod and last_mod.startswith('logging') and not module_name.startswith('logging') ): started = True else: last_mod = module_name continue frames.append((frame, lineno)) # We failed to find a starting point if not frames: return stack return frames def _emit(self, record, **kwargs): data, extra = extract_extra(record) stack = getattr(record, 'stack', None) if stack is True: stack = iter_stack_frames() if stack: stack = self._get_targetted_stack(stack, record) date = datetime.datetime.utcfromtimestamp(record.created) event_type = 'raven.events.Message' handler_kwargs = { 'params': record.args, } try: handler_kwargs['message'] = text_type(record.msg) except UnicodeDecodeError: # Handle binary strings where it should be unicode... handler_kwargs['message'] = repr(record.msg)[1:-1] try: handler_kwargs['formatted'] = text_type(record.message) except UnicodeDecodeError: # Handle binary strings where it should be unicode... handler_kwargs['formatted'] = repr(record.message)[1:-1] # If there's no exception being processed, exc_info may be a 3-tuple of None # http://docs.python.org/library/sys.html#sys.exc_info if record.exc_info and all(record.exc_info): # capture the standard message first so that we ensure # the event is recorded as an exception, in addition to having our # message interface attached handler = self.client.get_handler(event_type) data.update(handler.capture(**handler_kwargs)) event_type = 'raven.events.Exception' handler_kwargs = {'exc_info': record.exc_info} data['level'] = record.levelno data['logger'] = record.name kwargs['tags'] = tags = {} if self.tags: tags.update(self.tags) tags.update(getattr(record, 'tags', {})) kwargs.update(handler_kwargs) sample_rate = extra.pop('sample_rate', None) return self.client.capture( event_type, stack=stack, data=data, extra=extra, date=date, sample_rate=sample_rate, **kwargs) PK! #__pycache__/logging.cpython-311.pycnu[ |oiddZddlmZddlmZddlZddlZddlZddlZddlm Z m Z m Z ddl m Z ddlmZddlmZed Zed Zeefd ZGd d ejeZdS)z raven.handlers.logging ~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. )absolute_import)print_functionN) string_types iteritems text_type)Client) to_string)iter_stack_frames)stacknamemodulefuncNameargsmsglevelnoexc_textexc_infodatacreated levelnamemsecsrelativeCreatedtagsmessage)userculprit server_name fingerprintc,i}t|dd}t|ts |rd|i}ni}nt|}tt |D]3\}}||vr |dr d|vr ||vr|||<.|||<4||fS)Nr_.)getattr isinstancedictrvars startswith)recordreserved contextualrextrakvs M/opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/handlers/logging.py extract_extrar."s D FFD ) )E eT " "  UOEEEEU $v,,''1 ==  <<     a<>q'C#|,, B$f77777 C(( B!  j"&."9"9"9333"ABBB   *DKK &$1&11DKJJvt,,   VZZ-P-P QQQQQr/cN|jdkp|jd S)Nraven)z sentry.errorszraven.)r r&rCr's r- can_recordzSentryHandler.can_recordRs0 K7 " C{%%&ABB  r/c ||||s/tt|jt jdS||S#t$r|j j rtdt jtt|j t jtttj t jYdSwxYw)N)filez>Top level Sentry exception caught - failed creating log record)formatrIprintr rsysstderr_emit Exceptionr6raise_send_errorsr traceback format_excrHs r-emitzSentryHandler.emitXs F KK   ??6** i//cjAAAA::f%% % F F F{,  (.1j : : : : )FJ''cj 9 9 9 9 )I02233#* E E E E E E E  FsAA0A00BD  D c|t|}g}d}d}|D]}t|ttfr|\}}n ||j}}|sYt |di} | dd} |r-|dr| dsd}n| }|||f|s|S|S)NF f_globalsr=r?T)listr#tuplef_linenor"r9r&append) rCr r'framesstartedlast_moditemframelinenorX module_names r-_get_targetted_stackz"SentryHandler._get_targetted_stackjsU  + +D$u .. 4 $ vv $dmv #E;;; 'mmJ;; !)!4!4Y!?!?'229==#GG*H MM5&/ * * * * L r/c "t|\}}t|dd}|durt}|r|||}tj|j}d}d|ji} t|j |d<n/#t$r"t|j dd|d<YnwxYw t|j |d<n/#t$r"t|j dd|d<YnwxYw|j rYt|j rE|j|} || jdi|d }d |j i}|j|d <|j|d <ix|d <} |jr| |j| t|d i|||dd} |jj|f||||| d|S)Nr Tzraven.events.Messageparamsrr4 formattedzraven.events.Exceptionrr7loggerr sample_rate)r rr*daterjr8)r.r"r rddatetimeutcfromtimestamprrrrUnicodeDecodeErrorreprrrallr6 get_handlerupdatecapturerr rr>) rCr'rDrr*r rk event_typehandler_kwargshandlerrrjs r-rPzSentryHandler._emitsc#F++ e.. D==%''E  =--eV<N9 % % % ? E*3FN*C*CN; ' '! E E E*.v~*>*>qt*DN; ' ' ' E ? ;s6?33 ;k--j99G KK99.99 : : :1J(&/:NW X ""v 9 # KK " " " GFFB//000 n%%%ii t44 "t{" #$d  s$>B)CCC)D  D N)r= __module__ __qualname__rArIrUrdrPr8r/r-r1r1<sfRRR*   FFF$B55555r/r1)__doc__ __future__rrrlr?rNrSraven.utils.compatrrr raven.baserraven.utils.encodingr raven.utils.stacksr frozensetRESERVED CONTEXTUALr.r@objectr1r8r/r-rs;'&&&&&%%%%%% AAAAAAAAAA******000000 9  Y $, 4DDDDDGOVDDDDDr/PK!vG$__pycache__/__init__.cpython-311.pycnu[ |oidZddlmZdS)z raven.handlers ~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. )absolute_importN)__doc__ __future__rN/opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/handlers/__init__.pyr s)'&&&&&&&rPK!z#__pycache__/logbook.cpython-311.pycnu[ |oi dZddlmZddlmZddlZddlZddlZddlmZddl m Z ddl m Z Gdd ej ZdS) z raven.handlers.logbook ~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. )absolute_import)print_functionN) string_types)Client) to_stringc*eZdZfdZdZdZxZS) SentryHandlerct|dkr|d}t|tr)|dtd d|i||_n=t|tr||_n t d|jjd|dg}n9 |d|_n#t$rtd wxYwtt|j |i|dS) Nr client_clsdsnzThe first argument to z0 must be either a Client instance or a DSN, got z instead.clientz3Expected keyword argument for SentryHandler: client)len isinstancerpoprr ValueError __class____name__KeyError TypeErrorsuperr __init__)selfargskwargsargrs h/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/raven/handlers/logbook.pyrzSentryHandler.__init__s t99>>q'C#|,, >fjjv>>QQ3Q&QQ C(( !  jN+++CC"DD W$jj22  W W W UVVV W+mT""+TTop level Sentry exception caught - failed creating log record)channel startswithprintrformatsysstderr_emit Exceptionrraise_send_errorsmsg traceback format_exccaptureException)rrecords remitzSentryHandler.emit*s' ~(()CDD i F 3 3443:FFFF::f%% %   {,  RY\Yc d d d d )FJ''cj 9 9 9 9 )I02233 4 4 4  ,,......     s1AA.A..B D*;D D&!D*%D&&D*cZtj|j|jd}d}|j|j||d}d|jvr|jd|d<|j dus|j rZt|j rF|j |}| |jd i|d}|j |d<|j|j|j|j|jd}| |j|j j|f||d |S) N)levelloggerzraven.events.Message)messageparams formattedtagsTzraven.events.Exceptionexc_info)linenofilenamefunctionprocess process_name)dataextrar)logbookget_level_namer2lowerr"r+rr%rr8allr get_handlerupdatecapturer9r: func_namer<r=r?)rr/r> event_typehandler_kwargshandlerr?s rr(zSentryHandler._emit>s`+FL99??AAn   , zkV,,   V] " "%+]6%:N6 " ?d " "v "3v;O;O "k--j99G KK99.99 : : :1J)/N: &m(~"/     V\""""t{":      )r __module__ __qualname__rr0r( __classcell__)rs@rr r sV=====((' ' ' ' ' ' ' rKr )__doc__ __future__rrr@r&r,raven.utils.compatr raven.baserraven.utils.encodingrHandlerr rrKrrUs'&&&&&%%%%%% ++++++******P P P P P GOP P P P P rKPK!Io& __init__.pynu[""" raven.handlers ~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import PK!n?\ logbook.pynu[""" raven.handlers.logbook ~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import from __future__ import print_function import logbook import sys import traceback from raven.utils.compat import string_types from raven.base import Client from raven.utils.encoding import to_string class SentryHandler(logbook.Handler): def __init__(self, *args, **kwargs): if len(args) == 1: arg = args[0] if isinstance(arg, string_types): self.client = kwargs.pop('client_cls', Client)(dsn=arg, **kwargs) elif isinstance(arg, Client): self.client = arg else: raise ValueError('The first argument to %s must be either a Client instance or a DSN, got %r instead.' % ( self.__class__.__name__, arg, )) args = [] else: try: self.client = kwargs.pop('client') except KeyError: raise TypeError('Expected keyword argument for SentryHandler: client') super(SentryHandler, self).__init__(*args, **kwargs) def emit(self, record): try: # Avoid typical config issues by overriding loggers behavior if record.channel.startswith(('sentry.errors', 'raven')): print(to_string(self.format(record)), file=sys.stderr) return return self._emit(record) except Exception: if self.client.raise_send_errors: raise print("Top level Sentry exception caught - failed creating log record", file=sys.stderr) print(to_string(record.msg), file=sys.stderr) print(to_string(traceback.format_exc())) try: self.client.captureException() except Exception: pass def _emit(self, record): data = { 'level': logbook.get_level_name(record.level).lower(), 'logger': record.channel, } event_type = 'raven.events.Message' handler_kwargs = { 'message': record.msg, 'params': record.args, 'formatted': self.format(record), } if 'tags' in record.kwargs: handler_kwargs['tags'] = record.kwargs['tags'] # If there's no exception being processed, exc_info may be a 3-tuple of None # http://docs.python.org/library/sys.html#sys.exc_info if record.exc_info is True or (record.exc_info and all(record.exc_info)): handler = self.client.get_handler(event_type) data.update(handler.capture(**handler_kwargs)) event_type = 'raven.events.Exception' handler_kwargs['exc_info'] = record.exc_info extra = { 'lineno': record.lineno, 'filename': record.filename, 'function': record.func_name, 'process': record.process, 'process_name': record.process_name, } extra.update(record.extra) return self.client.capture(event_type, data=data, extra=extra, **handler_kwargs ) PK!:  document_stream.rbnu[PK!.^{{ Nrecorder.rbnu[PK!Đdd logging.pynu[PK! #__pycache__/logging.cpython-311.pycnu[PK!vG$u>__pycache__/__init__.cpython-311.pycnu[PK!z#x@__pycache__/logbook.cpython-311.pycnu[PK!Io& T__init__.pynu[PK!n?\ Ulogbook.pynu[PKb