Open tux-mind opened 10 years ago
Thank you for reporting, @tux-mind. Could you tell me the version of msgpack-java you're using? Are you using version 0.7?
5b41360cbeb8af21fc9f0c1757baabe9 msgpack-rpc-0.7.1-SNAPSHOT.jar if you point me out where i can find a quick reference on how to compile the jar from your repo i will do that and i'll report everything you need. btw i just pushed my code: https://github.com/tux-mind/dsploit/blob/master/src/it/evilsocket/dsploit/net/msfrpc.java#L235 it's an android app but i think that the bugs it's on the Array inside a Map "parsing", not an android stuff. thanks for your work @oza :)
hi, i found a bug in your msgpack implementation. i'm working with the msfrpcd, which encode data though msgpack. it encode exceptions too. i think that you should call readValue() and not readValue(uc) here: https://github.com/muga/msgpack-java-0.7/blob/6a0c954f96add92cca1e4b46681aa49600d17bd0/src/main/java/org/msgpack/unpacker/UnpackerIterator.java#L42 the data i receive:
the exception i got:
my code:
the exception is thrown within the hasNext() method, so isn't the second next() call, that is unchecked. using a debugger i found that the exception is thrown after i successfully read everything and i should get `false' from the hasNext() method. here you are some extra info from my debugger about the iterator object: http://pastebin.com/EZQyTWYY
hope this helps. -- tux_mind
open source rocks ;)