GRAYBYTE WORDPRESS FILE MANAGER8734

Server IP : 198.54.121.189 / Your IP : 216.73.216.34
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /lib64/python3.8/encodings/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /lib64/python3.8/encodings//rot_13.py
#! /usr/bin/python3.8
""" Python Character Mapping Codec for ROT13.

This codec de/encodes from str to str.

Written by Marc-Andre Lemburg (mal@lemburg.com).
"""

import codecs

### Codec APIs

class Codec(codecs.Codec):
    def encode(self, input, errors='strict'):
        return (str.translate(input, rot13_map), len(input))

    def decode(self, input, errors='strict'):
        return (str.translate(input, rot13_map), len(input))

class IncrementalEncoder(codecs.IncrementalEncoder):
    def encode(self, input, final=False):
        return str.translate(input, rot13_map)

class IncrementalDecoder(codecs.IncrementalDecoder):
    def decode(self, input, final=False):
        return str.translate(input, rot13_map)

class StreamWriter(Codec,codecs.StreamWriter):
    pass

class StreamReader(Codec,codecs.StreamReader):
    pass

### encodings module API

def getregentry():
    return codecs.CodecInfo(
        name='rot-13',
        encode=Codec().encode,
        decode=Codec().decode,
        incrementalencoder=IncrementalEncoder,
        incrementaldecoder=IncrementalDecoder,
        streamwriter=StreamWriter,
        streamreader=StreamReader,
        _is_text_encoding=False,
    )

### Map

rot13_map = codecs.make_identity_dict(range(256))
rot13_map.update({
   0x0041: 0x004e,
   0x0042: 0x004f,
   0x0043: 0x0050,
   0x0044: 0x0051,
   0x0045: 0x0052,
   0x0046: 0x0053,
   0x0047: 0x0054,
   0x0048: 0x0055,
   0x0049: 0x0056,
   0x004a: 0x0057,
   0x004b: 0x0058,
   0x004c: 0x0059,
   0x004d: 0x005a,
   0x004e: 0x0041,
   0x004f: 0x0042,
   0x0050: 0x0043,
   0x0051: 0x0044,
   0x0052: 0x0045,
   0x0053: 0x0046,
   0x0054: 0x0047,
   0x0055: 0x0048,
   0x0056: 0x0049,
   0x0057: 0x004a,
   0x0058: 0x004b,
   0x0059: 0x004c,
   0x005a: 0x004d,
   0x0061: 0x006e,
   0x0062: 0x006f,
   0x0063: 0x0070,
   0x0064: 0x0071,
   0x0065: 0x0072,
   0x0066: 0x0073,
   0x0067: 0x0074,
   0x0068: 0x0075,
   0x0069: 0x0076,
   0x006a: 0x0077,
   0x006b: 0x0078,
   0x006c: 0x0079,
   0x006d: 0x007a,
   0x006e: 0x0061,
   0x006f: 0x0062,
   0x0070: 0x0063,
   0x0071: 0x0064,
   0x0072: 0x0065,
   0x0073: 0x0066,
   0x0074: 0x0067,
   0x0075: 0x0068,
   0x0076: 0x0069,
   0x0077: 0x006a,
   0x0078: 0x006b,
   0x0079: 0x006c,
   0x007a: 0x006d,
})

### Filter API

def rot13(infile, outfile):
    outfile.write(codecs.encode(infile.read(), 'rot-13'))

if __name__ == '__main__':
    import sys
    rot13(sys.stdin, sys.stdout)

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 05 2024 23:45:16
root / root
0755
__pycache__
--
March 05 2024 23:45:16
root / root
0755
__init__.py
5.457 KB
June 06 2023 13:32:21
root / root
0644
aliases.py
15.325 KB
June 06 2023 13:32:21
root / root
0644
ascii.py
1.219 KB
June 06 2023 13:32:21
root / root
0644
base64_codec.py
1.497 KB
June 06 2023 13:32:21
root / root
0644
big5.py
0.995 KB
June 06 2023 13:32:21
root / root
0644
big5hkscs.py
1.015 KB
June 06 2023 13:32:21
root / root
0644
bz2_codec.py
2.196 KB
June 06 2023 13:32:21
root / root
0644
charmap.py
2.035 KB
June 06 2023 13:32:21
root / root
0644
cp037.py
12.813 KB
June 06 2023 13:32:21
root / root
0644
cp1006.py
13.25 KB
June 06 2023 13:32:21
root / root
0644
cp1026.py
12.806 KB
June 06 2023 13:32:21
root / root
0644
cp1125.py
33.786 KB
June 06 2023 13:32:21
root / root
0644
cp1140.py
12.798 KB
June 06 2023 13:32:21
root / root
0644
cp1250.py
13.365 KB
June 06 2023 13:32:21
root / root
0644
cp1251.py
13.048 KB
June 06 2023 13:32:21
root / root
0644
cp1252.py
13.194 KB
June 06 2023 13:32:21
root / root
0644
cp1253.py
12.787 KB
June 06 2023 13:32:21
root / root
0644
cp1254.py
13.186 KB
June 06 2023 13:32:21
root / root
0644
cp1255.py
12.174 KB
June 06 2023 13:32:21
root / root
0644
cp1256.py
12.514 KB
June 06 2023 13:32:21
root / root
0644
cp1257.py
13.061 KB
June 06 2023 13:32:21
root / root
0644
cp1258.py
13.051 KB
June 06 2023 13:32:21
root / root
0644
cp273.py
13.801 KB
June 06 2023 13:32:21
root / root
0644
cp424.py
11.772 KB
June 06 2023 13:32:21
root / root
0644
cp437.py
33.754 KB
June 06 2023 13:32:21
root / root
0644
cp500.py
12.813 KB
June 06 2023 13:32:21
root / root
0644
cp720.py
13.365 KB
June 06 2023 13:32:21
root / root
0644
cp737.py
33.868 KB
June 06 2023 13:32:21
root / root
0644
cp775.py
33.668 KB
June 06 2023 13:32:21
root / root
0644
cp850.py
33.306 KB
June 06 2023 13:32:21
root / root
0644
cp852.py
34.182 KB
June 06 2023 13:32:21
root / root
0644
cp855.py
33.057 KB
June 06 2023 13:32:21
root / root
0644
cp856.py
12.132 KB
June 06 2023 13:32:21
root / root
0644
cp857.py
33.113 KB
June 06 2023 13:32:21
root / root
0644
cp858.py
33.218 KB
June 06 2023 13:32:21
root / root
0644
cp860.py
33.868 KB
June 06 2023 13:32:21
root / root
0644
cp861.py
33.821 KB
June 06 2023 13:32:21
root / root
0644
cp862.py
32.588 KB
June 06 2023 13:32:21
root / root
0644
cp863.py
33.449 KB
June 06 2023 13:32:21
root / root
0644
cp864.py
32.874 KB
June 06 2023 13:32:21
root / root
0644
cp865.py
33.807 KB
June 06 2023 13:32:21
root / root
0644
cp866.py
33.59 KB
June 06 2023 13:32:21
root / root
0644
cp869.py
32.192 KB
June 06 2023 13:32:21
root / root
0644
cp874.py
12.3 KB
June 06 2023 13:32:21
root / root
0644
cp875.py
12.553 KB
June 06 2023 13:32:21
root / root
0644
cp932.py
0.999 KB
June 06 2023 13:32:21
root / root
0644
cp949.py
0.999 KB
June 06 2023 13:32:21
root / root
0644
cp950.py
0.999 KB
June 06 2023 13:32:21
root / root
0644
euc_jis_2004.py
1.026 KB
June 06 2023 13:32:21
root / root
0644
euc_jisx0213.py
1.026 KB
June 06 2023 13:32:21
root / root
0644
euc_jp.py
1.003 KB
June 06 2023 13:32:21
root / root
0644
euc_kr.py
1.003 KB
June 06 2023 13:32:21
root / root
0644
gb18030.py
1.007 KB
June 06 2023 13:32:21
root / root
0644
gb2312.py
1.003 KB
June 06 2023 13:32:21
root / root
0644
gbk.py
0.991 KB
June 06 2023 13:32:21
root / root
0644
hex_codec.py
1.473 KB
June 06 2023 13:32:21
root / root
0644
hp_roman8.py
13.159 KB
June 06 2023 13:32:21
root / root
0644
hz.py
0.987 KB
June 06 2023 13:32:21
root / root
0644
idna.py
8.885 KB
June 06 2023 13:32:21
root / root
0644
iso2022_jp.py
1.028 KB
June 06 2023 13:32:21
root / root
0644
iso2022_jp_1.py
1.036 KB
June 06 2023 13:32:21
root / root
0644
iso2022_jp_2.py
1.036 KB
June 06 2023 13:32:21
root / root
0644
iso2022_jp_2004.py
1.048 KB
June 06 2023 13:32:21
root / root
0644
iso2022_jp_3.py
1.036 KB
June 06 2023 13:32:21
root / root
0644
iso2022_jp_ext.py
1.044 KB
June 06 2023 13:32:21
root / root
0644
iso2022_kr.py
1.028 KB
June 06 2023 13:32:21
root / root
0644
iso8859_1.py
12.867 KB
June 06 2023 13:32:21
root / root
0644
iso8859_10.py
13.271 KB
June 06 2023 13:32:21
root / root
0644
iso8859_11.py
12.046 KB
June 06 2023 13:32:21
root / root
0644
iso8859_13.py
12.96 KB
June 06 2023 13:32:21
root / root
0644
iso8859_14.py
13.332 KB
June 06 2023 13:32:21
root / root
0644
iso8859_15.py
12.902 KB
June 06 2023 13:32:21
root / root
0644
iso8859_16.py
13.239 KB
June 06 2023 13:32:21
root / root
0644
iso8859_2.py
13.09 KB
June 06 2023 13:32:21
root / root
0644
iso8859_3.py
12.782 KB
June 06 2023 13:32:21
root / root
0644
iso8859_4.py
13.063 KB
June 06 2023 13:32:21
root / root
0644
iso8859_5.py
12.71 KB
June 06 2023 13:32:21
root / root
0644
iso8859_6.py
10.579 KB
June 06 2023 13:32:21
root / root
0644
iso8859_7.py
12.543 KB
June 06 2023 13:32:21
root / root
0644
iso8859_8.py
10.777 KB
June 06 2023 13:32:21
root / root
0644
iso8859_9.py
12.848 KB
June 06 2023 13:32:21
root / root
0644
johab.py
0.999 KB
June 06 2023 13:32:21
root / root
0644
koi8_r.py
13.456 KB
June 06 2023 13:32:21
root / root
0644
koi8_t.py
12.884 KB
June 06 2023 13:32:21
root / root
0644
koi8_u.py
13.439 KB
June 06 2023 13:32:21
root / root
0644
kz1048.py
13.401 KB
June 06 2023 13:32:21
root / root
0644
latin_1.py
1.234 KB
June 06 2023 13:32:21
root / root
0644
mac_arabic.py
35.612 KB
June 06 2023 13:32:21
root / root
0644
mac_centeuro.py
13.771 KB
June 06 2023 13:32:21
root / root
0644
mac_croatian.py
13.313 KB
June 06 2023 13:32:21
root / root
0644
mac_cyrillic.py
13.139 KB
June 06 2023 13:32:21
root / root
0644
mac_farsi.py
14.814 KB
June 06 2023 13:32:21
root / root
0644
mac_greek.py
13.399 KB
June 06 2023 13:32:21
root / root
0644
mac_iceland.py
13.182 KB
June 06 2023 13:32:21
root / root
0644
mac_latin2.py
13.787 KB
June 06 2023 13:32:21
root / root
0644
mac_roman.py
13.164 KB
June 06 2023 13:32:21
root / root
0644
mac_romanian.py
13.341 KB
June 06 2023 13:32:21
root / root
0644
mac_turkish.py
13.196 KB
June 06 2023 13:32:21
root / root
0644
mbcs.py
1.183 KB
June 06 2023 13:32:21
root / root
0644
oem.py
0.995 KB
June 06 2023 13:32:21
root / root
0644
palmos.py
13.202 KB
June 06 2023 13:32:21
root / root
0644
ptcp154.py
13.687 KB
June 06 2023 13:32:21
root / root
0644
punycode.py
6.722 KB
June 06 2023 13:32:21
root / root
0644
quopri_codec.py
1.489 KB
June 06 2023 13:32:21
root / root
0644
raw_unicode_escape.py
1.18 KB
June 06 2023 13:32:21
root / root
0644
rot_13.py
2.391 KB
June 06 2023 13:32:21
root / root
0755
shift_jis.py
1.015 KB
June 06 2023 13:32:21
root / root
0644
shift_jis_2004.py
1.034 KB
June 06 2023 13:32:21
root / root
0644
shift_jisx0213.py
1.034 KB
June 06 2023 13:32:21
root / root
0644
tis_620.py
12.012 KB
June 06 2023 13:32:21
root / root
0644
undefined.py
1.269 KB
June 06 2023 13:32:21
root / root
0644
unicode_escape.py
1.156 KB
June 06 2023 13:32:21
root / root
0644
utf_16.py
5.113 KB
June 06 2023 13:32:21
root / root
0644
utf_16_be.py
1.013 KB
June 06 2023 13:32:21
root / root
0644
utf_16_le.py
1.013 KB
June 06 2023 13:32:21
root / root
0644
utf_32.py
5.009 KB
June 06 2023 13:32:21
root / root
0644
utf_32_be.py
0.908 KB
June 06 2023 13:32:21
root / root
0644
utf_32_le.py
0.908 KB
June 06 2023 13:32:21
root / root
0644
utf_7.py
0.924 KB
June 06 2023 13:32:21
root / root
0644
utf_8.py
0.981 KB
June 06 2023 13:32:21
root / root
0644
utf_8_sig.py
4.036 KB
June 06 2023 13:32:21
root / root
0644
uu_codec.py
2.784 KB
June 06 2023 13:32:21
root / root
0644
zlib_codec.py
2.152 KB
June 06 2023 13:32:21
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF