Add a manual nmap scan

Because of my own network structure an automatic nmap scan is not useful. However, to be able to perform such a scan if necessary, I have added a tab with a manual nmap scan in the DeviceDetails.
This commit is contained in:
leiweibau
2022-06-28 20:52:34 +02:00
parent f5329ad495
commit 334eea8592
3 changed files with 51 additions and 5 deletions

View File

@@ -120,9 +120,9 @@
<th>Last IP</th>
<th>MAC</th>
<th>Status</th>
<!-- <th>MAC</th> -->
<!-- <th>Last IP Order</th> -->
<!-- <th>Rowid</th> -->
<th>MAC</th>
<th>Last IP Order</th>
<th>Rowid</th>
</tr>
</thead>
</table>
@@ -222,7 +222,7 @@ function initializeDatatable () {
// Device Name
{targets: [0],
'createdCell': function (td, cellData, rowData, row, col) {
$(td).html ('<b><a href="deviceDetails.php?mac='+ rowData[10] +'" class="">'+ cellData +'</a></b>');
$(td).html ('<b><a href="deviceDetails.php?mac='+ rowData[10] +'&lastip='+ rowData[7] +'" class="">'+ cellData +'</a></b>');
} },
// Favorite