MCPcopy Create free account

hub / github.com/IncideDigital/Mistica / functions

Functions574 in github.com/IncideDigital/Mistica

↓ 65 callersMethodappend
Append a bitstring to the current bitstring. bs -- The bitstring to append.
utils/bitstring.py:3423
↓ 61 callersMethoddebug
(self, message)
utils/logger.py:65
↓ 46 callersMethoddebug_all
(self, message)
utils/logger.py:61
↓ 27 callersMethodtoBytes
(self)
sotp/packet.py:36
↓ 24 callersMethod_slice
Used internally to get a slice, without error checking.
utils/bitstring.py:2001
↓ 24 callersMethoderror
(self, message)
utils/logger.py:69
↓ 22 callersMethodsplit
Return bitstring generator by splittling using a delimiter. The first item returned is the initial bitstring before the delimiter, wh
utils/bitstring.py:2571
↓ 21 callersMethodjoin
Return concatenation of bitstrings joined by self. sequence -- A sequence of bitstrings.
utils/bitstring.py:2628
↓ 19 callersMethod_setbytes_unsafe
Unchecked version of _setbytes_safe.
utils/bitstring.py:1351
↓ 19 callersMethodgetbyteslice
Direct access to byte data.
utils/bitstring.py:172
↓ 18 callersMethodinfo
(self, message)
utils/logger.py:73
↓ 17 callersMethod_append
Append a bitstring to the current bitstring.
utils/bitstring.py:2028
↓ 16 callersMethodgetbyte
Direct access to byte data.
utils/bitstring.py:168
↓ 14 callersMethodexception
(self, message)
utils/logger.py:77
↓ 13 callersMethodisTerminateMessage
(self)
utils/messaging.py:75
↓ 12 callersMethod_validate_slice
Validate start and end and return them as positive bit positions.
utils/bitstring.py:2244
↓ 10 callersMethod_assertsanity
Check internal self consistency as a debugging aid.
utils/bitstring.py:1213
↓ 10 callersMethod_setbin_unsafe
Same as _setbin_safe, but input isn't sanity checked. binstring mustn't start with '0b'.
utils/bitstring.py:1845
↓ 9 callersMethod_copy
Create and return a new copy of the Bits (always in memory).
utils/bitstring.py:1994
↓ 9 callersFunctionoffsetcopy
Return a copy of a ByteStore with the newoffset. Not part of public interface.
utils/bitstring.py:264
↓ 9 callersFunctionpack
Pack the values according to the format string and return a new BitStream. fmt -- A single string or a list of strings with comma separated token
utils/bitstring.py:4170
↓ 9 callersMethodread
Interpret next bits according to the format string and return result. fmt -- Token string describing how to interpret the next bits.
utils/bitstring.py:3848
↓ 9 callersMethodreplace
Replace all occurrences of old with new in place. Returns number of replacements made. old -- The bitstring to replace. new
utils/bitstring.py:3304
↓ 9 callersMethodstreamToSOTPWorker
(self, content, workerid)
sotp/misticathread.py:327
↓ 9 callersMethodunpack
Interpret the whole bitstring using fmt and return list. fmt -- A single string or a list of strings with comma separated tokens
utils/bitstring.py:2262
↓ 8 callersMethodisFlagActive
(self,checkflag)
sotp/packet.py:49
↓ 8 callersMethodsomeOverlayData
(self)
sotp/core.py:172
↓ 8 callersMethodstorePackets
(self,packetrecv,packetsent)
sotp/clientworker.py:202
↓ 8 callersMethodtobytes
Return the bitstring as bytes, padding with zero bits if needed. Up to seven zero bits will be added at the end to byte align.
utils/bitstring.py:2646
↓ 7 callersMethod_getbin
Return interpretation as a binary string.
utils/bitstring.py:1872
↓ 7 callersMethod_prepend
Prepend a bitstring to the current bitstring.
utils/bitstring.py:2032
↓ 6 callersMethod_delete
Delete bits at pos.
utils/bitstring.py:2128
↓ 6 callersMethod_insert
Insert bs at pos.
utils/bitstring.py:2074
↓ 6 callersMethod_readtoken
Reads a token from the bitstring and returns the result.
utils/bitstring.py:2012
↓ 6 callersMethodmakeTransferPacket
(self,packet)
sotp/clientworker.py:274
↓ 6 callersMethodsetbyte
(self, pos, value)
utils/bitstring.py:257
↓ 5 callersMethod__new__
(cls, auto=None, length=None, offset=None, _cache={}, **kwargs)
utils/bitstring.py:786
↓ 5 callersMethod_clear
Reset the bitstring to an empty state.
utils/bitstring.py:1259
↓ 5 callersMethod_readbytes
Read bytes and return them. Note that length is in bits.
utils/bitstring.py:1356
↓ 5 callersMethod_readuint
Read bits and interpret as an unsigned int.
utils/bitstring.py:1409
↓ 5 callersMethodendswith
Return whether the current bitstring ends with suffix. suffix -- The bitstring to search for. start -- The bit position to start from
utils/bitstring.py:2708
↓ 5 callersMethodextractFromSubdomain
(self, qname)
wrapper/server/wrap_module/dns.py:88
↓ 5 callersMethodextract_name
Function used to extract the name field from the answer section. Args: msg: The message recieved from the DNS server
wrapper/client/dns.py:339
↓ 5 callersMethodfindModule
(type, lst)
utils/prompt.py:100
↓ 5 callersMethodlookForRetries
(self)
sotp/clientworker.py:330
↓ 5 callersFunctiontokenparser
Divide the format string into tokens and parse them. Return stretchy token and list of [initialiser, length, value] initialiser is one of: he
utils/bitstring.py:549
↓ 4 callersMethod__init__
(self, name, logger)
sotp/misticathread.py:31
↓ 4 callersMethod__init__
Either specify an 'auto' initialiser: auto -- a string of comma separated tokens, an integer, a file object, a bytearray, a bo
utils/bitstring.py:747
↓ 4 callersMethod_converttobitstring
Convert bs to a bitstring and return it. offset gives the suggested bit offset of first significant bit, to optimise append etc.
utils/bitstring.py:1961
↓ 4 callersMethod_init_with_token
(cls, name, token_length, value)
utils/bitstring.py:1221
↓ 4 callersMethod_setuint
Reset the bitstring to have given unsigned int interpretation.
utils/bitstring.py:1372
↓ 4 callersMethod_truncateend
Truncate bits from the end of the bitstring.
utils/bitstring.py:2061
↓ 4 callersMethod_truncatestart
Truncate bits from the start of the bitstring.
utils/bitstring.py:2048
↓ 4 callersMethodcopy
Return a copy of the bitstring.
utils/bitstring.py:3623
↓ 4 callersMethodcraftTerminateMessage
(self, receiver, receiver_id)
sotp/router.py:80
↓ 4 callersMethoderrorMessage
(self, destination, destination_id)
sotp/router.py:53
↓ 4 callersMethodfind
Find first occurrence of substring bs. Returns a single item tuple with the bit position if found, or an empty tuple if not found. Th
utils/bitstring.py:2415
↓ 4 callersMethodgenerateArgParser
(self)
sotp/misticathread.py:40
↓ 4 callersMethodgeneratePollResponse
(self,packet)
sotp/serverworker.py:123
↓ 4 callersMethodgetDomainFromRequest
(self, reqhostname)
wrapper/server/wrap_module/dns.py:143
↓ 4 callersMethodinitialChecks
(self,data,checkerFunc,nextFunc)
sotp/clientworker.py:342
↓ 4 callersMethodisSignalMessage
(self)
utils/messaging.py:113
↓ 4 callersMethodisSyncType
(self,checktype)
sotp/packet.py:52
↓ 4 callersMethodlostPacket
(self)
sotp/core.py:149
↓ 4 callersMethodpackRequest
(self, requestline, headers, content=None, httpcode=200)
wrapper/server/wrap_server/httpserver.py:85
↓ 4 callersMethodprintHeader
(self)
utils/messaging.py:117
↓ 4 callersMethodsetup_logger
(self, name, log_file, level)
utils/logger.py:51
↓ 4 callersMethodtoBytes
Returns an array of bytes corresponding to the icmp package built.
utils/icmp.py:215
↓ 4 callersMethodtransformToPacket
(rawbytes)
sotp/core.py:127
↓ 3 callersMethod__getitem__
Return a new bitstring representing a slice of the current bitstring. Indices are in units of the step parameter (default 1 bit). Ste
utils/bitstring.py:901
↓ 3 callersMethod_getbytes
Return the data as an ordinary string.
utils/bitstring.py:1365
↓ 3 callersMethod_inplace_logical_helper
Helper function containing most of the __ior__, __iand__, __ixor__ code.
utils/bitstring.py:2215
↓ 3 callersMethod_overwrite
Overwrite with bs at pos.
utils/bitstring.py:2095
↓ 3 callersMethod_readbin
Read bits and interpret as a binary string.
utils/bitstring.py:1859
↓ 3 callersMethod_readhex
Read bits and interpret as a hex string.
utils/bitstring.py:1923
↓ 3 callersMethodanyIndex
(self)
utils/buffer.py:46
↓ 3 callersMethodextract_answer
Function used to extract a RR from a DNS reply. Args: msg: The message recieved from the DNS server offs
wrapper/client/dns.py:540
↓ 3 callersMethodfindall
Find all occurrences of bs. Return generator of bit positions. bs -- The bitstring to find. start -- The bit position to start the se
utils/bitstring.py:2453
↓ 3 callersMethodgenerateArgParser
(self)
wrapper/server/wrap_server/dnsserver.py:161
↓ 3 callersMethodgeneratePollPacket
(self,packt)
sotp/clientworker.py:109
↓ 3 callersMethodgetbit
(self, pos)
utils/bitstring.py:163
↓ 3 callersMethodmakeTransferPacket
(self,packet)
sotp/serverworker.py:172
↓ 3 callersMethodmessageToWrapper
(self, content)
sotp/misticathread.py:196
↓ 3 callersMethodreverse
Reverse bits in-place. start -- Position of first bit to reverse. Defaults to 0. end -- One past the position of the last bit to reve
utils/bitstring.py:3442
↓ 3 callersMethodstorePackets
(self,packetrecv,packetsent)
sotp/serverworker.py:163
↓ 3 callersFunctiontidy_input_string
Return string made lowercase and with all whitespace removed.
utils/bitstring.py:475
↓ 3 callersMethodunpack
Extracts data from a received ICMP Packet (Echo Request or Echo Response). Does not ensure that the resulting data is that of a valid icmp pac
utils/icmp.py:122
↓ 3 callersMethodunpackSotp
(self, data)
wrapper/server/wrap_module/http.py:101
↓ 2 callersMethod__add__
Concatenate bitstrings and return new bitstring. bs -- the bitstring to append.
utils/bitstring.py:876
↓ 2 callersMethod__len__
Return the length of the bitstring in bits.
utils/bitstring.py:945
↓ 2 callersMethod_appendstore
Join another store on to the end of this one.
utils/bitstring.py:188
↓ 2 callersMethod_ensureinmemory
Ensure the data is held in memory, not in a file.
utils/bitstring.py:1955
↓ 2 callersMethod_iand
(self, bs)
utils/bitstring.py:2234
↓ 2 callersMethod_imul
Concatenate n copies of self in place. Return self.
utils/bitstring.py:2201
↓ 2 callersMethod_initialise
(self, auto, length, offset, **kwargs)
utils/bitstring.py:815
↓ 2 callersMethod_invert_all
Invert every bit.
utils/bitstring.py:2182
↓ 2 callersMethod_ior
(self, bs)
utils/bitstring.py:2231
↓ 2 callersMethod_ixor
(self, bs)
utils/bitstring.py:2237
↓ 2 callersMethod_keystream_generator
Generator that returns the bytes of keystream
utils/rc4.py:60
↓ 2 callersMethod_readint
Read bits and interpret as a signed int
utils/bitstring.py:1448
next →1–100 of 574, ranked by callers