Thumbs up

This commit is contained in:
cubernetes 2023-04-14 12:07:34 +02:00
parent 86d96c93ea
commit 730cc5703b
6 changed files with 9 additions and 7 deletions

View File

@ -1 +1 @@
[{"data": "<b style='color: yellow'>IDS: Malicious Activity was detected</b>", "timestamp": "1681460777"}, {"data": "<b style='color: red'>Malicious IP: 10.10.1.89</b>", "timestamp": "1681460777"}]
[{"data": "<b style='color: yellow'>IDS: Malicious Activity was detected</b>", "timestamp": "1681466116"}, {"data": "<b style='color: red'>Malicious IP: 141.89.221.182</b>", "timestamp": "1681466116"}, {"data": "ubuntu@192.168.0.17: ssh -p1337 -A -L80:localhost:8080 mainframe3.localdomain", "timestamp": "1681466482"}]

View File

@ -1 +1 @@
[{"data": "46.114.180.29: start of attack", "timestamp": "1681460776"}, {"data": "46.114.180.29: command 0: ATTACK", "timestamp": "1681460776"}, {"data": "46.114.180.29: Start of post-exploitation", "timestamp": "1681460776"}]
[{"data": "141.89.221.182: start of attack", "timestamp": "1681466111"}, {"data": "141.89.221.182: nmap scanning", "timestamp": "1681466115"}, {"data": "141.89.221.182: ssh bruteforce", "timestamp": "1681466117"}, {"data": "141.89.221.182: lateral scanning", "timestamp": "1681466119"}]

View File

@ -1 +1 @@
1681460776
1681466111

View File

@ -1 +1 @@
1681460774
1681466098

View File

@ -440,5 +440,5 @@ def custom_404(error):
clear_session_full()
if __name__ == '__main__':
# app.run(host='0.0.0.0', threaded=True, use_reloader=True, port=8088)
app.run(host='185.78.255.231', threaded=True,use_reloader=True, port=443, ssl_context=('/etc/letsencrypt/live/network.kyudev.xyz/fullchain.pem', '/etc/letsencrypt/live/network.kyudev.xyz/privkey.pem'))
app.run(host='0.0.0.0', threaded=True, use_reloader=True, port=8088)
# app.run(host='185.78.255.231', threaded=True,use_reloader=True, port=443, ssl_context=('/etc/letsencrypt/live/network.kyudev.xyz/fullchain.pem', '/etc/letsencrypt/live/network.kyudev.xyz/privkey.pem'))

View File

@ -1326,7 +1326,7 @@
<div class="video anim" style="--delay: .55s">
<a href="#" style="text-decoration: none;color: #ff66d9;">
<div class="video-by" title="xxx">Blue team status</div>
<div class="video-name padding_stat_n">👍</div>
<div id="bluestatus" class="video-name padding_stat_n">👍</div>
</a>
</div>
</div><br><br><br>
@ -1562,6 +1562,7 @@
let t = to_min_s(document.getElementById('attackstart').getAttribute('data-start'), blue[idx].timestamp);
if (parseInt(t.split('m')[0]) > 5) {
blue.splice(idx, 0, {data: `<b style='color: red'>Time to respond: ${t}</b>`, timestamp: parseInt(blue[idx].timestamp)})
document.getElementById("bluestatus").textContent = "👎";
}
else {
blue.splice(idx, 0, {data: `Time to respond: ${t}`, timestamp: parseInt(blue[idx].timestamp)})
@ -1625,6 +1626,7 @@
let end = ~~(Date.now()/1e3);
if (start === -1 || document.getElementById('start_stop_sim_btn').innerHTML === 'Start Simulation') {
document.getElementById("simstart").innerHTML = "0";
document.getElementById("bluestatus").textContent = "👍";
} else {
document.getElementById("simstart").innerHTML = to_min_s(start, end);
if (document.getElementById('start_stop_sim_btn').innerHTML === 'Start Simulation')