Chatbot ile Cxperium iletişim Testi

2. adım işlemler, Yazar Erdinç Cürebal.

Bu adıma başlanabilmesi için gerekli bilgilere ihtiyaç vardır.

  • Chatbot sunucu ip adresi.

  • Chatbot sunucu kullanıcı adı.

  • Chatbot sunucu kullanıcı şifresi.


Chatbot sunucuna bağlanma

Powershell terminali aç.

Başlat menüsü.

SSH bağlantısı yap, gerekli bilgileri gir.

ssh USERNAME@IP_ADDRESS
Powershell ekranı.

İlk defa bu sunucuya bağlanılıyorsa "yes" yazmanız gerekmekte.

Powershell ekranı.

Sunucu şifresini girin, şifre yazarken yazı karakterleri görünmeyecek gizlidir. şifreyi girdiyseniz ENTER basınız.

Powershell ekranı.

Root kullanıcısına geçme, eğer şifre isterse tekrar şifre giriniz.

sudo su
Powershell ekranı.


DNS temizleme

Dns temizleme, alttaki komutları terminalde tek tek çalıştırın ve hata verirse önemsemeyin.

sudo systemctl restart systemd-resolved
sudo systemd-resolve --flush-caches
sudo resolvectl flush-caches
Powershell ekranı.

Sunucuyu resetleme.

sudo shutdown -r now
Powershell ekranı.


Cxperium sunucu ile iletişim testi

Bu adımı yapabilmek için reset atılan sunucuya tekrar bağlantı yapılması gerekmekte.

Chatbot sunucuna bağlanma

Aşağıdaki işlemleri yaparken hata alınırsa veya cıktılar farklı ise lütfen işlemlere devam etmeyin ve bildirin.

Port ve Ip testi - Cxperium API

nc -vz api.cxperium.com 443
# Cıktı
Connection to api.cxperium.com (20.54.198.159) 443 port [tcp/https] succeeded!

Port ve IP testi - Cxperium Hook

nc -vz hook.cxperium.com 443
# Cıktı
Connection to hook.cxperium.com (20.54.198.159) 443 port [tcp/https] succeeded!

Port ve IP testi - Cxperium WS

nc -vz ws.cxperium.com 443
# Cıktı
Connection to ws.cxperium.com (20.54.198.159) 443 port [tcp/https] succeeded!

Port ve IP testi - PollBot API

nc -vz api.pollbot.io 443
# Cıktı
Connection to api.pollbot.io (20.54.198.159) 443 port [tcp/https] succeeded!

Port ve IP testi - PollBot Hook

nc -vz hook.pollbot.io 443
# Cıktı
Connection to hook.pollbot.io (20.54.198.159) 443 port [tcp/https] succeeded!

Port ve IP testi - Cxpe NET

nc -vz cxpe.net 443
# Cıktı
Connection to cxpe.net (20.54.198.159) 443 port [tcp/https] succeeded!

Sertifika Testi - Cxperium API

curl --insecure -v https://api.cxperium.com 2>&1 | grep "issuer"
# Cıktı
*  issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2

Sertifika Testi - Cxperium Hook

curl --insecure -v https://hook.cxperium.com 2>&1 | grep "issuer"
# Cıktı
*  issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2

Sertifika Testi - Cxperium WS

curl --insecure -v https://ws.cxperium.com 2>&1 | grep "issuer"
# Cıktı
*  issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2

Sertifika Testi - PollBot API

curl --insecure -v https://api.pollbot.io 2>&1 | grep "issuer"
# Cıktı
*  issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2

Sertifika Testi - PollBot Hook

curl --insecure -v https://hook.pollbot.io 2>&1 | grep "issuer"
# Cıktı
*  issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2

Sertifika Testi - Cxpe NET

curl --insecure -v https://cxpe.net 2>&1 | grep "issuer"
# Cıktı
*  issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2

Bağlantı testi - Cxperium API

 curl -o /dev/null -s -w "%{http_code}\n" https://api.cxperium.com
# Cıktı
200

Bağlantı testi - Cxperium Hook

 curl -o /dev/null -s -w "%{http_code}\n" https://hook.cxperium.com
# Cıktı
200

Bağlantı testi - Cxperium WS

 curl -o /dev/null -s -w "%{http_code}\n" https://ws.cxperium.com
# Cıktı
200

Bağlantı testi - PollBot API

 curl -o /dev/null -s -w "%{http_code}\n" https://api.pollbot.io
# Cıktı
200

Bağlantı testi - PollBot Hook

 curl -o /dev/null -s -w "%{http_code}\n" https://hook.pollbot.io
# Cıktı
200

Bağlantı testi - Cxpe NET

 curl -o /dev/null -s -w "%{http_code}\n" https://cxpe.net
# Cıktı
200

Last updated