From 8e4376a8fa4b0f4aa554c173c8c9640b9e3294c7 Mon Sep 17 00:00:00 2001 From: Stefan Kremser Date: Wed, 18 Apr 2018 10:12:09 +0200 Subject: [PATCH] Show complete packetrate in web interface --- web_interface/attack.html | 4 ++++ web_interface/attack.json | 2 +- web_interface/js/attack.js | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/web_interface/attack.html b/web_interface/attack.html index 200198e..9192ca8 100644 --- a/web_interface/attack.html +++ b/web_interface/attack.html @@ -63,6 +63,10 @@ 0/0 + + All Pkts/s: + 0 +

Deauth

diff --git a/web_interface/attack.json b/web_interface/attack.json index 0d44ed0..64cf893 100644 --- a/web_interface/attack.json +++ b/web_interface/attack.json @@ -1 +1 @@ -[[false,0,0,0],[false,0,0,0],[false,0,0,0]] \ No newline at end of file +[[false,0,0,0],[false,0,0,0],[false,0,0,0],0] \ No newline at end of file diff --git a/web_interface/js/attack.js b/web_interface/js/attack.js index 66b4922..6edc414 100644 --- a/web_interface/js/attack.js +++ b/web_interface/js/attack.js @@ -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){