Ubuntu

apt-get update - public key is not available

嘗試在 Raspbian 上加入 Kali Linux Repository Source List 但是在使用 sudo apt-get update 時卻出現以下的 Error The following signatures couldnt be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6 Reading package lists... Done W: GPG error: http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease: The following signatures couldnt be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6 E: The repository http://http.kali.org/kali kali-rolling InRelease is not signed. N: Updating from such a repository cant be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. ![signatures couldnt be verified because the public key is not available](/media/2021/public-key-not-avaliable-error.png “signatures couldnt be verified because the public key is not available)

2021-03-08

RaspberryPi unzip file via 7Zip

在 Linux / Ubuntu 上如何 unzip a Zip file 解決方法 我們可以安裝 7Zip 之後用 command extract 便可 安裝 7Zip sudo apt-get install p7zip-full install 7zip on linux

2021-02-13

upload copy file via ssh

如何從 local machine 經 ssh 去 copy 檔案到 raspberrypi 上 解決方法十分簡單… 我可以使用 scp command scp [File to Copy] [Destination] scp "C:/Users/Chi/Desktop/kali/wordlist.zip" pi@raspberrypi.local:/home/pi/Documents/wordlists copy file from local machine via ssh to remote

2021-02-12

RaspberryPi how to unzip unrar

如何在 raspbian 上 unzip a rar 檔案 / 安裝 unrar 解決方法: 首先我們要更改 sources.list sudo nano /etc/apt/sources.list sudo nano /etc/apt/sources.list uncomment 以下那一行

2021-02-11

'python' no such file or directory

嘗試安裝 wifite 時出現了一個 python 的 error 'python' no such file or directory ‘python’ no such file or directory

2021-02-08

How to resume SSH session - Ubuntu / RaspberryPi

最近最左塊 RaspberryPi4 諗住用黎比屋企人做 Media Center 但係就咁放係度做 media center 好似有 D 浪費 所以便安裝左 D tools 黎玩 發現有 D tools run 既時候需要 一些時間 但係當你個 ssh connection 斷左之後… 你在 terminal 上執行既 command 亦都會被 cancel 怎樣才可以 reconnect / resume ssh session 呢?

2021-02-06

add-apt-repository: command not found

嘗試加入新的 package repository 時出現了以下 error add-apt-repository: command not found fixed - add-apt-repository: command not found 解決方法: 加了software-properties-common 便可

2021-02-05

Ubuntu remote desktop from windows 10

最近買了隻 RaspberryPi 4 想安裝 Ubuntu 來做一個 mini-computer 給家人用來做media centre 由於屋企沒有 電腦 Mon 所以 要試東西要連上 TV… 有點麻煩 如果可以安裝 Remote Desktop 便好了 解決方法: sudo apt install xrdp sudo systemctl enable --now xrdp sudo apt-get install mate-core sudo ufw allow from any to any port 3389 proto tcp Hope you find it useful

2021-01-28

Windows reset subsystem - Ubuntu

最近想嘗試 reset 由頭再安裝 Windows Subsystem 上的 Ubuntu 開頭以入只要 在 Windows Store Uninstall 了便可 但是再次安裝後 之前想 remove 的 application 還是在 Ubuntu 裡面 做了一會 research 之後 終於找到解決方法 我們可以使用 WSL command 來 unregister 這個 linux

2019-11-27

Ubuntu install WPScan

之前介紹過用如何用 Docker 來執行 WPScan 來檢查 Wordpress 有沒有安全問題 最近開始使用 Windows Subsystem 發現原來做 Windows Subsystem 上安裝使用 Ubuntu 也十分方便 我們可以用 subsystem 上的 Ubuntu 來安裝 linux 可以安裝的 software 所以安裝 和執行 WPScan 也十分方便 我們可用以下的 command 來安裝 WPScan

2019-11-26