Commit Graph

63 Commits

Author SHA1 Message Date
Neale Pickett 1f12c3bc25
Merge pull request #2 from elliottbinder/patch-1
Update trilobytes.py
2018-07-11 21:52:11 -06:00
elliottbinder 56bd320005
Update trilobytes.py
Add docstring tests for xor and bytes fixes.
2018-07-11 19:37:27 -06:00
elliottbinder 0b7bcfd633
Update trilobytes.py 2018-07-11 19:36:43 -06:00
elliottbinder 94ef0aba57
Update trilobytes.py
Check byte for None instead of truthiness -- bytes with value of zero were getting overwritten by None.
2018-07-11 08:30:53 -06:00
Neale Pickett d0b33d6ec5 Remove bracket char, doesnt work well in all fonts 2018-07-10 23:05:59 +00:00
Neale Pickett 8994b9b5ca Make hexdump match the one in fluffy 2018-07-10 21:58:33 +00:00
Neale Pickett 7305d42800 Revert attempt to use Unpacker in ip.py (it would be slower) 2018-07-10 19:53:03 +00:00
Neale Pickett 92731f5c74 Fix spacing in trilobytes comment 2018-07-10 19:50:44 +00:00
Neale Pickett cbc05b4afb Add Unpack class 2018-07-10 19:50:26 +00:00
Neale Pickett ce44a1d745 Works now 2018-07-10 18:13:07 +00:00
Neale Pickett 737d482f3a TriloBytes docstrings 2018-07-10 15:34:23 +00:00
Neale Pickett 596661ba31 Start porting this mess to Python 3 2018-07-09 23:14:19 +00:00
Neale Pickett 2ab42e81ff fix IP checksum routine, finally 2013-01-30 15:08:04 -07:00
Neale Pickett b11cd39fd2 OMG that NUL 2013-01-24 17:36:36 -07:00
Neale Pickett 34706656bc Add LANL public domain disclosure 2012-05-31 15:34:53 -06:00
Neale Pickett b1469e059b Various fixes from carebears work 2011-07-02 15:04:55 -06:00
Neale Pickett 833edb4135 UTF-8 symbols in hexdump 2009-08-18 12:23:13 -06:00
Neale Pickett 887b1e2dde Add TCP recreation class 2009-08-18 12:22:53 -06:00
Neale Pickett d8f1c6f989 Another TCP Resequencer fix 2009-06-03 11:14:54 -06:00
Neale Pickett 61da8aeb8b Fix for packets with data and FIN 2009-04-07 08:26:10 -06:00
Neale Pickett 57aca02bd1 Add endswith to GapString 2009-04-07 08:24:04 -06:00
Neale Pickett 50fe220ca1 No, that was a bad idea. 2009-04-06 15:22:04 -06:00
Neale Pickett 6c2e6d135a Import other modules into __init__ 2009-04-06 15:19:37 -06:00
Neale Pickett 71787f6b56 Simpler logic handles out-of-order packets better 2009-04-06 15:17:59 -06:00
Neale Pickett 90d3a08a36 Fix two bugs in TCP resequencer, but I'm not done yet 2009-04-06 15:08:25 -06:00
Neale Pickett 41a3eae8ab Add index and split methods to GapString 2009-04-06 15:07:18 -06:00
Neale Pickett e4c37a3a24 Major resequencing bugfix + minor fixes
* The resequencer was dropping any data frames after the first FIN/RST.
* Make things more Pythony by not changing type checks to try/except
* Add an 8-bit-clean caesar implementation to crypto module
2009-04-03 14:20:08 -06:00
Neale Pickett 237fe5910d A few trivial cosmetic changes 2008-08-21 08:58:32 -06:00
Neale Pickett 5fd76ede00 Further improvements 2008-07-25 17:38:30 -06:00
Neale Pickett 3f20d4ab29 Remove debugging 2008-07-23 10:53:40 -06:00
Neale Pickett a561d1f199 Rework how TCP resequencing goes. Breaks everything! 2008-07-23 10:48:27 -06:00
Neale Pickett 119c4e391c Make ip.py a little more sane, still has a bug 2008-07-23 09:41:08 -06:00
Neale Pickett 8c69a8933e Refactored demux and resequence into new class 2008-07-21 22:24:36 -06:00
Neale Pickett ef0b4ac1e3 Lots of junk 2008-07-21 17:52:35 -06:00
Neale Pickett a6f0d4f30a Added Alex's pp function 2008-07-15 16:29:34 -06:00
Neale Pickett dc12a01a55 Fix bug in gapstr, ARP addition cleanup 2008-07-14 18:17:43 -06:00
Neale Pickett 79daacd3ce Now handling ARP 2008-07-14 17:26:02 -06:00
Neale Pickett 297598b7de No, really 2008-07-14 16:27:45 -06:00
Neale Pickett 6c2ee3b993 Fix egregious NeedMoreData bug 2008-07-14 16:27:22 -06:00
Neale Pickett cbf0fd4945 Fix bug with NeedMoreData mechanism 2008-07-09 14:21:44 -06:00
Neale Pickett 5f0f3693e8 Lots of things for Birthday Bear 2008-07-08 17:52:28 -06:00
Neale Pickett 60291721c8 Packet.handle now takes a chunk, chunk.display shows length in hex 2008-06-18 21:36:43 -06:00
Neale Pickett aa8810409a Fix bug in gapstr 2008-06-18 21:35:27 -06:00
Neale Pickett aad4c119bb esab64 as a codec, stringier gapstr, and RE classes in IP 2008-01-23 17:04:41 -07:00
Neale Pickett 36290068ab Another fix for changed __init__ 2008-01-18 19:27:37 -07:00
Neale Pickett a35f21d28a Fix GapString bug 2008-01-18 19:22:39 -07:00
Neale Pickett fc00e0941b Initializers for GapStrings 2008-01-18 19:16:36 -07:00
Neale Pickett 9d487edfb3 Integrate GapString and a few tweaks 2008-01-18 19:09:09 -07:00
Neale Pickett 473d1fc440 GapString class 2008-01-18 18:57:23 -07:00
Neale Pickett 6e27defe53 Added pcapfile demuxer 2008-01-10 17:53:11 -07:00