Commit Graph

171 Commits

Author SHA1 Message Date
Ammar Askar
88787e2568 Merge branch 'master' into nbt_exploit 2015-04-17 18:25:09 +05:00
Ammar Askar
79ee31c44e Fix two python3 compatibility problems:
We need to explicitly encode the serverID before hashing it
Pass read/binary modes to the file made from socket to avoid encoding problems, fixes #29
2015-04-17 17:57:34 +05:00
Ammar Askar
6fbcf4b1f4 Proof of concept for an nbt exploit to crash any minecraft server.
See http://blog.ammaraskar.com/minecraft-vulnerability-advisory/
2015-04-16 20:47:07 +05:00
Jeppe Klitgaard
9202c4399b Update README.rst
Travis-CI status image is now targeted at the master branch in order to prevent an ugly "build failing" image, when the build fails on development branches.
2015-04-15 22:09:42 +02:00
Ammar Askar
a5a76a8e1c Added more tests, fixed compat.py to run on py3 as well 2015-04-12 07:26:12 +05:00
Jeppe Klitgaard
b2ccc754f4 clean now also removed __pycache__ and .pyc and -pyo 2015-04-11 20:00:16 +02:00
Jeppe Klitgaard
f3ee66b0b9 We now also cover files without tests 2015-04-11 17:43:11 +02:00
Jeppe Klitgaard
6daca43748 Added tests for YggdrasilError 2015-04-07 20:16:01 +02:00
Jeppe Klitgaard
ca81f7685a Moved tests around for more logical order. Made tests for Profile object. 2015-04-07 20:07:47 +02:00
Jeppe Klitgaard
057cd499b7 Updated README.md to reflect new requirements 2015-04-07 19:08:09 +02:00
Jeppe Klitgaard
0ac27a940c Switched to using pylintrc file instead of command line options.
This was done because we have a lot of messages we want to ignore (disabled-locally, enabled-locally, etc, etc), which would take up a huge amount of messy space in tox.ini.
2015-04-06 15:47:22 +02:00
Jeppe Klitgaard
971506533c id is a reserved name, even as an attribute. We now use id_ instead 2015-04-06 15:44:51 +02:00
Jeppe Klitgaard
fde8286e7e Things look slightly more legit... 2015-04-06 15:27:42 +02:00
Jeppe Klitgaard
eef23e2023 Fixed coveralls. Jeez I'm an idiot sometimes. Often times 2015-04-06 02:35:04 +02:00
Jeppe Klitgaard
31f666f328 Fixed coveralls. Jeez I'm an idiot sometimes. Often times 2015-04-06 02:34:04 +02:00
Jeppe Klitgaard
8bf7620579 Updated coveralls, now it will run even when cover build fails 2015-04-06 02:29:55 +02:00
Jeppe Klitgaard
9f93c67fb6 pylint needed a hand to inspect compat.py 2015-04-06 02:21:50 +02:00
Jeppe Klitgaard
651357e8e8 Fixed some left-overs from the old authentication system 2015-04-06 02:13:34 +02:00
Jeppe Klitgaard
ce19872115 start.py fixed, added compat.py 2015-04-06 02:11:26 +02:00
Jeppe Klitgaard
87a1101953 New line 2015-04-06 02:06:25 +02:00
Jeppe Klitgaard
cf344fd7e5 I forgot a dash cause I'm a dumbdumb 2015-04-06 02:03:32 +02:00
Jeppe Klitgaard
59578bbbc5 flake8 test now tests more python files. 2015-04-06 01:59:08 +02:00
Jeppe Klitgaard
f631ecd8ba Retiring pylint-full.py, bye bye. 2015-04-06 01:56:50 +02:00
Jeppe Klitgaard
2a8dd11322 Removed pylintrc, its effect does not warrant its existance as of yet 2015-04-06 01:43:01 +02:00
Jeppe Klitgaard
fc6529c913 Removed verify-manifest.py - we now deal with check-manifest in tox.ini 2015-04-06 01:38:39 +02:00
Jeppe Klitgaard
70c381d9f4 pylint-full.py should now be windows compatible 2015-04-06 01:36:06 +02:00
Jeppe Klitgaard
e31bfb58f0 Now verify-manifest.py is windows-compatible again 2015-04-06 01:25:16 +02:00
Jeppe Klitgaard
c35a887e1a Spruced up verify-manifest.py 2015-04-06 00:53:23 +02:00
Jeppe Klitgaard
9a45eec450 Added pylint-full and messed a bit with tox.ini 2015-04-06 00:42:06 +02:00
Jeppe Klitgaard
902d11b8e1 Spruced up verify-manifest.py 2015-04-05 23:25:24 +02:00
Jeppe Klitgaard
fff3947b16 PEP8-friendliness, spaces instead of tabs 2015-04-05 23:13:15 +02:00
Jeppe Klitgaard
ebf5caab01 Updated README.rst, now has python versions and contact information 2015-04-05 22:32:17 +02:00
Jeppe Klitgaard
17e89f23c8 Fixed typo, explicitly stated that number was status code. 2015-04-05 22:14:38 +02:00
Jeppe Klitgaard
c8da0cb8bc Removed executable bit from verify-manifest.py 2015-04-05 22:01:09 +02:00
Ammar Askar
5d56162300 Quick little base test for connection 2015-04-03 22:04:45 +05:00
Ammar Askar
ea11461e76 Fully test the encryption package, and add a test for uncompressed packets when packet compression is enabled 2015-04-03 21:30:31 +05:00
Ammar Askar
89f788f3ea Remove unused test environment 2015-04-03 09:01:07 +05:00
Ammar Askar
1249f99a1e Packet tests 2015-04-03 08:51:53 +05:00
Ammar Askar
08e126188a Add a serialization test 2015-04-03 08:06:20 +05:00
Ammar Askar
a073ee35d8 Add more encryption tests 2015-04-03 07:19:46 +05:00
Ammar Askar
2afb43ef27 read the docs badge because why not 2015-04-03 04:58:26 +05:00
Ammar Askar
d0f6120043 Oops, ignore pylint warnings not errors 2015-04-03 04:29:40 +05:00
Ammar Askar
398050c248 Only execute coveralls on the cover build 2015-04-03 04:15:16 +05:00
Ammar Askar
1e3437d638 Test coverage in readme 2015-04-03 04:02:06 +05:00
Ammar Askar
4dfdb6282b coveralls support 2015-04-03 03:53:13 +05:00
Ammar Askar
515b0b3719 Add travis status to README 2015-04-03 03:31:58 +05:00
Ammar Askar
e966237d54 Add travis support 2015-04-03 03:24:01 +05:00
Ammar Askar
d3917b42a4 split up pylint into errors and warning runners 2015-04-03 03:13:22 +05:00
Ammar Askar
c353d8bb86 Address more pylint and py3 compatibility problems 2015-04-03 02:25:34 +05:00
Ammar Askar
dcb2845ac4 Fix some pylint concerns 2015-04-03 01:44:03 +05:00