Skip to content

Instantly share code, notes, and snippets.

@ychaouche
Created September 30, 2024 16:24
Show Gist options
  • Save ychaouche/35cba3d32edae37c0699ce7fc874281d to your computer and use it in GitHub Desktop.
Save ychaouche/35cba3d32edae37c0699ce7fc874281d to your computer and use it in GitHub Desktop.
17:16:27 ~ -1- $ openssl s_client -connect messagerie.algerian-radio.dz:993 -crlf
CONNECTED(00000003)
depth=3 C = GB, ST = Greater Manchester, L = Salford, O = Comodo CA Limited, CN = AAA Certificate Services
verify error:num=19:self signed certificate in certificate chain
verify return:0
---
Certificate chain
0 s:/CN=*.algerian-radio.dz
i:/C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
1 s:/C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
i:/C=US/ST=New Jersey/L=Jersey City/O=The USERTRUST Network/CN=USERTrust RSA Certification Authority
2 s:/C=US/ST=New Jersey/L=Jersey City/O=The USERTRUST Network/CN=USERTrust RSA Certification Authority
i:/C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
3 s:/C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
i:/C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIGQDCCBSigAwIBAgIRAMWGThFpnqkKIl6u6g4Ff1wwDQYJKoZIhvcNAQELBQAw
gY8xCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGDAWBgNVBAoTD1NlY3RpZ28gTGltaXRlZDE3MDUGA1UE
AxMuU2VjdGlnbyBSU0EgRG9tYWluIFZhbGlkYXRpb24gU2VjdXJlIFNlcnZlciBD
QTAeFw0yNDAzMDMwMDAwMDBaFw0yNTAzMDMyMzU5NTlaMB4xHD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lt3zsw7CAAA
AY4EjwjtAAAEAwBGMEQCIHfB3DY1z6x+zRcDO+skpmBurtnVpi3X3L3Vyhy1LFhq
AiAPQ4bEyFVUEDjAMstvra5S2DOEEB9ipJA++1xvDpmfswB1AKLjCuRF772tm344
7Udnd1PXgluElNcrXhssxLlQpEfnAAABjgSPCIIAAAQDAEYwRAIgTEw/MKa4w/BX
rbdqnsHdOw73snrnEUgWdTo3twf5rRACIFosGHeZS4Fogz8waUybNIsMF++h0N87
Zga1N35kU0IOAHUATnWjJ1yaEMM4W2zU3z9S6x3w4I4bjWnAsfpksWKaOd8AAAGO
BI8IggAABAMARjBEAiAGpFTPcdNGA75v+1nMkxhsroMP3gwk2bviUHDsYrNbMQIg
cSRIhS/B0WahXz0xcFDu30QSjWYtUG792XxR/8nSWhkwDQYJKoZIhvcNAQELBQAD
ggEBAEoeFpbQLWSoE4ZjWK7yaxmilodZqXx0J184e0F4RVFWN9lctIh7HYAx/54w
EkPAl4vMRFH2IvsEiyI8Ligd9jk/hEltfZsXbD7Zy/gOy1xnbkrtdvzZjj1ebl2i
1y4IsEHW12rZRhJcgo6v8Ose8V9WAsAvV5o2C7zPVnpp6Il3R8Ezl/PgdRb70VGH
sZon+T2QRRFqJXN/VtRh0ZuNjUp8Rhruj8x4AKcb3xoIFc8B8lFUgCmzdnRAS1ja
zVXSsBuS972hGctapxfzEb4oMCXpGDhVo4FsERPUSKjcf9aDtgWdPwEAFhw8+FrB
1E4OpSJwg1uCiIb3QnxevHP5GnU=
-----END CERTIFICATE-----
subject=/CN=*.algerian-radio.dz
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
---
No client certificate CA names sent
---
SSL handshake has read 6354 bytes and written 453 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES256-GCM-SHA384
Session-ID: 80392CEAFB0BAF0FE8D773096A063E9F201E7A30322F0BA5DF4C58EE3F8FDCC8
Session-ID-ctx:
Master-Key: CA7F5D324B3D255854C61891EDA83DF96D73F9F961580E2D8DA3F2BECAFEECA0DB57047F50A183079D30C31D3A60A19B
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
0000 - b3 0d 3c 6a 14 b7 58 25-f3 bf 80 40 4b f8 7d 2b ..<j..X%...@K.}+
0010 - ca fe 9f af b2 88 7d 04-2f 84 3b 17 01 15 7b eb ......}./.;...{.
0020 - a4 fe ea 03 f0 8d c3 4a-fa 44 ff 8d 20 5d f5 dc .......J.D.. ]..
0030 - 30 49 b9 13 59 c4 19 9e-24 88 0f d7 b8 d4 5f 56 0I..Y...$....._V
0040 - 42 b1 88 a9 83 10 68 ac-72 59 3d 28 4e 4e a4 a8 B.....h.rY=(NN..
0050 - 3c d2 3d 7d 63 36 cc 0b-02 86 5f af 78 22 a1 ad <.=}c6...._.x"..
0060 - 1f 6c c4 1d f3 95 0f b1-c4 30 61 1c 4e ed 54 6d .l.......0a.N.Tm
0070 - d8 a7 00 06 84 6a 66 6c-a7 b0 2b 92 d4 ed 26 34 .....jfl..+...&4
0080 - 61 cd a7 f4 20 8b 54 b3-b6 4b 65 5e f0 c1 8b 51 a... .T..Ke^...Q
0090 - 6d 59 52 3c 15 a9 a8 e5-54 5e 15 06 93 95 56 61 mYR<....T^....Va
Start Time: 1727712993
Timeout : 300 (sec)
Verify return code: 19 (self signed certificate in certificate chain)
---
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
a login [email protected] "password with spaces"
a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in
a list "" *
* LIST (\HasChildren) "." INBOX
* LIST (\HasChildren) "." INBOX.ML
* LIST (\HasNoChildren) "." INBOX.ML.Nginx
* LIST (\HasNoChildren) "." INBOX.ML.OpenSSL
* LIST (\HasNoChildren) "." INBOX.ML.SDLU
* LIST (\HasNoChildren) "." INBOX.ML.DOVECOT
* LIST (\HasNoChildren) "." INBOX.ML.Debian
* LIST (\HasNoChildren) "." INBOX.ML.Fail2ban
* LIST (\HasNoChildren) "." INBOX.ML.SpamAssassin
* LIST (\HasNoChildren) "." INBOX.ML.Postfix
* LIST (\HasNoChildren) "." INBOX.ML.Monit
* LIST (\HasNoChildren) "." INBOX.ML.Shorewall
* LIST (\HasNoChildren) "." INBOX.ML.Emacs
* LIST (\HasChildren \Trash) "." INBOX.Trash
* LIST (\HasNoChildren) "." INBOX.Trash.DOVECOT
* LIST (\HasNoChildren) "." INBOX.Trash.Brigands
* LIST (\HasChildren) "." "INBOX.Trash.Coupures Streaming"
* LIST (\HasNoChildren) "." "INBOX.Trash.Coupures Streaming.JILFM_ZIK_WR"
* LIST (\HasNoChildren) "." "INBOX.Trash.Coupures Streaming.r&AOk-gional"
* LIST (\HasNoChildren) "." "INBOX.Trash.Coupures Streaming.Long"
* LIST (\HasNoChildren) "." INBOX.Trash.formation
* LIST (\HasChildren) "." INBOX.Trash.Archives
* LIST (\HasNoChildren) "." INBOX.Trash.Archives.2023
* LIST (\HasNoChildren) "." INBOX.Trash.POSTFIX
* LIST (\HasNoChildren) "." "INBOX.Trash.Rapport infomaniak"
* LIST (\HasChildren) "." INBOX.Consignes
* LIST (\HasNoChildren) "." INBOX.Consignes.SYSTEM
* LIST (\HasNoChildren) "." INBOX.Consignes.Kaspersky
* LIST (\HasNoChildren) "." INBOX.Consignes.quotas
* LIST (\HasNoChildren) "." INBOX.Consignes.Webradios
* LIST (\HasNoChildren) "." INBOX.Consignes.R&AOk-seau
* LIST (\HasNoChildren) "." INBOX.Consignes.Netia
* LIST (\HasNoChildren) "." INBOX.Consignes.Imrpimantes
* LIST (\HasNoChildren) "." INBOX.Consignes.Streaming
* LIST (\HasNoChildren) "." INBOX.Consignes.news
* LIST (\HasNoChildren) "." INBOX.formation
* LIST (\HasNoChildren) "." "INBOX.Valuable info"
* LIST (\HasNoChildren) "." INBOX.Corbeille
* LIST (\HasChildren) "." INBOX.Rapports
* LIST (\HasNoChildren) "." INBOX.Rapports.KSC
* LIST (\HasNoChildren) "." INBOX.Rapports.logcheck
* LIST (\HasNoChildren) "." INBOX.Rapports.WSUS
* LIST (\HasNoChildren) "." "INBOX.Rapports.unattended updates"
* LIST (\HasNoChildren) "." INBOX.Rapports.mailcop
* LIST (\HasNoChildren) "." INBOX.Rapports.quota
* LIST (\HasChildren) "." INBOX.Notifs
* LIST (\HasChildren) "." "INBOX.Notifs.Coupures Streaming"
* LIST (\HasNoChildren) "." "INBOX.Notifs.Coupures Streaming.JILFM_ZIK_WR"
* LIST (\HasNoChildren) "." "INBOX.Notifs.Coupures Streaming.Long"
* LIST (\HasNoChildren) "." "INBOX.Notifs.Coupures Streaming.r&AOk-gional"
* LIST (\HasChildren) "." INBOX.Notifs.Synchro
* LIST (\HasNoChildren) "." INBOX.Notifs.Synchro.Vanish
* LIST (\HasNoChildren) "." "INBOX.Notifs.Synchro.Packet corrupt"
* LIST (\HasNoChildren) "." "INBOX.Notifs.Synchro.broken pipe"
* LIST (\HasNoChildren) "." "INBOX.Notifs.Synchro.For no reason"
* LIST (\HasNoChildren) "." INBOX.Notifs.podcast
* LIST (\HasNoChildren) "." INBOX.Notifs.PRTG
* LIST (\HasNoChildren) "." INBOX.Brigands
* LIST (\HasNoChildren) "." INBOX.shared.application
* LIST (\HasNoChildren) "." INBOX.shared.stats-pub
* LIST (\HasNoChildren) "." INBOX.shared.cloud
* LIST (\HasNoChildren) "." "INBOX.Rapport infomaniak"
* LIST (\HasNoChildren) "." INBOX.Envoy&AOk-s
* LIST (\HasNoChildren) "." INBOX.Cloud
* LIST (\HasNoChildren \Drafts) "." INBOX.Drafts
* LIST (\HasNoChildren) "." INBOX.RAPPORTS
* LIST (\HasNoChildren) "." "INBOX.Je dois repondre"
* LIST (\HasNoChildren) "." INBOX.TMP
* LIST (\HasNoChildren) "." INBOX.Brouillons
* LIST (\HasNoChildren) "." INBOX.Messagerie
* LIST (\HasNoChildren \Junk) "." INBOX.Junk
* LIST (\HasNoChildren \Sent) "." INBOX.Sent
a OK List completed.
a select INBOX.Messagerie
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent NonJunk $Forwarded Junk)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent NonJunk $Forwarded Junk \*)] Flags permitted.
* 1035 EXISTS
* 0 RECENT
* OK [UNSEEN 82] First unseen.
* OK [UIDVALIDITY 1474879521] UIDs valid
* OK [UIDNEXT 5257] Predicted next UID
* OK [HIGHESTMODSEQ 13824] Highest
a OK [READ-WRITE] Select completed (0.000 secs).
* BAD Error in IMAP command : Unknown command.
a examine INBOX.Messagerie
* OK [CLOSED] Previous mailbox closed.
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent NonJunk $Forwarded Junk)
* OK [PERMANENTFLAGS ()] Read-only mailbox.
* 1035 EXISTS
* 0 RECENT
* OK [UNSEEN 82] First unseen.
* OK [UIDVALIDITY 1474879521] UIDs valid
* OK [UIDNEXT 5257] Predicted next UID
* OK [HIGHESTMODSEQ 13824] Highest
a OK [READ-ONLY] Examine completed (0.000 secs).
a UID FETCH 5240
a BAD Error in IMAP command UID FETCH: Invalid arguments.
a UID FETCH 5240:5241
a BAD Error in IMAP command UID FETCH: Invalid arguments.
* BAD Error in IMAP command : Unknown command.
83 UID fetch 5240:5255 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Bcc Subject Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content-Type Reply-To)])
* BYE Internal error occurred. Refer to server log for more information. [2024-09-30 17:22:59]
closed
17:22:59 ~ -1- $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment