Krukov / django-channels-panel

A Django Debug Toolbar panel for Channels
42 stars 8 forks source link

I encountered an error of the syntax kind, an unexpected > : Serious infinite Loop ddos server #11

Open japrogramer opened 6 years ago

japrogramer commented 6 years ago

This error causes the browser to request many different files, with an incremental counter, and causes the site to be ddos by itself

using django-channels-panel==0.0.5

screen_2017-12-06-18-45-12

SyntaxError: expected expression, got '<'
[Learn More]
jquery.min.js:1
globalEval
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:2:2640
text script
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:16269
Ab
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:8270
z
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11743
c/<
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15619
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
send
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:15964
ajax
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:11516
n._evalUrl
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:4:12627
ua
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:13237
append
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:14539
n.fn[a]
http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js:3:16070
channelsSocket.onmessage
http://127.0.0.1:8000/static/channels_panel/channels_panel.js:58:9
a/<
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:834
a/this.open/h.onmessage
http://127.0.0.1:8000/static/channels_panel/reconnecting-websocket.min.js:1:2310
Asday commented 4 years ago

1512607219 is the UNIX timestamp for the date upon which you posted this issue. Given that it's incrementing, and JS for some reason uses three extra digits of precision for epoch stamps, I'd imagine someone somewhere has set the retry delay of ReconnectingWebsocket to 1, assuming it would be interpreted as a second, rather than a millisecond.