Linux ams-business-8.hostwindsdns.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
LiteSpeed
Server IP : 192.236.177.161 & Your IP : 216.73.216.50
Domains :
Cant Read [ /etc/named.conf ]
User : ajzdfbpz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python3.6 /
site-packages /
PIL /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-07-04 11:33
BdfFontFile.py
3.29
KB
-rw-r--r--
2018-04-12 21:15
BlpImagePlugin.py
14.26
KB
-rw-r--r--
2024-07-03 09:03
BmpImagePlugin.py
12.83
KB
-rw-r--r--
2018-04-12 21:15
BufrStubImagePlugin.py
1.48
KB
-rw-r--r--
2018-04-12 21:15
ContainerIO.py
2.63
KB
-rw-r--r--
2018-04-12 21:15
CurImagePlugin.py
2.02
KB
-rw-r--r--
2018-04-12 21:15
DcxImagePlugin.py
1.98
KB
-rw-r--r--
2018-04-12 21:15
DdsImagePlugin.py
4.88
KB
-rw-r--r--
2018-04-12 21:15
EpsImagePlugin.py
12.59
KB
-rw-r--r--
2024-07-03 09:03
ExifTags.py
8.63
KB
-rw-r--r--
2018-04-12 21:15
FitsStubImagePlugin.py
1.58
KB
-rw-r--r--
2018-04-12 21:15
FliImagePlugin.py
4
KB
-rw-r--r--
2018-04-12 21:15
FontFile.py
2.77
KB
-rw-r--r--
2018-04-12 21:15
FpxImagePlugin.py
6.23
KB
-rw-r--r--
2018-04-12 21:15
FtexImagePlugin.py
3.19
KB
-rw-r--r--
2018-04-12 21:15
GbrImagePlugin.py
2.66
KB
-rw-r--r--
2018-04-12 21:15
GdImageFile.py
2.15
KB
-rw-r--r--
2018-04-12 21:15
GifImagePlugin.py
26.11
KB
-rw-r--r--
2024-07-03 09:03
GimpGradientFile.py
3.27
KB
-rw-r--r--
2018-04-12 21:15
GimpPaletteFile.py
1.31
KB
-rw-r--r--
2018-04-12 21:15
GribStubImagePlugin.py
1.5
KB
-rw-r--r--
2018-04-12 21:15
Hdf5StubImagePlugin.py
1.48
KB
-rw-r--r--
2018-04-12 21:15
IcnsImagePlugin.py
10.82
KB
-rw-r--r--
2024-07-03 09:03
IcoImagePlugin.py
9.22
KB
-rw-r--r--
2024-07-03 09:03
ImImagePlugin.py
9.92
KB
-rw-r--r--
2018-04-12 21:15
Image.py
93.16
KB
-rw-r--r--
2018-04-12 21:15
ImageChops.py
6.04
KB
-rw-r--r--
2018-04-12 21:15
ImageCms.py
35.76
KB
-rw-r--r--
2018-04-12 21:15
ImageColor.py
8.05
KB
-rw-r--r--
2018-04-12 21:15
ImageDraw.py
13.32
KB
-rw-r--r--
2018-04-12 21:15
ImageDraw2.py
3.15
KB
-rw-r--r--
2018-04-12 21:15
ImageEnhance.py
3.12
KB
-rw-r--r--
2018-04-12 21:15
ImageFile.py
20.27
KB
-rw-r--r--
2024-07-03 09:03
ImageFilter.py
7.23
KB
-rw-r--r--
2018-04-12 21:15
ImageFont.py
20.66
KB
-rw-r--r--
2024-07-03 09:03
ImageGrab.py
2.1
KB
-rw-r--r--
2018-04-12 21:15
ImageMath.py
7.83
KB
-rw-r--r--
2024-07-03 09:03
ImageMode.py
1.52
KB
-rw-r--r--
2018-04-12 21:15
ImageMorph.py
8.12
KB
-rw-r--r--
2018-04-12 21:15
ImageOps.py
15.73
KB
-rw-r--r--
2018-04-12 21:15
ImagePalette.py
6.17
KB
-rw-r--r--
2018-04-12 21:15
ImagePath.py
1.26
KB
-rw-r--r--
2018-04-12 21:15
ImageSequence.py
1.21
KB
-rw-r--r--
2018-04-12 21:15
ImageShow.py
5.14
KB
-rw-r--r--
2018-04-12 21:15
ImageStat.py
3.76
KB
-rw-r--r--
2018-04-12 21:15
ImageTransform.py
2.74
KB
-rw-r--r--
2018-04-12 21:15
ImageWin.py
7
KB
-rw-r--r--
2018-04-12 21:15
ImtImagePlugin.py
2.19
KB
-rw-r--r--
2018-04-12 21:15
IptcImagePlugin.py
6.64
KB
-rw-r--r--
2018-04-12 21:15
Jpeg2KImagePlugin.py
7.55
KB
-rw-r--r--
2018-04-12 21:15
JpegImagePlugin.py
26.98
KB
-rw-r--r--
2018-04-12 21:15
JpegPresets.py
12.11
KB
-rw-r--r--
2018-04-12 21:15
McIdasImagePlugin.py
1.73
KB
-rw-r--r--
2018-04-12 21:15
MicImagePlugin.py
2.4
KB
-rw-r--r--
2018-04-12 21:15
MpegImagePlugin.py
1.79
KB
-rw-r--r--
2018-04-12 21:15
MpoImagePlugin.py
2.91
KB
-rw-r--r--
2018-04-12 21:15
MspImagePlugin.py
5.39
KB
-rw-r--r--
2018-04-12 21:15
OleFileIO.py
152
B
-rw-r--r--
2018-04-12 21:15
PSDraw.py
6.69
KB
-rw-r--r--
2018-04-12 21:15
PaletteFile.py
1.08
KB
-rw-r--r--
2018-04-12 21:15
PalmImagePlugin.py
8.94
KB
-rw-r--r--
2018-04-12 21:15
PcdImagePlugin.py
1.48
KB
-rw-r--r--
2018-04-12 21:15
PcfFontFile.py
5.99
KB
-rw-r--r--
2018-04-12 21:15
PcxImagePlugin.py
5.29
KB
-rw-r--r--
2024-07-03 09:03
PdfImagePlugin.py
7.16
KB
-rw-r--r--
2018-04-12 21:15
PdfParser.py
32.64
KB
-rw-r--r--
2024-07-03 09:03
PixarImagePlugin.py
1.63
KB
-rw-r--r--
2018-04-12 21:15
PngImagePlugin.py
25.09
KB
-rw-r--r--
2018-04-12 21:15
PpmImagePlugin.py
4.11
KB
-rw-r--r--
2018-04-12 21:15
PsdImagePlugin.py
7.76
KB
-rw-r--r--
2024-07-03 09:03
PyAccess.py
8.61
KB
-rw-r--r--
2018-04-12 21:15
SgiImagePlugin.py
5.97
KB
-rw-r--r--
2018-04-12 21:15
SunImagePlugin.py
4.22
KB
-rw-r--r--
2018-04-12 21:15
TarIO.py
1.21
KB
-rw-r--r--
2018-04-12 21:15
TgaImagePlugin.py
4.88
KB
-rw-r--r--
2018-04-12 21:15
TiffImagePlugin.py
63.49
KB
-rw-r--r--
2024-07-03 09:03
TiffTags.py
14.1
KB
-rw-r--r--
2018-04-12 21:15
WalImageFile.py
5.43
KB
-rw-r--r--
2018-04-12 21:15
WebPImagePlugin.py
9.45
KB
-rw-r--r--
2018-04-12 21:15
WmfImagePlugin.py
4.15
KB
-rw-r--r--
2018-04-12 21:15
XVThumbImagePlugin.py
1.91
KB
-rw-r--r--
2018-04-12 21:15
XbmImagePlugin.py
2.45
KB
-rw-r--r--
2018-04-12 21:15
XpmImagePlugin.py
3.03
KB
-rw-r--r--
2018-04-12 21:15
__init__.py
1.66
KB
-rw-r--r--
2018-04-12 21:15
_binary.py
1.75
KB
-rw-r--r--
2018-04-12 21:15
_imaging.cpython-36m-x86_64-linux-gnu.so
391.95
KB
-rwxr-xr-x
2024-07-03 09:03
_imagingcms.cpython-36m-x86_64-linux-gnu.so
35.89
KB
-rwxr-xr-x
2024-07-03 09:03
_imagingft.cpython-36m-x86_64-linux-gnu.so
30.39
KB
-rwxr-xr-x
2024-07-03 09:03
_imagingmath.cpython-36m-x86_64-linux-gnu.so
20.16
KB
-rwxr-xr-x
2024-07-03 09:03
_imagingmorph.cpython-36m-x86_64-linux-gnu.so
11.84
KB
-rwxr-xr-x
2024-07-03 09:03
_tkinter_finder.py
702
B
-rw-r--r--
2018-04-12 21:15
_util.py
553
B
-rw-r--r--
2018-04-12 21:15
_webp.cpython-36m-x86_64-linux-gnu.so
25.16
KB
-rwxr-xr-x
2024-07-03 09:03
features.py
1.83
KB
-rw-r--r--
2018-04-12 21:15
version.py
50
B
-rw-r--r--
2018-04-12 21:15
Save
Rename
# # The Python Imaging Library. # $Id$ # # PCX file handling # # This format was originally used by ZSoft's popular PaintBrush # program for the IBM PC. It is also supported by many MS-DOS and # Windows applications, including the Windows PaintBrush program in # Windows 3. # # history: # 1995-09-01 fl Created # 1996-05-20 fl Fixed RGB support # 1997-01-03 fl Fixed 2-bit and 4-bit support # 1999-02-03 fl Fixed 8-bit support (broken in 1.0b1) # 1999-02-07 fl Added write support # 2002-06-09 fl Made 2-bit and 4-bit support a bit more robust # 2002-07-30 fl Seek from to current position, not beginning of file # 2003-06-03 fl Extract DPI settings (info["dpi"]) # # Copyright (c) 1997-2003 by Secret Labs AB. # Copyright (c) 1995-2003 by Fredrik Lundh. # # See the README file for information on usage and redistribution. # import logging from . import Image, ImageFile, ImagePalette from ._binary import i8, i16le as i16, o8, o16le as o16 logger = logging.getLogger(__name__) __version__ = "0.6" def _accept(prefix): return i8(prefix[0]) == 10 and i8(prefix[1]) in [0, 2, 3, 5] ## # Image plugin for Paintbrush images. class PcxImageFile(ImageFile.ImageFile): format = "PCX" format_description = "Paintbrush" def _open(self): # header s = self.fp.read(128) if not _accept(s): raise SyntaxError("not a PCX file") # image bbox = i16(s, 4), i16(s, 6), i16(s, 8)+1, i16(s, 10)+1 if bbox[2] <= bbox[0] or bbox[3] <= bbox[1]: raise SyntaxError("bad PCX image size") logger.debug("BBox: %s %s %s %s", *bbox) # format version = i8(s[1]) bits = i8(s[3]) planes = i8(s[65]) ignored_stride = i16(s, 66) logger.debug("PCX version %s, bits %s, planes %s, stride %s", version, bits, planes, ignored_stride) self.info["dpi"] = i16(s, 12), i16(s, 14) if bits == 1 and planes == 1: mode = rawmode = "1" elif bits == 1 and planes in (2, 4): mode = "P" rawmode = "P;%dL" % planes self.palette = ImagePalette.raw("RGB", s[16:64]) elif version == 5 and bits == 8 and planes == 1: mode = rawmode = "L" # FIXME: hey, this doesn't work with the incremental loader !!! self.fp.seek(-769, 2) s = self.fp.read(769) if len(s) == 769 and i8(s[0]) == 12: # check if the palette is linear greyscale for i in range(256): if s[i*3+1:i*3+4] != o8(i)*3: mode = rawmode = "P" break if mode == "P": self.palette = ImagePalette.raw("RGB", s[1:]) self.fp.seek(128) elif version == 5 and bits == 8 and planes == 3: mode = "RGB" rawmode = "RGB;L" else: raise IOError("unknown PCX mode") self.mode = mode self.size = bbox[2]-bbox[0], bbox[3]-bbox[1] # don't trust the passed in stride. Calculate for ourselves. # CVE-2020-35653 stride = (self.size[0] * bits + 7) // 8 stride += stride % 2 bbox = (0, 0) + self.size logger.debug("size: %sx%s", *self.size) self.tile = [("pcx", bbox, self.fp.tell(), (rawmode, planes * stride))] # -------------------------------------------------------------------- # save PCX files SAVE = { # mode: (version, bits, planes, raw mode) "1": (2, 1, 1, "1"), "L": (5, 8, 1, "L"), "P": (5, 8, 1, "P"), "RGB": (5, 8, 3, "RGB;L"), } def _save(im, fp, filename): try: version, bits, planes, rawmode = SAVE[im.mode] except KeyError: raise ValueError("Cannot save %s images as PCX" % im.mode) # bytes per plane stride = (im.size[0] * bits + 7) // 8 # stride should be even stride += stride % 2 # Stride needs to be kept in sync with the PcxEncode.c version. # Ideally it should be passed in in the state, but the bytes value # gets overwritten. logger.debug("PcxImagePlugin._save: xwidth: %d, bits: %d, stride: %d", im.size[0], bits, stride) # under windows, we could determine the current screen size with # "Image.core.display_mode()[1]", but I think that's overkill... screen = im.size dpi = 100, 100 # PCX header fp.write( o8(10) + o8(version) + o8(1) + o8(bits) + o16(0) + o16(0) + o16(im.size[0]-1) + o16(im.size[1]-1) + o16(dpi[0]) + o16(dpi[1]) + b"\0"*24 + b"\xFF"*24 + b"\0" + o8(planes) + o16(stride) + o16(1) + o16(screen[0]) + o16(screen[1]) + b"\0"*54 ) assert fp.tell() == 128 ImageFile._save(im, fp, [("pcx", (0, 0)+im.size, 0, (rawmode, bits*planes))]) if im.mode == "P": # colour palette fp.write(o8(12)) fp.write(im.im.getpalette("RGB", "RGB")) # 768 bytes elif im.mode == "L": # greyscale palette fp.write(o8(12)) for i in range(256): fp.write(o8(i)*3) # -------------------------------------------------------------------- # registry Image.register_open(PcxImageFile.format, PcxImageFile, _accept) Image.register_save(PcxImageFile.format, _save) Image.register_extension(PcxImageFile.format, ".pcx")