Jump to content

Welcome!

Sign In or Register to gain full access to our forums.




* * * * * 1 votes

Announcing support of mega.co.nz links


  • Please log in to reply
22 replies to this topic

#1 Guest_Freddy_*

Guest_Freddy_*
  • Guests

Posted 23 May 2013 - 06:00 PM

Hello everyone!

 

Looks like we made some progress. Today we announcing support of mega.co.nz links which will arrive approx in 2-3 weeks, or sooner.

 

Thanks for using AppAddict!


  • dkbame, PRAISER, DblD and 3 others like this



#2 PRAISER

PRAISER

    Artist in Residence

  • Members
  • PipPipPipPipPip
  • 1,987 posts

Posted 23 May 2013 - 06:07 PM

Great news.

 

cheers


Posted Image

#3 d0ge

d0ge

    much wow

  • Moderators
  • 1,778 posts
  • Locationsuch d0ge

Posted 23 May 2013 - 06:13 PM

Nice 



#4 ssneoh

ssneoh

    Member

  • Members
  • PipPip
  • 28 posts

Posted 24 May 2013 - 01:12 AM

Cool! Long live AppAddict !!!



#5 dkbame

dkbame

    Addicted to Apps

  • Members
  • PipPipPipPipPip
  • 1,153 posts
  • Locationincarcerated

Posted 24 May 2013 - 03:50 AM

Nice this will be cool! 

 

I'm keen to see what speed I get on my iphone 5, There has been problems with some hosts for me. http://www.appaddict...-ipad-question/



#6 Icpryde

Icpryde

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 31 May 2013 - 11:48 PM

Oh wow hope this works out as well as I think it will and get some nice speeds for the iPhone :)

#7 kakarot1925

kakarot1925

    AppAddict Addict

  • Members
  • PipPipPipPipPip
  • 454 posts

Posted 01 June 2013 - 12:29 AM

So are we allowed to submit MEGA links atm then? O.o


Posted Image

#8 PRAISER

PRAISER

    Artist in Residence

  • Members
  • PipPipPipPipPip
  • 1,987 posts

Posted 01 June 2013 - 12:35 AM

So are we allowed to submit MEGA links atm then? O.o

 

You been before ;)


  • kakarot1925 likes this
Posted Image

#9 J3BB4D

J3BB4D

    Advanced Member

  • Members
  • PipPipPip
  • 87 posts

Posted 01 June 2013 - 01:05 AM

Yes you are


  • kakarot1925 likes this

#10 DblD

DblD

    Such admin

  • Members
  • PipPipPipPipPipPip
  • 3,326 posts
  • LocationValve Corporation

Posted 01 June 2013 - 08:30 AM

Yes, mega links were always allowed, but now you can use them in the app, it gives a nice speed too.
  • MONGOLO and kakarot1925 like this

Such Admin! I toss in a few high quality cracks here and there.

Check out my github website: http://crackengine.github.io/
Wanna donate me some cryptocurrency?
BTC: 17qEMPD6oX9HLX4gmeWtgUWMmhPPcFXVj8

DOGE: DJQYzwQdGPQDzDh9VCUgpu1mkM6JG6V2Cf




NtWpjY2.png


#11 MONGOLO

MONGOLO

    delete cookies ?!

  • Members
  • PipPipPipPipPip
  • 1,234 posts
  • Location///\\\ FreddyLand (comical)

Posted 05 December 2013 - 06:28 PM

I found this blog with much great stuff about mega:


well look what I found..

 

 

http://julien-marcha...out-logging-in/

Using the Mega API: how to download a public file (or a file you know the key), without logging in.


http://julien-marcha...out-logging-in/
    

Using the Mega API: how to download a public file (or a file you know the key), without logging in.
24 Replies    

In my first article, I showed how to log into the Mega API, list all of your own files, download them, and upload new files. But I didn’t talk about how to download public files (files that you know the link/the key), without logging in, just as a visitor on http://mega.co.nz can do.

Let’s take this file as an example:

Capture-du-2013-01-29-224625.png

If we look at the URL, we can notice two components, separated by a ‘!‘:

    RtQFAZZQ: the file ID ;
    OH8OnHm0VFw-9IzkYQa7VUdsjMp1G7hucXEk7QIZWvE: the file key, already decrypted (the key is stored encrypted with the owner’s master key on Mega’s servers, but when he decides to share the file, he shares the decrypted key so that other people can decrypt the attributes of the file and its contents).

To download the file, we can follow almost the same steps as in the getfiles() and downloadfile() functions (see my previous article for more details):

    Decompose the key into its three components: k, iv and meta_mac ;
    Get informations about the file (its attributes, size and download URL): this is done with the API g method, that we used to get the download URL of our files in the previous article. But instead of giving the ID of the file as a n parameter, we will pass it as a p parameter.
    Download the file using the download URL, decrypt it and check its meta-MAC.

So… here we go!

def getfile(file_id, file_key):
  key = base64_to_a32(file_key)
  k = (key[0] ^ key[4], key[1] ^ key[5], key[2] ^ key[6], key[3] ^ key[7])
  iv = key[4:6] + (0, 0)
  meta_mac = key[6:8]
 
  file = api_req({'a': 'g', 'g': 1, 'p': file_id})
  dl_url = file['g']
  size = file['s']
  attributes = base64urldecode(file['at'])
  attributes = dec_attr(attributes, k)
 
  print "Downloading %s (size: %d), url = %s" % (attributes['n'], size, dl_url)
 
  infile = urllib.urlopen(dl_url)
  outfile = open(attributes['n'], 'wb')
  decryptor = AES.new(a32_to_str(k), AES.MODE_CTR, counter = Counter.new(128, initial_value = ((iv[0] << 32) + iv[1]) << 64))
 
  file_mac = [0, 0, 0, 0]
  for chunk_start, chunk_size in sorted(get_chunks(file['s']).items()):
    chunk = infile.read(chunk_size)
    chunk = decryptor.decrypt(chunk)
    outfile.write(chunk)
 
    chunk_mac = [iv[0], iv[1], iv[0], iv[1]]
    for i in xrange(0, len(chunk), 16):
      block = chunk[i:i+16]
      if len(block) % 16:
        block += '\0' * (16 - (len(block) % 16))
      block = str_to_a32(block)
      chunk_mac = [chunk_mac[0] ^ block[0], chunk_mac[1] ^ block[1], chunk_mac[2] ^ block[2], chunk_mac[3] ^ block[3]]
      chunk_mac = aes_cbc_encrypt_a32(chunk_mac, k)
 
    file_mac = [file_mac[0] ^ chunk_mac[0], file_mac[1] ^ chunk_mac[1], file_mac[2] ^ chunk_mac[2], file_mac[3] ^ chunk_mac[3]]
    file_mac = aes_cbc_encrypt_a32(file_mac, k)
 
  outfile.close()
  infile.close()
 
  if (file_mac[0] ^ file_mac[1], file_mac[2] ^ file_mac[3]) != meta_mac:
    print "MAC mismatch"
  else:
    print "MAC OK"
getfile('RtQFAZZQ', 'OH8OnHm0VFw-9IzkYQa7VUdsjMp1G7hucXEk7QIZWvE')
All the utility functions are the same as in the previous article.

We can now test our program and see the result :-)
julienm@rchand:~$ python mega/megalol_propre.py
Downloading donjon-de-naheulbeuk10.mp3 (size: 4676674), url = http://gfs262n152.userstorage.mega.co.nz/dl/yKpztNG6YnZ1bQLVBMVnNxMWOljOEEFZmWXVHJHNiF9EBDxvBn3kk06JwbCCNQudAJtvjruEwtMeypRrjG2zLPgf8r6PTR4XBvq-ziJorNryrUt4sA
MAC OK
julienm@rchand:~$ ls -l donjon-de-naheulbeuk10.mp3
-rw-rw-r-- 1 julienm julienm 4676674 janv. 29 23:04 donjon-de-naheulbeuk10.mp3
julienm@rchand:~$ file donjon-de-naheulbeuk10.mp3
donjon-de-naheulbeuk10.mp3: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, Stereo
julienm@rchand:~$

 

 

and he has more good stuff too!

Using the Mega API, with PHP examples! (uploading to mega with crackaddict??)

http://julien-marcha...h-php-examples/

 

MegaFS, a FUSE filesystem wrapper for Mega. Part 2: Reading and writing files. (for file managment? in crackaddict?)

http://julien-marcha...-writing-files/


  • miketolsa likes this
- ¡Hablo español! - LOL, see this! - Posted Image

#12 tjglass

tjglass

    -

  • Members
  • PipPipPipPipPip
  • 2,389 posts

Posted 05 December 2013 - 08:06 PM

:/ Mega is not known good in iOS cracking we need to look at better places such as TheFileBay.



#13 MONGOLO

MONGOLO

    delete cookies ?!

  • Members
  • PipPipPipPipPip
  • 1,234 posts
  • Location///\\\ FreddyLand (comical)

Posted 05 December 2013 - 08:19 PM

:/ Mega is not known good in iOS cracking we need to look at better places such as TheFileBay.

 

 

still for free apps and "throw away" links why not use mega. once somebody else has uploaded an app to TFB what is the point of another TFB link besides, of course I want to see TFB supported in crackaaddcit even more than mega, but TFB hasn't provided zorro with an API.

 

and for crackaddict, we need more vareity other than ifilez, and mega has direct installer. since crackaaddict will get a lot of casual crackers when appaddict gets bigger, there should be another host supported to take pressure of ifilez and TFB, cause what is the point of 5 TFB link and 3 ifilez links?, they never go dead. better some limlinx or mega, or datafilehost for the rest of the links for vareity.

 

so for now I say mega should be the next host supported in crackaddict, and the API is right here:http://julien-marcha...h-php-examples/


- ¡Hablo español! - LOL, see this! - Posted Image

#14 tjglass

tjglass

    -

  • Members
  • PipPipPipPipPip
  • 2,389 posts

Posted 05 December 2013 - 08:29 PM

Bottom line I have API for Zorro we are working with AA to bring TheFileBay closer but no one is perfect. MEGA I cannot see coming soon. iFilez API will work so far with TheFileBay except we have some more security



#15 miketolsa

miketolsa

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts

Posted 06 December 2013 - 07:39 AM

Great news !!!



#16 Jeppe

Jeppe

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 14 December 2013 - 03:38 AM

Mega.co is not working for me after the update for appaddict somebody knows how to fix?

#17 PRAISER

PRAISER

    Artist in Residence

  • Members
  • PipPipPipPipPip
  • 1,987 posts

Posted 14 December 2013 - 03:42 AM

Mega.co is not working for me after the update for appaddict somebody knows how to fix?

is it happening to all links ?
Posted Image

#18 DblD

DblD

    Such admin

  • Members
  • PipPipPipPipPipPip
  • 3,326 posts
  • LocationValve Corporation

Posted 14 December 2013 - 07:03 AM

is it happening to all links ?

^ This.
If it's happening to some links, that link is dead.

Such Admin! I toss in a few high quality cracks here and there.

Check out my github website: http://crackengine.github.io/
Wanna donate me some cryptocurrency?
BTC: 17qEMPD6oX9HLX4gmeWtgUWMmhPPcFXVj8

DOGE: DJQYzwQdGPQDzDh9VCUgpu1mkM6JG6V2Cf




NtWpjY2.png


#19 MONGOLO

MONGOLO

    delete cookies ?!

  • Members
  • PipPipPipPipPip
  • 1,234 posts
  • Location///\\\ FreddyLand (comical)

Posted 14 December 2013 - 05:32 PM

^ This.
If it's happening to some links, that link is dead.

just an idea, how about if a direct installer cant go thru, it displays a message to the users that their is a problem because the link is dead or a problem with da direct installr and then it automatically reports the link or direct installer bug.


- ¡Hablo español! - LOL, see this! - Posted Image

#20 PRAISER

PRAISER

    Artist in Residence

  • Members
  • PipPipPipPipPip
  • 1,987 posts

Posted 14 December 2013 - 08:35 PM

just an idea, how about if a direct installer cant go thru, it displays a message to the users that their is a problem because the link is dead or a problem with da direct installr and then it automatically reports the link or direct installer bug.

I guess it's not possible, because this idea is an obvious and probably Zorro should have implemented till now


Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users