Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IncideDigital/Mistica
/ functions
Functions
574 in github.com/IncideDigital/Mistica
⨍
Functions
574
◇
Types & classes
72
↓ 65 callers
Method
append
Append a bitstring to the current bitstring. bs -- The bitstring to append.
utils/bitstring.py:3423
↓ 61 callers
Method
debug
(self, message)
utils/logger.py:65
↓ 46 callers
Method
debug_all
(self, message)
utils/logger.py:61
↓ 27 callers
Method
toBytes
(self)
sotp/packet.py:36
↓ 24 callers
Method
_slice
Used internally to get a slice, without error checking.
utils/bitstring.py:2001
↓ 24 callers
Method
error
(self, message)
utils/logger.py:69
↓ 22 callers
Method
split
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 callers
Method
join
Return concatenation of bitstrings joined by self. sequence -- A sequence of bitstrings.
utils/bitstring.py:2628
↓ 19 callers
Method
_setbytes_unsafe
Unchecked version of _setbytes_safe.
utils/bitstring.py:1351
↓ 19 callers
Method
getbyteslice
Direct access to byte data.
utils/bitstring.py:172
↓ 18 callers
Method
info
(self, message)
utils/logger.py:73
↓ 17 callers
Method
_append
Append a bitstring to the current bitstring.
utils/bitstring.py:2028
↓ 16 callers
Method
getbyte
Direct access to byte data.
utils/bitstring.py:168
↓ 14 callers
Method
exception
(self, message)
utils/logger.py:77
↓ 13 callers
Method
isTerminateMessage
(self)
utils/messaging.py:75
↓ 12 callers
Method
_validate_slice
Validate start and end and return them as positive bit positions.
utils/bitstring.py:2244
↓ 10 callers
Method
_assertsanity
Check internal self consistency as a debugging aid.
utils/bitstring.py:1213
↓ 10 callers
Method
_setbin_unsafe
Same as _setbin_safe, but input isn't sanity checked. binstring mustn't start with '0b'.
utils/bitstring.py:1845
↓ 9 callers
Method
_copy
Create and return a new copy of the Bits (always in memory).
utils/bitstring.py:1994
↓ 9 callers
Function
offsetcopy
Return a copy of a ByteStore with the newoffset. Not part of public interface.
utils/bitstring.py:264
↓ 9 callers
Function
pack
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 callers
Method
read
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 callers
Method
replace
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 callers
Method
streamToSOTPWorker
(self, content, workerid)
sotp/misticathread.py:327
↓ 9 callers
Method
unpack
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 callers
Method
isFlagActive
(self,checkflag)
sotp/packet.py:49
↓ 8 callers
Method
someOverlayData
(self)
sotp/core.py:172
↓ 8 callers
Method
storePackets
(self,packetrecv,packetsent)
sotp/clientworker.py:202
↓ 8 callers
Method
tobytes
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 callers
Method
_getbin
Return interpretation as a binary string.
utils/bitstring.py:1872
↓ 7 callers
Method
_prepend
Prepend a bitstring to the current bitstring.
utils/bitstring.py:2032
↓ 6 callers
Method
_delete
Delete bits at pos.
utils/bitstring.py:2128
↓ 6 callers
Method
_insert
Insert bs at pos.
utils/bitstring.py:2074
↓ 6 callers
Method
_readtoken
Reads a token from the bitstring and returns the result.
utils/bitstring.py:2012
↓ 6 callers
Method
makeTransferPacket
(self,packet)
sotp/clientworker.py:274
↓ 6 callers
Method
setbyte
(self, pos, value)
utils/bitstring.py:257
↓ 5 callers
Method
__new__
(cls, auto=None, length=None, offset=None, _cache={}, **kwargs)
utils/bitstring.py:786
↓ 5 callers
Method
_clear
Reset the bitstring to an empty state.
utils/bitstring.py:1259
↓ 5 callers
Method
_readbytes
Read bytes and return them. Note that length is in bits.
utils/bitstring.py:1356
↓ 5 callers
Method
_readuint
Read bits and interpret as an unsigned int.
utils/bitstring.py:1409
↓ 5 callers
Method
endswith
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 callers
Method
extractFromSubdomain
(self, qname)
wrapper/server/wrap_module/dns.py:88
↓ 5 callers
Method
extract_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 callers
Method
findModule
(type, lst)
utils/prompt.py:100
↓ 5 callers
Method
lookForRetries
(self)
sotp/clientworker.py:330
↓ 5 callers
Function
tokenparser
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 callers
Method
__init__
(self, name, logger)
sotp/misticathread.py:31
↓ 4 callers
Method
__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 callers
Method
_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 callers
Method
_init_with_token
(cls, name, token_length, value)
utils/bitstring.py:1221
↓ 4 callers
Method
_setuint
Reset the bitstring to have given unsigned int interpretation.
utils/bitstring.py:1372
↓ 4 callers
Method
_truncateend
Truncate bits from the end of the bitstring.
utils/bitstring.py:2061
↓ 4 callers
Method
_truncatestart
Truncate bits from the start of the bitstring.
utils/bitstring.py:2048
↓ 4 callers
Method
copy
Return a copy of the bitstring.
utils/bitstring.py:3623
↓ 4 callers
Method
craftTerminateMessage
(self, receiver, receiver_id)
sotp/router.py:80
↓ 4 callers
Method
errorMessage
(self, destination, destination_id)
sotp/router.py:53
↓ 4 callers
Method
find
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 callers
Method
generateArgParser
(self)
sotp/misticathread.py:40
↓ 4 callers
Method
generatePollResponse
(self,packet)
sotp/serverworker.py:123
↓ 4 callers
Method
getDomainFromRequest
(self, reqhostname)
wrapper/server/wrap_module/dns.py:143
↓ 4 callers
Method
initialChecks
(self,data,checkerFunc,nextFunc)
sotp/clientworker.py:342
↓ 4 callers
Method
isSignalMessage
(self)
utils/messaging.py:113
↓ 4 callers
Method
isSyncType
(self,checktype)
sotp/packet.py:52
↓ 4 callers
Method
lostPacket
(self)
sotp/core.py:149
↓ 4 callers
Method
packRequest
(self, requestline, headers, content=None, httpcode=200)
wrapper/server/wrap_server/httpserver.py:85
↓ 4 callers
Method
printHeader
(self)
utils/messaging.py:117
↓ 4 callers
Method
setup_logger
(self, name, log_file, level)
utils/logger.py:51
↓ 4 callers
Method
toBytes
Returns an array of bytes corresponding to the icmp package built.
utils/icmp.py:215
↓ 4 callers
Method
transformToPacket
(rawbytes)
sotp/core.py:127
↓ 3 callers
Method
__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 callers
Method
_getbytes
Return the data as an ordinary string.
utils/bitstring.py:1365
↓ 3 callers
Method
_inplace_logical_helper
Helper function containing most of the __ior__, __iand__, __ixor__ code.
utils/bitstring.py:2215
↓ 3 callers
Method
_overwrite
Overwrite with bs at pos.
utils/bitstring.py:2095
↓ 3 callers
Method
_readbin
Read bits and interpret as a binary string.
utils/bitstring.py:1859
↓ 3 callers
Method
_readhex
Read bits and interpret as a hex string.
utils/bitstring.py:1923
↓ 3 callers
Method
anyIndex
(self)
utils/buffer.py:46
↓ 3 callers
Method
extract_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 callers
Method
findall
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 callers
Method
generateArgParser
(self)
wrapper/server/wrap_server/dnsserver.py:161
↓ 3 callers
Method
generatePollPacket
(self,packt)
sotp/clientworker.py:109
↓ 3 callers
Method
getbit
(self, pos)
utils/bitstring.py:163
↓ 3 callers
Method
makeTransferPacket
(self,packet)
sotp/serverworker.py:172
↓ 3 callers
Method
messageToWrapper
(self, content)
sotp/misticathread.py:196
↓ 3 callers
Method
reverse
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 callers
Method
storePackets
(self,packetrecv,packetsent)
sotp/serverworker.py:163
↓ 3 callers
Function
tidy_input_string
Return string made lowercase and with all whitespace removed.
utils/bitstring.py:475
↓ 3 callers
Method
unpack
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 callers
Method
unpackSotp
(self, data)
wrapper/server/wrap_module/http.py:101
↓ 2 callers
Method
__add__
Concatenate bitstrings and return new bitstring. bs -- the bitstring to append.
utils/bitstring.py:876
↓ 2 callers
Method
__len__
Return the length of the bitstring in bits.
utils/bitstring.py:945
↓ 2 callers
Method
_appendstore
Join another store on to the end of this one.
utils/bitstring.py:188
↓ 2 callers
Method
_ensureinmemory
Ensure the data is held in memory, not in a file.
utils/bitstring.py:1955
↓ 2 callers
Method
_iand
(self, bs)
utils/bitstring.py:2234
↓ 2 callers
Method
_imul
Concatenate n copies of self in place. Return self.
utils/bitstring.py:2201
↓ 2 callers
Method
_initialise
(self, auto, length, offset, **kwargs)
utils/bitstring.py:815
↓ 2 callers
Method
_invert_all
Invert every bit.
utils/bitstring.py:2182
↓ 2 callers
Method
_ior
(self, bs)
utils/bitstring.py:2231
↓ 2 callers
Method
_ixor
(self, bs)
utils/bitstring.py:2237
↓ 2 callers
Method
_keystream_generator
Generator that returns the bytes of keystream
utils/rc4.py:60
↓ 2 callers
Method
_readint
Read bits and interpret as a signed int
utils/bitstring.py:1448
next →
1–100 of 574, ranked by callers