Package Details: wifite-git r729.dccebcdde-2

Git Clone URL: https://aur.archlinux.org/wifite-git.git (read-only, click to copy)
Package Base: wifite-git
Description: A tool to attack multiple WEP and WPA encrypted networks at the same time
Upstream URL: https://github.com/kimocoder/wifite2
Licenses: GPL2
Conflicts: wifite2
Provides: wifite2
Submitter: WSDMatty
Maintainer: WSDMatty
Last Packager: WSDMatty
Votes: 17
Popularity: 0.010616
First Submitted: 2023-07-03 14:24 (UTC)
Last Updated: 2023-11-23 17:16 (UTC)

Dependencies (20)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

xuiqzy commented on 2023-11-06 15:43 (UTC)

Error in build:

==> Starting build()...
* Getting build dependencies for wheel...
* Building wheel...
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/poetry/core/masonry/api.py", line 57, in build_wheel
    return WheelBuilder.make_in(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/poetry/core/masonry/builders/wheel.py", line 80, in make_in
    wb = WheelBuilder(
         ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/poetry/core/masonry/builders/wheel.py", line 61, in __init__
    super().__init__(poetry, executable=executable)
  File "/usr/lib/python3.11/site-packages/poetry/core/masonry/builders/builder.py", line 85, in __init__
    self._module = Module(
                   ^^^^^^^
  File "/usr/lib/python3.11/site-packages/poetry/core/masonry/utils/module.py", line 69, in __init__
    raise ModuleOrPackageNotFound(
poetry.core.masonry.utils.module.ModuleOrPackageNotFound: No file/folder found for package wifite2

ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().

antoniovazquez commented on 2023-09-24 14:28 (UTC)

Got an error during installation:

ModuleNotFoundError: No module named 'poetry'

Seems python-poetry is needed.

dreieck commented on 2023-05-12 12:30 (UTC)

python-argparse must be removed from the depends array, see ↗ here.

Thanks for maintaining!

nikelborm commented on 2022-12-11 15:27 (UTC)

I am not sure should I use https://aur.archlinux.org/packages/python2-setuptools instead of https://archlinux.org/packages/extra/any/python-setuptools/

But it works fine with python-setuptools

nikelborm commented on 2022-12-11 15:08 (UTC)

Hi, lsf! I have very fresh arch installation. And I just tried to install this package and got dependencies error.


yay -S wifite2-git


:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo Make:4]  iw-5.19-1  ethtool-1:6.0-1  aircrack-ng-1.7-2  python-argparse-1.4.0-12
[Aur:1]  wifite2-git-r493.6fd209102-2

:: Remove make dependencies after install? [y/N] 
:: (1/1) Downloaded PKGBUILD: wifite2-git
  1 wifite2-git                              (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
diff --git /home/nikel/.cache/yay/wifite2-git/PKGBUILD /home/nikel/.cache/yay/wifite2-git/PKGBUILD
new file mode 100644
index 0000000..abb2e05
--- /dev/null
+++ /home/nikel/.cache/yay/wifite2-git/PKGBUILD
@@ -0,0 +1,52 @@
+# Maintainer : lsf <lsf@lsf>
+
+pkgname=wifite2-git
+pkgver=r493.6fd209102
+pkgrel=2
+pkgdesc="A tool to attack multiple WEP and WPA encrypted networks at the same time"
+arch=(any)
+url="https://github.com/kimocoder/wifite2"
+license=('GPL2')
+depends=(python aircrack-ng iw iproute2 net-tools
+         python-argparse python-chardet)
+        # scapy: listed in requirements.txt, but not actually used atm
+optdepends=(
+  'wireshark-cli: detecting WPS networks and inspecting handshake capture files'
+  'reaver: WPS Pixie-Dust & brute-force attacks'
+  'bully: WPS Pixie-Dust & brute-force attacks'
+  'cowpatty: detect WPA handshakes'
+  'pyrit: detect WPA handshakes'
+  'macchanger: change MAC for attacks'
+  'hashcat: cracking PMKID hashes'
+  'john: cracking PMKID hashes'
+  'hcxdumptool: capturing PMKID hashes'
+  'hcxtools: converting PMKID packet captures into hashcat format' # should be part of hcxtools?
+)
+  # 'hcxpcapngtool: converting PMKID packet captures into hashcat format' # should be part of hcxtools?
+makedepends=(git)
+source=($pkgname::git+https://github.com/kimocoder/wifite2.git)
+sha256sums=('SKIP')
+provides=('wifite')
+conflicts=('wifite')
+
+pkgver() {
+  cd "$pkgname"
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+  cd "$pkgname"
+  sed 's|sbin|bin|g' -i setup.cfg
+}
+
+
+build() {
+  cd "$pkgname"
+  python setup.py build
+}
+
+package() {
+  cd "$pkgname"
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

:: Proceed with install? [Y/n] 
:: (1/1) Parsing SRCINFO: wifite2-git
[sudo] password for nikel: 
resolving dependencies...
looking for conflicting packages...

Packages (4) aircrack-ng-1.7-2  ethtool-1:6.0-1  iw-5.19-1  python-argparse-1.4.0-12

Total Download Size:   0.83 MiB
Total Installed Size:  2.69 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 aircrack-ng-1.7-2-x86_64                                                  513.8 KiB   187 KiB/s 00:03 [#############################################################] 100%
 ethtool-1:6.0-1-x86_64                                                    189.8 KiB  1072 KiB/s 00:00 [#############################################################] 100%
 iw-5.19-1-x86_64                                                          103.1 KiB   818 KiB/s 00:00 [#############################################################] 100%
 python-argparse-1.4.0-12-any                                               43.3 KiB   433 KiB/s 00:00 [#############################################################] 100%
 Total (4/4)                                                               849.9 KiB   244 KiB/s 00:03 [#############################################################] 100%
(4/4) checking keys in keyring                                                                         [#############################################################] 100%
(4/4) checking package integrity                                                                       [#############################################################] 100%
(4/4) loading package files                                                                            [#############################################################] 100%
(4/4) checking for file conflicts                                                                      [#############################################################] 100%
(4/4) checking available disk space                                                                    [#############################################################] 100%
:: Processing package changes...
(1/4) installing iw                                                                                    [#############################################################] 100%
(2/4) installing ethtool                                                                               [#############################################################] 100%
(3/4) installing aircrack-ng                                                                           [#############################################################] 100%
(4/4) installing python-argparse                                                                       [#############################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Making package: wifite2-git r493.6fd209102-2 (Sun Dec 11 17:40:00 2022)
==> Retrieving sources...
  -> Cloning wifite2-git git repo...
Cloning into bare repository '/home/nikel/.cache/yay/wifite2-git/wifite2-git'...
remote: Enumerating objects: 74204, done.
remote: Counting objects: 100% (1116/1116), done.
remote: Compressing objects: 100% (482/482), done.
remote: Total 74204 (delta 666), reused 1035 (delta 625), pack-reused 73088
Receiving objects: 100% (74204/74204), 198.28 MiB | 1.36 MiB/s, done.
Resolving deltas: 100% (7982/7982), done.
==> Validating source files with sha256sums...
    wifite2-git ... Skipped
 -> aircrack-ng not satisfied, flushing install queue
==> Making package: wifite2-git r493.6fd209102-2 (Sun Dec 11 17:42:28 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating wifite2-git git repo...
==> Validating source files with sha256sums...
    wifite2-git ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of wifite2-git git repo...
Cloning into 'wifite2-git'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: wifite2-git r564.afc7e07ba-1
==> Sources are ready.
==> Making package: wifite2-git r564.afc7e07ba-1 (Sun Dec 11 17:42:30 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
Traceback (most recent call last):
  File "/home/nikel/.cache/yay/wifite2-git/src/wifite2-git/setup.py", line 4, in <module>
    from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nikel/.cache/yay/wifite2-git/src/wifite2-git/setup.py", line 6, in <module>
    raise ImportError("setuptools is required to install wifite2")
ImportError: setuptools is required to install wifite2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: wifite2-git

Then I installed this dependency by

sudo pacman -S python-setuptools

And after that it installs successfully.

So this dependency have to be added

tiagogalvao commented on 2022-08-06 11:46 (UTC)

Hello! Wifite has got quite a few updates :)

lsf commented on 2020-09-16 09:33 (UTC)

Yep, seems like this has been addressed upstream. I'll update the PKGBUILD in a minute :)

xuiqzy commented on 2020-09-16 09:24 (UTC)

Error when making package with pure makepkg or yay when applying the patch bad_indentation_fix.path:

  -> Found bad_indentation_fix.patch
==> Validating source files with sha256sums...
    wifite2-git ... Skipped
    bad_indentation_fix.patch ... Passed
==> Extracting sources...
  -> Creating working copy of wifite2-git git repo...
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file wifite/tools/hashcat.py
Hunk #1 FAILED at 50.
1 out of 1 hunk FAILED -- saving rejects to file wifite/tools/hashcat.py.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

Without the path everything seems to build as usual, but i didn'. test if hashcat works correctly.

lsf commented on 2020-09-08 09:34 (UTC)

Thanks for notifying me of that.

As tshark is part of wireshark-cli, from what I understand about it, we'd have to stick with wireshark-cli, but just need to make it a required dependency?

Btw.: I've not been using wifite2 for ages, so if anyone wants to pick up maintaining this package, I'd happily hand it over to someone who'd be more aware of any issues – otherwise, I'll still try and keep it maintained, but I might not be aware of any issues until pointed out (as you did :).