nopaste
Home
All pastes
Popular pastes
Recent pastes
test..
By: PnE | Date: Oct 8 2008 19:48 | Format: PHP | Expires: never | Size: 594 B | Hits: 1399
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
(
)
)
;
echo
""
.
$data1
.
""
;
echo
curl_error
(
$ch
)
;
curl_close
(
$ch
)
;
?>
Latest pastes
teen videos collection december
1 hours ago
6GB BOCIL UPFILES PACK
11 hours ago
BOCIL PACK 6GB FREE
1 days ago
2 pack and loli
2 days ago
Free cp no ada
2 days ago