Exploit databaseDownload repository ZIP
GH-f82cedc42df35f74e32abed25839a856
imfht/cve-2023-38545
Sources for CVE-2023-38545
9 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files141
imfht/cve-2023-38545Revision c98d50736c63
- ↑..Parent directory
- .deps/
- .libs/
- macos/
- CMakeLists.txt
- Makefile
- Makefile.am
- Makefile.in
- Makefile.inc
- Makefile.m32
- Makefile.netware
- curl
- curl-slist_wc.o
- curl-tool_binmode.o
- curl-tool_bname.o
- curl-tool_cb_dbg.o
- curl-tool_cb_hdr.o
- curl-tool_cb_prg.o
- curl-tool_cb_rea.o
- curl-tool_cb_see.o
- curl-tool_cb_wrt.o
- curl-tool_cfgable.o
- curl-tool_convert.o
- curl-tool_dirhie.o
- curl-tool_doswin.o
- curl-tool_easysrc.o
- curl-tool_filetime.o
- curl-tool_formparse.o
- curl-tool_getparam.o
- curl-tool_getpass.o
- curl-tool_help.o
- curl-tool_helpers.o
- curl-tool_homedir.o
- curl-tool_hugehelp.o
- curl-tool_libinfo.o
- curl-tool_main.o
- curl-tool_metalink.o
- curl-tool_msgs.o
- curl-tool_operate.o
- curl-tool_operhlp.o
- curl-tool_panykey.o
- curl-tool_paramhlp.o
- curl-tool_parsecfg.o
- curl-tool_progress.o
- curl-tool_setopt.o
- curl-tool_sleep.o
- curl-tool_strdup.o
- curl-tool_urlglob.o
- curl-tool_util.o
- curl-tool_vms.o
- curl-tool_writeout.o
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
curl-7.74.0/src/tool_cb_prg.h
Text · 1,796 bytes#ifndef HEADER_CURL_TOOL_CB_PRG_H
#define HEADER_CURL_TOOL_CB_PRG_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2020, Daniel Stenberg, <[email protected]>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at https://curl.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
***************************************************************************/
#include "tool_setup.h"
#define CURL_PROGRESS_STATS 0 /* default progress display */
#define CURL_PROGRESS_BAR 1
struct ProgressData {
int calls;
curl_off_t prev;
struct timeval prevtime;
int width;
FILE *out; /* where to write everything to */
curl_off_t initial_size;
unsigned int tick;
int bar;
int barmove;
};
void progressbarinit(struct ProgressData *bar,
struct OperationConfig *config);
/*
** callback for CURLOPT_PROGRESSFUNCTION
*/
int tool_progress_cb(void *clientp,
curl_off_t dltotal, curl_off_t dlnow,
curl_off_t ultotal, curl_off_t ulnow);
#endif /* HEADER_CURL_TOOL_CB_PRG_H */