small changes
This commit is contained in:
@ -29,6 +29,7 @@
|
||||
|
||||
<body class="inverted">
|
||||
<xsl:apply-templates select="." mode="nav">
|
||||
<xsl:with-param name="target" select="$target" />
|
||||
<xsl:with-param name="name" select="$name" />
|
||||
</xsl:apply-templates>
|
||||
|
||||
@ -39,6 +40,11 @@
|
||||
</xsl:apply-templates>
|
||||
</main>
|
||||
|
||||
<footer class="ui footer inverted segment">
|
||||
Résultat de la commande :<br/>
|
||||
<code><xsl:value-of select="@args"/></code>
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
<script>
|
||||
$('.ui.tree.accordion').accordion()
|
||||
|
@ -28,6 +28,7 @@
|
||||
|
||||
<body class="inverted">
|
||||
<xsl:apply-templates select="." mode="nav">
|
||||
<xsl:with-param name="target" select="$target" />
|
||||
<xsl:with-param name="name" select="$name" />
|
||||
</xsl:apply-templates>
|
||||
|
||||
@ -70,6 +71,11 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</main>
|
||||
|
||||
<footer class="ui footer inverted segment">
|
||||
Résultat de la commande :<br/>
|
||||
<code><xsl:value-of select="@args"/></code>
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
<script>
|
||||
@ -89,7 +95,7 @@ var table = $('#scanResultsTable').DataTable({
|
||||
'print',
|
||||
{
|
||||
extend: 'collection',
|
||||
text: 'Exporter',
|
||||
text: 'Export',
|
||||
buttons: ['csv', 'excel', 'pdf']
|
||||
},
|
||||
],
|
||||
@ -167,9 +173,11 @@ $('.ui.dropdown').dropdown()
|
||||
<xsl:value-of select="substring-after(hostnames/hostname/@name, '.')" />
|
||||
</xsl:if>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="address[@addrtype='mac']/@vendor" />
|
||||
</td>
|
||||
<xsl:if test="../host/address[@addrtype='mac']/@vendor">
|
||||
<td>
|
||||
<xsl:value-of select="address[@addrtype='mac']/@vendor" />
|
||||
</td>
|
||||
</xsl:if>
|
||||
<td>
|
||||
<xsl:apply-templates select="ports/port | $initHost/ports/port[not(state/@state='closed')][not(@portid=$currentHost/ports/port/@portid)]" mode="service">
|
||||
<xsl:with-param name="initHost" select="$initHost" />
|
||||
@ -181,7 +189,8 @@ $('.ui.dropdown').dropdown()
|
||||
</td>
|
||||
<td>
|
||||
<a class="ui mini icon teal icon button" target="_blank" title="Scan intensif">
|
||||
<xsl:attribute name="href">scan.php?target=<xsl:value-of select="$hostAddress" />&preset=host</xsl:attribute>
|
||||
<xsl:attribute name="href">scan.php?target=<xsl:value-of select="$hostAddress" />
|
||||
&preset=host</xsl:attribute>
|
||||
<i class="search plus icon"></i>
|
||||
</a>
|
||||
</td>
|
||||
|
@ -28,6 +28,7 @@
|
||||
<xsl:value-of select="$target" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text> - lanScan</xsl:text>
|
||||
</title>
|
||||
<link rel="icon" href="favicon.ico" />
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.3/dist/semantic.min.css" />
|
||||
|
@ -3,6 +3,7 @@
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.1">
|
||||
|
||||
<xsl:template match="nmaprun" mode="nav">
|
||||
<xsl:param name="target" />
|
||||
<xsl:param name="name" />
|
||||
|
||||
<nav class="ui inverted secondary menu">
|
||||
@ -58,10 +59,12 @@
|
||||
<div class="ui right aligned category search item">
|
||||
<form id="scanForm" action="scan.php" method="get">
|
||||
<div class="ui inverted icon input" id="targetInputDiv">
|
||||
<input name="lan" class="prompt" type="text" placeholder="Scanner un réseau" pattern="[a-zA-Z0-9._\/ \-]+" title="Les cibles peuvent être spécifiées par des noms d'hôtes, des adresses IP, des adresses de réseaux, etc.
|
||||
<input name="target" class="prompt" type="text" placeholder="Scanner un réseau" pattern="[a-zA-Z0-9._\/ \-]+" value="{$target}"
|
||||
title="Les cibles peuvent être spécifiées par des noms d'hôtes, des adresses IP, des adresses de réseaux, etc.
|
||||
Exemples: 192.168.1.0/24 scanme.nmap.org 10.0-255.0-255.1-254" />
|
||||
<i class="satellite dish icon"></i>
|
||||
</div>
|
||||
<input type="hidden" name="preset" value="lanScan" />
|
||||
</form>
|
||||
<a class="ui icon button item" href="options.php" title="Options avancées">
|
||||
<i class="settings icon"></i>
|
||||
|
@ -14,7 +14,7 @@ $.toast({
|
||||
showIcon : 'calendar',
|
||||
displayTime: 0,
|
||||
closeIcon : true,
|
||||
position : 'bottom right',
|
||||
position : 'bottom left',
|
||||
})
|
||||
</xsl:if>
|
||||
<xsl:if test="finished/@summary">
|
||||
@ -24,7 +24,7 @@ $.toast({
|
||||
showIcon : 'satellite dish',
|
||||
displayTime: 0,
|
||||
closeIcon : true,
|
||||
position : 'bottom right',
|
||||
position : 'bottom left',
|
||||
})
|
||||
</xsl:if>
|
||||
<xsl:if test="finished/@errormsg">
|
||||
@ -35,7 +35,7 @@ $.toast({
|
||||
class : 'error',
|
||||
displayTime: 0,
|
||||
closeIcon : true,
|
||||
position : 'bottom right',
|
||||
position : 'bottom left',
|
||||
})
|
||||
</xsl:if>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user