Permalink
Browse files

+ paste.org.ru

  • Loading branch information...
l29ah committed Jan 21, 2011
1 parent cdb4564 commit 7a289fd51405e51dcf35da5029f43be7401e94fb
Showing with 17 additions and 0 deletions.
  1. +17 −0 paste.org.ru/paste.org.ru
View
@@ -0,0 +1,17 @@
#!/bin/bash
c=`cat $1`
c=${c//%/%25}
c=${c//&/%26}
c=${c//=/%3d}
c=${c//+/%2b}
c="code=$c"
r=`(echo "POST / HTTP/1.0
Host: paste.org.ru
Cookie: name=w3crapcli
Content-length: ${#c}
$c";)|netcat paste.org.ru 80`
r=${r#*href=\"}
echo "http://paste.org.ru${r%%\">*}"

0 comments on commit 7a289fd

Please sign in to comment.