Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 628 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 628 Bytes

blck

an ephemeral pastebin. you can only retrieve the paste once, and then it is deleted from the server.

installation

get flask and python-magic, then execute blck.py.

if not running in debug mode, you also need bjoern. find it at https://github.com/jonashaag/bjoern.

run blck.py -h to see usage info.

nginx

location / {
	proxy_set_header Host $host;
	proxy_set_header X-Real-IP $remote_addr;
	proxy_set_header X-Forwarded-Proto https;
	proxy_pass http:https://127.0.0.1:13321;
}

usage

either use the website, or curl:

curl -F 'c=@-' http:https://whatever.domain < file