Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str Str Str Str Str Str Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad NameLoad body Return TupleLoad Str Call NameLoad NameLoad orelse If CompareEq NameLoad NameLoad body Return TupleLoad Str Call AttributeLoad NameLoad attr NameLoad Str orelse If CompareEq NameLoad NameLoad body Return TupleLoad Str Call AttributeLoad NameLoad attr NameLoad Str orelse Return TupleLoad Str Str decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad TryExcept body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Str NameLoad Index Num Assign NameStore BinOpAdd Call NameLoad AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice BinOpAdd NameLoad Num BinOpAdd NameLoad Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice BinOpAdd NameLoad Num BinOpAdd NameLoad Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice BinOpAdd NameLoad Num BinOpAdd NameLoad Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice BinOpAdd NameLoad Num BinOpAdd BinOpAdd NameLoad Num AttributeLoad NameLoad attr Assign NameStore BinOpSub AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num orelse Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str TryExcept body If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Index Num Assign NameStore Num For NameStore Call NameLoad Num AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad Num Assign TupleStore NameStore NameStore Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice BinOpAdd NameLoad Num BinOpAdd NameLoad Num AugAssignAdd NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str For NameStore NameLoad body If CompareEq NameLoad Str body Assign NameStore BinOpMod Str Call NameLoad NameLoad orelse AugAssignAdd NameStore BinOpMod Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr For NameStore Call NameLoad Num AttributeLoad NameLoad attr body AugAssignAdd NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num NameLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Num While CompareLt NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad Num AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr Str orelse TryExcept body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpRShift Call NameLoad SubscriptLoad NameLoad Index Num Num Assign AttributeStore NameLoad attr BinOpBitOr BinOpLShift BinOpBitAnd Call NameLoad SubscriptLoad NameLoad Index Num Num Num BinOpRShift BinOpBitAnd Call NameLoad SubscriptLoad NameLoad Index Num Num Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Index Num Assign AttributeStore NameLoad attr BinOpBitAnd Call NameLoad SubscriptLoad NameLoad Index Num Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr BinOpAdd NameLoad Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpLShift AttributeLoad NameLoad attr Num AugAssignBitOr NameStore BinOpLShift AttributeLoad NameLoad attr Num AugAssignBitOr NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd Call NameLoad Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpBitAnd NameLoad Num Assign AttributeStore NameLoad attr BinOpBitAnd NameLoad Num Assign AttributeStore NameLoad attr BinOpBitAnd NameLoad Num Assign AttributeStore NameLoad attr BinOpBitAnd NameLoad Num Assign AttributeStore NameLoad attr BinOpBitAnd NameLoad Num Assign AttributeStore NameLoad attr BinOpBitAnd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body AugAssignAdd NameStore Str If AttributeLoad NameLoad attr body AugAssignAdd NameStore Str If AttributeLoad NameLoad attr body AugAssignAdd NameStore Str If AttributeLoad NameLoad attr body AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Num Num Assign TupleStore NameStore NameStore NameStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad Num Num body TryExcept body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Num handlers ExceptHandler type AttributeLoad NameLoad attr body Pass If UnaryOpNot NameLoad body Raise NameLoad TupleLoad Str NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Num body If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpBitOr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad While Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad ListLoad NameLoad If UnaryOpNot NameLoad body If NameLoad body AugAssignSub NameStore Num orelse Raise NameLoad orelse Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Call NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr Num body Return NameLoad orelse Raise NameLoad TupleLoad Str NameLoad Call AttributeLoad NameLoad attr If CompareNotEq Call AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Return Call NameLoad Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If BoolOpAnd CompareNotEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr CompareNotEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Raise NameLoad TupleLoad Str NameLoad SubscriptLoad NameLoad Index Num Raise decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num While Num body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num TupleLoad NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad ListLoad NameLoad If UnaryOpNot NameLoad body If NameLoad body AugAssignSub NameStore Num orelse Raise NameLoad orelse TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num handlers ExceptHandler type NameLoad name NameStore body Raise NameLoad BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr Num body Raise NameLoad Str orelse Raise NameLoad TupleLoad Str NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If BoolOpAnd CompareNotEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr CompareNotEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Raise NameLoad TupleLoad Str NameLoad SubscriptLoad NameLoad Index Num ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise NameLoad BinOpMod Str Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body AugAssignAdd NameStore BinOpMult Str Num orelse If CompareGt Call NameLoad NameLoad Num body Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice Num Call NameLoad NameLoad orelse Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num Call NameLoad NameLoad Assign NameStore BinOpAdd Call NameLoad BinOpMult Call NameLoad NameLoad Num Call AttributeLoad NameLoad attr Str NameLoad NameLoad If NameLoad body Assign NameStore Str For NameStore Call AttributeLoad NameLoad attr NameLoad Str body Assign NameStore BinOpAdd BinOpAdd NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Return BinOpAdd BinOpAdd NameLoad NameLoad Str orelse Return BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Return BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index BinOpRShift NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index BinOpBitAnd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assert CompareEq NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad NameLoad Slice Num Num If CompareEq SubscriptLoad NameLoad Index Num Str body Return TupleLoad Num NameLoad Str orelse Assign NameStore Str Assign NameStore Num While Num body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Num body Break Assign NameStore BinOpAdd Str SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad AugAssignAdd NameStore NameLoad Return TupleLoad BinOpAdd NameLoad Num NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Return Call NameLoad BinOpBitOr BinOpLShift BinOpSub Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad Str Num BinOpSub Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad Str decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr Str orelse TryExcept body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr BinOpBitOr BinOpLShift Call NameLoad SubscriptLoad NameLoad Index Num Num SubscriptLoad Call NameLoad Str SubscriptLoad NameLoad Slice Num Num Index Num orelse Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Str SubscriptLoad NameLoad Slice Num Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice Num handlers ExceptHandler body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpAdd Call NameLoad Str AttributeLoad NameLoad attr BinOpRShift AttributeLoad NameLoad attr Num BinOpBitAnd AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr orelse Assign NameStore BinOpAdd Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body If CompareGt Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert NameLoad If BoolOpAnd CompareEq NameLoad Str CompareEq NameLoad NameLoad body Assign NameStore NameLoad If CompareEq NameLoad Str body Assign NameStore Call NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign NameStore NameLoad Pass If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad If CompareGt Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore TupleLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore BinOpAdd BinOpLShift BinOpAdd BinOpLShift BinOpAdd BinOpLShift SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad Num Num Assign NameStore AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign SubscriptStore NameLoad Index Str SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Slice Num Assign SubscriptStore NameLoad Index Str SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Slice Num Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body While Num body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num If CompareEq NameLoad AttributeLoad NameLoad attr body Break Return Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign TupleStore NameStore NameStore NameStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr While Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr NameLoad body Raise NameLoad TupleLoad Str NameLoad Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num orelse If CompareEq Call AttributeLoad NameLoad attr NameLoad body Break orelse Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str If CompareIs NameLoad NameLoad body Assign NameStore Num Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad While CompareGt NameLoad Num body TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad ListLoad Num If UnaryOpNot NameLoad body If CompareLtE NameLoad Num body Raise NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad AugAssignSub NameStore NameLoad Continue Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call NameLoad NameLoad Num body Raise NameLoad TupleLoad Str NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If BoolOpAnd CompareNotEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr CompareNotEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Raise NameLoad TupleLoad Str NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore NameLoad While CompareGt NameLoad Num body TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad ListLoad NameLoad If UnaryOpNot NameLoad body Raise NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call NameLoad NameLoad Num body Raise NameLoad TupleLoad Str NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If BoolOpAnd CompareNotEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr CompareNotEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Raise NameLoad TupleLoad Str NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad Str NameLoad If CompareEq Call NameLoad NameLoad NameLoad body AugAssignBitOr NameStore BinOpLShift Call NameLoad NameLoad Num orelse If BinOpBitAnd Call NameLoad NameLoad Num body AugAssignBitOr NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return BinOpAdd NameLoad NameLoad decorator_list decorator_list Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Dict Num Num Num Num Num Str Str Str Str Str Assign NameStore Dict Num Num Num Num Num Str Str Str Str Str FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str For NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr handlers ExceptHandler type NameLoad body Continue orelse Return NameLoad Raise Call NameLoad Str decorator_list Assign NameStore Call NameLoad Str Print NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A socket N/A string N/A re N/A select N/A errno random randint struct pack unpack N/A time structure Structure N/A CVS_REVISION $Revision: 526 $ N/A INADDR_ANY 0.0.0.0 N/A BROADCAST_ADDR <broadcast> N/A NETBIOS_NS_PORT 137 N/A NETBIOS_SESSION_PORT 139 N/A SMB_SESSION_PORT 445 N/A NODE_B 0 N/A NODE_P 8192 N/A NODE_M 16384 N/A NODE_RESERVED 24576 N/A NODE_GROUP 32768 N/A NODE_UNIQUE 0 N/A TYPE_UNKNOWN 1 N/A TYPE_WORKSTATION 0 N/A TYPE_CLIENT 3 N/A TYPE_SERVER 32 N/A TYPE_DOMAIN_MASTER 27 N/A TYPE_DOMAIN_CONTROLLER 28 N/A TYPE_MASTER_BROWSER 29 N/A TYPE_BROWSER 30 N/A TYPE_NETDDE 31 N/A TYPE_STATUS 33 N/A OPCODE_QUERY 0 N/A OPCODE_REGISTRATION 5 N/A OPCODE_RELEASE 6 N/A OPCODE_WACK 7 N/A OPCODE_REFRESH 8 N/A OPCODE_REQUEST 0 N/A OPCODE_RESPONSE 16 N/A NM_FLAGS_BROADCAST 1 N/A NM_FLAGS_UNICAST 0 N/A NM_FLAGS_RA 8 N/A NM_FLAGS_RD 16 N/A NM_FLAGS_TC 32 N/A NM_FLAGS_AA 64 N/A QUESTION_TYPE_NB 32 N/A QUESTION_TYPE_NBSTAT 33 N/A QUESTION_CLASS_IN 1 N/A RR_TYPE_A 1 N/A RR_TYPE_NS 2 N/A RR_TYPE_NULL 10 N/A RR_TYPE_NB 32 N/A RR_TYPE_NBSTAT 33 N/A RR_CLASS_IN 1 N/A RCODE_FMT_ERR 1 N/A RCODE_SRV_ERR 2 N/A RCODE_IMP_ERR 4 N/A RCODE_RFS_ERR 5 N/A RCODE_ACT_ERR 6 N/A RCODE_CFT_ERR 7 N/A NAME_FLAGS_PRM 512 N/A NAME_FLAGS_ACT 1024 N/A NAME_FLAG_CNF 2048 N/A NAME_FLAG_DRG 4096 N/A NAME_TYPES N/A TYPE_UNKNOWN TYPE_WORKSTATION TYPE_CLIENT TYPE_SERVER TYPE_MASTER_BROWSER TYPE_BROWSER TYPE_DOMAIN_MASTER TYPE_NETDDE Unknown Workstation Client Server Master Browser Browser Server Domain Master NetDDE Server N/A NETBIOS_SESSION_MESSAGE 0 N/A NETBIOS_SESSION_REQUEST 129 N/A NETBIOS_SESSION_POSITIVE_RESPONSE 130 N/A NETBIOS_SESSION_NEGATIVE_RESPONSE 131 N/A NETBIOS_SESSION_RETARGET_RESPONSE 132 N/A NETBIOS_SESSION_KEEP_ALIVE 133 strerror N/A N/A errclass errcode N/A N/A N/A N/A errclass ERRCLASS_OS N/A N/A N/A OS Error N/A str errcode N/A N/A N/A errclass ERRCLASS_QUERY N/A N/A N/A Query Error N/A N/A QUERY_ERRORS get errcode Unknown error N/A N/A N/A errclass ERRCLASS_SESSION N/A N/A N/A Session Error N/A N/A SESSION_ERRORS get errcode Unknown error N/A N/A N/A Unknown Error Class Unknown Error N/A NetBIOSError N/A Exception N/A N/A N/A NetBIOSTimeout N/A Exception N/A __init__ N/A N/A self message N/A The NETBIOS connection with the remote host timed out. N/A N/A N/A N/A Exception __init__ self message N/A N/A NBResourceRecord N/A N/A __init__ N/A N/A self data N/A 0 N/A N/A N/A self _data data N/A N/A N/A N/A self _data N/A N/A N/A self rr_name N/A N/A N/A re split data N/A 0 N/A offset N/A N/A len N/A self rr_name 1 N/A N/A self rr_type N/A N/A unpack >H N/A N/A self _data N/A offset N/A offset 2 N/A 0 N/A N/A self rr_class N/A N/A unpack >H N/A N/A self _data N/A N/A offset 2 N/A offset 4 N/A 0 N/A N/A self ttl N/A N/A unpack >L N/A N/A self _data N/A N/A offset 4 N/A offset 8 N/A 0 N/A N/A self rdlength N/A N/A unpack >H N/A N/A self _data N/A N/A offset 8 N/A offset 10 N/A 0 N/A N/A self rdata N/A N/A self _data N/A N/A offset 10 N/A N/A offset 10 N/A self rdlength N/A offset N/A N/A self rdlength 2 N/A N/A self unit_id N/A data N/A offset N/A offset 6 N/A N/A N/A self rr_name N/A N/A self rr_type 0 N/A N/A self rr_class 0 N/A N/A self ttl 0 N/A N/A self rdlength 0 N/A N/A self rdata N/A N/A self unit_id N/A N/A N/A Exception N/A N/A N/A NetBIOSError Wrong packet format  N/A set_rr_name N/A N/A self name N/A N/A N/A N/A self rr_name name N/A set_rr_type N/A N/A self name N/A N/A N/A N/A self rr_type name N/A set_rr_class N/A N/A self cl N/A N/A N/A N/A self rr_class cl N/A set_ttl N/A N/A self ttl N/A N/A N/A N/A self ttl ttl N/A set_rdata N/A N/A self rdata N/A N/A N/A N/A self rdata rdata N/A N/A self rdlength N/A len rdata N/A get_unit_id N/A N/A self N/A N/A N/A N/A self unit_id N/A get_rr_name N/A N/A self N/A N/A N/A N/A self rr_name N/A get_rr_class N/A N/A self N/A N/A N/A N/A self rr_class N/A get_ttl N/A N/A self N/A N/A N/A N/A self ttl N/A get_rdlength N/A N/A self N/A N/A N/A N/A self rdlength N/A get_rdata N/A N/A self N/A N/A N/A N/A self rdata N/A rawData N/A N/A self N/A N/A N/A N/A N/A N/A self rr_name N/A pack !HHLH N/A self rr_type N/A self rr_class N/A self ttl N/A self rdlength N/A self rdata N/A N/A NBNodeStatusResponse N/A NBResourceRecord N/A __init__ N/A N/A self data N/A 0 N/A N/A N/A N/A NBResourceRecord __init__ self data N/A N/A self num_names 0 N/A N/A self node_names N/A N/A N/A self statstics N/A N/A self mac 00-00-00-00-00-00 N/A N/A N/A data N/A N/A N/A self _data N/A N/A self get_rdata N/A N/A self num_names N/A N/A unpack >B N/A N/A self _data N/A 1 N/A 0 N/A offset 1 N/A i N/A range 0 N/A self num_names N/A N/A name N/A N/A self _data N/A offset N/A offset 15 N/A N/A type flags N/A unpack >BH N/A N/A self _data N/A N/A offset 15 N/A offset 18 N/A offset 18 N/A N/A N/A N/A self node_names append N/A NBNodeEntry name type flags N/A N/A N/A self set_mac_in_hexa N/A N/A self get_unit_id N/A N/A N/A Exception N/A N/A N/A NetBIOSError Wrong packet format  N/A set_mac_in_hexa N/A N/A self data N/A N/A N/A data_aux N/A d data N/A N/A N/A data_aux N/A N/A data_aux N/A %02x N/A ord d N/A N/A data_aux N/A -%02x N/A ord d N/A N/A self mac N/A N/A string upper data_aux N/A get_num_names N/A N/A self N/A N/A N/A N/A self num_names N/A get_mac N/A N/A self N/A N/A N/A N/A self mac N/A set_num_names N/A N/A self num N/A N/A N/A N/A self num_names num N/A get_node_names N/A N/A self N/A N/A N/A N/A self node_names N/A add_node_name N/A N/A self node_names N/A N/A N/A N/A N/A N/A self node_names append node_names N/A N/A self num_names 1 N/A rawData N/A N/A self N/A N/A N/A res N/A pack !B N/A self num_names N/A i N/A range 0 N/A self num_names N/A N/A res N/A N/A N/A N/A self node_names N/A i rawData N/A N/A NBPositiveNameQueryResponse N/A NBResourceRecord N/A __init__ N/A N/A self data N/A 0 N/A N/A N/A N/A NBResourceRecord __init__ self data N/A N/A self addr_entries N/A N/A data N/A N/A N/A self _data N/A N/A self get_rdata N/A N/A _qn_length qn_name qn_scope N/A decode_name data N/A N/A self _netbios_name N/A N/A N/A string rstrip N/A qn_name N/A -1 qn_scope N/A N/A self _name_type N/A ord N/A qn_name N/A -1 N/A N/A self _nb_flags N/A unpack !H N/A N/A self _data N/A 2 N/A offset 2 N/A N/A offset N/A len N/A self _data N/A N/A N/A N/A N/A self addr_entries append N/A %d.%d.%d.%d N/A unpack 4B N/A N/A self _data N/A offset N/A offset 4 N/A offset 4 N/A get_netbios_name N/A N/A self N/A N/A N/A N/A self _netbios_name N/A get_name_type N/A N/A self N/A N/A N/A N/A self _name_type N/A get_addr_entries N/A N/A self N/A N/A N/A N/A self addr_entries N/A N/A NetBIOSPacket N/A N/A N/A  This is a packet as defined in RFC 1002  __init__ N/A N/A self data N/A 0 N/A N/A N/A self name_trn_id 0 N/A N/A self opcode 0 N/A N/A self nm_flags 0 N/A N/A self rcode 0 N/A N/A self qdcount 0 N/A N/A self ancount 0 N/A N/A self nscount 0 N/A N/A self arcount 0 N/A N/A self questions N/A N/A self answers N/A N/A data 0 N/A N/A N/A self _data N/A N/A N/A N/A N/A self _data data N/A N/A self opcode N/A N/A ord N/A data N/A 2 3 N/A N/A self nm_flags N/A N/A N/A N/A ord N/A data N/A 2 3 4 N/A N/A N/A ord N/A data N/A 3 240 4 N/A N/A self name_trn_id N/A N/A unpack >H N/A N/A self _data N/A 2 N/A 0 N/A N/A self rcode N/A N/A ord N/A data N/A 3 15 N/A N/A self qdcount N/A N/A unpack >H N/A N/A self _data N/A 4 6 N/A 0 N/A N/A self ancount N/A N/A unpack >H N/A N/A self _data N/A 6 8 N/A 0 N/A N/A self nscount N/A N/A unpack >H N/A N/A self _data N/A 8 10 N/A 0 N/A N/A self arcount N/A N/A unpack >H N/A N/A self _data N/A 10 12 N/A 0 N/A N/A self answers N/A N/A self _data N/A 12 N/A N/A N/A Exception N/A N/A N/A NetBIOSError Wrong packet format  N/A set_opcode N/A N/A self opcode N/A N/A N/A N/A self opcode opcode N/A set_trn_id N/A N/A self trn N/A N/A N/A N/A self name_trn_id trn N/A set_nm_flags N/A N/A self nm_flags N/A N/A N/A N/A self nm_flags nm_flags N/A set_rcode N/A N/A self rcode N/A N/A N/A N/A self rcode rcode N/A addQuestion N/A N/A self question qtype qclass N/A N/A N/A N/A self qdcount 1 N/A N/A self questions N/A question N/A pack !HH qtype qclass N/A get_trn_id N/A N/A self N/A N/A N/A N/A self name_trn_id N/A get_rcode N/A N/A self N/A N/A N/A N/A self rcode N/A get_nm_flags N/A N/A self N/A N/A N/A N/A self nm_flags N/A get_opcode N/A N/A self N/A N/A N/A N/A self opcode N/A get_qdcount N/A N/A self N/A N/A N/A N/A self qdcount N/A get_ancount N/A N/A self N/A N/A N/A N/A self ancount N/A get_nscount N/A N/A self N/A N/A N/A N/A self nscount N/A get_arcount N/A N/A self N/A N/A N/A N/A self arcount N/A rawData N/A N/A self N/A N/A N/A secondWord N/A N/A self opcode 11 N/A secondWord N/A N/A self nm_flags 4 N/A secondWord N/A self rcode N/A data N/A N/A N/A pack !HHHHHH N/A self name_trn_id secondWord N/A self qdcount N/A self ancount N/A self nscount N/A self arcount N/A self questions N/A self answers N/A data N/A get_answers N/A N/A self N/A N/A N/A N/A self answers N/A N/A NBHostEntry N/A N/A __init__ N/A N/A self nbname nametype ip N/A N/A N/A N/A self __nbname nbname N/A N/A self __nametype nametype N/A N/A self __ip ip N/A get_nbname N/A N/A self N/A N/A N/A N/A self __nbname N/A get_nametype N/A N/A self N/A N/A N/A N/A self __nametype N/A get_ip N/A N/A self N/A N/A N/A N/A self __ip N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A <NBHostEntry instance: NBname=" N/A self __nbname ", IP=" N/A self __ip "> N/A N/A NBNodeEntry N/A N/A __init__ N/A N/A self nbname nametype flags N/A N/A N/A N/A self __nbname N/A N/A string ljust nbname 17 N/A N/A self __nametype nametype N/A N/A self __flags flags N/A N/A self __isgroup N/A flags 32768 N/A N/A self __nodetype N/A flags 24576 N/A N/A self __deleting N/A flags 4096 N/A N/A self __isconflict N/A flags 2048 N/A N/A self __isactive N/A flags 1024 N/A N/A self __ispermanent N/A flags 512 N/A get_nbname N/A N/A self N/A N/A N/A N/A self __nbname N/A get_nametype N/A N/A self N/A N/A N/A N/A self __nametype N/A is_group N/A N/A self N/A N/A N/A N/A self __isgroup N/A get_nodetype N/A N/A self N/A N/A N/A N/A self __nodetype N/A is_deleting N/A N/A self N/A N/A N/A N/A self __deleting N/A is_conflict N/A N/A self N/A N/A N/A N/A self __isconflict N/A is_active N/A N/A self N/A N/A N/A N/A self __isactive N/A is_permanent N/A N/A self N/A N/A N/A N/A self __ispermanent N/A set_nbname N/A N/A self name N/A N/A N/A N/A self __nbname N/A N/A string ljust name 17 N/A set_nametype N/A N/A self type N/A N/A N/A N/A self __nametype type N/A set_flags N/A N/A self flags N/A N/A N/A N/A self __flags flags N/A __repr__ N/A N/A self N/A N/A N/A s N/A N/A N/A N/A <NBNodeEntry instance: NBname=" N/A self __nbname " NameType=" N/A NAME_TYPES N/A N/A self __nametype " N/A N/A self __isactive N/A N/A s  ACTIVE N/A N/A self __isgroup N/A N/A s  GROUP N/A N/A self __isconflict N/A N/A s  CONFLICT N/A N/A self __deleting N/A N/A s  DELETING N/A s N/A rawData N/A N/A self N/A N/A N/A N/A N/A self __nbname N/A pack !BH N/A self __nametype N/A self __flags N/A N/A NetBIOS N/A N/A __init__ N/A N/A self servport N/A NETBIOS_NS_PORT N/A N/A N/A self __servport NETBIOS_NS_PORT N/A N/A self __nameserver None N/A N/A self __broadcastaddr BROADCAST_ADDR N/A N/A self mac 00-00-00-00-00-00 N/A _setup_connection N/A N/A self dstaddr N/A N/A N/A port N/A randint 10000 60000 N/A N/A af socktype proto _canonname _sa N/A N/A N/A socket getaddrinfo dstaddr port N/A socket AF_INET N/A socket SOCK_DGRAM N/A 0 N/A s N/A N/A socket socket af socktype proto N/A has_bind 1 N/A _i N/A range 0 10 N/A N/A N/A N/A N/A N/A s bind N/A INADDR_ANY N/A randint 10000 60000 N/A N/A N/A s setsockopt N/A socket SOL_SOCKET N/A socket SO_BROADCAST 1 N/A has_bind 1 N/A N/A N/A N/A socket error N/A N/A N/A N/A has_bind N/A N/A NetBIOSError N/A Cannot bind to a good UDP port ERRCLASS_OS N/A errno EAGAIN N/A N/A self __sock s N/A set_nameserver N/A N/A self nameserver N/A N/A N/A N/A self __nameserver nameserver N/A get_nameserver N/A N/A self N/A N/A N/A N/A self __nameserver N/A set_broadcastaddr N/A N/A self broadcastaddr N/A N/A N/A N/A self __broadcastaddr broadcastaddr N/A get_broadcastaddr N/A N/A self N/A N/A N/A N/A self __broadcastaddr N/A gethostbyname N/A N/A self nbname qtype scope timeout N/A TYPE_WORKSTATION None 1 N/A N/A N/A N/A self __queryname nbname N/A self __nameserver qtype scope timeout N/A getnodestatus N/A N/A self nbname destaddr type scope timeout N/A None TYPE_WORKSTATION None 1 N/A N/A destaddr N/A N/A N/A N/A self __querynodestatus nbname destaddr type scope timeout N/A N/A N/A N/A self __querynodestatus nbname N/A self __nameserver type scope timeout N/A getnetbiosname N/A N/A self ip N/A N/A N/A entries N/A N/A self getnodestatus * ip N/A entries N/A filter N/A N/A N/A x N/A N/A N/A N/A x get_nametype TYPE_SERVER entries N/A N/A N/A N/A N/A N/A entries N/A 0 get_nbname strip N/A getmacaddress N/A N/A self N/A N/A N/A N/A self mac N/A __queryname N/A N/A self nbname destaddr qtype scope timeout retries N/A 0 N/A N/A N/A N/A self _setup_connection destaddr N/A trn_id N/A randint 1 32000 N/A p N/A NetBIOSPacket N/A N/A N/A p set_trn_id trn_id N/A netbios_name N/A N/A nbname upper N/A qn_label N/A encode_name netbios_name qtype scope N/A N/A N/A p addQuestion qn_label QUESTION_TYPE_NB QUESTION_CLASS_IN N/A N/A N/A p set_nm_flags NM_FLAGS_RD N/A N/A destaddr N/A N/A N/A N/A p set_nm_flags N/A N/A N/A p get_nm_flags NM_FLAGS_BROADCAST N/A destaddr N/A self __broadcastaddr N/A req N/A N/A p rawData N/A tries retries N/A 1 N/A N/A N/A N/A N/A self __sock sendto req N/A destaddr N/A self __servport N/A N/A N/A N/A ready _ _ N/A N/A select select N/A N/A N/A N/A self __sock fileno N/A N/A timeout N/A N/A ready N/A N/A tries N/A N/A tries 1 N/A N/A NetBIOSTimeout N/A N/A N/A data _ N/A N/A N/A self __sock recvfrom 65536 0 N/A res N/A NetBIOSPacket data N/A N/A N/A N/A res get_trn_id N/A N/A p get_trn_id N/A N/A N/A N/A res get_rcode N/A N/A N/A N/A N/A res get_rcode 3 N/A N/A None N/A N/A NetBIOSError N/A Negative name query response ERRCLASS_QUERY N/A N/A res get_rcode N/A N/A N/A N/A res get_ancount 1 N/A N/A N/A NetBIOSError Malformed response N/A N/A NBPositiveNameQueryResponse N/A N/A res get_answers N/A N/A N/A N/A select error N/A ex N/A N/A N/A N/A N/A ex N/A 0 N/A errno EINTR N/A N/A ex N/A 0 N/A errno EAGAIN N/A N/A NetBIOSError N/A Error occurs while waiting for response ERRCLASS_OS N/A ex N/A 0 N/A N/A __querynodestatus N/A N/A self nbname destaddr type scope timeout N/A N/A N/A N/A N/A self _setup_connection destaddr N/A trn_id N/A randint 1 32000 N/A p N/A NetBIOSPacket N/A N/A N/A p set_trn_id trn_id N/A netbios_name N/A N/A string upper nbname N/A qn_label N/A encode_name netbios_name type scope N/A N/A N/A p addQuestion qn_label QUESTION_TYPE_NBSTAT QUESTION_CLASS_IN N/A N/A destaddr N/A N/A N/A N/A p set_nm_flags NM_FLAGS_BROADCAST N/A destaddr N/A self __broadcastaddr N/A req N/A N/A p rawData N/A tries 3 N/A 1 N/A N/A N/A N/A N/A N/A N/A self __sock sendto req 0 N/A destaddr N/A self __servport N/A N/A ready _ _ N/A N/A select select N/A N/A N/A N/A self __sock fileno N/A N/A timeout N/A N/A ready N/A N/A tries N/A N/A tries 1 N/A N/A NetBIOSTimeout N/A N/A N/A N/A N/A data _ N/A N/A N/A self __sock recvfrom 65536 0 N/A N/A N/A Exception N/A e N/A N/A NetBIOSError N/A recvfrom error: %s N/A str e N/A N/A N/A N/A self __sock close N/A res N/A NetBIOSPacket data N/A N/A N/A N/A res get_trn_id N/A N/A p get_trn_id N/A N/A N/A N/A res get_rcode N/A N/A N/A N/A N/A res get_rcode 3 N/A N/A NetBIOSError Cannot get data from server N/A N/A NetBIOSError N/A Negative name query response ERRCLASS_QUERY N/A N/A res get_rcode N/A answ N/A NBNodeStatusResponse N/A N/A res get_answers N/A N/A self mac N/A N/A answ get_mac N/A N/A N/A answ get_node_names N/A N/A N/A N/A select error N/A ex N/A N/A N/A N/A N/A ex N/A 0 N/A errno EINTR N/A N/A ex N/A 0 N/A errno EAGAIN N/A N/A NetBIOSError N/A Error occurs while waiting for response ERRCLASS_OS N/A ex N/A 0 N/A N/A N/A socket error N/A ex N/A N/A NetBIOSError N/A Connection error: %s N/A str ex N/A N/A encode_name N/A N/A name type scope N/A N/A N/A N/A name * N/A N/A name N/A 15 N/A N/A N/A N/A len name 15 N/A N/A name N/A N/A name N/A 15 N/A chr type N/A N/A name N/A N/A N/A string ljust name 15 N/A chr type N/A encoded_name N/A N/A chr N/A N/A len name 2 N/A N/A re sub . _do_first_level_encoding name N/A scope N/A N/A encoded_scope N/A s N/A N/A string split scope . N/A N/A encoded_scope N/A N/A encoded_scope N/A chr N/A len s s N/A N/A N/A encoded_name encoded_scope N/A N/A N/A encoded_name N/A _do_first_level_encoding N/A N/A m N/A N/A N/A s N/A ord N/A N/A m group 0 N/A N/A N/A N/A string uppercase N/A N/A s 4 N/A N/A string uppercase N/A N/A s 15 N/A decode_name N/A N/A name N/A N/A N/A name_length N/A ord N/A name N/A 0 N/A N/A name_length 32 N/A decoded_name N/A N/A re sub .. _do_first_level_decoding N/A name N/A 1 33 N/A N/A N/A name N/A 33 N/A N/A N/A 34 decoded_name N/A N/A decoded_domain N/A offset 34 N/A 1 N/A N/A domain_length N/A ord N/A name N/A offset N/A N/A domain_length 0 N/A N/A N/A decoded_domain N/A . N/A name N/A offset N/A offset domain_length N/A offset domain_length N/A N/A N/A offset 1 decoded_name decoded_domain N/A _do_first_level_decoding N/A N/A m N/A N/A N/A s N/A N/A m group 0 N/A N/A chr N/A N/A N/A N/A ord N/A s N/A 0 N/A ord A 4 N/A N/A ord N/A s N/A 1 N/A ord A N/A NetBIOSSessionPacket N/A N/A __init__ N/A N/A self data N/A 0 N/A N/A N/A self type 0 N/A N/A self flags 0 N/A N/A self length 0 N/A N/A data 0 N/A N/A N/A self _trailer N/A N/A N/A N/A N/A self type N/A ord N/A data N/A 0 N/A N/A N/A self type NETBIOS_SESSION_MESSAGE N/A N/A N/A self length N/A N/A N/A ord N/A data N/A 1 16 N/A N/A unpack !H N/A data N/A 2 4 N/A 0 N/A N/A N/A self flags N/A ord N/A data N/A 1 N/A N/A self length N/A N/A unpack !H N/A data N/A 2 4 N/A 0 N/A N/A self _trailer N/A data N/A 4 N/A N/A N/A N/A N/A NetBIOSError Wrong packet format  N/A set_type N/A N/A self type N/A N/A N/A N/A self type type N/A get_type N/A N/A self N/A N/A N/A N/A self type N/A rawData N/A N/A self N/A N/A N/A N/A N/A self type NETBIOS_SESSION_MESSAGE N/A N/A data N/A N/A pack !BBH N/A self type N/A N/A self length 16 N/A N/A self length 65535 N/A self _trailer N/A N/A data N/A N/A pack !BBH N/A self type N/A self flags N/A self length N/A self _trailer N/A data N/A set_trailer N/A N/A self data N/A N/A N/A N/A self _trailer data N/A N/A self length N/A len data N/A get_length N/A N/A self N/A N/A N/A N/A self length N/A get_trailer N/A N/A self N/A N/A N/A N/A self _trailer N/A N/A NetBIOSSession N/A N/A __init__ N/A N/A self myname remote_name remote_host remote_type sess_port timeout local_type sock N/A TYPE_SERVER NETBIOS_SESSION_PORT None TYPE_WORKSTATION None N/A N/A N/A N/A len myname 15 N/A N/A N/A self __myname N/A N/A string upper N/A myname N/A 15 N/A N/A N/A self __myname N/A N/A string upper myname N/A N/A self __local_type local_type N/A remote_name N/A N/A N/A remote_name *SMBSERVER N/A sess_port SMB_SESSION_PORT N/A N/A remote_name remote_host N/A N/A remote_name *SMBSERVER N/A N/A nb N/A NetBIOS N/A N/A N/A res N/A N/A nb getnetbiosname remote_host N/A N/A N/A N/A res None N/A N/A N/A res None N/A N/A remote_name res N/A N/A N/A len remote_name 15 N/A N/A N/A self __remote_name N/A N/A string upper N/A remote_name N/A 15 N/A N/A N/A self __remote_name N/A N/A string upper remote_name N/A N/A self __remote_type remote_type N/A N/A self __remote_host remote_host N/A N/A sock None N/A N/A N/A self _sock sock N/A N/A N/A self _sock N/A N/A self _setup_connection N/A remote_host sess_port N/A N/A sess_port NETBIOS_SESSION_PORT N/A N/A N/A N/A self _request_session remote_type local_type timeout N/A get_myname N/A N/A self N/A N/A N/A N/A self __myname N/A get_mytype N/A N/A self N/A N/A N/A N/A self __local_type N/A get_remote_host N/A N/A self N/A N/A N/A N/A self __remote_host N/A get_remote_name N/A N/A self N/A N/A N/A N/A self __remote_name N/A get_remote_type N/A N/A self N/A N/A N/A N/A self __remote_type N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self _sock close N/A get_socket N/A N/A self N/A N/A N/A N/A self _sock N/A N/A NetBIOSUDPSessionPacket N/A Structure N/A N/A TYPE_DIRECT_UNIQUE 16 N/A TYPE_DIRECT_GROUP 17 N/A FLAGS_MORE_FRAGMENTS 1 N/A FLAGS_FIRST_FRAGMENT 2 N/A FLAGS_B_NODE 0 N/A structure N/A N/A Type B=16 N/A Flags B=2 N/A ID <H N/A _SourceIP >L N/A SourceIP " N/A SourcePort >H=138 N/A DataLegth >H-Data N/A Offset >H=0 N/A SourceName z N/A DestinationName z N/A Data : getData N/A N/A self N/A N/A N/A addr N/A N/A N/A self N/A SourceIP split . N/A addr N/A N/A int x N/A x addr N/A addr N/A N/A N/A N/A N/A N/A N/A addr N/A 0 8 N/A addr N/A 1 8 N/A addr N/A 2 8 N/A addr N/A 3 N/A N/A self N/A _SourceIP addr N/A N/A N/A Structure getData self N/A get_trailer N/A N/A self N/A N/A N/A N/A self N/A Data N/A N/A NetBIOSUDPSession N/A NetBIOSSession N/A _setup_connection N/A N/A self peer N/A N/A N/A N/A af socktype proto canonname sa N/A N/A N/A socket getaddrinfo N/A peer N/A 0 N/A peer N/A 1 0 N/A socket SOCK_DGRAM N/A 0 N/A sock N/A N/A socket socket af socktype proto N/A N/A N/A sock connect sa N/A sock N/A N/A socket socket af socktype proto N/A N/A N/A sock setsockopt N/A socket SOL_SOCKET N/A socket SO_REUSEADDR 1 N/A N/A N/A sock bind N/A INADDR_ANY 138 N/A N/A self peer peer N/A sock N/A _request_session N/A N/A self remote_type local_type timeout N/A None N/A N/A N/A next_id N/A N/A self N/A N/A N/A N/A hasattr self __dgram_id N/A N/A answer N/A self __dgram_id N/A N/A N/A self __dgram_id N/A randint 1 65535 N/A answer N/A self __dgram_id N/A N/A self __dgram_id 1 N/A answer N/A send_packet N/A N/A self data N/A N/A N/A N/A N/A N/A self _sock connect N/A self peer N/A p N/A NetBIOSUDPSessionPacket N/A N/A p N/A ID N/A N/A self next_id N/A N/A p N/A SourceIP N/A N/A N/A N/A self _sock getsockname N/A 0 N/A N/A p N/A SourceName N/A N/A encode_name N/A N/A self get_myname N/A N/A self get_mytype N/A -1 N/A N/A p N/A DestinationName N/A N/A encode_name N/A N/A self get_remote_name N/A N/A self get_remote_type N/A -1 N/A N/A p N/A Data data N/A N/A N/A N/A self _sock sendto N/A str p N/A self peer N/A N/A N/A N/A self _sock close N/A N/A self _sock N/A N/A self _setup_connection N/A self peer N/A recv_packet N/A N/A self timeout N/A None N/A N/A 1 N/A N/A N/A data peer N/A N/A N/A self _sock recvfrom 8192 N/A N/A peer N/A self peer N/A N/A N/A N/A NetBIOSUDPSessionPacket data N/A N/A NetBIOSTCPSession N/A NetBIOSSession N/A __init__ N/A N/A self myname remote_name remote_host remote_type sess_port timeout local_type sock select_poll N/A TYPE_SERVER NETBIOS_SESSION_PORT None TYPE_WORKSTATION None False N/A N/A N/A self __select_poll select_poll N/A N/A self __select_poll N/A N/A N/A self read_function N/A self polling_read N/A N/A N/A self read_function N/A self non_polling_read N/A N/A N/A NetBIOSSession __init__ self myname remote_name remote_host remote_type remote_type sess_port sess_port timeout timeout local_type local_type sock sock N/A _setup_connection N/A N/A self peer N/A N/A N/A N/A N/A N/A af socktype proto canonname sa N/A N/A N/A socket getaddrinfo N/A peer N/A 0 N/A peer N/A 1 0 N/A socket SOCK_STREAM N/A 0 N/A sock N/A N/A socket socket af socktype proto N/A N/A N/A sock connect sa N/A N/A N/A N/A socket error N/A e N/A N/A N/A N/A socket error N/A Connection error (%s:%s) N/A N/A peer N/A 0 N/A peer N/A 1 e N/A sock N/A send_packet N/A N/A self data N/A N/A N/A p N/A NetBIOSSessionPacket N/A N/A N/A p set_type NETBIOS_SESSION_MESSAGE N/A N/A N/A p set_trailer data N/A N/A N/A N/A self _sock send N/A N/A p rawData N/A recv_packet N/A N/A self timeout N/A None N/A N/A data N/A N/A self __read timeout N/A N/A NetBIOSSessionPacket data N/A _request_session N/A N/A self remote_type local_type timeout N/A None N/A N/A p N/A NetBIOSSessionPacket N/A remote_name N/A encode_name N/A N/A self get_remote_name remote_type N/A myname N/A encode_name N/A N/A self get_myname local_type N/A N/A N/A p set_type NETBIOS_SESSION_REQUEST N/A N/A N/A p set_trailer N/A remote_name myname N/A N/A N/A N/A self _sock send N/A N/A p rawData N/A 1 N/A N/A p N/A N/A self recv_packet timeout N/A N/A N/A N/A p get_type NETBIOS_SESSION_NEGATIVE_RESPONSE N/A N/A NetBIOSError N/A Cannot request session ERRCLASS_SESSION N/A ord N/A N/A N/A p get_trailer N/A 0 N/A N/A N/A N/A N/A p get_type NETBIOS_SESSION_POSITIVE_RESPONSE N/A N/A N/A N/A N/A polling_read N/A N/A self read_length timeout N/A N/A N/A data N/A N/A timeout None N/A N/A timeout 3600 N/A time_left timeout N/A CHUNK_TIME 0.025 N/A bytes_left read_length N/A N/A bytes_left 0 N/A N/A N/A N/A N/A ready _ _ N/A N/A select select N/A N/A N/A N/A self _sock fileno N/A N/A 0 N/A N/A ready N/A N/A N/A time_left 0 N/A N/A NetBIOSTimeout N/A N/A N/A N/A time sleep CHUNK_TIME N/A time_left CHUNK_TIME N/A N/A received N/A N/A N/A self _sock recv bytes_left N/A N/A N/A len received 0 N/A N/A NetBIOSError N/A Error while reading from remote ERRCLASS_OS None N/A data N/A data received N/A bytes_left N/A read_length N/A len data N/A N/A N/A N/A select error N/A ex N/A N/A N/A N/A N/A ex N/A 0 N/A errno EINTR N/A N/A ex N/A 0 N/A errno EAGAIN N/A N/A NetBIOSError N/A Error occurs while reading from remote ERRCLASS_OS N/A ex N/A 0 N/A data N/A non_polling_read N/A N/A self read_length timeout N/A N/A N/A data N/A bytes_left read_length N/A N/A bytes_left 0 N/A N/A N/A N/A N/A ready _ _ N/A N/A select select N/A N/A N/A N/A self _sock fileno N/A N/A timeout N/A N/A ready N/A N/A NetBIOSTimeout N/A received N/A N/A N/A self _sock recv bytes_left N/A N/A N/A len received 0 N/A N/A NetBIOSError N/A Error while reading from remote ERRCLASS_OS None N/A data N/A data received N/A bytes_left N/A read_length N/A len data N/A N/A N/A N/A select error N/A ex N/A N/A N/A N/A N/A ex N/A 0 N/A errno EINTR N/A N/A ex N/A 0 N/A errno EAGAIN N/A N/A NetBIOSError N/A Error occurs while reading from remote ERRCLASS_OS N/A ex N/A 0 N/A data N/A __read N/A N/A self timeout N/A None N/A N/A data N/A N/A self read_function 4 timeout N/A N/A type flags length N/A unpack >ccH data N/A N/A N/A ord type NETBIOS_SESSION_MESSAGE N/A N/A length N/A N/A ord flags 16 N/A N/A N/A N/A ord flags 1 N/A N/A length 65536 N/A data2 N/A N/A self read_function length timeout N/A N/A data data2 N/A N/A N/A ERRCLASS_QUERY 0 N/A ERRCLASS_SESSION 240 N/A ERRCLASS_OS 255 N/A QUERY_ERRORS N/A 1 2 3 4 5 Request format error. Please file a bug report. Internal server error Name does not exist Unsupported request Request refused N/A SESSION_ERRORS N/A 128 129 130 131 143 Not listening on called name Not listening for calling name Called name not present Sufficient resources Unspecified error main N/A N/A N/A N/A get_netbios_host_by_name N/A N/A name N/A N/A N/A n N/A NetBIOS N/A N/A N/A n set_broadcastaddr 255.255.255.255 N/A qtype N/A TYPE_WORKSTATION TYPE_CLIENT TYPE_SERVER TYPE_DOMAIN_MASTER TYPE_DOMAIN_CONTROLLER N/A N/A N/A N/A addrs N/A N/A N/A N/A n gethostbyname name qtype qtype get_addr_entries N/A N/A N/A NetBIOSTimeout N/A N/A N/A N/A addrs N/A N/A Exception Host not found N/A N/A n N/A get_netbios_host_by_name some-host N/A n N/A N/A N/A __name__ __main__ N/A N/A N/A main