-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Leo Moll
committed
Jan 16, 2018
0 parents
commit 77d4675
Showing
23 changed files
with
2,695 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*.pyc | ||
*.pyo | ||
*.swp | ||
/.vscode | ||
.DS_Store | ||
lib/setup.* | ||
lib/tox.ini | ||
lib/test* | ||
lib/.travis.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 | ||
-------------------------------------------- | ||
|
||
1. This LICENSE AGREEMENT is between the Python Software Foundation | ||
("PSF"), and the Individual or Organization ("Licensee") accessing and | ||
otherwise using this software ("Python") in source or binary form and | ||
its associated documentation. | ||
|
||
2. Subject to the terms and conditions of this License Agreement, PSF | ||
hereby grants Licensee a nonexclusive, royalty-free, world-wide | ||
license to reproduce, analyze, test, perform and/or display publicly, | ||
prepare derivative works, distribute, and otherwise use Python | ||
alone or in any derivative version, provided, however, that PSF's | ||
License Agreement and PSF's notice of copyright, i.e., "Copyright (c) | ||
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Python Software Foundation; | ||
All Rights Reserved" are retained in Python alone or in any derivative | ||
version prepared by Licensee. | ||
|
||
3. In the event Licensee prepares a derivative work that is based on | ||
or incorporates Python or any part thereof, and wants to make | ||
the derivative work available to others as provided herein, then | ||
Licensee hereby agrees to include in any such work a brief summary of | ||
the changes made to Python. | ||
|
||
4. PSF is making Python available to Licensee on an "AS IS" | ||
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR | ||
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND | ||
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS | ||
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT | ||
INFRINGE ANY THIRD PARTY RIGHTS. | ||
|
||
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON | ||
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS | ||
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, | ||
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. | ||
|
||
6. This License Agreement will automatically terminate upon a material | ||
breach of its terms and conditions. | ||
|
||
7. Nothing in this License Agreement shall be deemed to create any | ||
relationship of agency, partnership, or joint venture between PSF and | ||
Licensee. This License Agreement does not grant permission to use PSF | ||
trademarks or trade name in a trademark sense to endorse or promote | ||
products or services of Licensee, or any third party. | ||
|
||
8. By copying, installing or otherwise using Python, Licensee | ||
agrees to be bound by the terms and conditions of this License | ||
Agreement. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
script.module.defusedxml | ||
======================== | ||
|
||
Python defusedxml library packed for KODI. | ||
|
||
See https://github.com/tiran/defusedxml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="script.module.ijson" | ||
name="defusedxml" | ||
version="0.5.0" | ||
provider-name="Christian Heimes"> | ||
<requires> | ||
<import addon="xbmc.python" version="2.25.0"/> | ||
</requires> | ||
<extension | ||
point="xbmc.python.module" | ||
library="lib" /> | ||
<extension | ||
point="xbmc.addon.metadata"> | ||
<summary lang="en_GB">defusedxml -- defusing XML bombs and other exploits</summary> | ||
<description lang="en_GB">Packed for KODI from https://github.com/tiran/defusedxml</description> | ||
<platform>all</platform> | ||
<language></language> | ||
<license>PSF</license> | ||
<forum></forum> | ||
<website>https://pypi.python.org/pypi/defusedxml</website> | ||
<source>https://github.com/tiran/defusedxml</source> | ||
<email></email> | ||
</extension> | ||
</addon> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[B]Version 0.5.0[/B] | ||
|
||
- defusedxml 0.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
Changelog | ||
========= | ||
|
||
defusedxml 0.5.0 | ||
---------------- | ||
|
||
*Release date: 07-Feb-2017* | ||
|
||
- No changes | ||
|
||
defusedxml 0.5.0.rc1 | ||
-------------------- | ||
|
||
*Release date: 28-Jan-2017* | ||
|
||
- Add compatibility with Python 3.6 | ||
- Drop support for Python 2.6, 3.1, 3.2, 3.3 | ||
- Fix lxml tests (XMLSyntaxError: Detected an entity reference loop) | ||
|
||
|
||
defusedxml 0.4.1 | ||
---------------- | ||
|
||
*Release date: 28-Mar-2013* | ||
|
||
- Add more demo exploits, e.g. python_external.py and Xalan XSLT demos. | ||
- Improved documentation. | ||
|
||
|
||
defusedxml 0.4 | ||
-------------- | ||
|
||
*Release date: 25-Feb-2013* | ||
|
||
- As per http://seclists.org/oss-sec/2013/q1/340 please REJECT | ||
CVE-2013-0278, CVE-2013-0279 and CVE-2013-0280 and use CVE-2013-1664, | ||
CVE-2013-1665 for OpenStack/etc. | ||
- Add missing parser_list argument to sax.make_parser(). The argument is | ||
ignored, though. (thanks to Florian Apolloner) | ||
- Add demo exploit for external entity attack on Python's SAX parser, XML-RPC | ||
and WebDAV. | ||
|
||
|
||
defusedxml 0.3 | ||
-------------- | ||
|
||
*Release date: 19-Feb-2013* | ||
|
||
- Improve documentation | ||
|
||
|
||
defusedxml 0.2 | ||
-------------- | ||
|
||
*Release date: 15-Feb-2013* | ||
|
||
- Rename ExternalEntitiesForbidden to ExternalReferenceForbidden | ||
- Rename defusedxml.lxml.check_dtd() to check_docinfo() | ||
- Unify argument names in callbacks | ||
- Add arguments and formatted representation to exceptions | ||
- Add forbid_external argument to all functions and classs | ||
- More tests | ||
- LOTS of documentation | ||
- Add example code for other languages (Ruby, Perl, PHP) and parsers (Genshi) | ||
- Add protection against XML and gzip attacks to xmlrpclib | ||
|
||
defusedxml 0.1 | ||
-------------- | ||
|
||
*Release date: 08-Feb-2013* | ||
|
||
- Initial and internal release for PSRT review |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 | ||
-------------------------------------------- | ||
|
||
1. This LICENSE AGREEMENT is between the Python Software Foundation | ||
("PSF"), and the Individual or Organization ("Licensee") accessing and | ||
otherwise using this software ("Python") in source or binary form and | ||
its associated documentation. | ||
|
||
2. Subject to the terms and conditions of this License Agreement, PSF | ||
hereby grants Licensee a nonexclusive, royalty-free, world-wide | ||
license to reproduce, analyze, test, perform and/or display publicly, | ||
prepare derivative works, distribute, and otherwise use Python | ||
alone or in any derivative version, provided, however, that PSF's | ||
License Agreement and PSF's notice of copyright, i.e., "Copyright (c) | ||
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Python Software Foundation; | ||
All Rights Reserved" are retained in Python alone or in any derivative | ||
version prepared by Licensee. | ||
|
||
3. In the event Licensee prepares a derivative work that is based on | ||
or incorporates Python or any part thereof, and wants to make | ||
the derivative work available to others as provided herein, then | ||
Licensee hereby agrees to include in any such work a brief summary of | ||
the changes made to Python. | ||
|
||
4. PSF is making Python available to Licensee on an "AS IS" | ||
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR | ||
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND | ||
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS | ||
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT | ||
INFRINGE ANY THIRD PARTY RIGHTS. | ||
|
||
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON | ||
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS | ||
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, | ||
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. | ||
|
||
6. This License Agreement will automatically terminate upon a material | ||
breach of its terms and conditions. | ||
|
||
7. Nothing in this License Agreement shall be deemed to create any | ||
relationship of agency, partnership, or joint venture between PSF and | ||
Licensee. This License Agreement does not grant permission to use PSF | ||
trademarks or trade name in a trademark sense to endorse or promote | ||
products or services of Licensee, or any third party. | ||
|
||
8. By copying, installing or otherwise using Python, Licensee | ||
agrees to be bound by the terms and conditions of this License | ||
Agreement. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include setup.py | ||
include README.txt CHANGES.txt LICENSE README.html | ||
include void.css | ||
include MANIFEST.in | ||
include setup.py Makefile | ||
include tests.py | ||
recursive-include xmltestdata *.xml | ||
recursive-include other *.php *.pl *.rb *.py *.txt | ||
|
Oops, something went wrong.