Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib64 /
python2.7 /
site-packages /
hgext /
inotify /
Delete
Unzip
Name
Size
Permission
Date
Action
linux
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
__init__.py
3.34
KB
-rw-r--r--
2013-06-01 18:10
__init__.pyc
3.19
KB
-rw-r--r--
2020-03-31 23:33
__init__.pyo
3.19
KB
-rw-r--r--
2020-03-31 23:33
client.py
5.81
KB
-rw-r--r--
2013-06-01 18:10
client.pyc
6.36
KB
-rw-r--r--
2020-03-31 23:33
client.pyo
6.36
KB
-rw-r--r--
2020-03-31 23:33
common.py
1.52
KB
-rw-r--r--
2013-06-01 18:10
common.pyc
998
B
-rw-r--r--
2020-03-31 23:33
common.pyo
998
B
-rw-r--r--
2020-03-31 23:33
linuxserver.py
14.11
KB
-rw-r--r--
2013-06-01 18:10
linuxserver.pyc
16.75
KB
-rw-r--r--
2020-03-31 23:33
linuxserver.pyo
16.71
KB
-rw-r--r--
2020-03-31 23:33
server.py
14.07
KB
-rw-r--r--
2013-06-01 18:10
server.pyc
15.1
KB
-rw-r--r--
2020-03-31 23:33
server.pyo
15.1
KB
-rw-r--r--
2020-03-31 23:33
Save
Rename
# server.py - inotify common protocol code # # Copyright 2006, 2007, 2008 Bryan O'Sullivan <bos@serpentine.com> # Copyright 2007, 2008 Brendan Cully <brendan@kublai.com> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. import cStringIO, socket, struct """ Protocol between inotify clients and server: Client sending query: 1) send protocol version number 2) send query type (string, 4 letters long) 3) send query parameters: - For STAT, N+1 \0-separated strings: 1) N different names that need checking 2) 1 string containing all the status types to match - No parameter needed for DBUG Server sending query answer: 1) send protocol version number 2) send query type 3) send struct.pack'ed headers describing the length of the content: e.g. for STAT, receive 9 integers describing the length of the 9 \0-separated string lists to be read: * one file list for each lmar!?ic status type * one list containing the directories visited during lookup """ version = 3 resphdrfmts = { 'STAT': '>lllllllll', # status requests 'DBUG': '>l' # debugging queries } resphdrsizes = dict((k, struct.calcsize(v)) for k, v in resphdrfmts.iteritems()) def recvcs(sock): cs = cStringIO.StringIO() s = True try: while s: s = sock.recv(65536) cs.write(s) finally: sock.shutdown(socket.SHUT_RD) cs.seek(0) return cs