WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Hi !
I actually compiled aircrack-ng, hashcat, hcxdumptool, hcxpcaptools on my TCL and also did sudo make install. They are working fine for that linux session. But after a reboot, they vanish. How to make them persistent even after reboots ?
I have TCL installed in /dev/sda5. Booting with BIOS and loaded by GRUB2.
Also, adding them to bootlocal.sh is useless because it takes a lot of time compiling them. I also don't know how to add those make commands to bootlocal.sh.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
You need to make squashfs extensions out of the installed apps:
Code: [Select]
...
$ touch mymarker
$ sudo make install
$ sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
$ vi files [edit unneeded files]
$ sudo tar -T files --numeric-owner -zcvf extension.tce
$ mkdir /tmp/pkg
$ cp extension.tce /tmp/pkg
$ cd /tmp/pkg
$ sudo tar xf extension.tce
$ rm extension.tce
$ cd ..
$ sudo mksquashfs pkg/ extension.tcz

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Thanks for the quick reply.
But how to make them start at boot ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Add them to onboot.lst - either from the cli or using the apps gui.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
But how ?
Even from the command line, "tce-load -i hcxdumptool.tcz" returns hcxdumptool.tcz not found but it is there in that folder.
How to add it to a folder and make it load with onboot.lst ?
« Last Edit: May 31, 2020, 02:05:26 AM by Sashank999 »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 933
HI, Sashank999!

Haven't You read the "Into The Core" book? It's the sacred book of TinyCoreLinux.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Hi jazzbiker !
I have read Core Concepts but did not read Into the Core. Thanks for saying.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Copy your extensions to your tce/optional folder.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Will do  :D .

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Thank You Juantio . It now works !  :D .

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #10 on: June 01, 2020, 12:26:59 AM »
I also require a small suggestion about another thing.
I actually opened the backup mydata.tgz and it contained mydata.tar. I opened .tar and browsed it for some time. Now, when I open TCL, my folders which usually rest in /home/tc are vanished. However, I have the .tar file. I extracted it and placed home and opt folders inside .tar beside tce directory in /mnt/sda5. From now, I want to make the TCL to consider the home and opt in sda5 as its own.
I used home=sda5/home and opt=sda5/opt but it says nvalid device. What to do ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #11 on: June 01, 2020, 12:59:42 AM »
See: http://tinycorelinux.net/faq.html#bootcodes

home=sda5 opt=sda5

Note that you will need to remove home and opt from filetool.lst

aus9

  • Guest
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #12 on: June 01, 2020, 04:26:00 AM »
@Sashank999

Since we have posted together recently I hope you do not mind my aussie bluntness.
1) I see no point or little speed gain for you to have opt as a separate persistent folder.
The fact the bootcode exists is not an invitation to use all bootcodes.

run
Code: [Select]
$ du /opt (or) $ ls -hal /optand you will likely find its about 30K unpacked which would not take long to compress into your mydata file nor take long to unpack from it on reboot it.

2) Once you elect home dir as persistent, I agree by the way, you will no longer get any smart deletions as nothing is backed up.

This means you "must" just as in the Microsoft world, make separate backups such email important files, copy files to usb stick etc etc

b) and cache for certain things and some logs will grow. Especially web browser cache.
I brute delete these when I remember as I am too lazy to create some script or cron job to do it for me.

my aussie 2 cents worth and completely offtopic, when I see your member name I think of a certain Stephen King novel
« Last Edit: June 01, 2020, 04:28:43 AM by aus9 »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #13 on: June 01, 2020, 06:21:49 AM »
@Juanito
Doesn't it support folders for those boot codes ? What you said makes TCL use whole partition for home and I don't want that. I just want one separate folder for home and another one for opt.
@aus9
1) I am not asking for speed.

But, I don't know how to repack the mydata.tar into mydata.tgz so that the home/tc/ just shows me my aircrack-ng, hashcat, hcxdumptool, hcxpcaptools, reaver, wifite2, bison and other things. Any help ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
« Reply #14 on: June 01, 2020, 07:21:12 AM »
Why do you need to add your apps to your backup when you made extensions of them - they should be on permanent storage in your tce/optional folder?

home and opt won’t take up all of your partition, they will be sda5/home and sda5/opt - note that sda5 will need to be a linux file system.