win10 考用簡單看ip

curl curlmyip.org

發表於 未分類 | 發表迴響

Proxmox:spice

qm showcmd xxx >> /tmp/vm-xxx.sh
vi /tmp/vm-xxx.sh
find addr=127.0.0.1 chang addr=0.0.0.0
args: -device AC97,addr=0×18 -spice ‘port=61001,disable-ticketing,seamless-migration=on’
remote-viewer.exe spice://procmox_ip:61001 -f

full-scren=f11
ctrl+alt+end=ctrl+all+del

args: -spice ‘port=6999,addr=0.0.0.0,seamless-migration=on,password=password’

發表於 未分類 | 發表迴響

Block Team View Using Mikrotik Firewall Rules

/ip firewall filter
add chain=forward action=add-dst-to-address-list protocol=tcp address-list=Team View address-list-timeout=1d dst-port=5938

/ip firewall filter
add chain=forward action=drop src-address-list=Team View

/ip firewall filter
add chain=forward action=drop dst-address-list=Team View

發表於 未分類 | 發表迴響

mikrotik block L7 youtube facebook

Block L7
^.(youtube.com|facebook.com).*$
^.+(youtube.com|facebook.com).*$

發表於 未分類 | 已標籤 | 發表迴響

windows openssl

https://slproweb.com/products/Win32OpenSSL.htmll
選擇Win64 OpenSSL Light
加到環境Path,C:\Program Files\OpenSSL-Win64\bin
這樣一般終端機視窗 。shell 也能使用,要用管理者權限開啟

mkdir a
cd a

openssl.exe genrsa -out .key 2048 (檔案要保留)
for linux——–>openssl req -new -out .csr -key .key (我是在windows 用linux 指令,也可以)
for windows—->openssl.exe req -new -key .key -out .csr -config openssl.cfg

會要你輸入下面這些
1.國家名稱
2.州或省別
3.公司行號:hs
4.組織單位:IT
5.一般名稱:主機 + 網域名稱
在產生 CSR 時,請勿輸入您的電子郵件地址 (email address)、通關詞組 (A challenge password) 或選用的公司名稱 (An option company name) , 此三項直接 Enter 帶過即可。

發表於 未分類 | 已標籤 | 發表迴響

Windows 10 後期版本 無法自動登入 解決方式

Windows 10 後期版本 無法自動登入 解決方式

https://liaozi.blogspot.com/2020/06/windows-102004.html

執行 regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device\DevicePasswordLessBuildVersion

把 DevicePasswordLessBuildVersion 的值 2 改成 0

然後logout重login,再執行 netplwiz 就會發現該項目回歸

發表於 未分類 | 已標籤 | 發表迴響

ros 匯入惡意host

:local FileName "ban.rsc";
:do {
:do {
/file remove "//ban.rsc";
} on-error={}

:put "Downloading /ban.rsc…";
:log warning "Downloading /ads.rsc…";
:do {
/tool fetch url="http://xxx/tools/ban.rsc" dst-path="ban.rsc"
} on-error={
:put "Error. Download /ban.rsc failed";
:log error "Error. Download /ban.rsc failed";
:return 0;
}

/ip firewall address-list remove [/ip firewall address-list find list=firehost_list]

:put "Importing /ban.rsc…";
:log warning "Importing /ban.rsc…";
:do {
/import "//ban.rsc";
} on-error={
:put "Import /ban.rsc failed. unknown error.";
:log error "Import /ban.rsc failed. unknown error.";
}

:put "Update ban-block address-list completed.";
:log warning "Update Firehost_list address-list completed.";
}

發表於 未分類 | 已標籤 | 發表迴響

gmail outlook

內送郵件 (IMAP) 伺服器
imap.gmail.com

需要安全資料傳輸層 (SSL):是

通訊埠:993

外寄郵件 (SMTP) 伺服器
smtp.gmail.com

需要安全資料傳輸層 (SSL):是

需要傳輸層安全性 (TLS):是 (如果可用)

需要驗證:是

安全資料傳輸層 (SSL) 通訊埠:465

傳輸層安全性 (TLS)/STARTTLS 通訊埠:587

姓名或顯示名稱 你的姓名
帳戶名稱、使用者名稱或電子郵件地址 你的完整電子郵件地址
密碼 你的 Gmail 密碼

發表於 未分類 | 發表迴響

白名單

163.29.159.21
202.3.178.6
60.250.172.200

發表於 未分類 | 發表迴響

win10 捷徑鎖定

Win10 command Lock
Rundll32.exe user32.dll,LockWorkStation

發表於 未分類 | 已標籤 | 發表迴響