This commit is contained in:
Adrien MALINGREY 2025-02-11 15:15:02 +01:00
parent 36987428bc
commit 849c922d89
2 changed files with 637 additions and 628 deletions

View File

@ -73,7 +73,7 @@ Exemples: <?= $_SERVER['REMOTE_ADDR']; ?>/24 <?= $_SERVER['SERVER_NAME']; ?> 10.
</div>
</form>
<?php if (file_exists($SCANSDIR)) { ?>
<?php if (file_exists($SCANSDIR)) { ?>
<div class="ui left aligned raised segment inverted">
<div class="ui inverted accordion">
<div class="title"><i class="dropdown icon"></i></i>Scans enregistrés</div>
@ -93,7 +93,7 @@ Exemples: <?= $_SERVER['REMOTE_ADDR']; ?>/24 <?= $_SERVER['SERVER_NAME']; ?> 10.
</div>
</div>
</div>
<?php } ?>
<?php } ?>
</div>
</div>

View File

@ -3,7 +3,7 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<head>
<meta charset="utf-8" />
<title>lanScan</title>
<link rel="icon" href="favicon.ico" />
@ -15,9 +15,9 @@
<script src="https://cdn.jsdelivr.net/npm/@yaireo/tagify/dist/tagify.polyfills.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/@yaireo/tagify/dist/tagify.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body class="inverted">
<body class="inverted">
<nav class="ui inverted secondary menu">
<a href="." class="ui header button item logo">lan<?php include 'logo.svg'; ?>can</a>
<div class="right menu">
@ -545,16 +545,28 @@ Exemples: <?= $_SERVER['REMOTE_ADDR']; ?>/24 <?= $_SERVER['SERVER_NAME']; ?> 10.
<div class="title"><i class="icon dropdown"></i>Évitement de pare-feux/IDS et mystification</div>
<div class="content">
<div class="two inverted fields">
<div class="inverted field">
<div class="ui toggle inverted checkbox">
<input id="fInput" type="checkbox" name="-f">
<label for="fInput" title="-f">Fragmentation des paquets</label>
</div>
</div>
<div class="two inverted fields">
<div class="inverted field">
<label for="mtuInput" title="--mtu">Taille des paquets</label>
<input id="mtuInput" type="number" name="--mtu" min="0">
<div class="ui right labeled input">
<input id="mtuInput" type="number" name="--mtu" min="0" placeholder="Multiple de 8">
<div class="ui basic label">bits</div>
</div>
</div>
<div class="inverted field">
<label for="dataLengthInput" title="--data-length">Longueur des données</label>
<div class="ui right labeled input">
<input id="dataLengthInput" type="number" name="--data-length" min="0" placeholder="Nombre">
<div class="ui basic label">bits</div>
</div>
</div>
</div>
@ -564,25 +576,22 @@ Exemples: <?= $_SERVER['REMOTE_ADDR']; ?>/24 <?= $_SERVER['SERVER_NAME']; ?> 10.
placeholder="decoy1[,decoy2][,ME],..." title="decoy1[,decoy2][,ME],...">
</div>
<div class="two inverted fields">
<div class="inverted field">
<label for="SInput" title="-S">Usurpation d'adresse IP</label>
<input id="SInput" type="text" name="-S" pattern="[0-9.]*">
<input id="SInput" type="text" name="-S" pattern="[0-9.]*" placeholder="Adresse IP">
</div>
<div class="inverted field">
<label for="gInput" title="-g">Port source</label>
<input id="gInput" type="number" name="-g" min="0" max="65535">
<input id="gInput" type="number" name="-g" min="0" max="65535" placeholder="Port">
</div>
</div>
<div class="inverted field">
<label for="dataLengthInput" title="--data-length">Longueur des données</label>
<input id="dataLengthInput" type="number" name="--data-length" min="0">
<label for="ttlInput" title="--ttl">Durée de vie (TTL)</label>
<input id="ttlInput" type="number" name="--ttl" min="0" max="255" placeholder="0-255">
</div>
<div class="inverted field">
<label for="ttlInput" title="--ttl">Valeur TTL</label>
<input id="ttlInput" type="number" name="--ttl" min="0" max="255">
</div>
</div>
</div>
@ -722,7 +731,7 @@ Exemples: <?= $_SERVER['REMOTE_ADDR']; ?>/24 <?= $_SERVER['SERVER_NAME']; ?> 10.
})
new TagsInput(DInput)
newScanForm.onsubmit = function(event) {
newScanForm.onsubmit = function (event) {
if (this.checkValidity()) {
newScanForm.classList.add("loading")
$.toast({
@ -741,6 +750,6 @@ Exemples: <?= $_SERVER['REMOTE_ADDR']; ?>/24 <?= $_SERVER['SERVER_NAME']; ?> 10.
}
}
</script>
</body>
</body>
</html>