exfiltrator (version 0.0.1)
index
exfiltrator.py

This package implements a basic asynchronous DNS client and server
with a feature to exfiltrate data through DNS.

 
Functions
       
exit(status=None, /)
Exit the interpreter by raising SystemExit(status).
 
If the status is omitted or None, it defaults to zero (i.e., success).
If the status is an integer, it will be used as the system exit status.
If it is another kind of object, it will be printed and the system
exit status will be one (i.e., failure).
main() -> int
Main function to parse arguments and run DNS exfiltration.
 
Returns:
    Exit code: 0 on success, 1 on usage error.
async process_chunks(chunks: List[bytes], host: str, port: int, id: int) -> None
This function process chunks for DNS exfiltration.
async process_directories(directories: List[str], host: str, port: int) -> None
This function process each directory concurrently.
async process_directory(directory: str, host: str, port: int, index: int = 1, chunk_size: int = 33, batch_size: int = 5) -> None
This function lists files recursively in a directory to process it.
async read_and_chunk_file(filepath: str, host: str, port: int, id: int, chunk_size: int = 33, batch_size: int = 5) -> None
This function reads a file as chunks and process chunks
when the chunks length is equal to the batch size.
 
chunk_size = 45 and batch_size = 5 last working value with UDP DNS queries (query 322 bytes)
chunk_size = 36 and batch_size = 5 last working value with fqdn size (fqdn 240 bytes)
chunk_size = 33 and batch_size = 5 last working value with UDP DNS responses (response 482 bytes)

 
Data
        List = typing.List
__author_email__ = 'mauricelambert434@gmail.com'
__copyright__ = '\nPyAsyncDNS Copyright (C) 2025 Maurice Lambert...ome to redistribute it\nunder certain conditions.\n'
__description__ = '\nThis package implements a basic asynchronous DN...r\nwith a feature to exfiltrate data through DNS.\n'
__license__ = 'GPL-3.0 License'
__maintainer__ = 'Maurice Lambert'
__maintainer_email__ = 'mauricelambert434@gmail.com'
__url__ = 'https://github.com/mauricelambert/PyAsyncDNS'
argv = [r'C:\Program Files\Python310\lib\pydoc.py', '-w', r'C:\Users\CSU1\Documents\2600\Alternance\PyAsyncDNS\exfiltrator.py']
copyright = '\nPyAsyncDNS Copyright (C) 2025 Maurice Lambert...ome to redistribute it\nunder certain conditions.\n'
executable = r'C:\Program Files\Python310\python.exe'
license = 'GPL-3.0 License'
stderr = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>

 
Author
        Maurice Lambert