How to add generate link button?

SnitchHunter

Regular Member
Joined
Aug 20, 2019
Messages
206
Reaction score
79
For example when I click a download link in pahe.in website it goes to an adsence enabled site. I this site there are buttons like "click to generate link". But the special thing is if i access this page directly I cant see any buttons. Any idea how to do this?
 
It's a custom PHP script.

If you check a download link for this page: https://pahe.in/the-dead-dont-die-2019-bluray/
you'll see this link: https://lonelymoon.net/?id=dC94MXMvbTRkK21jV1doNE1ZdWMzUWdBRnNJQ2EyK0R4eGhvUXp4b3dMQT0=

If you check it with curl, you see this:

<html>
<head>
<title>Landing..</title>
</head>
<body>

<form id="landing" method="POST" action="https://lonelymoon.net/why-are-there-seasons/">
<input type="hidden" id="_wpnonce" name="_wpnonce" value="992b3d1f41" />
<input type="hidden" name="_wp_http_referer" value="/?id=dC94MXMvbTRkK21jV1doNE1ZdWMzUWdBRnNJQ2EyK0R4eGhvUXp4b3dMQT0=" />
<input type="hidden" name="userid" value="2787"/>
</form>

<script>
window.onload = function(){
document.getElementById('landing').submit();
}
</script>
</body>
</html>


So when you click on a download link, a dynamic form is created which redirects to a php page which check the parameters to create the final page with the download link. Hence if you go directly to the final page, no parameters are sent.
 
Back
Top