Zylla Posted July 5, 2019 Author Share Posted July 5, 2019 36 minutes ago, powermi said: whats the best way to install the latest HCXDUMPTOOL on the Pineapple? WGET or GIT? Just download the IPK and install it. wget, curl, git. They all get the job done. Quote Link to comment Share on other sites More sharing options...
powermi Posted July 9, 2019 Share Posted July 9, 2019 Sorry for the super NOOB Question.. but how can I install it on the SD? trying to navigate to the SD and the clone the GIT, gave me some errors. Cheers. Quote Link to comment Share on other sites More sharing options...
g0blin Posted August 6, 2019 Share Posted August 6, 2019 Hey @Zylla, Finally booted up my Pineapples after a long time in the cupboard, and was looking to fix my PMKID module, however it looks like these packages are not supported by the new Pineapple firmware? Collected errors: * pkg_hash_fetch_best_installation_candidate: Packages for hcxtools found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package hcxtools. * pkg_hash_fetch_best_installation_candidate: Packages for hcxdumptool found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package hcxdumptool. I'm going to try to build the packages myself, but would be great if the main repo could be updated also please, when you have time 🙂 Thanks! Quote Link to comment Share on other sites More sharing options...
Zylla Posted August 6, 2019 Author Share Posted August 6, 2019 Hey there! I've been part of the closed beta team, so that i could have stuff ready for the release. So updated are coming asap. Btw. hcxdumptool and hcxtools can now be found on the official openwrt repos. after i made a pull request to their github. BUT, they will not provide bleeding edge versions like i usually do on my repos. Stay tuned and follow my github. I'll do my best to have stuff ready today. But i'm also currently debugging a HUGE issue with Reaver/Wash on the latest firmware. Quote Link to comment Share on other sites More sharing options...
Zylla Posted August 7, 2019 Author Share Posted August 7, 2019 (edited) Disregard my last comment about it being available on the openwrt repos. They've only included the tools for openwrt-18.06, not for openwrt-19.07. Sigh... But, they should be available soon, if not already from the hak5 repos. Edited August 7, 2019 by Zylla Quote Link to comment Share on other sites More sharing options...
g0blin Posted August 7, 2019 Share Posted August 7, 2019 Hey @Zylla - that's awesome, thank you for the information 🙂 That'll make dependency management much easier! Good luck with the Reaver/Wash issue, no rush on this ❤️ Quote Link to comment Share on other sites More sharing options...
ArthurC Posted August 7, 2019 Share Posted August 7, 2019 I would like to run a tetra headless, and have it automatically start hcxdumptool on startup, and use wlan0 & wlan1 simultaneously. I will have a USB wlan2 for management AP. A few implementation questions: 1) Any tips on how best to script it to run on both radios at same time? (one radio hops through 5Ghz channels only, the other does 2.4Ghz channels only; or both radios are on the same band, and each radio hops through a limited range of channels such that the radios don't overlap each other). 1.1) Is there any difference in performance for wlan0 or wlan1, for 2.4Ghz vs 5Ghz? ie. would it be better to use one radio or the other for one band? 2) Is it reliable to dump the capture files directly to the built-in flash filesystem? (or is a USB flash drive recommended? or something else?) 3) What is the best way to make the script start reliably & automatically every time the tetra boots? Also, with a log file that I can ssh in an run 'tail' on to see progress. And some resiliency. to restart the processes if they crash for some reason. 4) Should I expect any performance issues if capturing (hcxdumptool) from both radios at same time? 5) does the pineapple/openwrt hcxdumptool package support capturing GPS coordinates (from GPSd or something else?) with each PMKID captured? 6) Is it possible to connect a USB Hub to the tetra's USB port to allow me to use a USB GPS dongle, and a wlan adapter at same time (or is there a better way to achieve that?) 7) Is there any easy way to get audible output from the tetra, that I could use as an indication that it was still successfully capturing (maybe I have it in a backpack while cycling around, and I just want some simple feedback via a headphone, to know its working) 8 ) Similar to qn#7, could the script flash an LED to indicate it was successfully capturing? Quote Link to comment Share on other sites More sharing options...
rendezo Posted September 14, 2019 Share Posted September 14, 2019 Hello I've got this. Please help how to slove it root@Pineapple:/# wget -qO- https://raw.githubusercontent.com/adde88/hcxtools-hc xdumptool-openwrt/master/INSTALL.sh | bash -s -- -v -v Installing/upgrading: hcxdumptool and hcxtools. Go grab a cup of coffee, this will take a while... Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz Updated list of available packages in /var/opkg-lists/1907_pineapple Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base /Packages.gz Updated list of available packages in /var/opkg-lists/1907_base Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/pack ages/Packages.gz Updated list of available packages in /var/opkg-lists/1907_packages Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/rout ing/Packages.gz Updated list of available packages in /var/opkg-lists/1907_routing Unknown package 'hcxtools'. Unknown package 'hcxdumptool'. Collected errors: * pkg_hash_fetch_best_installation_candidate: Packages for hcxtools found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package hcxtools. * pkg_hash_fetch_best_installation_candidate: Packages for hcxdumptool found, b ut incompatible with the architectures configured * opkg_install_cmd: Cannot install package hcxdumptool. Installation completed! -Zylla <adde88@gmail.com> root@Pineapple:/# Quote Link to comment Share on other sites More sharing options...
Zylla Posted September 14, 2019 Author Share Posted September 14, 2019 18 minutes ago, rendezo said: Hello I've got this. Please help how to slove it root@Pineapple:/# wget -qO- https://raw.githubusercontent.com/adde88/hcxtools-hc xdumptool-openwrt/master/INSTALL.sh | bash -s -- -v -v Installing/upgrading: hcxdumptool and hcxtools. Go grab a cup of coffee, this will take a while... Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz Updated list of available packages in /var/opkg-lists/1907_pineapple Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base /Packages.gz Updated list of available packages in /var/opkg-lists/1907_base Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/pack ages/Packages.gz Updated list of available packages in /var/opkg-lists/1907_packages Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/rout ing/Packages.gz Updated list of available packages in /var/opkg-lists/1907_routing Unknown package 'hcxtools'. Unknown package 'hcxdumptool'. Collected errors: * pkg_hash_fetch_best_installation_candidate: Packages for hcxtools found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package hcxtools. * pkg_hash_fetch_best_installation_candidate: Packages for hcxdumptool found, b ut incompatible with the architectures configured * opkg_install_cmd: Cannot install package hcxdumptool. Installation completed! -Zylla <adde88@gmail.com> root@Pineapple:/# Install script hasn't been updated to the latest firmware. However, the IPK's are working when installing manually. I'll look into it right away. Thanks for posting the issue. Quote Link to comment Share on other sites More sharing options...
rendezo Posted September 14, 2019 Share Posted September 14, 2019 Thanks for the help I try to install manually I've got this error message: root@Pineapple:/tmp/hcx# opkg install hcxdumptool_5.1.7-4_ar71xx.ipk Collected errors: * pkg_init_from_file: Malformed package file hcxdumptool_5.1.7-4_ar71xx.ipk. Quote Link to comment Share on other sites More sharing options...
Zylla Posted September 14, 2019 Author Share Posted September 14, 2019 Important Update!14. September 2019 I've updated the entire repo.(I created a separate branch to maintain compatibility with older firmware versions.) The INSTALL.sh script will now install hcxdumptool and hcxtools from the official OpenWRT repos. if it's launched without any arguments. It's not that long ago that my work got merged with OpenWRT , so this is pretty sweet! However, those official packages are not bleeding-edge versions. And both tools gets updated almost daily! If you want to use the latest bleeding-edge version of both tools you can launch the INSTALL.sh script with the argument: -c or --custom Example: ./INSTALL.sh --custom The install script will not work with older firmware versions at the moment. Quote Link to comment Share on other sites More sharing options...
Altrez Posted September 14, 2019 Share Posted September 14, 2019 Will this also work on the Tetra? Quote Link to comment Share on other sites More sharing options...
Zylla Posted September 14, 2019 Author Share Posted September 14, 2019 1 hour ago, Altrez said: Will this also work on the Tetra? Yes. It should work on both devices above firmware v2.6.0 Quote Link to comment Share on other sites More sharing options...
SovLes Posted September 30, 2019 Share Posted September 30, 2019 Hi, I have Tetra. I updated Firmware 2.6.1 and try install hcxdumptool, but when use this : wget -qO- https://raw.githubusercontent.com/adde88/hcxtools-hcxdumptool-openwrt/master/INSTALL.sh | bash -s -- -v -v nothing happened. So I tried this: wget -qO- https://github.com/adde88/hcxtools-hcxdumptool-openwrt/blob/openwrt-19.07/INSTALL.sh | bash -s -- -v -v and the next error appeared: bash: line 7: syntax error near unexpected token `newline' bash: line 7: `<!DOCTYPE html>' Then I tried : wget https://github.com/adde88/hcxtools-hcxdumptool-openwrt/blob/openwrt-19.07/INSTALL.sh chmod +x ./INSTALL.sh ./INSTALL.sh the issue was : ./INSTALL.sh: line 8: syntax error: unexpected newline After that I clone from git and copy to tetra https://github.com/adde88/hcxtools-hcxdumptool-openwrt, but when do ./INSTALL.sh nothing happened at all ((( Finally I done : opkg install hcxdumptool hcxtools --force-overwrite and hcxdumptool 5.2.2 was installed. Sorry, for long story, but I new in this and try my best to make it viable in my hand )) Quote Link to comment Share on other sites More sharing options...
Dale88 Posted November 10, 2019 Share Posted November 10, 2019 On 9/14/2019 at 10:36 PM, Zylla said: Yes. It should work on both devices above firmware v2.6.0 Im sorry for noob question but what PMKID install manual is actual by now? thank you Quote Link to comment Share on other sites More sharing options...
SpekIt Posted December 29, 2019 Share Posted December 29, 2019 Pineapple Nano w/ micro sd card OS: Kali.Linux.Rolling.2019.4 I have searched all over and have not been able to find an answer. Now to install this to an SD card on my nano what commands would I use for an install. Disk is /dev/sda /dev/sda1 SSH into pineapple then run what command? My apologies, I just bought my first pineapple so I am a bit newer. I appreciate the help. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
SpekIt Posted December 31, 2019 Share Posted December 31, 2019 Figured it out. Running the newest firmware of Pineapple 2.6.2 Tried the ./INSTALL.sh method. Didnt get anywhere so I downloaded the IPKs off of github directly and moved them to my Pineapple. Just did the opkg install which worked. cd /sd/modules/ opkg install hcxdumptool-custom_5.2.2-2_mips_24kc.ip k I may be new but after a day of researched I figured it out lol. Quote Link to comment Share on other sites More sharing options...
Zylla Posted December 31, 2019 Author Share Posted December 31, 2019 12 minutes ago, SpekIt said: Figured it out. Running the newest firmware of Pineapple 2.6.2 Tried the ./INSTALL.sh method. Didnt get anywhere so I downloaded the IPKs off of github directly and moved them to my Pineapple. Just did the opkg install which worked. cd /sd/modules/ opkg install hcxdumptool-custom_5.2.2-2_mips_24kc.ip k I may be new but after a day of researched I figured it out lol. I'll take a look at the install script and see what's causing problems. Thanks for reporting the problem. 😊 Quote Link to comment Share on other sites More sharing options...
Zylla Posted December 31, 2019 Author Share Posted December 31, 2019 (edited) I've tweaked the script a bit, and updated the packages in the repo. This script will install hcxdumptool and hcxtools from the default openwrt repos IF it's launched without any arguments. To install the latest bleeding-edge versions (from my repo) you need to launch the script with the -c argument Examples from terminal: root@pineapple:~/hcxtools-hcxdumptool-openwrt$ ./INSTALL.sh root@pineapple:~/hcxtools-hcxdumptool-openwrt$ ./INSTALL.sh -c If you have any errors, try checking that the script is executable before reporting back. (chmod +x INSTALL.sh) Edited December 31, 2019 by Zylla Quote Link to comment Share on other sites More sharing options...
rowie Posted January 5, 2020 Share Posted January 5, 2020 root@Pineapple:~# ./INSTALL.sh Installing: hcxdumptool and hcxtools, original version from openwrt repos. Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz Updated list of available packages in /var/opkg-lists/1907_pineapple Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/1907_base Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/1907_packages Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/1907_routing Installing hcxdumptool (5.2.2-1) to root... Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/hcxdumptool_5.2.2-1_mips_24kc.ipk Installing hcxtools (5.2.2-1) to root... Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/hcxtools_5.2.2-1_mips_24kc.ipk Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for hcxdumptool: * libc * opkg_install_cmd: Cannot install package hcxdumptool. * satisfy_dependencies_for: Cannot satisfy the following dependencies for hcxtools: * libc * opkg_install_cmd: Cannot install package hcxtools. Finished installing hcxdumptool and hcxtools (original versions). -@adde88 Quote Link to comment Share on other sites More sharing options...
Zylla Posted January 5, 2020 Author Share Posted January 5, 2020 16 minutes ago, rowie said: root@Pineapple:~# ./INSTALL.sh Installing: hcxdumptool and hcxtools, original version from openwrt repos. Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz Updated list of available packages in /var/opkg-lists/1907_pineapple Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/1907_base Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/1907_packages Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/1907_routing Installing hcxdumptool (5.2.2-1) to root... Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/hcxdumptool_5.2.2-1_mips_24kc.ipk Installing hcxtools (5.2.2-1) to root... Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/hcxtools_5.2.2-1_mips_24kc.ipk Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for hcxdumptool: * libc * opkg_install_cmd: Cannot install package hcxdumptool. * satisfy_dependencies_for: Cannot satisfy the following dependencies for hcxtools: * libc * opkg_install_cmd: Cannot install package hcxtools. Finished installing hcxdumptool and hcxtools (original versions). -@adde88 Strange. What firmware version are you running on your Pineapple? The version you're trying to install is the official releases from OpenWRT's repositories, which i can confirm is working on all firmware versions > 2.6.0 Quote Link to comment Share on other sites More sharing options...
rowie Posted January 6, 2020 Share Posted January 6, 2020 19 hours ago, Zylla said: Strange. What firmware version are you running on your Pineapple? The version you're trying to install is the official releases from OpenWRT's repositories, which i can confirm is working on all firmware versions > 2.6.0 6.2.2 strange thing is that it works now after a factory reset. There are so many bugs with modules (and other things) since release of version 6.x Quote Link to comment Share on other sites More sharing options...
Zylla Posted January 6, 2020 Author Share Posted January 6, 2020 2 hours ago, rowie said: 6.2.2 strange thing is that it works now after a factory reset. There are so many bugs with modules (and other things) since release of version 6.x Glad you got it sorted out. There's not any known issues with the latest firmware (2.6.2) afaik. The firmware is working perfectly fine for me, on both my Tetra and Nano. However, some modules are deprecated, and needs to be updated by their authors to keep up with the changes in the firmware, as 2.6.0 contained a lot of changes! Quote Link to comment Share on other sites More sharing options...
rowie Posted January 22, 2020 Share Posted January 22, 2020 is kismet running on both with 2.6.x? Quote Link to comment Share on other sites More sharing options...
Zylla Posted January 22, 2020 Author Share Posted January 22, 2020 1 hour ago, rowie said: is kismet running on both with 2.6.x? Yeah, Kismet is working perfectly on both devices. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.