Update DWall to work with new libpcap

This commit is contained in:
Sebastian Kinne 2017-12-27 08:23:42 +11:00
parent 568fc27606
commit 12e5ac04cf
2 changed files with 6 additions and 1 deletions

View File

@ -20,6 +20,11 @@ class DWall extends Module
private function enable()
{
$this->disable();
if (!file_exists("/usr/lib/libpcap.so.1.3") && file_exists("/usr/lib/libpcap.so")) {
symlink("/usr/lib/libpcap.so", "/usr/lib/libpcap.so.1.3");
}
$this->execBackground("/usr/bin/python /pineapple/modules/DWall/assets/DWall.py");
$this->execBackground("/pineapple/modules/DWall/assets/http_sniffer br-lan");
$this->response = array("success" => true);

View File

@ -6,5 +6,5 @@
"tetra"
],
"title": "DWall",
"version": "1.1"
"version": "1.2"
}