Show complete packetrate in web interface

This commit is contained in:
Stefan Kremser 2018-04-18 10:12:09 +02:00
parent 264e87588b
commit 8e4376a8fa
3 changed files with 7 additions and 1 deletions

View File

@ -63,6 +63,10 @@
<td id="probePkts">0/0</td>
<td><button id="probe" onclick="start(2)" class="select" data-translate="start">START</button></td>
</tr>
<tr>
<td colspan="2">All Pkts/s:</td>
<td colspan="2" id="allpkts">0</td>
</tr>
</table>
<h2>Deauth</h2>

View File

@ -1 +1 @@
[[false,0,0,0],[false,0,0,0],[false,0,0,0]]
[[false,0,0,0],[false,0,0,0],[false,0,0,0],0]

View File

@ -12,6 +12,8 @@ function draw(){
getE("deauthPkts").innerHTML = esc(attackJSON[0][2] + "/" + attackJSON[0][3]);
getE("beaconPkts").innerHTML = esc(attackJSON[1][2] + "/" + attackJSON[1][3]);
getE("probePkts").innerHTML = esc(attackJSON[2][2] + "/" + attackJSON[2][3]);
getE("allpkts").innerHTML = esc(attackJSON[3]+"");
}
function start(mode){