0x25 / shellpaste

small service to copy/paste data via curl on the web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shellpaste is a service like pastebin but with curl and simple.
beta now

Direct connection to service

send file

curl -X POST --data-binary @/tmp/config.txt http://vps260977.ovh.net:80

get file

curl http://vps260977.ovh.net/p/TOKEN > file.txt

use header "Action: delete" in curl to delete file on the server
curl -s -H "Action: delete" http://vps260977.ovh.net/p/TOKEN > file.txt

script exemple (openssl + curl)

./shellpaste.sh -s /tmp/test.txt http://vps260977.ovh.net/p/xc5Zv9poQG

on the server
cat xc5Zv9poQG U2FsdGVkX1/lJlekNWS6WTxuEu0BhTHLU6aufS7KUQx5V6Lgs9mZJj0mPXWG6b/L UfzA8kD8kKE=

get the file
./shellpaste.sh -g xc5Zv9poQG
file save in myfile.txt and remove on the server (use -n if you need to keep it)

thanks http://dillinger.io/ to format readme

About

small service to copy/paste data via curl on the web


Languages

Language:Shell 100.0%