mirror of https://github.com/MISP/MISP
Truncate bro cached export files
parent
8c63e6f3d5
commit
b7c8ea0ff5
|
@ -347,6 +347,7 @@ class EventShell extends AppShell
|
|||
$file = new File($dir->pwd() . DS . 'misp.bro.' . $user['Organisation']['name'] . '.intel');
|
||||
}
|
||||
|
||||
$file->write('');
|
||||
foreach ($types as $k => $type) {
|
||||
$final = $this->Attribute->bro($user, $type);
|
||||
foreach ($final as $attribute) {
|
||||
|
|
Loading…
Reference in New Issue