Skip to content

Commit

Permalink
Remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
Frankccv committed Sep 20, 2023
1 parent 93153df commit 6236ac3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions www/reportReader/busReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,8 @@ async function queryIpMongo( attackId ) {
ipAttacker = await queryIpMongo( json1[1][0][0] ); // first element of second array. In the example is 9
const currentTimestampInSeconds = Math.floor(new Date().getTime() / 1000);
const descriptionObj = json2.find( (item) => item.CID === json1[0]);
//attacksTargeted[index] = json1[1][0];
outputJson.CID = json1[0];
outputJson.attack = json1[1][0];
console.log("attack "+json1[1][0])

outputJson.description = descriptionObj ? descriptionObj.description : "";
outputJson.ipAttack = ipAttacker ;
outputJson.timestamp = currentTimestampInSeconds ;
Expand Down

0 comments on commit 6236ac3

Please sign in to comment.