Download files in console from mediafire/rapidshare, without sudo or root privilege
Posted | archive
This is a short tutorial
- Get this shit http://plowshare.googlecode.com/files/plowshare-0.8.1.tgz, unpack it to somewhere
- Mess with the plowshare dependencies, includes: spidermonkey, libmozjs, libreadline5, libnspr4. They can be found on http://packages.debian.org/. Btw, most of
lenny
binary works onetch
too. - Since I am on a shared host, so there’s no
sudo
or root, so nodpkg
nor/usr/*
access. The only thing you can to is hack - Unpack those
.deb
, grab thedata.tar\usr\*
stuff, includingsmjs, lib.sh, libmozjs.so.0d, libnspr4.so.0d, libreadline.so.5
. - patch the plowshare module, take mediafire for example, edit
plowshare-0.8.1/src/modules/mediafire.sh
to something like this:FILE_URL=$(echo "$VARS; print($HREF);" | ./smjs)
ldd smjs
to see if everything is OK, then, this step is crucial:export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
- OK, now you can try something like this
./download.sh http://www.mediafire.com/?dhbxnndmznw
Everything went better than expected.
Comments