Pardus: 2010-43: Curl: Excessive Data Length in


 
Thread Tools Search this Thread
Special Forums Cybersecurity Security Advisories (RSS) Pardus: 2010-43: Curl: Excessive Data Length in
# 1  
Old 03-29-2010
Pardus: 2010-43: Curl: Excessive Data Length in

LinuxSecurity.com: A security issue has been fixed in cURL / libcURL, which can potentially be exploited by malicious people to cause a DoS (Denial of Service) or compromise an application using the library

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to post content file of data using curl?

HI All, i want to asking about my case , how to post content file of data using curl. currently if i wanna post data file , i can use this command below : curl --cacert maxaj.cer -X POST -F 'fileupload=@/data/report_3300_xxx/log/traffic_3300_20180319_1051.txt'... (0 Replies)
Discussion started by: fajar_3t3
0 Replies

2. Shell Programming and Scripting

Get data from GitHub using Curl

Dear friends, I am working on a bash script to get data from the github by hitting the API using curl and this is quite straight forward. However the authentication mechanism we have in our github servers makes this intricate. Here is the situation : * The github uses SSO / SAML / opensso... (0 Replies)
Discussion started by: Kochappa
0 Replies

3. Shell Programming and Scripting

Wget and curl to post data

i'm using this command to post data to a remote host: wget --post-data="My Data" http://<my-ip>:80 -O /dev/null -q and curl --data "My Data" http://<my-ip>:80 however, when i run the above, i see the following in my access log on the remote host: Wget: 10.10.10.10 - - "POST /... (1 Reply)
Discussion started by: SkySmart
1 Replies

4. Web Development

Data Post with curl

how to make the bash script ? http://server.com/mysql.php POST /mysql.php HTTP/1.1 Host: server.com User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language:... (1 Reply)
Discussion started by: iddfcr
1 Replies

5. Shell Programming and Scripting

Curl Script - Post a file (multipart/form-data)

Hi All, I am trying to post an xml file (utf-16 encoded) using curl to a REST service. The REST service is expecting 'multipart/form-data' content type. curl -k -i -H "Content-Type=multipart/form-data" -F "filename=@file.xml;type=text/xml" -X POST -u <username>:<password> <endPointURL> ... (0 Replies)
Discussion started by: Anooja G
0 Replies

6. UNIX for Dummies Questions & Answers

Posting data to a form using curl

Hello all. I have an incredible number of servers that I need to change a parameter on using a web interface. I'd like to be able to do this via curl, but I'm having some trouble. I filled out the form and hit update while snooping (tcpdump) my interface. That gave the the following as what is... (0 Replies)
Discussion started by: DeCoTwc
0 Replies
Login or Register to Ask a Question
CURL_SHARE_SETOPT(3)							 1						      CURL_SHARE_SETOPT(3)

curl_share_setopt - Set an option for a cURL share handle.

SYNOPSIS
bool curl_share_setopt (resource $sh, int $option, string $value) DESCRIPTION
Sets an option on the given cURL share handle. PARAMETERS
o $sh - A cURL share handle returned by curl_share_init(3). o $option - +------------------+--------------------------------------+---+ | Option | | | | | | | | | Description | | | | | | +------------------+--------------------------------------+---+ | | | | | CURLSHOPT_SHARE | | | | | | | | | Specifies a type of data that | | | | should be shared. | | | | | | | | | | |CURLSHOPT_UNSHARE | | | | | | | | | Specifies a type of data that will | | | | be no longer shared. | | | | | | +------------------+--------------------------------------+---+ o $value - +---------------------------+--------------------------------------+---+ | Value | | | | | | | | | Description | | | | | | +---------------------------+--------------------------------------+---+ | | | | | CURL_LOCK_DATA_COOKIE | | | | | | | | | Shares cookie data. | | | | | | | | | | | CURL_LOCK_DATA_DNS | | | | | | | | | Shares DNS cache. Note that when | | | | you use cURL multi handles, all han- | | | | dles added to the same multi handle | | | | will share DNS cache by default. | | | | | | | | | | |CURL_LOCK_DATA_SSL_SESSION | | | | | | | | | Shares SSL session IDs, reducing | | | | the time spent on the SSL handshake | | | | when reconnecting to the same | | | | server. Note that SSL session IDs | | | | are reused within the same handle by | | | | default. | | | | | | +---------------------------+--------------------------------------+---+ RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 curl_share_setopt(3) example This example will create a cURL share handle, add two cURL handles to it, and then run them with cookie data sharing. <?php // Create cURL share handle and set it to share cookie data $sh = curl_share_init(); curl_share_setopt($sh, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE); // Initialize the first cURL handle and assign the share handle to it $ch1 = curl_init("http://example.com/"); curl_setopt($ch1, CURLOPT_SHARE, $sh); // Execute the first cURL handle curl_exec($ch1); // Initialize the second cURL handle and assign the share handle to it $ch2 = curl_init("http://php.net/"); curl_setopt($ch2, CURLOPT_SHARE, $sh); // Execute the second cURL handle // all cookies from $ch1 handle are shared with $ch2 handle curl_exec($ch2); // Close the cURL share handle curl_share_close($sh); // Close the cURL handles curl_close($ch1); curl_close($ch2); ?> PHP Documentation Group CURL_SHARE_SETOPT(3)