added yara downloader in installer

This commit is contained in:
jakani24
2024-04-04 19:14:38 +02:00
parent ba0418a268
commit 9415ba95e5
55 changed files with 1359 additions and 826 deletions

View File

@@ -239,7 +239,7 @@ async function add_item(db,element_id1,field1,element_id2,field2){ //we have two
echo '<table class="table" style="overflow-x:auto">';
echo '<thead>';
echo '<tr>';
echo '<th>Entry id</th><th>Name</th><th>Download Rule</th><th>Delete Rule</th>';
echo '<th>Entry id</th><th>Name</th><th>Download Rule</th>';
echo '</tr>';
echo '</thead>';
echo '<tbody>';
@@ -256,7 +256,7 @@ async function add_item(db,element_id1,field1,element_id2,field2){ //we have two
echo '<td>' . $i . '</td>';
echo '<td>' . basename($yara_file) . '</td>';
echo '<td><a href="'.str_replace("/var/www/html","",$yara_file).'" download>Download</a></td>';
echo '<td><a href="view_log.php?delete_yar='.$yara_file.'&page=' . $current_page . '">delete</a></td>'; //NEED TO BE DONE
//echo '<td><a href="view_log.php?delete_yar='.$yara_file.'&page=' . $current_page . '">delete</a></td>'; //NEED TO BE DONE
echo '</tr>';
}
$i++;