I am trying to upload files from my remote server to an s3 bucket. The catch is that I am accessing this server from localhost. While using PHP upload functionality in my django templates, it gives a list of files in my local directory. I would like it to give me the directories in my server.
Is there anyway I can change the domain name of this php functionality to match my server's domain name? If yes, how?
I am currently trying to find a backdoor mechanism like weevely that could connect with my server.
<!DOCTYPE html>
<html>
<body>
<form action="upload.php" method="post" enctype="multipart/form-data">
Select image to upload:
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="submit" value="Upload Image" name="submit">
</form>
</body>
</html>`
Select image to upload:
TIA
</div>