debian 11 安裝 gophish 開源釣魚框架
Gophish 是一套免費的 Open-Source Phishing Framework 開源網路釣魚框架
https://getgophish.com/
安裝好的作業系統,並更新套件
apt -y update
apt -y upgrade

helloworld 發表在 痞客邦 留言(0) 人氣()

power shell 可以列出exchange online 某個通訊群組包含哪些成員
但無法直接從個人帳號反推屬於哪些通訊群組
需透過迴圈來實現

helloworld 發表在 痞客邦 留言(0) 人氣()

修改esxi 預設的密碼複雜性原則
主機 > 管理 > 系統 > 進階選項 > Security.PasswordQualityControl > 動作 > 編輯選項
預設值為 retry=3 min=disabled,disabled,disabled,7,7

helloworld 發表在 痞客邦 留言(0) 人氣()

phpmailer 指定收件者為 user1@example.com 設定如下
$mail->AddAddress("user1@example.com");
如果要加第二筆收件者,僅需重複 $mail->AddAddress(); 即可
如:
$mail->AddAddress("user1@example.com");
$mail->AddAddress("user2@example.com");

helloworld 發表在 痞客邦 留言(0) 人氣()


安裝完的 truenas scale 網路預設使用 dhcp 連線
如果要改成固定ip
除了先知道 dhcp ip 後,再透過 web ui 連線修改

helloworld 發表在 痞客邦 留言(0) 人氣()

$ vi test.sh
#!/bin/sh

helloworld 發表在 痞客邦 留言(0) 人氣()

使用stat 指定列出檔案的 ctime , mtime , atime
root@lab-101:/workdir# stat this-is-a-file
  File: this-is-a-file
  Size: 505987          Blocks: 992        IO Block: 4096   regular file
Device: 801h/2049d      Inode: 1048579     Links: 1
Access: (0646/-rw-r--rw-)  Uid: (  106/    tftp)   Gid: (  113/    tftp)
Access: 2023-11-20 14:39:11.722228112 +0800
Modify: 2023-11-20 14:38:52.570334312 +0800
Change: 2023-11-20 14:38:52.570334312 +0800
 Birth: 2023-11-20 14:30:57.628959474 +0800

helloworld 發表在 痞客邦 留言(0) 人氣()

安裝 tftp server
apt install tftpd-hpa
安裝 tftp client
apt install tftp

helloworld 發表在 痞客邦 留言(0) 人氣()

調整 redmine 最上方列表文字大小
redmine top-menu 預設字型很小很小,如果要調整上方字型的大小
cd ./redmine/public/stylesheets
vi application.css

helloworld 發表在 痞客邦 留言(0) 人氣()

測試環境: docker + apache base
root@hellowordl:/home/nextcloud# docker exec --user www-data <CONTAINER ID> php occ config:system:set twofactor_enforced false
System config value twofactor_enforced => false set to empty string
 

helloworld 發表在 痞客邦 留言(0) 人氣()

升級 aruba 1960 10g switch 韌體
下載位址:
https://community.arubainstanton.com/blogs/jamie-easly1/2021/11/01/instanton1960switchsoftwareportal?CommunityKey=26af222f-d9da-43cb-a665-cba6c273756c
若出現以下訊息
Operation Type
Update
File Type
Backup Image
Status
Operation Failed
Error
Copy: Version too old, downgrade prevented.

helloworld 發表在 痞客邦 留言(0) 人氣()

測試環境
docker: Base version - apache + mariadb
root@helloworld:~# docker ps
CONTAINER ID   IMAGE          COMMAND                  CREATED      STATUS      PORTS                  NAMES
846abceb2e61   nextcloud      "/entrypoint.sh apac…"   2 days ago   Up 2 days   0.0.0.0:8080->80/tcp   nextcloud-app-1
ab2fb11739b8   mariadb:10.6   "docker-entrypoint.s…"   2 days ago   Up 2 days   3306/tcp               nextcloud-db-1

helloworld 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。