parrot-build icon indicating copy to clipboard operation
parrot-build copied to clipboard

install Kerbrute sys/cdefs.h: No such file or directory

Open mennobo opened this issue 9 months ago • 3 comments

Got this error when installing on virtualbox on Arch (Running amd). Image

Fix, as per StackOverflow run: sudo apt-get --reinstall install libc6 libc6-dev

I'll look into making a PR.

mennobo avatar Mar 08 '25 11:03 mennobo

Changing kerbrute.yaml to this fixes the issue.

---
- name: Check if /usr/include/x86_64-linux-gnu/sys is present
  stat:
    path: /usr/include/x86_64-linux-gnu/sys
  register: sys_dir

- name: Reinstall of libc6 libc6-dev by command.
  command: "apt --reinstall install libc6 libc6-dev"
  when: not sys_dir.stat.exists

- name: Install Kerbrute
  shell: go install github.com/ropnop/kerbrute@master

mennobo avatar Mar 08 '25 13:03 mennobo

Does everything else work on arch? I'm confused because i didn't think arch used apt at all, doesn't it use pacman/(yay|paru)?

IppSec avatar Mar 08 '25 14:03 IppSec

Sorry for the confusion, I run Virtualbox on Arch on an amd laptop. In virtualbox I opened the Parrot Vbox VM and went through the installation steps 😊

mennobo avatar Mar 08 '25 14:03 mennobo