Skip to content

Instantly share code, notes, and snippets.

@shollingsworth
Created February 9, 2022 17:29
Show Gist options
  • Save shollingsworth/4f6b2ba5f672ee2d9fefc20512f90d6e to your computer and use it in GitHub Desktop.
Save shollingsworth/4f6b2ba5f672ee2d9fefc20512f90d6e to your computer and use it in GitHub Desktop.
curl ftp upload
#!/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