Created
February 9, 2022 17:29
-
-
Save shollingsworth/4f6b2ba5f672ee2d9fefc20512f90d6e to your computer and use it in GitHub Desktop.
curl ftp upload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| fn="evil.csv" | |
| curl \ | |
| --user "pwnuser:sekret" \ | |
| --insecure "ftp://${R}/dir/${fn}" \ | |
| -T "${fn}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment