DAVIDOU

php

[php]將HEX 轉成32bit的float (IEEE-754規範)

將十六進製字符串轉換為 32 位 IEEE 754 浮點數。這個函數比下面的十六進製到 32 位函數快 2 倍 […]

Be the First to comment. Read More
python

python讀取modbus範例

原本是想用php寫來讀取modbus上的資料的,查了查文件發現php有點太麻煩了,且範例好像都快10年前了,現 […]

Be the First to comment. Read More
防禦

[資安]Permissions-Policy header not implemented

Permissions Policy is a new header that allows a s […]

Be the First to comment. Read More
防禦

[資安]隱藏php 版本跟apache版本

隱藏php版本需要修改php.ini找到 把它修改成 隱藏apache版本則需要到httpd.conf 裡面手 […]

Be the First to comment. Read More
防禦

[資安]Insecure Inline Frame (iframe)

發現網頁使用內聯框架(“iframe”)嵌入資源,例如不同的網頁。內聯框架配置不安全,或者不如預期的安全。此漏 […]

Be the First to comment. Read More