anarkyx01 / rootthebox Goto Github PK
View Code? Open in Web Editor NEWThis project forked from moloch--/rootthebox
A Game of Hackers (CTF Scoreboard & Game Manager)
Home Page: http://root-the-box.com/
License: Apache License 2.0
This project forked from moloch--/rootthebox
A Game of Hackers (CTF Scoreboard & Game Manager)
Home Page: http://root-the-box.com/
License: Apache License 2.0
[D 150829 23:25:23 Notification:97] Creating notification 'Text Share' for <User - handle: anarky>
[D 150829 23:25:23 Notification:97] Creating notification 'Text Share' for <User - handle: tem>
[D 150829 23:25:23 Notification:97] Creating notification 'Text Share' for <User - handle: tem4>
[D 150829 23:25:23 Notification:97] Creating notification 'Text Share' for <User - handle: tem5>
[I 150829 23:25:23 web:1825] 302 POST /user/share/pastebin/create (127.0.0.1) 77.14ms
Exception in callback <functools.partial object at 0x7fae061d8470>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 568, in _run_callback
ret = callback()
File "/usr/local/lib/python2.7/dist-packages/tornado/stack_context.py", line 275, in null_wrapper
return fn(_args, *_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/libs/EventManager.py", line 112, in push_team
for user_id in self.auth_connections[team_id]:
KeyError: 1L
Haven't gotten it again, though really haven't tried to reproduce.
[E 150522 20:34:57 websocket:405] Uncaught exception in /botnet/connect
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/websocket.py", line 402, in _run_callback
callback(_args, *_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/handlers/BotnetHandlers.py", line 87, in open
box = Box.by_ip_address(self.request.remote_ip)
File "/home/anarky/PycharmProjects/RootTheBox/models/Box.py", line 123, in by_ip_address
ip = dbsession.query(IpAddress).by_address(ip_addr).first()
AttributeError: 'Query' object has no attribute 'by_address'
Maybe have it so the user can login and see that he was swatted, send a message to the team/all.
This is happening every so often on the backend
[E 150522 11:31:23 ioloop:588] Exception in callback <bound method GameHistory.take_snapshot of <libs.GameHistory.GameHistory object at 0x7f6c05c09750>>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 989, in _run
return self.callback()
File "/home/anarky/PycharmProjects/RootTheBox/libs/GameHistory.py", line 75, in take_snapshot
self.event_manager.push_history(snapshot.to_dict())
TypeError: push_history() takes exactly 1 argument (2 given)
When adding source code to a box, if no file/source code in inserted, an error is thrown...
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1346, in _execute
result = method(_self.path_args, *_self.path_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/libs/SecurityDecorators.py", line 63, in wrapper
return method(self, _args, *_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/libs/SecurityDecorators.py", line 38, in wrapper
return method(self, _args, *_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/libs/SecurityDecorators.py", line 93, in wrapper
return method(self, _args, *_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/handlers/AdminHandlers/AdminGameHandlers.py", line 154, in post
uriargs[0]
File "/home/anarky/PycharmProjects/RootTheBox/handlers/AdminHandlers/AdminGameHandlers.py", line 165, in add_source_code
file_count = len(self.request.files['source_archive'])
KeyError: 'source_archive'
Would be nice to be able to delete notifications so that it's easier to see new ones.
Allow players to login when game isn't started, but don't allow them to do anything outside of team/user management.
seem'ed to fix when game was reset, but when shutdown and restarted, error returns.
[E 150601 02:32:25 web:1421] Uncaught exception GET /scoreboard/ajax/summary (192.168.1.41)
HTTPServerRequest(protocol='http', host='192.168.1.205:8888', method='GET', uri='/scoreboard/ajax/summary', version='HTTP/1.1', remote_ip='192.168.1.41', headers={'Accept-Language': 'en-US,en;q=0.8', 'Accept-Encoding': 'gzip, deflate, sdch', 'Host': '192.168.1.205:8888', 'Accept': '/', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36', 'Dnt': '1', 'Connection': 'keep-alive', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://192.168.1.205:8888/scoreboard', 'Cookie': '_xsrf=2|0608cdd5|9bec7d1f8d86e555168598f87e6f66c9|1433143359; session_id="2|1:0|10:1433143383|10:session_id|44:MWJhMTViOTRhYmM5OTQyMGM5YjQ0ZDA5Mzc1NDE2ZmY=|ec7e60dddc3d731dad250b450cad3856f231be79255325b4487aa08c7f1b626b"'})
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1346, in _execute
result = method(_self.path_args, *_self.path_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/handlers/ScoreboardHandlers.py", line 83, in get
uriargs[0]
File "/home/anarky/PycharmProjects/RootTheBox/handlers/ScoreboardHandlers.py", line 89, in summary_table
self.render('scoreboard/summary_table.html', teams=Team.ranks())
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 664, in render
html = self.render_string(template_name, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 771, in render_string
return t.generate(**namespace)
File "/usr/local/lib/python2.7/dist-packages/tornado/template.py", line 278, in generate
return execute()
File "scoreboard/summary_table_html.generated.py", line 37, in _tt_execute
_tt_tmp = BotManager.instance().count_by_team(team) # scoreboard/summary_table.html:15
File "/home/anarky/PycharmProjects/RootTheBox/libs/BotManager.py", line 133, in count_by_team
return len(self.by_team(team))
File "/home/anarky/PycharmProjects/RootTheBox/libs/BotManager.py", line 130, in by_team
return [self.botnet[bot.wsock_uuid] for bot in bots]
KeyError: u'b673ef67-986a-4134-8cba-891ad23ede7a'
[E 150601 02:32:25 BaseHandlers:189] Request from 192.168.1.41 resulted in an error code 500:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1346, in _execute
result = method(_self.path_args, *_self.path_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/handlers/ScoreboardHandlers.py", line 83, in get
uriargs[0]
File "/home/anarky/PycharmProjects/RootTheBox/handlers/ScoreboardHandlers.py", line 89, in summary_table
self.render('scoreboard/summary_table.html', teams=Team.ranks())
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 664, in render
html = self.render_string(template_name, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 771, in render_string
return t.generate(**namespace)
File "/usr/local/lib/python2.7/dist-packages/tornado/template.py", line 278, in generate
return execute()
File "scoreboard/summary_table_html.generated.py", line 37, in _tt_execute
_tt_tmp = BotManager.instance().count_by_team(team) # scoreboard/summary_table.html:15
File "/home/anarky/PycharmProjects/RootTheBox/libs/BotManager.py", line 133, in count_by_team
return len(self.by_team(team))
File "/home/anarky/PycharmProjects/RootTheBox/libs/BotManager.py", line 130, in by_team
return [self.botnet[bot.wsock_uuid] for bot in bots]
KeyError: u'b673ef67-986a-4134-8cba-891ad23ede7a'
It'd be nice for the blackmart page to show how much cash your team has.
Editing a user from the Admin's user management will not allow you to edit things like team/bank pass without inputting all fields.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1346, in _execute
result = method(_self.path_args, *_self.path_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/libs/SecurityDecorators.py", line 63, in wrapper
return method(self, _args, *_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/libs/SecurityDecorators.py", line 38, in wrapper
return method(self, _args, *_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/libs/SecurityDecorators.py", line 93, in wrapper
return method(self, _args, *_kwargs)
File "/home/anarky/PycharmProjects/RootTheBox/handlers/AdminHandlers/AdminGameObjectHandlers.py", line 541, in post
uriargs[0]
File "/home/anarky/PycharmProjects/RootTheBox/handlers/AdminHandlers/AdminGameObjectHandlers.py", line 625, in del_game_level
if game_levels[0].number != 0:
IndexError: list index out of range
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.