A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, MQTTS, POP3, POP3S, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
773 matches across 12 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | CMakeLists.txt | 1 | #*************************************************************************** |
| LOW | CMakeLists.txt | 2301 | else() |
| LOW | CMakeLists.txt | 2341 | # LIBCURL_PC_CFLAGS_PRIVATE |
| LOW | CMakeLists.txt | 2381 | # CMAKE_MINIMUM_REQUIRED_VERSION |
| LOW | CMakeLists.txt | 2401 | # USE_GNUTLS |
| LOW | appveyor.sh | 1 | #!/usr/bin/env bash |
| LOW | appveyor.yml | 1 | #*************************************************************************** |
| LOW | appveyor.yml | 141 | - '.github/**/*' |
| LOW | CMake/CurlTests.c | 21 | * SPDX-License-Identifier: curl |
| LOW | CMake/CurlTests.c | 101 | } |
| LOW | CMake/CurlTests.c | 201 | #ifdef HAVE_IOCTL_FIONBIO |
| LOW | CMake/CurlTests.c | 221 | if(0 != ioctl(0, FIONBIO, &flags)) |
| LOW | CMake/CurlTests.c | 241 | #endif |
| LOW | CMake/CurlTests.c | 341 | |
| LOW | CMake/CurlTests.c | 361 | { |
| LOW | include/curl/mprintf.h | 41 | #ifdef __MINGW_PRINTF_FORMAT /* mingw-w64 3.0.0+. Needs stdio.h. */ |
| LOW | include/curl/curl.h | 61 | |
| LOW | include/curl/curl.h | 121 | |
| LOW | include/curl/curl.h | 681 | #define CURLE_SSL_PEER_CERTIFICATE CURLE_PEER_FAILED_VERIFICATION |
| LOW | include/curl/curl.h | 701 | #define CURLE_FTP_QUOTE_ERROR CURLE_QUOTE_ERROR |
| LOW | include/curl/curl.h | 841 | /* functionality removed since 8.8.0 */ |
| LOW | include/curl/curl.h | 981 | #define CURLFTPSSL_TRY CURLUSESSL_TRY |
| LOW | include/curl/curl.h | 1081 | #define CURLPROTO_FTPS (1L << 3) |
| LOW | include/curl/curl.h | 1101 | #define CURLPROTO_RTMPS (1L << 23) |
| LOW | include/curl/curl.h | 2341 | #define CURL_RTSPREQ_OPTIONS 1L |
| LOW | include/curl/curl.h | 2361 | .netrc is queried. */ |
| LOW | include/curl/curl.h | 3181 | #define CURL_VERSION_NTLM (1<<4) /* NTLM auth is supported */ |
| LOW | include/curl/curl.h | 3201 | #define CURL_VERSION_PSL (1<<20) /* Mozilla's Public Suffix List, used |
| LOW | include/curl/system.h | 61 | # define CURL_TYPEOF_CURL_OFF_T __int64 |
| LOW | include/curl/system.h | 81 | # endif |
| LOW | include/curl/system.h | 101 | # endif |
| LOW | include/curl/system.h | 121 | # ifndef __LP64 |
| LOW | include/curl/system.h | 141 | # define CURL_SUFFIX_CURL_OFF_T i64 |
| LOW | include/curl/system.h | 161 | # define CURL_SUFFIX_CURL_OFF_TU UL |
| LOW | include/curl/system.h | 181 | #elif defined(__MVS__) |
| LOW | include/curl/system.h | 201 | # ifdef _LONG_LONG |
| LOW | include/curl/system.h | 221 | # define CURL_FORMAT_CURL_OFF_T "ld" |
| LOW | include/curl/system.h | 241 | defined(__sparcv8plus)) |
| LOW | include/curl/system.h | 261 | # define CURL_TYPEOF_CURL_OFF_T long long |
| LOW | include/curl/system.h | 281 | # define CURL_FORMAT_CURL_OFF_TU "llu" |
| LOW | include/curl/system.h | 301 | # include <inttypes.h> |
| LOW | include/curl/system.h | 321 | defined(__sparc__) || defined(__mips__) || defined(__sh__) || \ |
| LOW | include/curl/system.h | 341 | # define CURL_FORMAT_CURL_OFF_T "ld" |
| LOW | include/curl/system.h | 361 | # define CURL_SUFFIX_CURL_OFF_TU ULL |
| LOW | include/curl/urlapi.h | 81 | CURLUPART_ZONEID /* added in 7.65.0 */ |
| LOW | projects/OS400/makefile.sh | 1 | #!/bin/sh |
| LOW | projects/OS400/makefile.sh | 21 | # |
| LOW | projects/OS400/initscript.sh | 1 | #!/bin/sh |
| LOW | projects/OS400/initscript.sh | 101 | # OS/400 specific definitions. |
| LOW | projects/OS400/make-tests.sh | 1 | #!/bin/sh |
| LOW | projects/OS400/ccsidcurl.c | 21 | * SPDX-License-Identifier: curl |
| LOW | projects/OS400/ccsidcurl.c | 41 | #include "url.h" |
| LOW | projects/OS400/make-src.sh | 1 | #!/bin/sh |
| LOW | projects/OS400/make-include.sh | 1 | #!/bin/sh |
| LOW | projects/OS400/make-docs.sh | 1 | #!/bin/sh |
| LOW | projects/OS400/make-docs.sh | 61 | # Man page is useless as OS/400 has no man command. |
| LOW | projects/OS400/os400sys.c | 21 | * SPDX-License-Identifier: curl |
| LOW | projects/OS400/os400sys.c | 41 | #include <errno.h> |
| LOW | projects/OS400/make-lib.sh | 1 | #!/bin/sh |
| LOW | projects/vms/curl_crtl_init.c | 281 | do_not_set_default("DECC$POSIX_STYLE_UID", TRUE); |
| 588 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | projects/OS400/makefile.sh | 50 | # Create the OS/400 library if it does not exist. |
| MEDIUM | projects/OS400/makefile.sh | 58 | # Create the DOCS source file if it does not exist. |
| MEDIUM | projects/OS400/makefile.sh | 88 | # Create the RPGXAMPLES source file if it does not exist. |
| MEDIUM | projects/OS400/make-src.sh | 89 | # Create the IFS command. |
| MEDIUM | projects/OS400/make-src.sh | 101 | # Create the CL interface program. |
| MEDIUM | projects/OS400/make-src.sh | 112 | # Create the CL command. |
| MEDIUM | projects/OS400/make-include.sh | 34 | # Create the OS/400 source program file for the header files. |
| MEDIUM | projects/OS400/make-include.sh | 45 | # Create the IFS directory for the header files. |
| MEDIUM | projects/OS400/make-lib.sh | 120 | # Create the service program exportation file in DB2 member if needed. |
| MEDIUM | tests/runner.pm | 25 | # This module contains entry points to run a single test. runner_init |
| MEDIUM | tests/runner.pm | 188 | # Create a separate process in multiprocess mode |
| MEDIUM | tests/globalconfig.pm | 25 | # This module contains global variables used in multiple modules in the test |
| MEDIUM | tests/util.py | 69 | # Create the test filename |
| MEDIUM | tests/servers.pm | 25 | # This module contains functions that are useful for managing the lifecycle of |
| MEDIUM | tests/servers.pm | 176 | # Create a server socket on a random (unused) port, then close it and |
| MEDIUM | tests/servers.pm | 194 | # Initialize configuration variables |
| MEDIUM | tests/devtest.pl | 69 | # This function is currently required to be here by servers.pm |
| MEDIUM | tests/ftpserver.pl | 1146 | # This function is dumb (so far) and just removes the quotes if present. |
| MEDIUM | tests/testutil.pm | 25 | # This module contains miscellaneous functions needed in several parts of |
| MEDIUM | tests/runtests.pl | 30 | # The following sections need to be modified: |
| MEDIUM | tests/http/testenv/h2o.py | 277 | # Create a simple test file |
| MEDIUM | tests/libtest/test613.pl | 47 | # Create the files in alphabetical order, to increase the chances |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/runner.pm | 1103 | # Test harness ssh server does not have this synchronization mechanism, |
| MEDIUM | tests/serverhelp.pm | 70 | # Just for convenience, test harness uses 'https' and 'httptls' literals as |
| MEDIUM | tests/globalconfig.pm | 26 | # harness but not really "owned" by any one. |
| MEDIUM | tests/servers.pm | 1015 | # Just for convenience, test harness uses 'https' and 'httptls' literals |
| MEDIUM | tests/devtest.pl | 27 | # runtests.pl harness. Do not try to use this unless you know what you are |
| MEDIUM | tests/devtest.pl | 119 | # Initialize the test harness to run tests |
| MEDIUM | tests/secureserver.pl | 27 | # harness. Actually just a layer that runs stunnel properly using the |
| MEDIUM | tests/secureserver.pl | 28 | # non-secure test harness servers. |
| MEDIUM | tests/sshserver.pl | 26 | # Starts sshd for use in the SCP and SFTP curl test harness tests. |
| MEDIUM | tests/testcurl.pl | 753 | # build test harness programs for selected cross-compiles |
| MEDIUM | tests/runtests.pl | 29 | # are able to run curl but are unable to run the test harness. |
| MEDIUM | tests/runtests.pl | 740 | # Test harness currently uses a non-stunnel server in order to |
| MEDIUM | tests/runtests.pl | 743 | # 'httptls' may be included in the test harness protocols array |
| MEDIUM | tests/runtests.pl | 745 | # harness server. |
| LOW | tests/libtest/test613.pl | 143 | # Unexpected format; just pass it through and let the test fail |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | projects/vms/make_gnv_curl_install.sh | 24 | #========================================================================== |
| MEDIUM | projects/vms/gnv_curl_configure.sh | 22 | #========================================================================== |
| MEDIUM | tests/ftpserver.pl | 2946 | #---------------------------------------------------------------------- |
| MEDIUM | tests/ftpserver.pl | 2947 | #---------------------------------------------------------------------- |
| MEDIUM | tests/ftpserver.pl | 2949 | #---------------------------------------------------------------------- |
| MEDIUM | tests/ftpserver.pl | 2950 | #---------------------------------------------------------------------- |
| MEDIUM | scripts/checksrc.pl | 627 | # ------------------------------------------------------------ |
| MEDIUM | scripts/checksrc.pl | 630 | # ------------------------------------------------------------ |
| MEDIUM | scripts/checksrc.pl | 656 | # ------------------------------------------------------------ |
| MEDIUM | scripts/checksrc.pl | 659 | # ------------------------------------------------------------ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/negtelnetserver.py | 26 | |
| LOW | tests/negtelnetserver.py | 26 | |
| LOW | tests/negtelnetserver.py | 26 | |
| LOW | tests/negtelnetserver.py | 26 | |
| LOW | tests/smbserver.py | 40 | |
| LOW | tests/dictserver.py | 29 | |
| LOW | tests/dictserver.py | 29 | |
| LOW | tests/dictserver.py | 29 | |
| LOW | tests/dictserver.py | 29 | |
| LOW | tests/http/testenv/__init__.py | 33 | |
| LOW | tests/http/testenv/__init__.py | 33 | |
| LOW | tests/http/testenv/__init__.py | 33 | |
| LOW | tests/http/testenv/__init__.py | 35 | |
| LOW | tests/http/testenv/__init__.py | 36 | |
| LOW | tests/http/testenv/__init__.py | 36 | |
| LOW | tests/http/testenv/__init__.py | 37 | |
| LOW | tests/http/testenv/__init__.py | 38 | |
| LOW | tests/http/testenv/__init__.py | 39 | |
| LOW | tests/http/testenv/__init__.py | 40 | |
| LOW | tests/http/testenv/__init__.py | 41 | |
| LOW | tests/http/testenv/__init__.py | 42 | |
| LOW | tests/http/testenv/__init__.py | 42 | |
| LOW | tests/http/testenv/__init__.py | 42 | |
| LOW | tests/http/testenv/__init__.py | 43 | |
| LOW | tests/http/testenv/__init__.py | 44 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | projects/OS400/initscript.sh | 72 | # Check if perl available. |
| LOW | projects/OS400/initscript.sh | 171 | # Set LINK to "YES" if the module has been compiled. |
| LOW | projects/OS400/make-src.sh | 33 | # Check if built-in manual can be generated. |
| LOW | tests/test1222.pl | 170 | # Check if paragraph is mentioning deprecation. |
| LOW | tests/test1222.pl | 288 | # Print results. |
| LOW | tests/servers.pm | 268 | # Check if a given child process has just died. Reaps it if so. |
| LOW | tests/ech_tests.sh | 284 | # Check if ports other than 443 are blocked from this |
| LOW | tests/testcurl.pl | 321 | # Set timestamp to the UTC this script is running. Its value might |
| LOW | tests/testcurl.pl | 416 | # Set timestamp to the UTC the git update took place. |
| LOW | tests/testcurl.pl | 439 | # Set timestamp to the UTC the git update took place. |
| LOW | tests/testcurl.pl | 491 | # Set timestamp to the one in curlver.h if this is not a git test build. |
| LOW | tests/runtests.pl | 317 | # Check if we have nghttpx available and if it talks http/3 |
| LOW | tests/runtests.pl | 485 | # Check if the operating environment supports UTF-8. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/negtelnetserver.py | 128 | |
| LOW | tests/negtelnetserver.py | 173 | |
| LOW | tests/http/conftest.py | 42 | |
| LOW | tests/http/test_02_download.py | 692 | |
| LOW | tests/http/test_17_ssl_use.py | 241 | |
| LOW | tests/http/scorecard.py | 739 | |
| LOW | tests/http/scorecard.py | 145 | |
| LOW | tests/http/scorecard.py | 189 | |
| LOW | tests/http/scorecard.py | 231 | |
| LOW | tests/http/scorecard.py | 285 | |
| LOW | tests/http/scorecard.py | 606 | |
| LOW | tests/http/scorecard.py | 669 | |
| LOW | tests/http/testenv/curl.py | 213 | |
| LOW | tests/http/testenv/curl.py | 401 | |
| LOW | tests/http/testenv/curl.py | 1021 | |
| LOW | tests/http/testenv/curl.py | 1116 | |
| LOW | tests/http/testenv/curl.py | 1184 | |
| LOW | tests/http/testenv/env.py | 99 | |
| LOW | tests/http/testenv/sshd.py | 116 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/negtelnetserver.py | 360 | except Exception: |
| LOW | tests/smbserver.py | 353 | except Exception as e: |
| LOW | tests/smbserver.py | 438 | except Exception: |
| LOW | tests/dictserver.py | 178 | except Exception: |
| LOW | tests/http/test_05_errors.py | 199 | except Exception: |
| MEDIUM | tests/http/test_05_errors.py | 194 | def accept_and_close(): |
| LOW | tests/http/testenv/curl.py | 240 | except Exception: |
| LOW | tests/http/testenv/env.py | 271 | except Exception: |
| LOW | tests/http/testenv/env.py | 381 | except Exception: |
| LOW | tests/http/testenv/ports.py | 47 | except Exception as e: |
| LOW | tests/http/testenv/caddy.py | 122 | except Exception: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/libtest/lib1507.c | 59 | curl_easy_setopt(curl, CURLOPT_USERNAME, "user@example.com"); |
| LOW | docs/libcurl/opts/CURLOPT_UPLOAD_FLAGS.md | 100 | curl_easy_setopt(curl, CURLOPT_USERNAME, "user@example.com"); |
| LOW | docs/examples/ftpuploadfrommem.c | 34 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " |
| LOW | docs/examples/ftpuploadfrommem.c | 34 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " |
| LOW | docs/examples/post-callback.c | 35 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " |
| LOW | docs/examples/post-callback.c | 35 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/libtest/mk-lib1521.pl | 28 | # Usage: |
| LOW | docs/examples/version-check.pl | 36 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | lib/vtls/gtls.c | 1823 | given hostname. This is a basic implementation of the matching described |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/http/testenv/env.py | 540 | def curl_lib_version_at_least(libname: str, min_version) -> bool: |