PDA

View Full Version : Kali Kismet plugins on Raspberry Pi



quarinteen
2019-12-16, 22:48
Hello, has anyone been able to get plugins to install properly on the latest Kali and Kismet builds? All the plugins seem to be looking for /usr/local/kismet/plugins/ but that directory is not created when its installed. I just did a fresh install of the Pi Kali build and installed Kismet fresh. It does not install or create /usr/local/kismet it seems instead its in /usr/share/kismet but still no plugins directory is created. The only thing in the folder is an httpd folder. When you make a plugins directory and try to install a plugin you get errors. I put in bold the errors that are consistent no matter the plugin. I could get it to work if I forced it, but I would rather ensure its installed properly and in the proper directory. Any suggestions would be helpful.

make: pkg-config: Command not found
make: pkg-config: Command not found
make: pkg-config: Command not found
make: pkg-config: Command not found
make: pkg-config: Command not found
echo "No kismet install found in pkgconfig, assuming /usr/local"
No kismet install found in pkgconfig, assuming /usr/local
plugindir="/usr/local/lib/kismet/"
mkdir -p //kestrel
/usr/bin/install -o root -g root -m 444 manifest.conf //kestrel/manifest.conf
mkdir -p //kestrel/httpd
cp -r httpd/* //kestrel/httpd


These are all the locations where kismet are located on the fresh install.

/usr/bin/kismet
/usr/share/kismet
/usr/share/doc/kismet
/etc/kismet

Mister_X
2019-12-17, 00:19
You need pkg-config package to compile this. You can notice instances of "make: pkg-config: Command not found"

quarinteen
2019-12-17, 01:31
You need pkg-config package to compile this. You can notice instances of "make: pkg-config: Command not found"

I get that. Outside of that though. I made the lines that I am having the issue with in bold. really these plugin make files just copy the httpd folder over to the plugins directory but I cant find where that is supposed to be. I think I got a step close I attempted to run it as a service and check the error log and it seems its looking for plugins in /usr/lib/aarch64-linux-gnu/kismet/ if anyone else is looking for that answer.

The kismet site says this is supposed to be "where the ./config --datadir is set to" but I cant find out where that variable is set.

quarinteen
2019-12-17, 01:32
I could probably get it working now by manually copy the files to that directory but I would like to do it properly.

Mister_X
2019-12-18, 02:40
What plugin are you trying to use? Have you read their documentation?