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 SMTP mime emails * </DESC> */ #include <stdio.h> #include <string.h> #include <curl/curl.h> /* This is a simple example showing how to send mime mail using libcurl's SMTP * capabilities. For an example of using the multi interface please see * smtp-multi.c. * * Note that this example requires libcurl 7.56.0 or above. */ #define FROM "<sender@example.org>" #define TO "<addressee@example.net>" #define CC "<info@example.org>" static const char *headers_text[] = { "Date: Tue, 22 Aug 2017 14:08:43 +0100", "To: " TO, "From: " FROM " (Example User)", "Cc: " CC " (Another example User)", "Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@" "rfcpedant.example.org>", "Subject: example sending a MIME-formatted message", NULL }; static const char inline_text[] = "This is the inline text message of the email.\r\n" "\r\n" " It could be a lot of lines that would be displayed in an email\r\n" "viewer that is not able to handle HTML.\r\n"; static const char inline_html[] = "<html><body>\r\n" "<p>This is the inline <b>HTML</b> message of the email.</p>" "<br />\r\n" "<p>It could be a lot of HTML data that would be displayed by " "email viewers able to handle HTML.</p>" "</body></html>\r\n"; int main(void) { CURL *curl; CURLcode res = CURLE_OK; curl = curl_easy_init(); if(curl) { struct curl_slist *headers = NULL; struct curl_slist *recipients = NULL; struct curl_slist *slist = NULL; curl_mime *mime; curl_mime *alt; curl_mimepart *part; const char **cpp; /* This is the URL for your mailserver */ curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com"); /* 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); /* Add two recipients, in this particular case they correspond to the * To: and Cc: addressees in the header, but they could be any kind of * recipient. */ recipients = curl_slist_append(recipients, TO); recipients = curl_slist_append(recipients, CC); curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); /* allow one of the recipients to fail and still consider it okay */ curl_easy_setopt(curl, CURLOPT_MAIL_RCPT_ALLOWFAILS, 1L); /* Build and set the message header list. */ for(cpp = headers_text; *cpp; cpp++) headers = curl_slist_append(headers, *cpp); curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers); /* Build the mime message. */ mime = curl_mime_init(curl); /* The inline part is an alternative proposing the html and the text versions of the email. */ alt = curl_mime_init(curl); /* HTML message. */ part = curl_mime_addpart(alt); curl_mime_data(part, inline_html, CURL_ZERO_TERMINATED); curl_mime_type(part, "text/html"); /* Text message. */ part = curl_mime_addpart(alt); curl_mime_data(part, inline_text, CURL_ZERO_TERMINATED); /* Create the inline part. */ part = curl_mime_addpart(mime); curl_mime_subparts(part, alt); curl_mime_type(part, "multipart/alternative"); slist = curl_slist_append(NULL, "Content-Disposition: inline"); curl_mime_headers(part, slist, 1); /* Add the current source program as an attachment. */ part = curl_mime_addpart(mime); curl_mime_filedata(part, "smtp-mime.c"); curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime); /* 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 lists. */ curl_slist_free_all(recipients); curl_slist_free_all(headers); /* 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); /* Free multipart message. */ curl_mime_free(mime); } return (int)res; }