Projects STRLCPY aardwolf Commits 4b534eb0
🤬
  • ■ ■ ■ ■ ■
    aardwolf/examples/scanners/rdpscreen.py
    skipped 60 lines
    61 61   buffer.save(data,'png')
    62 62   data.seek(0,0)
    63 63   await out_queue.put(ScannerData(target, RDPScreenshotRes(target, data.read())))
    64  - 
     64 + if connection is not None:
     65 + await connection.terminate()
  • ■ ■ ■ ■ ■ ■
    aardwolf/extensions/RDPECLIP/channel.py
    skipped 41 lines
    42 42   try:
    43 43   import pyperclip
    44 44   except ImportError:
    45  - logger.info('Could not import pyperclip! Copy-paste will not work!')
     45 + logger.debug('Could not import pyperclip! Copy-paste will not work!')
    46 46   self.use_pyperclip = False
    47 47   else:
    48 48   if not pyperclip.is_available():
    49  - logger.info("pyperclip - Copy functionality available!")
     49 + logger.debug("pyperclip - Copy functionality available!")
    50 50  
    51 51   return True, None
    52 52   except Exception as e:
    skipped 102 lines
    155 155   await self.fragment_and_send(msg)
    156 156  
    157 157   else:
    158  - logger.info('Server requested a formatid which we dont have. %s' % fmtr.requestedFormatId)
     158 + logger.debug('Server requested a formatid which we dont have. %s' % fmtr.requestedFormatId)
    159 159  
    160 160  
    161 161   elif self.status == CLIPBRDSTATUS.WAITING_SERVER_INIT:
    skipped 60 lines
    222 222   sec_hdr.flags = SEC_HDR_FLAG.ENCRYPT
    223 223   sec_hdr.flagsHi = 0
    224 224   
    225  - await self.send_channel_data(packet, sec_hdr, None, None, self.channel_id, False)
     225 + await self.send_channel_data(packet, sec_hdr, None, None, False)
    226 226   
    227 227   return True, False
    228 228   except Exception as e:
    skipped 28 lines
  • ■ ■ ■ ■
    aardwolf/utils/ducky/__init__.py
    skipped 94 lines
    95 95  
    96 96   async def do_rem(self, data:List[str]):
    97 97   data = ' '.join(data)
    98  - logger.info(data)
     98 + logger.debug(data)
    99 99   
    100 100   async def do_defaultdelay(self, delay:int):
    101 101   delay = ' '.join(delay)
    skipped 306 lines
  • ■ ■ ■ ■ ■ ■
    aardwolf/vncconnection.py
    skipped 261 lines
    262 262   try:
    263 263   import pyperclip
    264 264   except ImportError:
    265  - logger.info('Could not import pyperclip! Copy-paste will not work!')
     265 + logger.debug('Could not import pyperclip! Copy-paste will not work!')
    266 266   self.__use_pyperclip = False
    267 267   else:
    268 268   self.__use_pyperclip = True
    269 269   if not pyperclip.is_available():
    270  - logger.info("pyperclip - Copy functionality available!")
     270 + logger.debug("pyperclip - Copy functionality available!")
    271 271   return True, None
    272 272  
    273 273   async def __banner_exchange(self):
    skipped 487 lines
    761 761   (_,_,_, cliplen ) = unpack("!BBBI", hdr)
    762 762   cliptext = await self.__reader.readexactly(cliplen)
    763 763   cliptext = cliptext.decode('latin-1') #latin-1 is per RFC
    764  - logger.info('Got clipboard test: %s' % repr(cliptext))
     764 + logger.debug('Got clipboard test: %s' % repr(cliptext))
    765 765   if self.__use_pyperclip is True:
    766 766   import pyperclip
    767 767   pyperclip.copy(cliptext)
    skipped 79 lines
Please wait...
Page is in error, reload to recover