Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
gi /
overrides /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
Dee.py
6.77
KB
-rw-r--r--
GdkPixbuf.py
1.68
KB
-rw-r--r--
Gdk.py
15.71
KB
-rw-r--r--
Gedit.py
3.05
KB
-rw-r--r--
GIMarshallingTests.py
2.19
KB
-rw-r--r--
Gio.py
18.34
KB
-rw-r--r--
GLib.py
29.2
KB
-rw-r--r--
GObject.py
23.65
KB
-rw-r--r--
Gtk.py
61.43
KB
-rw-r--r--
IBus.py
8.23
KB
-rw-r--r--
__init__.py
12.52
KB
-rw-r--r--
keysyms.py
1.67
KB
-rw-r--r--
Pango.py
1.73
KB
-rw-r--r--
Unity.py
4.65
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Gedit.py
# Copyright (C) 2011 Jesse van den Kieboom <jesse@icecrew.nl> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA from gi.repository import GObject import inspect from ..overrides import override from ..importer import modules Gedit = modules['Gedit']._introspection_module __all__ = [] class MessageBus(Gedit.MessageBus): def create(self, object_path, method, **kwargs): tp = self.lookup(object_path, method) if not tp.is_a(Gedit.Message.__gtype__): return None kwargs['object-path'] = object_path kwargs['method'] = method return GObject.new(tp, **kwargs) def send_sync(self, object_path, method, **kwargs): msg = self.create(object_path, method, **kwargs) self.send_message_sync(msg) return msg def send(self, object_path, method, **kwargs): msg = self.create(object_path, method, **kwargs) self.send_message(msg) return msg MessageBus = override(MessageBus) __all__.append('MessageBus') class Message(Gedit.Message): def __getattribute__(self, name): try: return Gedit.Message.__getattribute__(self, name) except: return getattr(self.props, name) Message = override(Message) __all__.append('Message') def get_trace_info(num_back_frames=0): frame = inspect.currentframe().f_back try: for i in range(num_back_frames): back_frame = frame.f_back if back_frame is None: break frame = back_frame filename = frame.f_code.co_filename # http://code.activestate.com/recipes/145297-grabbing-the-current-line-number-easily/ lineno = frame.f_lineno func_name = frame.f_code.co_name try: # http://stackoverflow.com/questions/2203424/python-how-to-retrieve-class-information-from-a-frame-object cls_name = frame.f_locals["self"].__class__.__name__ except: pass else: func_name = "%s.%s" % (cls_name, func_name) return (filename, lineno, func_name) finally: frame = None orig_debug_plugin_message_func = Gedit.debug_plugin_message @override(Gedit.debug_plugin_message) def debug_plugin_message(format, *format_args): filename, lineno, func_name = get_trace_info(1) orig_debug_plugin_message_func(filename, lineno, func_name, format % format_args) __all__.append(debug_plugin_message) # vi:ex:ts=4:et
Close