Giter Club home page Giter Club logo

rootthebox's People

Contributors

anarkyx01 avatar dnetguru avatar enki-- avatar eriner avatar iggykrajci avatar jinghli avatar lavalamp- avatar moloch-- avatar remi1411 avatar snake-poison avatar tinmartinet avatar und3rf10w avatar

Watchers

 avatar  avatar

rootthebox's Issues

history bug

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)

Error when deleting pastebin?

[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.

botnets causing error when viewing scoreboard

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'

Attempting to delete lvl 0 throws error

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

Adding source code to game market w/ no file

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'

cannot connect to botnet monitor

[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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.