nopaste
Home
All pastes
Popular pastes
Recent pastes
test..2
By: PnE | Date: Oct 8 2008 20:28 | Format: PHP | Expires: never | Size: 637 B | Hits: 1209
Edit & repaste
|
raw paste
|
Request removal
<?php
$a
=
$_POST
[
"a"
]
;
$ch
=
curl_init
(
)
or
die
(
curl_error
(
)
)
;
$params
=
"a=
$a
"
;
curl_setopt
(
$ch
,
CURLOPT_POST
,
1
)
;
curl_setopt
(
$ch
,
CURLOPT_POSTFIELDS
,
$params
)
;
curl_setopt
(
$ch
,
CURLOPT_URL
,
"http://lan:85/cgi-bin/video.jpg?size=3"
)
;
curl_setopt
(
$ch
,
CURLOPT_RETURNTRANSFER
,
1
)
;
curl_setopt
(
$ch
,
CURLOPT_HTTPAUTH
,
CURLAUTH_BASIC
)
;
curl_setopt
(
$ch
,
CURLOPT_USERPWD
,
'demo:'
)
;
// IF required
curl_setopt
(
$ch
,
CURLOPT_SSL_VERIFYHOST
,
0
)
;
curl_setopt
(
$ch
,
CURLOPT_SSL_VERIFYPEER
,
0
)
;
$data1
=
curl_exec
(
$ch
)
or
die
(
curl_error
(
)
)
;
header
(
"Content-type: image/jpeg"
)
;
imagejpeg
(
$data1
,
null
)
;
echo
curl_error
(
$ch
)
;
curl_close
(
$ch
)
;
?>
Latest pastes
AMAZING TEEN SEX VIDS SEPT 07 THE BEST COLLECTION HD
2 days ago
teen pack without ads
2 days ago
New Nud1st People Part 3
6 days ago
KIDs Videos-Pictures Updated Sept 10
7 days ago
Undefined
7 days ago