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> * Send email on behalf of another user with SMTP * </DESC> */ #include <stdio.h> #include <string.h> #include <curl/curl.h> /* * This is a simple example show how to send an email using libcurl's SMTP * capabilities. * * Note that this example requires libcurl 7.66.0 or above. */ /* The libcurl options want plain addresses, the viewable headers in the mail * can get a full name as well. */ #define FROM_ADDR "<ursel@example.org>" #define SENDER_ADDR "<kurt@example.org>" #define TO_ADDR "<addressee@example.net>" #define FROM_MAIL "Ursel " FROM_ADDR #define SENDER_MAIL "Kurt " SENDER_ADDR #define TO_MAIL "A Receiver " TO_ADDR static const char *payload_text = "Date: Mon, 29 Nov 2010 21:54:29 +1100\r\n" "To: " TO_MAIL "\r\n" "From: " FROM_MAIL "\r\n" "Sender: " SENDER_MAIL "\r\n" "Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@" "rfcpedant.example.org>\r\n" "Subject: SMTP example message\r\n" "\r\n" /* empty line to divide headers from body, see RFC 5322 */ "The body of the message starts here.\r\n" "\r\n" "It could be a lot of lines, could be MIME encoded, whatever.\r\n" "Check RFC 5322.\r\n"; struct upload_status { size_t bytes_read; }; static size_t payload_source(char *ptr, size_t size, size_t nmemb, void *userp) { struct upload_status *upload_ctx = (struct upload_status *)userp; const char *data; size_t room = size * nmemb; if((size == 0) || (nmemb == 0) || ((size*nmemb) < 1)) { return 0; } data = &payload_text[upload_ctx->bytes_read]; if(data) { size_t len = strlen(data); if(room < len) len = room; memcpy(ptr, data, len); upload_ctx->bytes_read += len; return len; } return 0; } int main(void) { CURL *curl; CURLcode res = CURLE_OK; struct curl_slist *recipients = NULL; struct upload_status upload_ctx = { 0 }; curl = curl_easy_init(); if(curl) { /* This is the URL for your mailserver. In this example we connect to the smtp-submission port as we require an authenticated connection. */ curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com:587"); /* Set the username and password */ curl_easy_setopt(curl, CURLOPT_USERNAME, "kurt"); curl_easy_setopt(curl, CURLOPT_PASSWORD, "xipj3plmq"); /* Set the authorization identity (identity to act as) */ curl_easy_setopt(curl, CURLOPT_SASL_AUTHZID, "ursel"); /* Force PLAIN authentication */ curl_easy_setopt(curl, CURLOPT_LOGIN_OPTIONS, "AUTH=PLAIN"); /* Note that this option is not strictly required, omitting it will result * in libcurl sending the MAIL FROM command with empty sender data. All * autoresponses should have an empty reverse-path, and should be directed * to the address in the reverse-path which triggered them. Otherwise, * they could cause an endless loop. See RFC 5321 Section 4.5.5 for more * details. */ curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM_ADDR); /* Add a recipient, in this particular case it corresponds to the * To: addressee in the header. */ recipients = curl_slist_append(recipients, TO_ADDR); curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); /* We are using a callback function to specify the payload (the headers and * body of the message). You could just use the CURLOPT_READDATA option to * specify a FILE pointer to read from. */ curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source); curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); /* Send the message */ res = curl_easy_perform(curl); /* Check for errors */ if(res != CURLE_OK) fprintf(stderr, "curl_easy_perform() failed: %s\n", curl_easy_strerror(res)); /* Free the list of recipients */ curl_slist_free_all(recipients); /* curl will not send the QUIT command until you call cleanup, so you * should be able to reuse this connection for additional messages * (setting CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT as required, and * calling curl_easy_perform() again. It may not be a good idea to keep * the connection open for a long time though (more than a few minutes may * result in the server timing out the connection), and you do want to * clean up in the end. */ curl_easy_cleanup(curl); } return (int)res; }