You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$textBox232a.Text="CATTURA COMPLETATA. `r`n Se eseguito da admin, in C:\ ora ci sono: `r`n - il file compresso 'NetTrace.cab' contenente 'report.html' `r`n - il file 'NetTrace.etl' (da aprire in EventViewer, o ancor meglio usando Networkminer o NetwokMonitor, se installati) con i pacchetti catturati `r`n - il file 'captlogs.csv' (NetTrace.etl in formato differente)"|Out-String
1215
+
if ($textBox232b.Text-match"^-?\d+$"-and [int16]$textBox232b.Text-gt1-and[int16]$textBox232b.Text-le300) {
$textBox232a.Text="CATTURA COMPLETATA. `r`n Se eseguito da admin, in C:\ ora ci sono: `r`n - il file compresso 'NetTrace.cab' contenente 'report.html' `r`n - il file 'NetTrace.etl' (da aprire in EventViewer, o ancor meglio usando Networkminer o NetwokMonitor, se installati) con i pacchetti catturati `r`n - il file 'captlogs.csv' (NetTrace.etl in formato differente)"|Out-String
1220
1220
} else {
1221
-
$textBox232a.Text="Inserirer solo numeri da 1 a 300"|Out-String ; break
1221
+
$textBox232a.Text="Inserire solo numeri da 1 a 300"|Out-String
$textBox232a.Text="CAPTURE COMPLETED. `r`n If run as admin, in C:\ now there are: `r`n - the compressed file 'NetTrace.cab' containing 'report.html' `r`n - the file 'NetTrace.etl' (to be opened in EventViewer, or even better using Networkminer or NetwokMonitor, if installed) with captured packets `r`n - the file 'captlogs.csv' (NetTrace.etl in different format)"|Out-String
1214
+
if ($textBox232b.Text-match"^-?\d+$"-and [int16]$textBox232b.Text-gt1-and[int16]$textBox232b.Text-le300) {
$textBox232a.Text="CAPTURE COMPLETED. `r`n If run as admin, in C:\ now there are: `r`n - the compressed file 'NetTrace.cab' containing 'report.html' `r`n - the file 'NetTrace.etl' (to be opened in EventViewer, or even better using Networkminer or NetwokMonitor, if installed) with captured packets `r`n - the file 'captlogs.csv' (NetTrace.etl in different format)"|Out-String
1219
1219
} else {
1220
-
$textBox232a.Text="Insert only numbers from 1 to 300"|Out-String ; break
1220
+
$textBox232a.Text="Insert only numbers from 1 to 300"|Out-String
0 commit comments