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 install WPScan

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

2019-11-26

LetsEncrypt Renew - Lets Encrypt SSL 更新

差不多每三個月 Let’s Encrypt Expiry Bot 便會Email 我說.. 我的SSL 後快便會到期Expire 我需要去Renew" 解決方法十分簡單 我們只需要在 server 的Terminal 上用 sudo執行以下指令便可 sudo certbot-auto renew

2017-06-27