Jump to content

when does the pineapple reads the pineapple.db


Yelleke

Recommended Posts

I have a portal page and it asks for the client creds

After the $_post, the client creds are logged in a txt file, pineapple notified...
the client gets kicked, deauthed and hopefully get blocked, hopefully !!!

to block the client, I would like to add the $mac to the mac_blacklist in the pineapple.db
and for that I would like to know if it is doable.

so, how many times or when does the Nano or Tetra reads the pineapple.db ???
at boot, when the client connect or when I open some module

Thanks in advance

Link to comment
Share on other sites

Thank you Foxtrot for your input.

I have read your answer and been noted to not alter the DB.
however, it is the way I'll go

using SSH means I'll have to watch every connection and its my goal to have it full automated.

the module Filters uses the same DB for storing its SSID's and MAC's
I just use some functions of the module and it works well.

And "IF" I would really **** it up, I'll replace the backup DB or reflash the firmware.
No animals would be hurt or killed

so, can you answer my question
please

Link to comment
Share on other sites

Hi Yelleke,

The database is read when triggered by certain actions. Modifying the database like you want to would require a reboot or a reset of the wireless stack. If you simply use the "pineapple" command, you can interface directly with PineAP and kick / block clients instantly.

Link to comment
Share on other sites

root@nano:~# pineapple karma add_mac 11:22:33:44:55:66
Sucessfully added MAC 11:22:33:44:55:66

If the client Filtering status is set to deny in the Filter module
and adding the above command, will this block the mac address for further connection until reboot
even when I can't see the client mac address into the module clientfiltering field.

Or, is the above command not the correct one ?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...