Linux ams-business-8.hostwindsdns.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
LiteSpeed
Server IP : 192.236.177.161 & Your IP : 216.73.216.50
Domains :
Cant Read [ /etc/named.conf ]
User : ajzdfbpz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
cpanel /
libcurl /
share /
doc /
ea-libcurl-devel /
Delete
Unzip
Name
Size
Permission
Date
Action
10-at-a-time.c
4.33
KB
-rw-r--r--
2023-12-05 14:57
Makefile
90.62
KB
-rw-r--r--
2023-12-14 15:57
Makefile.am
2.25
KB
-rw-r--r--
2023-11-17 14:45
Makefile.example
1.88
KB
-rw-r--r--
2023-11-26 13:49
Makefile.in
105.19
KB
-rw-r--r--
2023-12-05 14:57
Makefile.inc
3.18
KB
-rw-r--r--
2023-12-05 14:57
Makefile.mk
1.82
KB
-rw-r--r--
2023-11-17 14:45
README.md
1.45
KB
-rw-r--r--
2023-11-17 14:45
altsvc.c
1.85
KB
-rw-r--r--
2023-11-17 14:45
anyauthput.c
4.5
KB
-rw-r--r--
2023-12-05 14:57
cacertinmem.c
7.16
KB
-rw-r--r--
2023-11-17 14:45
certinfo.c
2.27
KB
-rw-r--r--
2023-11-17 14:45
chkspeed.c
6.59
KB
-rw-r--r--
2023-11-17 14:45
connect-to.c
2.54
KB
-rw-r--r--
2023-11-26 13:49
cookie_interface.c
4.04
KB
-rw-r--r--
2023-12-05 14:57
crawler.c
7.47
KB
-rw-r--r--
2023-11-26 13:49
debug.c
4.23
KB
-rw-r--r--
2023-11-17 14:45
default-scheme.c
1.82
KB
-rw-r--r--
2023-11-26 13:49
ephiperfifo.c
14.51
KB
-rw-r--r--
2023-11-26 13:49
evhiperfifo.c
11.92
KB
-rw-r--r--
2023-11-26 13:49
externalsocket.c
4.76
KB
-rw-r--r--
2023-12-05 14:57
fileupload.c
2.79
KB
-rw-r--r--
2023-11-17 14:45
ftp-wildcard.c
4.17
KB
-rw-r--r--
2023-11-17 14:45
ftpget.c
2.61
KB
-rw-r--r--
2023-11-26 13:49
ftpgetinfo.c
2.92
KB
-rw-r--r--
2023-11-17 14:45
ftpgetresp.c
2.53
KB
-rw-r--r--
2023-11-17 14:45
ftpsget.c
2.92
KB
-rw-r--r--
2023-11-26 13:49
ftpupload.c
4.48
KB
-rw-r--r--
2023-12-05 14:57
ftpuploadfrommem.c
3.83
KB
-rw-r--r--
2023-11-17 14:45
ftpuploadresume.c
4.41
KB
-rw-r--r--
2023-11-26 13:49
getinfo.c
1.64
KB
-rw-r--r--
2023-11-17 14:45
getinmemory.c
3.26
KB
-rw-r--r--
2023-11-17 14:45
getredirect.c
2.32
KB
-rw-r--r--
2023-11-17 14:45
getreferrer.c
1.83
KB
-rw-r--r--
2023-11-17 14:45
ghiper.c
12.05
KB
-rw-r--r--
2023-11-26 13:49
headerapi.c
2.53
KB
-rw-r--r--
2023-11-17 14:45
hiperfifo.c
11.99
KB
-rw-r--r--
2023-11-26 13:49
href_extractor.c
2.64
KB
-rw-r--r--
2023-11-17 14:45
hsts-preload.c
3.48
KB
-rw-r--r--
2023-11-26 13:49
htmltidy.c
3.92
KB
-rw-r--r--
2023-11-17 14:45
htmltitle.cpp
6.25
KB
-rw-r--r--
2023-11-26 13:49
http-options.c
1.93
KB
-rw-r--r--
2023-11-26 13:49
http-post.c
2.01
KB
-rw-r--r--
2023-11-17 14:45
http2-download.c
6.16
KB
-rw-r--r--
2023-11-26 13:49
http2-pushinmemory.c
5.04
KB
-rw-r--r--
2023-11-26 13:49
http2-serverpush.c
7.23
KB
-rw-r--r--
2023-11-26 13:49
http2-upload.c
8.08
KB
-rw-r--r--
2023-11-17 14:45
http3-present.c
1.55
KB
-rw-r--r--
2023-11-17 14:45
http3.c
1.73
KB
-rw-r--r--
2023-11-17 14:45
httpcustomheader.c
2.29
KB
-rw-r--r--
2023-11-17 14:45
httpput-postfields.c
3.45
KB
-rw-r--r--
2023-11-17 14:45
httpput.c
3.61
KB
-rw-r--r--
2023-11-26 13:49
https.c
2.67
KB
-rw-r--r--
2023-11-26 13:49
imap-append.c
3.71
KB
-rw-r--r--
2023-11-26 13:49
imap-authzid.c
2.21
KB
-rw-r--r--
2023-11-17 14:45
imap-copy.c
2.35
KB
-rw-r--r--
2023-11-17 14:45
imap-create.c
2.06
KB
-rw-r--r--
2023-11-17 14:45
imap-delete.c
2.06
KB
-rw-r--r--
2023-11-17 14:45
imap-examine.c
2.11
KB
-rw-r--r--
2023-11-17 14:45
imap-fetch.c
1.95
KB
-rw-r--r--
2023-11-17 14:45
imap-list.c
2.09
KB
-rw-r--r--
2023-11-17 14:45
imap-lsub.c
2.08
KB
-rw-r--r--
2023-11-26 13:49
imap-multi.c
2.32
KB
-rw-r--r--
2023-11-17 14:45
imap-noop.c
2
KB
-rw-r--r--
2023-11-17 14:45
imap-search.c
2.35
KB
-rw-r--r--
2023-11-17 14:45
imap-ssl.c
3.27
KB
-rw-r--r--
2023-11-26 13:49
imap-store.c
2.7
KB
-rw-r--r--
2023-11-17 14:45
imap-tls.c
3.51
KB
-rw-r--r--
2023-11-26 13:49
interface.c
1.72
KB
-rw-r--r--
2023-12-05 14:57
ipv6.c
1.85
KB
-rw-r--r--
2023-12-05 14:57
keepalive.c
1.69
KB
-rw-r--r--
2023-12-05 14:57
localport.c
1.74
KB
-rw-r--r--
2023-12-05 14:57
maxconnects.c
1.98
KB
-rw-r--r--
2023-11-26 13:49
multi-app.c
3.47
KB
-rw-r--r--
2023-11-17 14:45
multi-debugcallback.c
4.22
KB
-rw-r--r--
2023-11-26 13:49
multi-double.c
2.64
KB
-rw-r--r--
2023-11-17 14:45
multi-event.c
6.04
KB
-rw-r--r--
2023-11-17 14:45
multi-formadd.c
3.4
KB
-rw-r--r--
2023-11-17 14:45
multi-legacy.c
5.16
KB
-rw-r--r--
2023-11-26 13:49
multi-post.c
3.07
KB
-rw-r--r--
2023-11-17 14:45
multi-single.c
2.27
KB
-rw-r--r--
2023-11-17 14:45
multi-uv.c
5.99
KB
-rw-r--r--
2023-11-17 14:45
multithread.c
2.61
KB
-rw-r--r--
2023-11-17 14:45
parseurl.c
2.15
KB
-rw-r--r--
2023-11-26 13:49
persistent.c
2.17
KB
-rw-r--r--
2023-11-26 13:49
pop3-authzid.c
2.18
KB
-rw-r--r--
2023-11-17 14:45
pop3-dele.c
2.15
KB
-rw-r--r--
2023-11-17 14:45
pop3-list.c
1.94
KB
-rw-r--r--
2023-11-17 14:45
pop3-multi.c
2.31
KB
-rw-r--r--
2023-11-17 14:45
pop3-noop.c
2.11
KB
-rw-r--r--
2023-11-17 14:45
pop3-retr.c
1.93
KB
-rw-r--r--
2023-11-17 14:45
pop3-ssl.c
3.25
KB
-rw-r--r--
2023-11-26 13:49
pop3-stat.c
2.13
KB
-rw-r--r--
2023-11-17 14:45
pop3-tls.c
3.48
KB
-rw-r--r--
2023-11-26 13:49
pop3-top.c
2.11
KB
-rw-r--r--
2023-11-17 14:45
pop3-uidl.c
2.04
KB
-rw-r--r--
2023-11-17 14:45
post-callback.c
5.18
KB
-rw-r--r--
2023-11-17 14:45
postinmemory.c
3.39
KB
-rw-r--r--
2023-11-17 14:45
postit2-formadd.c
3.67
KB
-rw-r--r--
2023-11-26 13:49
postit2.c
3.44
KB
-rw-r--r--
2023-11-26 13:49
progressfunc.c
3.09
KB
-rw-r--r--
2023-11-17 14:45
protofeats.c
1.58
KB
-rw-r--r--
2023-11-17 14:45
resolve.c
1.94
KB
-rw-r--r--
2023-11-17 14:45
rtsp-options.c
1.72
KB
-rw-r--r--
2023-12-05 14:57
sendrecv.c
4.5
KB
-rw-r--r--
2023-11-26 13:49
sepheaders.c
2.69
KB
-rw-r--r--
2023-11-17 14:45
sessioninfo.c
3.08
KB
-rw-r--r--
2023-11-17 14:45
sftpget.c
3.28
KB
-rw-r--r--
2023-11-26 13:49
sftpuploadresume.c
3.84
KB
-rw-r--r--
2023-11-17 14:45
shared-connection-cache.c
2.54
KB
-rw-r--r--
2023-11-17 14:45
simple.c
1.7
KB
-rw-r--r--
2023-11-17 14:45
simplepost.c
1.85
KB
-rw-r--r--
2023-11-17 14:45
simplessl.c
4.58
KB
-rw-r--r--
2023-11-26 13:49
smooth-gtk-thread.c
5.84
KB
-rw-r--r--
2023-11-17 14:45
smtp-authzid.c
5.34
KB
-rw-r--r--
2023-11-26 13:49
smtp-expn.c
2.55
KB
-rw-r--r--
2023-11-26 13:49
smtp-mail.c
4.87
KB
-rw-r--r--
2023-11-26 13:49
smtp-mime.c
5.59
KB
-rw-r--r--
2023-11-26 13:49
smtp-multi.c
4.57
KB
-rw-r--r--
2023-11-26 13:49
smtp-ssl.c
5.78
KB
-rw-r--r--
2023-11-26 13:49
smtp-tls.c
6.25
KB
-rw-r--r--
2023-11-26 13:49
smtp-vrfy.c
2.61
KB
-rw-r--r--
2023-11-26 13:49
sslbackend.c
2.31
KB
-rw-r--r--
2023-11-26 13:49
synctime.c
12.61
KB
-rw-r--r--
2023-11-26 13:49
threaded-ssl.c
4.37
KB
-rw-r--r--
2023-11-17 14:45
unixsocket.c
1.98
KB
-rw-r--r--
2023-11-26 13:49
url2file.c
2.45
KB
-rw-r--r--
2023-11-17 14:45
urlapi.c
2.13
KB
-rw-r--r--
2023-11-26 13:49
usercertinmem.c
8.9
KB
-rw-r--r--
2023-11-17 14:45
version-check.pl
2.66
KB
-rwxr-xr-x
2023-11-17 14:45
websocket-cb.c
2.15
KB
-rw-r--r--
2023-11-26 13:49
websocket.c
3.43
KB
-rw-r--r--
2023-11-26 13:49
xmlstream.c
4.96
KB
-rw-r--r--
2023-11-17 14:45
Save
Rename
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, 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. * * SPDX-License-Identifier: curl * ***************************************************************************/ /* <DESC> * HTTP/2 server push. Receive all data in memory. * </DESC> */ #include <stdio.h> #include <stdlib.h> #include <string.h> /* somewhat unix-specific */ #include <sys/time.h> #include <unistd.h> /* curl stuff */ #include <curl/curl.h> struct Memory { char *memory; size_t size; }; static size_t write_cb(void *contents, size_t size, size_t nmemb, void *userp) { size_t realsize = size * nmemb; struct Memory *mem = (struct Memory *)userp; char *ptr = realloc(mem->memory, mem->size + realsize + 1); if(!ptr) { /* out of memory! */ printf("not enough memory (realloc returned NULL)\n"); return 0; } mem->memory = ptr; memcpy(&(mem->memory[mem->size]), contents, realsize); mem->size += realsize; mem->memory[mem->size] = 0; return realsize; } #define MAX_FILES 10 static struct Memory files[MAX_FILES]; static int pushindex = 1; static void init_memory(struct Memory *chunk) { chunk->memory = malloc(1); /* grown as needed with realloc */ chunk->size = 0; /* no data at this point */ } static void setup(CURL *hnd) { /* set the same URL */ curl_easy_setopt(hnd, CURLOPT_URL, "https://localhost:8443/index.html"); /* HTTP/2 please */ curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); /* we use a self-signed test server, skip verification during debugging */ curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L); curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYHOST, 0L); /* write data to a struct */ curl_easy_setopt(hnd, CURLOPT_WRITEFUNCTION, write_cb); init_memory(&files[0]); curl_easy_setopt(hnd, CURLOPT_WRITEDATA, &files[0]); /* wait for pipe connection to confirm */ curl_easy_setopt(hnd, CURLOPT_PIPEWAIT, 1L); } /* called when there is an incoming push */ static int server_push_callback(CURL *parent, CURL *easy, size_t num_headers, struct curl_pushheaders *headers, void *userp) { char *headp; int *transfers = (int *)userp; (void)parent; /* we have no use for this */ (void)num_headers; /* unused */ if(pushindex == MAX_FILES) /* cannot fit anymore */ return CURL_PUSH_DENY; /* write to this buffer */ init_memory(&files[pushindex]); curl_easy_setopt(easy, CURLOPT_WRITEDATA, &files[pushindex]); pushindex++; headp = curl_pushheader_byname(headers, ":path"); if(headp) fprintf(stderr, "* Pushed :path '%s'\n", headp /* skip :path + colon */); (*transfers)++; /* one more */ return CURL_PUSH_OK; } /* * Download a file over HTTP/2, take care of server push. */ int main(void) { CURL *easy; CURLM *multi; int still_running; /* keep number of running handles */ int transfers = 1; /* we start with one */ int i; struct CURLMsg *m; /* init a multi stack */ multi = curl_multi_init(); easy = curl_easy_init(); /* set options */ setup(easy); /* add the easy transfer */ curl_multi_add_handle(multi, easy); curl_multi_setopt(multi, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); curl_multi_setopt(multi, CURLMOPT_PUSHFUNCTION, server_push_callback); curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &transfers); while(transfers) { int rc; CURLMcode mcode = curl_multi_perform(multi, &still_running); if(mcode) break; mcode = curl_multi_wait(multi, NULL, 0, 1000, &rc); if(mcode) break; /* * When doing server push, libcurl itself created and added one or more * easy handles but *we* need to clean them up when they are done. */ do { int msgq = 0; m = curl_multi_info_read(multi, &msgq); if(m && (m->msg == CURLMSG_DONE)) { CURL *e = m->easy_handle; transfers--; curl_multi_remove_handle(multi, e); curl_easy_cleanup(e); } } while(m); } curl_multi_cleanup(multi); /* 'pushindex' is now the number of received transfers */ for(i = 0; i < pushindex; i++) { /* do something fun with the data, and then free it when done */ free(files[i].memory); } return 0; }