Skip to content

Instantly share code, notes, and snippets.

@sailfish009
Last active March 21, 2020 00:18
Show Gist options
  • Save sailfish009/6d188f7f0bd8e5cd699eb0359a3f4e52 to your computer and use it in GitHub Desktop.
Save sailfish009/6d188f7f0bd8e5cd699eb0359a3f4e52 to your computer and use it in GitHub Desktop.
ftp put bash shell
ftp -pn <<EOF
open 192.168.0.10
quote USER anonymous
quote PASS aaa
binary
put $1
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment