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
from . import Image, ImageFile, _webp from io import BytesIO _VALID_WEBP_MODES = { "RGBX": True, "RGBA": True, } _VALID_WEBP_LEGACY_MODES = { "RGB": True, "RGBA": True, } _VP8_MODES_BY_IDENTIFIER = { b"VP8 ": "RGB", b"VP8X": "RGBA", b"VP8L": "RGBA", # lossless } def _accept(prefix): is_riff_file_format = prefix[:4] == b"RIFF" is_webp_file = prefix[8:12] == b"WEBP" is_valid_vp8_mode = prefix[12:16] in _VP8_MODES_BY_IDENTIFIER return is_riff_file_format and is_webp_file and is_valid_vp8_mode class WebPImageFile(ImageFile.ImageFile): format = "WEBP" format_description = "WebP image" def _open(self): if not _webp.HAVE_WEBPANIM: # Legacy mode data, width, height, self.mode, icc_profile, exif = \ _webp.WebPDecode(self.fp.read()) if icc_profile: self.info["icc_profile"] = icc_profile if exif: self.info["exif"] = exif self.size = width, height self.fp = BytesIO(data) self.tile = [("raw", (0, 0) + self.size, 0, self.mode)] self._n_frames = 1 return # Use the newer AnimDecoder API to parse the (possibly) animated file, # and access muxed chunks like ICC/EXIF/XMP. self._decoder = _webp.WebPAnimDecoder(self.fp.read()) # Get info from decoder width, height, loop_count, bgcolor, frame_count, mode = \ self._decoder.get_info() self.size = width, height self.info["loop"] = loop_count bg_a, bg_r, bg_g, bg_b = \ (bgcolor >> 24) & 0xFF, \ (bgcolor >> 16) & 0xFF, \ (bgcolor >> 8) & 0xFF, \ bgcolor & 0xFF self.info["background"] = (bg_r, bg_g, bg_b, bg_a) self._n_frames = frame_count self.mode = mode self.tile = [] # Attempt to read ICC / EXIF / XMP chunks from file icc_profile = self._decoder.get_chunk("ICCP") exif = self._decoder.get_chunk("EXIF") xmp = self._decoder.get_chunk("XMP ") if icc_profile: self.info["icc_profile"] = icc_profile if exif: self.info["exif"] = exif if xmp: self.info["xmp"] = xmp # Initialize seek state self._reset(reset=False) self.seek(0) def _getexif(self): from .JpegImagePlugin import _getexif return _getexif(self) @property def n_frames(self): return self._n_frames @property def is_animated(self): return self._n_frames > 1 def seek(self, frame): if not _webp.HAVE_WEBPANIM: return super(WebPImageFile, self).seek(frame) # Perform some simple checks first if frame >= self._n_frames: raise EOFError("attempted to seek beyond end of sequence") if frame < 0: raise EOFError("negative frame index is not valid") # Set logical frame to requested position self.__logical_frame = frame def _reset(self, reset=True): if reset: self._decoder.reset() self.__physical_frame = 0 self.__loaded = -1 self.__timestamp = 0 def _get_next(self): # Get next frame ret = self._decoder.get_next() self.__physical_frame += 1 # Check if an error occurred if ret is None: self._reset() # Reset just to be safe self.seek(0) raise EOFError("failed to decode next frame in WebP file") # Compute duration data, timestamp = ret duration = timestamp - self.__timestamp self.__timestamp = timestamp # libwebp gives frame end, adjust to start of frame timestamp -= duration return data, timestamp, duration def _seek(self, frame): if self.__physical_frame == frame: return # Nothing to do if frame < self.__physical_frame: self._reset() # Rewind to beginning while self.__physical_frame < frame: self._get_next() # Advance to the requested frame def load(self): if _webp.HAVE_WEBPANIM: if self.__loaded != self.__logical_frame: self._seek(self.__logical_frame) # We need to load the image data for this frame data, timestamp, duration = self._get_next() self.info["timestamp"] = timestamp self.info["duration"] = duration self.__loaded = self.__logical_frame # Set tile self.fp = BytesIO(data) self.tile = [("raw", (0, 0) + self.size, 0, self.mode)] return super(WebPImageFile, self).load() def tell(self): if not _webp.HAVE_WEBPANIM: return super(WebPImageFile, self).tell() return self.__logical_frame def _save_all(im, fp, filename): encoderinfo = im.encoderinfo.copy() append_images = list(encoderinfo.get("append_images", [])) # If total frame count is 1, then save using the legacy API, which # will preserve non-alpha modes total = 0 for ims in [im]+append_images: total += 1 if not hasattr(ims, "n_frames") else ims.n_frames if total == 1: _save(im, fp, filename) return background = encoderinfo.get("background", (0, 0, 0, 0)) duration = im.encoderinfo.get("duration", 0) loop = im.encoderinfo.get("loop", 0) minimize_size = im.encoderinfo.get("minimize_size", False) kmin = im.encoderinfo.get("kmin", None) kmax = im.encoderinfo.get("kmax", None) allow_mixed = im.encoderinfo.get("allow_mixed", False) verbose = False lossless = im.encoderinfo.get("lossless", False) quality = im.encoderinfo.get("quality", 80) method = im.encoderinfo.get("method", 0) icc_profile = im.encoderinfo.get("icc_profile", "") exif = im.encoderinfo.get("exif", "") xmp = im.encoderinfo.get("xmp", "") if allow_mixed: lossless = False # Sensible keyframe defaults are from gif2webp.c script if kmin is None: kmin = 9 if lossless else 3 if kmax is None: kmax = 17 if lossless else 5 # Validate background color if (not isinstance(background, (list, tuple)) or len(background) != 4 or not all(v >= 0 and v < 256 for v in background)): raise IOError("Background color is not an RGBA tuple clamped " "to (0-255): %s" % str(background)) # Convert to packed uint bg_r, bg_g, bg_b, bg_a = background background = (bg_a << 24) | (bg_r << 16) | (bg_g << 8) | (bg_b << 0) # Setup the WebP animation encoder enc = _webp.WebPAnimEncoder( im.size[0], im.size[1], background, loop, minimize_size, kmin, kmax, allow_mixed, verbose ) # Add each frame frame_idx = 0 timestamp = 0 cur_idx = im.tell() try: for ims in [im]+append_images: # Get # of frames in this image if not hasattr(ims, "n_frames"): nfr = 1 else: nfr = ims.n_frames for idx in range(nfr): ims.seek(idx) ims.load() # Make sure image mode is supported frame = ims if ims.mode not in _VALID_WEBP_MODES: alpha = ims.mode == 'P' and 'A' in ims.im.getpalettemode() frame = ims.convert('RGBA' if alpha else 'RGBX') # Append the frame to the animation encoder enc.add( frame.tobytes(), timestamp, frame.size[0], frame.size[1], frame.mode, lossless, quality, method ) # Update timestamp and frame index if isinstance(duration, (list, tuple)): timestamp += duration[frame_idx] else: timestamp += duration frame_idx += 1 finally: im.seek(cur_idx) # Force encoder to flush frames enc.add( None, timestamp, 0, 0, "", lossless, quality, 0 ) # Get the final output from the encoder data = enc.assemble(icc_profile, exif, xmp) if data is None: raise IOError("cannot write file as WebP (encoder returned None)") fp.write(data) def _save(im, fp, filename): lossless = im.encoderinfo.get("lossless", False) quality = im.encoderinfo.get("quality", 80) icc_profile = im.encoderinfo.get("icc_profile", "") exif = im.encoderinfo.get("exif", "") xmp = im.encoderinfo.get("xmp", "") if im.mode not in _VALID_WEBP_LEGACY_MODES: alpha = im.mode == 'P' and 'A' in im.im.getpalettemode() im = im.convert('RGBA' if alpha else 'RGB') data = _webp.WebPEncode( im.tobytes(), im.size[0], im.size[1], lossless, float(quality), im.mode, icc_profile, exif, xmp ) if data is None: raise IOError("cannot write file as WebP (encoder returned None)") fp.write(data) Image.register_open(WebPImageFile.format, WebPImageFile, _accept) Image.register_save(WebPImageFile.format, _save) if _webp.HAVE_WEBPANIM: Image.register_save_all(WebPImageFile.format, _save_all) Image.register_extension(WebPImageFile.format, ".webp") Image.register_mime(WebPImageFile.format, "image/webp")