11月 02, 2023

USB 資料對傳線(USB Host to Host Data Transfer)

Prolific PL27A1 Super-Speed USB Host to Host Data Transfer Controller

The PL27A1 is a single-chip SuperSpeed USB 3.0 Host-to-Host bridge controller specially designed for USB host to host data transfer. (通常搭公版軟體 PCLinq5 發售;可透過 libusb 程式化運作)

The PL27A1 chip offers external firmware customization for various data transfer mode protocols:
- WINUSB(Transfer cable)
- CDC/ACM (USB Serial Device)
- RNDIS (Network Cable)

PL27A1 實際產品

另一種標示為資料傳輸與鍵鼠(KM)控制的的產品 (libusb 無法正常驅動)
  • j5create JUC100 USB 2.0 資料對傳線:規格參數 - WindowsLinux
  • StarTech.com KM Switch Cable with File Transfer (SVKMS2)

9月 12, 2023

設定 BIND9 伺服器

關於 BIND 的設定之前(2014)有寫過一篇,不過年代久遠。兩相對照語法,其實架構沒太大改變。現在都用免費託管方案 Cloudflare DNS 顯少自己維運,畢竟還是有機會被打爆。

/etc/bind# vim named.conf.local

zone "example.com" in {
  type master;
  file "/etc/bind/db.example.com";
};

/etc/bind# vim db.example.com

$TTL    86400
$ORIGIN example.com.    ; base domain-name

@  IN  SOA  dns.example.com. admin.example.com. (
   20230909    ; Serial
   43200       ; Refresh
   3600        ; Retry
   1209600     ; Expire
   180 )       ; Minimum TTL

; Nameservers
@                  IN  NS  dns.example.com.;

; Records
dns.example.com.   IN  A   [IP];
test.example.com.  IN  A   [IP];

/etc/bind# vim named.conf.options

options {
  directory "/var/cache/bind";
  dnssec-validation auto;
  
  auth-nxdomain yes;    # conform to RFC1035
  listen-on-v6 { none; };
  listen-on port 53 { any; };
  allow-query { any; };
  allow-query-cache { none; };
  recursion no; 
  also-notify { };
};

9月 06, 2023

開源XDR平台 - Wazuh

開源的 XDR 平台!感覺安裝不會太難,但要On Premise維運不知能不能做到?
Wazuh is a free and open source security platform that unifies XDR and SIEM protection for endpoints and cloud workloads.
端點(agent)支援的作業系統有 Linux, Windows, macOS
The Wazuh agent is multi-platform and runs on the endpoints that the user wants to monitor. It communicates with the Wazuh server, sending data in near real-time through an encrypted and authenticated channel.
然後概念驗證(POC)章節有提到怎麼觸發告警
  • Detecting suspicious binaries
  • File integrity monitoring
  • Detecting an SQL injection attack
  • Vulnerability detection

5月 14, 2023

RDP 連線側錄工具(RecordTS)

RecordTS™ is a Windows remote desktop session recording software that can monitor user activity on-premise or in the cloud.

RecordTS 是當使用者連結至伺服器、工作站、終端伺服器或 Citrix 伺服器時,用來紀錄遠程桌面工作階段活動的軟體。所有的活動皆會被記錄,當中包括按鍵、滑鼠移動、檔案下載等,沒有任何遺漏。

TSFactory's RecordTS Single Server Edition is a compact, efficient and powerful recording solution for Windows remote desktop sessions.

一年的訂閱費用好像很親民,不知實際用起來怎麼樣...

5月 11, 2023

4月 29, 2023

長青款無線網卡 TP-LINK TL-WN722N

新舊型號都是:TP-Link TL-WN722N 150M

用了十年的無線網卡總算壞了!太神了這產品,難怪網通設備毛利率普遍一般,東西太耐用。

而且完全相同型號(晶片有換)隔了十年竟然還能買到,跟本長青樹等級。

.

3月 08, 2023

IP Geolocation API

 幾個比較有名的 GeoIP 服務

https://ipstack.com/

https://www.maxmind.com/

https://ipinfo.io/

https://ip-api.com/

3月 07, 2023

UiPath 快速入門

安裝外掛
SetupExtensions.exe /edge-policy-offline
SetupExtensions.exe /Firefox-Policy-Offline

1月 13, 2023

RPA(Robotic Process Automation) 工具列表

Robotic Process Automation (RPA) Tools

  1. UI Vision RPA
  2. Taskt
  3. OpenRPA
  4. Power Automate 

11月 11, 2022

啟用 iPhone 13 手機

史上最好用的 hTC U11 功成身退!要是機身沒故障,應該還能撐個一年半載。上個月先是相機模組壞了,接著指紋辨識失效、伴隨偶發性4G斷訊(慘),趁整隻爛光前開始轉移資料。安卓陣營這二年因為高通處理器(Snapdragon 888與8 Gen 1)過熱與耗電問題波及各廠,造成無機可選窘境!這時間點要換新機,只能硬著頭皮找 iPhone 了。對於長年的安卓用戶難免猶豫再三...。

今年 Apple 陣營也很微妙,在9月時推出第iPhone 14代新機,硬體規格竟然跟去年13代完全一樣!不過價位硬是貴了3K,這樣誰想買新機?!既然如此,只好順理成章選擇已經問市一年的 iPhone 13 ($22,390),目前售價來到低點。

拿到的 iPhone 13 出廠搭 iOS 16.0.2,預計停留在這個版號一陣子。幾個不習慣的地方...
  • 沒有返回鍵(非常需要)
  • 沒有指紋辨識(嬌貴Face ID不能摔)
  • 部份App字體過小(像是網銀、購物、G日曆)
  • 欠缺瀏覽器擋廣告最佳組合(目前用Safari+AdBlock Pro)
  • 手機鈴聲單調
型錄:DM1 | DM2

避免自動更新(OTA):
  • 使用 Beta Profiles - 透過描述檔佯裝不同設備(如tvOS/Block OTA)避免更新。
系統升級(2025/12):
  • 部份應用軟體不支援舊版 iOS 16 系統,更新至 iOS 18.7.2 再戰三年!