tonistiigi / mega

THIS REPO IS NOT MAINTAINED. Unofficial Node.js SDK for Mega
http://tonistiigi.github.com/mega
118 stars 33 forks source link

loadAttributes fail #23

Open smolleyes opened 10 years ago

smolleyes commented 10 years ago

hi

don t know if mega made an update but some links can t be decoded

File.prototype._setAttributes = function(at, cb) seems not working (sorry for file linked but can t find samll exemple file with this error)

exemple #!Vs4XxRRD!cK_gNBp-7SYmr-riEqcgRiUqllsIcShTo2yDyEahdwE

give: undefined SyntaxError {} undefined

thanks

tonistiigi commented 10 years ago

Yes, Links encrypted with folder key do not work at the moment. Only files with user key do.

I'll fix it the next time I have a chance to work on this lib.

19

tonistiigi commented 10 years ago

Didn't notice the #F!. This may be something else. Leave this issue open for now.

smolleyes commented 10 years ago

hi

oh ok usually folders links are #F! strange :p

thanks

smolleyes commented 10 years ago

hi tony

more and more files have this bug :(

i confirm the problem is in (i think)

File.getCipher(this.key).decryptCBC(at) it return undefined (normal?)

or in the File.unpackAttributes = function(at) { in file.js

i found this small code working on same links

http://hacktracking.blogspot.fr/2013/07/download-mega-files-from-command-line.html

thanks :)

++

smolleyes commented 10 years ago

hi

many issues are appearing now with mega :( can t decode folder liks files any more, many links won t load attributes ....

if you can have a look in the future toni.. thanks :)

cameron5906 commented 8 years ago

Did you find any solution to this? Really worried that this lib isn't going to work for my project and it's unfortunately the only one out there with this kind of capability!