Megaupload premium

From WikiDLXTV
Revision as of 01:08, 18 September 2010 by Slowpoke (Talk | contribs) (Created page with '==Get user content in Firefox== Go to '''edit'''>'''preferences'''>'''privacy'''>'''show cookie''' then search for megaupload and look for the one called user,copy the numbers in…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Get user content in Firefox

Go to edit>preferences>privacy>show cookie then search for megaupload and look for the one called user,copy the numbers in the field "content"

Using Wget

well one way to download from megaupload with a premium account is using Wget this command do the trick:

wget -c --no-cookies --header "Cookie: user=NUMBER_COOKIE" -i LIST

NUMBER_COOKIE:is the number obtained in firefox.

LIST:is a text with the megaupload links.

So we can create a script like this:

#!/usr/bin/bash
wget -c --no-cookies --limit-rate=100k --header "Cookie: user=xxxxxxxxxxxxxxxxxxxxxx" -i $1

--limit-rate:is optional,used if you want limit the download

Example

./mega modern_family

where mega is the script and modern_family is the text with the links

Using with Screen

well this above works well but if you close the terminal is over,so we can use this awesome command called screen

how we use it?, we get via ssh and type:

$ screen

run the script and  for  detached do the following

CRTL+A+D

It makes you get out of the supposed virtual terminal but the operation still running, now you can disconnect from ssh and from there continue on another pc, but now comes a question ... how we return to that terminal?

We can do this:

$screen -ls

which tells us the pid of the number of terminals which have running such as:

pinto@debian:~$ screen -ls
There are screens on:
16589.pts-2.debian (02/05/09 23:23:04) (Detached)
16471.pts-0.debian (02/05/09 23:07:50) (Detached)
2 Sockets in /var/run/screen/S-pinto.

to return to the first,this command is used $screen -r Numero_Pid,for example:


screen -r 16589


Now they can put names to the session (it is easier to learn a name as a number) that is done for example like this:

screen -S session

And to enter that session would be:

$screen -r session

For example here we have one called "hello":

There are screens on:
22990.hola (03/05/09 21:37:59) (Detached)
16589.pts-2.debian (02/05/09 23:23:04) (Detached)
16471.pts-0.debian (02/05/09 23:07:50) (Detached)
3 Sockets in /var/run/screen/S-pinto.

For close screen we write exit or Ctrl+D

Practical Example