GithubHelp home page GithubHelp logo

dared87 / dropbox-referral-accounts Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 4.0 69.03 MB

This script is currently not working! (2016-09-14)

Home Page: https://bitbucket.org/gnutix/dropbox-referral-accounts

Shell 38.47% JavaScript 43.44% PowerShell 18.09%

dropbox-referral-accounts's Introduction

Dropbox Referral Accounts

I believe it should be easy and painless to use Dropbox, and that not having enough available space is a pain.

I created this package to relieve you from this pain, by giving you up to 16 Gigabytes of space for any Dropbox account of your choice, without requiring efforts or manual intervention.

How ? By automating the creation and linking of random referral accounts to a Dropbox account of your choice.

For each referral account, your space will be increased of 500 Mb. Do it 32 times, and you're up the maximum of 16 Gb allowed by Dropbox.

Prerequisites

Install up-to-date versions of Vagrant and VirtualBox.

Installation

  1. Create a new folder on your computer : mkdir -p ~/dropbox-referral-accounts && cd $_.
  2. Download the scripts inside it : wget -O - https://bitbucket.org/gnutix/dropbox-referral-accounts/get/master.tar.gz | tar xzf - --strip 1
  3. Create your own configuration file : cp config/config.cfg.dist config/config.cfg
  4. Adapt the following values of config/config.cfg to your needs :
# The referral link of the Dropbox account for which you want to increase the storage.
dropboxReferralLink = "https://db.tt/xxxxxxxx"
 
# The referral accounts' email. "%d" will be replaced by the account ID from the loop.
accountEmail = "my.gmail.nickname+change_me_for_something_unique.%[email protected]" 

Give me space !

Execute bash run.sh 1 32 in your terminal and watch the magic happen (PS: you will be prompted for your sudo password by Vagrant, so don't run the command and leave, or the magic will die).

Please note that running the script the first time will take you a while, as it has to download a Vagrant box of ~500 Mb.

Troubleshooting

DHCP conflict

If you see the following message :

A host only network interface you're attempting to configure via DHCP already has a conflicting host only adapter with DHCP enabled. The DHCP on this adapter is incompatible with the DHCP settings. Two host only network interfaces are not allowed to overlap, and each host only network interface can have only one DHCP server. Please reconfigure your host only network or remove the virtual machine using the other host only network.

Change the following line of the file Vagrantfile :

    config.vm.network :private_network, type: "dhcp"

to

    config.vm.network :private_network, ip: "10.10.10.10"

(you are free to use any IP address in the private IP address space instead of 10.10.10.10).

Accounts not correctly created or linked

You can take a look at the screenshots/ folder, which contains screenshots done just before errors occurs. You can also display more information when running the script, by using logging = "debug" in the configuration file.

One issue that happens a lot is that the JavaScript on Dropbox website isn't loaded fast enough, as it highly depends on your network connection, especially through TOR's proxy. Increasing CasperJS's timeout by changing the timeout configuration key can help.

Anyway, keep in mind that browser scraping is "fragile", and unfortunately doesn't work 100% of the time.

Technical information

The nasty details

The scripts :

  • creates temporary Vagrant boxes with varying MAC addresses
  • installs and run a TOR proxy for varying IP addresses
  • installs and run Dropbox's software on them
  • crawls Dropbox's website using CasperJS :
    1. to create a random referral account, from the configured referral link
    2. to link the referral account with the Dropbox software installed in the box

Advanced usage

The script can be used in two ways :

  • handling multiple accounts (bash run.sh X Y)
  • handling one account (bash run.sh X)

Take a closer look at the configuration file for more options.

Disclaimer

The author of this script disclaims all responsibility for the effects of its usage by whomever other than himself.

dropbox-referral-accounts's People

Contributors

dared87 avatar gnutix avatar

Stargazers

 avatar

Watchers

 avatar

dropbox-referral-accounts's Issues

Possibility of using other vagrant box

Hi, is it possible to use different vagrant box? I have a problem with logging into gnutix/ubuntu-trusty-dropbox-casperjs via ssh (perhaps virtualization issue) and I wonder what are requirements of vagrant box to run the script. As I can see in the box description it should be provided with Dropbox, PhantomJS & CasperJS. Could anyone give any details on its configuration?

Details:
I use current Virtualbox 5.1.6/Vagrant 1.8.5 with Mint 18 64bit on Virtualbox 5.1.6 on Windows 10, my processor supports VT-x
virtualbox_mintdrop_13_09_2016_23_00_27

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.