Module Import alias Import alias Import alias Import alias ImportFrom alias alias FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareGtE NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str NameLoad attr Assign NameStore Call NameLoad BinOpSub AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Print Str Print Call AttributeLoad Str attr NameLoad NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad CompareEq Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str SubscriptLoad NameLoad Index Str attr Num If CompareGt Call NameLoad NameLoad Num body Print Call AttributeLoad Str attr Call NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad Assign NameStore ListLoad While CompareGt NameLoad Num body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad If CompareEq AttributeLoad NameLoad attr Num body Print Str Continue orelse If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad AttributeLoad NameLoad attr Print Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AugAssignSub NameStore Num If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Print Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str decorator_list
N/A N/A api N/A spur N/A pwd N/A random api.common InternalException SevereInternalException run N/A N/A N/A N/A N/A db N/A N/A N/A api common get_conn N/A N/A N/A shell N/A N/A spur SshShell hostname N/A N/A api config shell_host username N/A N/A api config shell_username password N/A N/A api config shell_password port N/A N/A api config shell_port missing_host_key N/A N/A N/A spur ssh MissingHostKey accept N/A result N/A N/A shell run N/A sudo useradd --help N/A N/A N/A result return_code 0 N/A N/A N/A SevereInternalException Unable to sudo useradd. N/A account_count N/A N/A N/A db ssh count N/A N/A account_count N/A N/A api config shell_max_accounts N/A N/A N/A SevereInternalException Max SSH accounts already created! N/A free_account_count N/A N/A N/A N/A N/A db ssh find N/A tid N/A $exists False count N/A new_accounts N/A max N/A N/A N/A api config shell_free_acounts free_account_count 0 N/A Checking that all teams have been assigned accounts... N/A N/A N/A {}/{} shell accounts allocated adding {}... format free_account_count account_count new_accounts N/A tids N/A N/A team N/A tid N/A team N/A N/A N/A api team get_all_teams show_ineligible True N/A N/A N/A N/A N/A N/A db ssh find N/A tid N/A team N/A tid count 0 N/A N/A N/A len tids 0 N/A N/A N/A N/A {} teams without accounts present! Adding these as well. format N/A len tids N/A new_accounts N/A len tids N/A accounts N/A N/A N/A new_accounts 0 N/A N/A username N/A N/A N/A random choice N/A N/A api config shell_user_prefixes N/A str N/A N/A random randint 0 N/A N/A api config shell_max_accounts N/A plaintext_password N/A N/A N/A N/A api common token N/A N/A N/A api config shell_password_length N/A hashed_password N/A N/A shell run N/A bash -c N/A N/A echo '{}' | openssl passwd -1 -stdin format plaintext_password N/A hashed_password N/A N/A N/A N/A N/A hashed_password output decode utf-8 strip N/A shell_cmd N/A N/A N/A N/A api config shell_user_creation format username username password hashed_password N/A result N/A N/A shell run N/A N/A shell_cmd split allow_error True N/A N/A N/A result return_code 9 N/A N/A Collision! Retrying. N/A N/A N/A N/A N/A result return_code 0 N/A N/A N/A InternalException N/A result stderr N/A N/A N/A 	{}:{} format username plaintext_password N/A account N/A username password hostname port username plaintext_password N/A N/A api config shell_host N/A N/A api config shell_port N/A N/A N/A accounts append account N/A new_accounts 1 N/A N/A N/A len accounts 0 N/A N/A N/A N/A N/A db ssh insert accounts N/A Successfully imported accounts into mongo. N/A tid tids N/A N/A N/A N/A N/A api team assign_shell_account tid tid N/A N/A N/A N/A N/A spur ssh ConnectionError N/A N/A N/A SevereInternalException Could not connect to shell server. N/A