質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.49%
WSL(Windows Subsystem for Linux)

WSL (Windows Subsystem for Linux) は、Windows10のOS上でLinux向けのバイナリプログラムを実行可能にする機能です。また、WindowsOSのAPIを用いた仕組みを提供しており、Linux側からWindowsOSへのファイルアクセスもできます。

Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

Q&A

解決済

1回答

2394閲覧

Wifiteについて;airmon-ng did not find any wireless interfaces

Shouka

総合スコア34

WSL(Windows Subsystem for Linux)

WSL (Windows Subsystem for Linux) は、Windows10のOS上でLinux向けのバイナリプログラムを実行可能にする機能です。また、WindowsOSのAPIを用いた仕組みを提供しており、Linux側からWindowsOSへのファイルアクセスもできます。

Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

0グッド

0クリップ

投稿2019/05/10 16:22

編集2019/05/10 16:26

やりたいこと・エラー

WSLのUbuntuをWindows10にいれました。
それを使用してWifiteを使ってみようと思ったのですが…

:/opt/wifite2$ sudo wifite . . .´ · . . · `. wifite 2.2.5 : : : (¯) : : : automated wireless auditor `. · ` /¯\ ´ · .´ https://github.com/derv82/wifite2 ` /¯¯¯\ ´ [!] Warning: Recommended app reaver was not found. install @ https://github.com/t6x/reaver-wps-fork-t6x [!] Warning: Recommended app bully was not found. install @ https://github.com/aanarchyy/bully [!] Warning: Recommended app tshark was not found. install @ apt-get install wireshark [!] Warning: Recommended app hcxdumptool was not found. install @ https://github.com/ZerBea/hcxdumptool [!] Warning: Recommended app hcxpcaptool was not found. install @ https://github.com/ZerBea/hcxtools [+] Checking airmon-ng... [!] airmon-ng did not find any wireless interfaces [!] Make sure your wireless device is connected [!] See http://www.aircrack-ng.org/doku.php?id=airmon-ng for more info [!] Error: airmon-ng did not find any wireless interfaces [!] Full stack trace below [!] Traceback (most recent call last): [!] File "/usr/local/lib/python2.7/dist-packages/wifite/__main__.py", line 93, in entry_point [!] wifite.start() [!] File "/usr/local/lib/python2.7/dist-packages/wifite/__main__.py", line 53, in start [!] Configuration.get_monitor_mode_interface() [!] File "/usr/local/lib/python2.7/dist-packages/wifite/config.py", line 132, in get_monitor_mode_interface [!] cls.interface = Airmon.ask() [!] File "/usr/local/lib/python2.7/dist-packages/wifite/tools/airmon.py", line 299, in ask [!] raise Exception('airmon-ng did not find any wireless interfaces') [!] Exception: airmon-ng did not find any wireless interfaces [!] Exiting

このようにairmon-ng did not find any wireless interfacesとエラーが出てしまいます。
ちなみにbullyなどもインストール済みで

:/opt/wifite2$ sudo git clone https://github.com/aanarchyy/bully /opt/wifite2/bully fatal: destination path '/opt/wifite2/bully' already exists and is not an empty directory.

と出るのに、Wifiteを実行すると「無いよ~」と警告されます…(影響あるのかはわかりませんが)
どなたか助けていただけると嬉しいです。

やってみたこと

エラーを打ち込んだら出てくるサイトや動画を見て

:/opt/wifite2$ airmon-ng start wlan0 Run it as root

このコマンドをやってみたりしたのですが、正常にRunしてるのみで何も変わりませんでした…。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

github の WSL のこのissueに書かれていますが、WSL は直接デバイスを見せているわけではないので、Wifite (が使うコマンド)のようにデバイスを操作するようなソフトウェアは動かないのではないかと思います。先の issue は2016年と少し古いですが、エラーメッセージの意味は「ワイヤレスデバイスがみつかりません」ですし、状況は変わっていないのではないかと思います。

so far Windows handles all networking for WSL. None of the usual linux networking commands work (though ping and traceroute can work if one runs bash.exe elevated).

今のところ WSL のネットワーク周りはすべて Windows が制御している。Linux のネットワークコマンドはどれも動かない(ping と traceroute は権限昇格して bash を動かせば動くけど)。
だそうです。

投稿2019/05/10 23:30

cugel

総合スコア220

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

Shouka

2019/05/13 04:13

めちゃめちゃわかりやすいです、ありがとうございます!! やっぱサブシステムじゃなくてちゃんとLinuxでやらないといけないですね…
Shouka

2019/05/13 04:33

すいませんもう1つ質問なのですが、 VirtualBoxを使用してUbuntuを入れた場合なら動くのでしょうか…?
cugel

2019/05/13 15:10

試してはいませんが、VirtualBox の設定項目を見る限り動かなさそうです。
Shouka

2019/05/14 01:04

設定項目はどこを見ましたか?????
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.49%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問