serverreview-benchmark icon indicating copy to clipboard operation
serverreview-benchmark copied to clipboard

how to paste files to https://privatebin.info

Open findmorenow opened this issue 6 years ago • 1 comments

how to add paste file to https://privatebin.net

case $1 in 'ubuntu') share_link=$( curl -v --data-urlencode "content@$log" -d "poster=bench.log" -d "syntax=text" "https://paste.ubuntu.com" 2>&1 |
grep "Location" | awk '{print $3}' );; 'haste' ) share_link=$( curl -X POST -s -d "$(cat $log)" https://hastebin.com/documents | awk -F '"' '{print "https://hastebin.com/"$4}' );; 'clbin' ) share_link=$( curl -sF 'clbin=<-' https://clbin.com < $log );; 'ptpb' ) share_link=$( curl -sF c=@- https://ptpb.pw/?u=1 < $log );;

findmorenow avatar Dec 16 '18 12:12 findmorenow

Any api or curl example I can look at?

sayem314 avatar Dec 16 '18 18:12 sayem314