mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
Update DWall to work with new libpcap
This commit is contained in:
parent
568fc27606
commit
12e5ac04cf
@ -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);
|
||||
|
||||
@ -6,5 +6,5 @@
|
||||
"tetra"
|
||||
],
|
||||
"title": "DWall",
|
||||
"version": "1.1"
|
||||
"version": "1.2"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user