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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user