Skip to content
Snippets Groups Projects
  1. Apr 13, 2020
  2. Apr 12, 2020
  3. Apr 11, 2020
  4. Apr 10, 2020
  5. Apr 09, 2020
    • rswindell's avatar
      Added new option -split, which will split a packet into a *.good and a *.bad · 999563c7
      rswindell authored
      file containing only the good or bad messages, leaving the orignal *.pkt file
      intact.
      The -recover option will *only* create a *.good file (renamed from .recovered).
      Now, if the recovered (good) or bad output file has no messages or is the exact
      same size as the original pkt file, the output file is automatically deleted.
      999563c7
    • deuce's avatar
    • rswindell's avatar
      If a pkdmsg type is not 0x0002, then just move forward 2-bytes until there is · 96d27072
      rswindell authored
      valid pkdmsg type.
      This will allow better re-sync with a badly corrupted packet.
      I waffled about whether it should try to read the variable header fields if the
      DateTime field of the fixed header is invalid. Currently, it does. The pkdmsg
      header does not have very good identifying marks to re-sync with, so it's
      still possible that a valid msg that follows a corrupted one could get skipped.
      I would need some good set of varying examples of corrupted packets to test
      with, but I'm sure it's possible to "do better".
      96d27072
    • rswindell's avatar
    • rswindell's avatar
      Call the listmsgs_mod (List msgs module) when the bbs.list_msgs() method · 828dea3f
      rswindell authored
      is called without a "mode" specified. This uses the new default SCAN_INDEX
      mode. If you need the old behavior (does not invoke the listmsgs_mod), specify
      a different mode value (e.g. SCAN_READ). All of the mode values (other than
      SCAN_INDEX) will not start the list message module, but rather use the internal
      C++ logic.
      This provides an intuitive way to actually invoke the list messages module
      from JS without hard-coding bbs.exec("?module") into a cmd shell, for example.
      828dea3f
    • rswindell's avatar
      Added a -recover option (e.g. pktdump -r *.pkt). This option will create · 68947da2
      rswindell authored
      duplicates of all the parsed packet files, but excluding all corrupted packed
      messages. The recovered packet files are named *.recovered.
      Also improved the corrupted packed message header detection to make this
      feature more useful.
      Created at the request of Nelgin who promises to test and use, for better or
      for worse, in sickness and in health, from this day forward, yadda yadda yadda.
      68947da2
    • rswindell's avatar
      Fix bug introduced in previous commit of this file (8 months ago): · 8412ed06
      rswindell authored
      If the RECIPIENTTOLIST header fields exists and the RFC822 header field
      does not exist, that means the original RFC822 "To" field was not MIME-encoded,
      which is the majority of email. The routine that converted an smbmsg_t to an
      RFC822 header did not use this new field however (ignored it). Whoops. So
      multiple recipients were reflect in the To field and the original destination
      address(es) in the To field weren't passed on either. Thanks, Frank!
      8412ed06
  6. Apr 08, 2020
  7. Apr 07, 2020
Loading