1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

新しくPC買ったので諸々設定する

Last updated at Posted at 2022-10-28

用途

CTF

wsl環境構築

インストール

めちゃくちゃ簡単になってた

# powershell
wsl --install

rootログイン

用途的にrootで問題ないです

# powershell
ubuntu config --default-user

初期設定

# wsl
dpkg --add-architecture i386
apt update
apt upgrade
apt install python3-pip
apt install socat

Reverse環境構築

JDK
Ghidra
ghidraRun.batのプロパティからセキュリティを許可

Pwn環境構築

# wsl
pip3 install pwntools
wget -q https://raw.githubusercontent.com/bata24/gef/dev/install.sh -O- |sh
apt install libc6-dbg libncurses5
apt install libc6:i386 libncurses5:i386 libstdc++6:i386 libc6-dbg:i386 gcc-multilib

Crypto環境構築

# wsl
apt install sagemath
echo "%colors Linux" > ~/.sage/init.sage #sageの色変更
pip3 install pycryptodome

VSCode

VSCode

// setting.json
{
    "workbench.colorTheme": "Default Dark+",
    "security.workspace.trust.untrustedFiles": "open",
    // 自己責任 "security.workspace.trust.enabled": false,
    "editor.minimap.enabled": false,
    "editor.renderControlCharacters": true, 
    "editor.renderWhitespace": "boundary", 
    "files.exclude": {
        "**/*:Zone.Identifier": true
    }
}

その他ソフト/ツール類

Docker ※for windowsはwsl上でも使える

Windows側
c:\Users\<ユーザ名>\.wslconfig
> localhostForwarding=True

apt install zstd
apt install openvpn

(随時更新)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?