WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver  (Read 34232 times)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #60 on: June 08, 2020, 09:45:07 PM »
I think GUIs and Window Managers interfere with each other and thus creating the prob. Is there any tool to unload tc extension ? (not deleting them).
I actually created all the three tcz -
  • aircrack-ng for all executables
  • aircrack-ng-dev for all libraries
  • aircrack-ng-doc for all manpages
But man pages are not loading with "man aircrack-ng". What to do

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #61 on: June 08, 2020, 10:19:33 PM »
Hi Sashank999
... But man pages are not loading with "man aircrack-ng". What to do
When you entered:
Code: [Select]
man aircrack-ngyou received an error message. Error messages provide clues as to what the problem is.

By keeping that information to yourself, we have to guess what the problem is.

Here are my guesses:
1. You did not install  man.tcz  or  man-db.tcz  if you are running x86_64.
2. you did not install  aircrack-ng-doc.tcz.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #62 on: June 08, 2020, 10:26:02 PM »
I did not load -doc tcz. Sorry. My bad. :-[

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #63 on: June 09, 2020, 12:46:26 AM »
Can anyone say me how to find the dependencies of aircrack-ng ?
Their site says :
    Autoconf
    Automake
    Libtool
    shtool
    OpenSSL development package or libgcrypt development package.
    pkg-config
    Airmon-ng requires ethtool and rfkill
        If USB bus is present, lsusb
        If PCI/PCIe bus is present, lspci
    LibNetlink 1 (libnl-dev) or 3 (libnl-3-dev and libnl-genl-3-dev) development packages. It can be disabled by passing –disable-libnl to configure.
    Kernel headers and gcc as well as make have to be installed on your system (build-essential on Debian based distributions)
    make and Standard C++ Library development package (Debian: libstdc++-dev)

But I think some of them are required for only compiling and not for running.
When I ran aircrack-ng with only some (Xvesa, aterm,wifi, firmware,jwm), it said some requirements (iw.tcz, ethtool.tcz, usbutils.tcz, pci-utils.tcz, rfkill.tcz). I installed them and it is running fine.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #64 on: June 09, 2020, 01:40:29 AM »
There are several kinds of dependencies:

* direct - applications in bin and sbin and libraries in lib will not work without them
* optional - libs in lib/subdirectory where the application will work without them
* runtime - not in the above, but the application will not work without them

You can test for direct and optional dependencies with ldd:
Code: [Select]
$ ldd /usr/local/bin/flwm
$ ldd /usr/local/lib/libX11.so
$ ldd /usr/local/lib/gstreamer-1.0/libgstcairo.so

To find runtime dependencies, run the application from the command line and check for errors about missing items.

Tinycore uses a recursive dependency system - this means that if libA depends on libB, which in turn depends on libC, there is only a need to list libA as a dependency.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #65 on: June 09, 2020, 01:57:09 AM »
I think GUIs and Window Managers interfere with each other..

Yes, they do interfere with each other:

* only set one X server to load "onboot"
* only set one window manager to load "onboot"

If you load more than one X server or window manager, tinycore will attempt to start the one loaded most recently.

As a reminder:

tce-load -i extension - loads an extension that has been downloaded previously
tce-load -w extension - downloads an extension, but does not load it
tce-load -wi extension - downloads and loads an extension and sets it "onboot"
tce-load -wil extension - downloads and loads an extension

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #66 on: June 09, 2020, 09:23:12 AM »
Another problem.
"ldd airmon-ng" says "invalid ELF header".
And also, sometimes, the aterm does not copy the highlighted text in terminal.
Hence, I installed gnome-terminal. But it says libtinfo.so.6 is missing. Requesting a solution.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #67 on: June 09, 2020, 09:39:46 AM »
Hi Sashank999
The  ldd  command needs a path to the executable.

If  airmon-ng  is installed and located in  /usr/local/sbin/  then the command would be:
Code: [Select]
ldd /usr/local/sbin/airmon-ng
If  airmon-ng  is in you current directory, it would be:
Code: [Select]
ldd ./airmon-ng

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #68 on: June 09, 2020, 09:48:34 AM »
..and if the target is a script, ldd will report  "error while loading shared libraries...invalid ELF header".

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #69 on: June 09, 2020, 10:01:27 AM »
Oh. Thanks for the info. I saw in airmon-ng manpage that it is a script.
What about gnome terminal libtinfo.so.6 error ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #70 on: June 09, 2020, 10:17:20 AM »
I’ll take a look, but I’ve never had a problem copying and pasting from aterm.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #71 on: June 10, 2020, 01:01:08 AM »
Where can I get libtinfo.so.6 ? @Juanito
The gnome-terminal is asking this.
And also I have heared that dCore has the scripts to download .deb directly from debian repos and install them into tinycore. Can I get those scripts from ab to TCL 32 bit ?
« Last Edit: June 10, 2020, 01:03:04 AM by Sashank999 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #72 on: June 10, 2020, 01:35:39 AM »
As said, I'll take a look at gnome-terminal.

Are you speaking of installing dCore or using unpacked *deb archives in tinycore (not especially recommended)?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #73 on: June 10, 2020, 02:23:04 AM »
I found a temporary solution at here https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/259139
They said to symlink the libncurses.so.6. I did and it worked  :D
Code: [Select]
sudo ln -s /usr/local/lib/libncurses.so.6 /usr/local/lib/libtinfo.so.6
sudo ln -s /usr/local/lib/libtinfo.so.6 /usr/lib/libtinfo.so.6
sudo ln -s /usr/local/lib/libtinfo.so.6 /usr/lib/libtinfo.so
I am talking about installing unpacked .debs. And also how to unpack them ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #74 on: June 10, 2020, 02:57:12 AM »
Code: [Select]
$ ar vx mypackage.deb
$ tar xf data.tar.*