Security | tags

Security | SSH login Alert Telegram bot

Linux Security Command

from https://github.com/vdeville/ssh-login-alert-telegram apt-get -y install git cd /opt/ && git clone https://github.com/vdeville/ssh-login-alert-telegram.git (more…).. อ่านต่อ ( read more» )

Security | Hide Header Referrer link

Security SEO

Security | Fix debian 8/9 “curl: (60) SSL certificate problem: certificate has expired”

Linux Security Command Debian PHP

Security | update OpenSSL on Debian & DirectAdmin

DirectAdmin Command Security Debian

What versions of the OpenSSL are affected? Status of different versions: - OpenSSL 1.0.1 through 1.0.1f (inclusive) are vulnerable - OpenSSL 1.0.1g is NOT vulnerable - OpenSSL 1.0.0 branch is NOT vulnerable - OpenSSL 0.9.8 branch is NOT vulnerable Bu.. อ่านต่อ ( read more» )

Security | วิธีเช็คไฟล์ Hash แบบง่าย ๆ ได้ทั้ง MD5 SHA1 SHA256 SHA512 CR2 ฯลฯ

Security Windows

Hash คืออะไรนั้น เอาแบบย่อ ๆ ก็คือการเข้ารหัสรูปแบบหนึ่งเพื่อเอาค่าที่ได้ไม่ให้ซ้ำกัน เพื่อไปบลา ๆ .. ถ้าแบบยาว ๆ ก็อ่านโลด https://www.blognone.com/node/43630 ที่เราใช้กันบ้าน ๆ แบบคนทั่วไปเวลาดาวน์โหลดไฟล์ นั่นคือ Hash Checksums ที่เอาไว้ตรวจว่าไฟล.. อ่านต่อ ( read more» )

Security | วิธีตรวจสอบ แก้ไข และป้องกัน Router โดนแฮก ง่ายๆ

Security

ช่วงนี้เห็น เร้าเตอร์ ของเนตในเมืองไทย หลายๆเจ้า โดน hack router ด้วย dns ที่ชี้ไปเซิฟเวอร์ต่างประเทศกันเยอะเพราะใช้บัคการดูด rom router ออกไปแกะ password อาการผิดปกติ router ช่วงนี้ที่บ่งบอกว่าเร้าเตอร์โดนแฮกเข้าแล้ว หลักๆก็มี - เปิดเว็บ google / yo.. อ่านต่อ ( read more» )

Security | How to install mod_evasive (block DDoS Apache)

DirectAdmin Security Command Debian

Mod_evasive คือ module เสริม ชนิดหนึ่งของ apache ซึ่งทำหน้าที่ ตรวจจับ การ request ผ่าน service apache โดย มีขั้นตอนการทำงาน คือ ถ้า IP ใด มีการ request เข้ามาขอบริการ เป็นจำนวนมาก ผิดปรกติ แล้ว mod ตัวนี้ จะทำการ ban IP ดังกล่าว ซึ่งจะเป็นการช่วยป้อ.. อ่านต่อ ( read more» )

Security | วิธี SSH ข้ามเซิฟเวอร์โดยไม่ใส่รหัสผ่าน

Command Security Linux

ยกตัวอย่างเช่น ssh จากเครื่อง A ไปเครื่อง B โดยไม่ใช้รหัสผ่านในการ ssh @เครื่อง A ssh-keygen -t rsa (มีอะไรขึ้นมาก็กด enter ผ่านไปให้หมด แล้วพิมพ์คำสั่งด้านล่าง เพื่อเตรียมก็อบค่าไว้) cat /root/.ssh/id_rsa.pub id_rsa.pub = publickey ก๊อปไปใส่เครื่องป.. อ่านต่อ ( read more» )

Security | วิธีปิด autorun Windows XP/7 ป้องกันไวรัส

Windows Security Antivirus

วิธีปิด autorun Windows XP หรือ Windows 7 ของพวก flashdrive, thumbdrive, usb external หรือ cd-rom อย่างง่ายๆ 1. คลิกปุ่ม Start –> Run ปรากฏไดอะล็อกบ็อก Run พิมพ์คำสั่ง gpedit.msc กดปุ่ม OK แล้วจะปรากฏไดอะล็อกบ็อก Group Policy 2. - Windows XP คลิกเลือ.. อ่านต่อ ( read more» )

Security | ป้องกันโดนยิงเครื่อง server

Security Command Linux

#การใช้ netstat ตรวจสอบการถูกยิงด้วย syn คำสั่ง netstat -ntu | grep SYN_RECV | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nrอันนี้จะบอกว่า ณ ขณะเวลานั้นๆ มีคนส่ง syn เข้ามาเพื่อขอเชื่อมกับ server ของเรา โดยปกติไม่ควรเกิน 10 ครั้งต่อ 1 IP.. อ่านต่อ ( read more» )