AircrackハッキングソフトのUbuntuへのインストールでエラーが発生する理由と対処方法

このQ&Aのポイント
  • AircrackというフリーのハッキングソフトをUbuntuにインストールした際にエラーが発生する理由と対処方法について教えてください。
  • インストールしたAircrackハッキングソフトがUbuntuでエラーを引き起こしている問題について質問です。
  • UbuntuにAircrackハッキングソフトをインストールしたところ、makeコマンドを実行した際にエラーが表示されます。このエラーの原因と解決方法を教えてください。
回答を見る
  • ベストアンサー

今、「Aircrack」というフリーのハッキングソフトを、Ubuntu

今、「Aircrack」というフリーのハッキングソフトを、Ubuntuにいれたのはいいのですが、 makeとコマンドを打つと、エラーがでます。 エラー内容は下記のとおりです。 mizuo@mizuo-laptop:~/ダウンロード/aircrack-ng-1.0$ sudo make [sudo] password for mizuo: make -C src all make[1]: ディレクトリ `/home/mizuo/ダウンロード/aircrack-ng-1.0/src' に入ります make -C osdep make[2]: ディレクトリ `/home/mizuo/ダウンロード/aircrack-ng-1.0/src/osdep' に入ります Building for Linux make[3]: ディレクトリ `/home/mizuo/ダウンロード/aircrack-ng-1.0/src/osdep' に入ります make[3]: `.os.Linux' は更新済みです make[3]: ディレクトリ `/home/mizuo/ダウンロード/aircrack-ng-1.0/src/osdep' から出ます make[2]: ディレクトリ `/home/mizuo/ダウンロード/aircrack-ng-1.0/src/osdep' から出ます gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c In file included from aircrack-ng.c:65: crypto.h:12:26: error: openssl/hmac.h: No such file or directory crypto.h:13:25: error: openssl/sha.h: No such file or directory crypto.h:15:25: error: openssl/rc4.h: No such file or directory crypto.h:16:25: error: openssl/aes.h: No such file or directory cc1: warnings being treated as errors In file included from aircrack-ng.c:69: sha1-sse2.h: In function ‘calc_4pmk’: sha1-sse2.h:140: error: implicit declaration of function ‘HMAC’ sha1-sse2.h:140: error: implicit declaration of function ‘EVP_sha1’ aircrack-ng.c: In function ‘crack_wpa_thread’: aircrack-ng.c:3910: error: implicit declaration of function ‘EVP_md5’ make[1]: *** [aircrack-ng.o] エラー 1 make[1]: ディレクトリ `/home/mizuo/ダウンロード/aircrack-ng-1.0/src' から出ます make: *** [all] エラー 2 mizuo@mizuo-laptop:~/ダウンロード/aircrack-ng-1.0$ このエラーがどうしてでているのかお分かりの方、正常に使うにはどうしたらいいのでしょうか?? よろしくお願いします。

質問者が選んだベストアンサー

  • ベストアンサー
  • Wr5
  • ベストアンサー率53% (2177/4070)
回答No.1

>crypto.h:12:26: error: openssl/hmac.h: No such file or directory crypto.hというファイルの12行目でincludeしているopenssl/hmac.hってフアイルかディレクトリがありません。(ヘッダファイルですからディレクトリってことはないでしょうが…) と。 opensslの開発パッケージ入っていますか? ちなみに町中の無線LANの解析をするのは…法に触れる可能性がありますが、そこのところは理解しています?

関連するQ&A

  • makeができない

    今仕事の課題でsolaris8を触っているのですが、 opensslのmakeでどうしてもエラーが出てしまいます。 エラーは make[3]: *** [lib] Error 1 make[3]: Leaving directory `/export/home/***/openssl-0.9.7g/crypto' make[2]: *** [sub_all] Error 1 make[2]: Leaving directory `/export/home/***/openssl-0.9.7g' make[1]: *** [../libcrypto.a] Error 2 make[1]: Leaving directory `/export/home/***/openssl-0.9.7g/test' make: *** [tests] Error 2 正直かなりなど素人なもので、手順書片手にわからないことがあればgoogleなどで検索してやっています。 どなたかご教授お願いできませんでしょうか?

  • Solaris8でOpenSSLのインストール

    Solaris8 2001年10月1日版に openssl-0.9.6cをソースからコンパイルしておりますがmakeでエラーがでました。対処方法や調査方法等をご教授いただけないでしょうか ***エラーの内容 *** Error code 1 make: Fatal error: Command failed for target `cbc_enc.o' Current working directory /export/home/sunset/openssl-0.9.6c/crypto/des *** Error code 1 make: Fatal error: Command failed for target `subdirs' Current working directory /export/home/sunset/openssl-0.9.6c/crypto *** Error code 1 make: Fatal error: Command failed for target `sub_all'

  • VCのincludeについて

    現在、opensslをダウンロードして、 opensslの関数を使おうとしています。 環境:VC2005 その際、以下のinclude部に対してエラーが出ます。 ------------------------------------------------ #include <openssl/rsa.h> fatal error C1083: include ファイルを開けません。'openssl/rsa.h': No such file or directory ------------------------------------------------ この、エラーは、”openssl”文字列が ”opensslのincludeフォルダのパス”に変換されていない というエラーだとわかるのですが、どのようにしたら 設定できるのでしょうか?

  • opensslインストールできない

    はじめまして。 初心者で勉強中なんでが、Googleで調べてもよくわりません。 教えていただけたら幸いです。 現状は、Solaris10で、OpenSSLのインストールをしているんですが エラーになり困っています。 Configure make は、エラーがなしで行きました。 make testでエラーになります。 OpenSSL openssl-0.9.8l ./Configure solaris-x86-gcc shared -fPIC  make make test making all in apps... make[3]: ディレクトリ `/usr/local/src/openssl-0.9.8l/apps' に入ります make[3]: `all' に対して行うべき事はありません. make[3]: ディレクトリ `/usr/local/src/openssl-0.9.8l/apps' から出ます make[2]: ディレクトリ `/usr/local/src/openssl-0.9.8l' から出ます ../util/shlib_wrap.sh ./destest make[1]: *** [test_des] セグメント例外 (コアダンプしました) make[1]: ディレクトリ `/usr/local/src/openssl-0.9.8l/test' から出ます make: *** [tests] エラー 2 よろしくお願いします。

  • ubuntu上でVMware server

    make: Entering directory `/tmp/vmware-config5/vmmon-only' make -C /lib/modules/3.0.0-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-3.0.0-19-generic' CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o /tmp/vmware-config5/vmmon-only/linux/driver.c:39:28: fatal error: linux/smp_lock.h: No such file or directory compilation terminated. make[2]: *** [/tmp/vmware-config5/vmmon-only/linux/driver.o] Error 1 make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-19-generic' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config5/vmmon-only' Unable to build the vmmon module. といわれ、コンパイルがうまくいきません。 どのようにしたらこの先に進むことができるでしょうか? ご教授お願い致します。

  • GNUから、cat.cのソースコードを手に入れたが、コンパイルできない

    OSは、Ubuntu 8.04 LTSを使用しています。 C言語の勉強をしようと思い、 http://cvs.savannah.gnu.org/viewvc/coreutils/coreutils/src/ からcat.cのソースコード(1.113)を手に入れました。 ただ、試しにコンパイルをしようとすると、以下のようなエラーが出てコンパイルできません。 --- cat.c:24:20: error: config.h: No such file or directory cat.c:37 から include されたファイル中: system.h:56:21: error: pathmax.h: No such file or directory system.h:58:24: error: configmake.h: No such file or directory system.h:123:22: error: exitfail.h: No such file or directory In file included from cat.c:37: system.h: In function ‘initialize_exit_failure’: system.h:130: error: ‘exit_failure’ undeclared (first use in this function) system.h:130: error: (Each undeclared identifier is reported only once system.h:130: error: for each function it appears in.) system.h:236:25: error: stat-macros.h: No such file or directory system.h:238:22: error: timespec.h: No such file or directory system.h:266:21: error: gettext.h: No such file or directory 以下、エラー文が続く --- 何かをインストールする必要があるらしいことは分かるのですが、具体的に何をインストールすれば良いのかが分かりません。初歩的な質問で申し訳ありませんが、お教え願えないでしょうか?

  • Apacheのmake時にエラーが出ます。

    Apacheのmake時にエラーが出ます。 OS:CentOS 5.4上でSSL対応Apcaheをソースからインストールしてるのですが、Apacheのmakeを実行すると、下記のエラーが出ます。 ◎ぐぐったのですけど、解決策を見つけることはできませんでした。 ssl_util_ssl.c: In function ‘SSL_X509_isSGC’: ssl_util_ssl.c:297: error: ‘EXTENDED_KEY_USAGE’ undeclared (first use in this function) ssl_util_ssl.c:297: error: (Each undeclared identifier is reported only once ssl_util_ssl.c:297: error: for each function it appears in.) ssl_util_ssl.c:297: error: ‘sk’ undeclared (first use in this function) ssl_util_ssl.c:306: error: expected expression before ‘)’ token make[3]: *** [ssl_util_ssl.lo] エラー 1 make[3]: ディレクトリ `/usr/local/src/httpd-2.2.15/modules/ssl' から出ます make[2]: *** [all-recursive] エラー 1 make[2]: ディレクトリ `/usr/local/src/httpd-2.2.15/modules/ssl' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ `/usr/local/src/httpd-2.2.15/modules' から出ます make: *** [all-recursive] エラー 1 ○ここで停止 対応策をご存知の方、教えてください。 ◎コンフィグは、./configure --enable-ssl --with-ssl=/usr/local/ssl で実施してます。 なお、Open_sslは、configure ->make->make installまで完了しています。 Versionは、apache:2.2-15 openssl:0.9.6c です。 宜しくお願いします。

  • CentOS 5 での無線LAN接続設定について

    CentOS 5 での無線LAN接続設定について Linux設定初心者です。 無線LANへの接続設定の方法がネットで調べてもできません。 「Ethernet controller」のドライバをダウンロード・解凍したのですが、「make all」実行中にエラーが起きてしまいます。 何をどうすればいいのか分からないです。 アドバイスいただきたいです。 DELL Inspiron Mini 10v に[CentOS 5.4]をインストールしてます。 /************************ lspci の実行結果 ************************/ [root@localhost /]# lspci : 03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01) 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02) /************************ make all の実行 ************************/ $ make all make -C src/ clean make[1]: ディレクトリ `/home/tatsuya/nic/r8101-1.019.00/src' に入ります rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers Module.markers *.order make[1]: ディレクトリ `/home/tatsuya/nic/r8101-1.019.00/src' から出ます make -C src/ modules make[1]: ディレクトリ `/home/tatsuya/nic/r8101-1.019.00/src' に入ります make -C /lib/modules/2.6.18-164.el5xen/build SUBDIRS=/home/tatsuya/nic/r8101-1.019.00/src modules make: Entering an unknown directory make: *** /lib/modules/2.6.18-164.el5xen/build: そのようなファイルやディレクトリはありません. 中止. make: Leaving an unknown directory make[1]: *** [modules] エラー 2 make[1]: ディレクトリ `/home/tatsuya/nic/r8101-1.019.00/src' から出ます make: *** [modules] エラー 2 /************************ エラーの原因はディレクトリが無いようです ************************/ $ ll /lib/modules/2.6.18-164.el5xen/build /lib/modules/2.6.18-164.el5xen/build -> ../../../usr/src/kernels/2.6.18-164.el5-xen-i686 /usr/src には何も入っていません $ cd /lib/modules/2.6.18-164.el5xen $ ll ../../../usr/src 合計 0

  • ubuntuにxspimをインストールできません

    Linux始めたばかりの初心者です。ディストリビューションはubuntuを使っています。 授業に使っているXSPIMというソフトを自宅のLinuxにも入れようとしています。XSPIMというのはUNIX環境で動くアセンブリ言語のシミュレータです。インストール手順がここ(http://www.cs.wisc.edu/~larus/spim.html) の下の方に載っているのでそれに従っているのですが・・・ 現在手順6.で躓いています、、 6. Then, if you are using Imakefile file, change to the spim-7.2/xspim directory and type: % xmkmf % make If you do not have a copy of xmkmf, you can use the Makefile in the xspim directory, but beware that it may not work on your system because the paths to the X windows libraries could be different. 上記の通りに、spim-7.3/xspimのディレクトリに移動して、xmkmfを実行しようとすると、次のエラーが出てしまいます。 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/lib/X11/config <stdin>:1:19: error: stdio.h: No such file or directory <stdin>:2:19: error: ctype.h: No such file or directory <stdin>: In function ‘main’: <stdin>:18: error: ‘NULL’ undeclared (first use in this function) <stdin>:18: error: (Each undeclared identifier is reported only once <stdin>:18: error: for each function it appears in.) <stdin>:45: warning: incompatible implicit declaration of built-in function ‘sscanf’ <stdin>:49: warning: incompatible implicit declaration of built-in function ‘printf’ Aborted (core dumped) 何か余分にインストールしなければならないものがあるんでしょうか? エラーメッセージを見ても何がいけないのか僕ではわからなかったのでここに投稿させていただきました。 よろしくお願いします。

  • OpenSSLのSHA1関連の関数はどこにあるでしょうか?

    OpenSSLを読んでいるのですが、 ・SHA1_Init() ・SHA1_Update() ・SHA1_Final() の関数が定義してあるファイルが分かりませんでした。 sha.hにプロトタイプ宣言があるのは分かったのですが、 関数定義はどこにあるのでしょうか? ちなみに、OpenSSLは0.9.6cと0.9.8jを見ました。 コンパイル環境はCygwin+gccです。 よろしくお願いします。

専門家に質問してみよう