Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 3.12.34.36
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
snap /
lxd /
29351 /
share /
openvswitch /
python /
ovs /
Delete
Unzip
Name
Size
Permission
Date
Action
compat
[ DIR ]
drwxr-xr-x
2024-07-11 10:51
db
[ DIR ]
drwxr-xr-x
2024-07-11 10:51
flow
[ DIR ]
drwxr-xr-x
2024-07-11 10:51
unixctl
[ DIR ]
drwxr-xr-x
2024-07-11 10:51
__init__.py
38
B
-rw-r--r--
2024-07-11 10:31
daemon.py
20.22
KB
-rw-r--r--
2024-07-11 10:31
dirs.py
1.29
KB
-rw-r--r--
2024-07-11 10:31
dns_resolve.py
9.51
KB
-rw-r--r--
2024-07-11 10:31
fatal_signal.py
4.65
KB
-rw-r--r--
2024-07-11 10:31
fcntl_win.py
1.3
KB
-rw-r--r--
2024-07-11 10:31
json.py
16.45
KB
-rw-r--r--
2024-07-11 10:31
jsonrpc.py
20.59
KB
-rw-r--r--
2024-07-11 10:31
ovsuuid.py
1.83
KB
-rw-r--r--
2024-07-11 10:31
poller.py
10.04
KB
-rw-r--r--
2024-07-11 10:31
process.py
1.43
KB
-rw-r--r--
2024-07-11 10:31
reconnect.py
25.4
KB
-rw-r--r--
2024-07-11 10:31
socket_util.py
12.19
KB
-rw-r--r--
2024-07-11 10:31
stream.py
31.43
KB
-rw-r--r--
2024-07-11 10:31
timeval.py
2.38
KB
-rw-r--r--
2024-07-11 10:31
util.py
3.05
KB
-rw-r--r--
2024-07-11 10:31
version.py
93
B
-rw-r--r--
2024-07-11 10:31
vlog.py
16.3
KB
-rw-r--r--
2024-07-11 10:31
winutils.py
9.01
KB
-rw-r--r--
2024-07-11 10:31
Save
Rename
# Copyright (c) 2009, 2010 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import sys import time try: import ctypes LIBRT = 'librt.so.1' clock_gettime_name = 'clock_gettime' if sys.platform.startswith("linux"): CLOCK_MONOTONIC = 1 time_t = ctypes.c_long elif sys.platform.startswith("netbsd"): # NetBSD uses function renaming for ABI versioning. While the proper # way to get the appropriate version is of course "#include <time.h>", # it is difficult with ctypes. The following is appropriate for # recent versions of NetBSD, including NetBSD-6. LIBRT = 'libc.so.12' clock_gettime_name = '__clock_gettime50' CLOCK_MONOTONIC = 3 time_t = ctypes.c_int64 elif sys.platform.startswith("freebsd"): CLOCK_MONOTONIC = 4 time_t = ctypes.c_int64 else: raise Exception class timespec(ctypes.Structure): _fields_ = [ ('tv_sec', time_t), ('tv_nsec', ctypes.c_long), ] librt = ctypes.CDLL(LIBRT) clock_gettime = getattr(librt, clock_gettime_name) clock_gettime.argtypes = [ctypes.c_int, ctypes.POINTER(timespec)] except: # Librt shared library could not be loaded librt = None def monotonic(): if not librt: return time.time() t = timespec() if clock_gettime(CLOCK_MONOTONIC, ctypes.pointer(t)) == 0: return t.tv_sec + t.tv_nsec * 1e-9 # Kernel does not support CLOCK_MONOTONIC return time.time() # Use time.monotonic() if Python version >= 3.3 if not hasattr(time, 'monotonic'): time.monotonic = monotonic def msec(): """ Returns the system's monotonic time if possible, otherwise returns the current time as the amount of time since the epoch, in milliseconds, as a float.""" return time.monotonic() * 1000.0 def postfork(): # Just a stub for now pass