79669450

Date: 2025-06-17 16:21:24
Score: 1
Natty:
Report link

Solutions without .pem

Base64 (small files) (safe)

  1. Open a bash on your local machine (on Linux or Git Bash)
  2. Encode into Base64: cat myFile.zip | base64 -w 0
  3. Copy the output
  4. On the browser, open the console of the EC2 instance
  5. Execute the command pasting the content of the file: echo QWxhZGRpbjpvcGVuIHNlc2FtZQ== | base64 --decode > myFile.zip

wget (100% unsafe)

  1. Upload your not confidential local file or zip elsewhere on the internet (for instance, GitHub or StackOverflow)
  2. Copy the URL of the file
  3. On the browser, open the console of the EC2 instance
  4. Execute the command pasting the URL of the file: wget http://stackoverflow.com/xxx/thefiles.zip
  5. Optionally, remove the link of the file
Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Fabrice TIERCELIN