Skip to content

Instantly share code, notes, and snippets.

@Mygod
Last active April 21, 2019 03:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mygod/ac60e25841e643c4495e to your computer and use it in GitHub Desktop.
Save Mygod/ac60e25841e643c4495e to your computer and use it in GitHub Desktop.
Redirect user to Userscloud free account download link
<form method="POST" action="https://userscloud.com/<?= $id ?>">
<input type="hidden" name="op" value="download2">
<input type="hidden" name="id" value="<?= $id ?>">
<input type="hidden" name="method_premium" value="">
</form>
<iframe src="https://userscloud.com/?op=login&login=solarglacier&password=coolpass" width="0" height="0" style="display: none;" onload="document.getElementsByTagName('form')[0].submit();"></iframe>
@rohantarai
Copy link

how to use this code?

@Mygod
Copy link
Author

Mygod commented Jul 18, 2016

@champrohan123
process('https://userscloud.com/nb70l2ttawxz')
Demo: https://mygod.be/resources/userscloud/nb70l2ttawxz

Updated 20160719: Old script failed with Wrong IP. This script logs user in with my secondary account (PLEASE DON'T do anything weird about it, you can register one for free anyways) and starts downloading afterwards.

Note: This might not work well on Internet Explorer due to this.

It's suggested that you register your own free account instead of using mine. 😛

Update 20161010: This no longer works for free accounts now. :(

Update 20170114: Somebody just upgraded our public account to a premium account for a month! Woo-hoo! This method is back online! Thanks whoever is out there!

Update 20170415: Never mind it expired. Back to ads (but less!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment