This tutorial explains how to upload files temporarily to Filebin using the curl
command.
-
Ensure you have
curl
installed on your system and access to the terminal. -
Prepare the file you want to upload. For example, let’s assume the file is located at: /home/rajexploit404/test.txt
-
Use the following
curl
command to upload your file to Filebin:
curl --data-binary "@/home/rajexploit404/test.txt" -H "filename: test.txt" https://filebin.net/
*Explanation of the command:
-> --data-binary "@/path/to/file": Where you saved the file in the path.
-> -H "filename: desired_name": Specifies the name of the file when uploaded to Filebin.
-> https://filebin.net/: The URL endpoint where the file will be uploaded.
Once the command is executed, you will receive a response containing the URL to access your uploaded fil, copy the id in the output terminal. For example:
https://filebin.net/diwusoxjie5i6u2t
Copy this URL to share or access the file.
Notes
- Files uploaded to Filebin are temporary and will be deleted according to their retention policy.
- Avoid uploading senstive or confidential information.