Built with blockbuilder.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For development it may be useful to be able to replay TCP traffic (e.g. HTTP). The dump can be created using WireShark or tcpdump: | |
$ tcpdump -s 0 port http -i en0 -w dump.pcap | |
To generate data files that can be replayed through netcat we use tcptrace: | |
$ tcptrace -e input.pcapng | |
Finally replay the HTTP traffic using netcat to host 192.168.1.1 port 80 | |
$ cat a2b_contents.dat | nc -v 192.168.1.1 80 | |
If you need to replay the raw network traffic, we need to do some massaging using tcpprep and tcprewrite before using tcpreplay to replay the raw packages. Note that due to limitation of tcprewrite this will not replay any traffic to the network: http://tcpreplay.synfin.net/wiki/FAQ#Doestcpreplaysupportsendingtraffictoaserver. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# encoding: utf-8 | |
import os | |
import inspect | |
import time | |
import copy | |
from twisted.internet.protocol import Factory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Extract PDF text using PDFMiner. Adapted from | |
http://stackoverflow.com/questions/5725278/python-help-using-pdfminer-as-a-library | |
""" | |
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter#process_pdf | |
from pdfminer.pdfpage import PDFPage | |
from pdfminer.converter import TextConverter | |
from pdfminer.layout import LAParams |
[ Launch: clip scale bug ] 5750287 by panamantis
[ Launch: Tributary inlet ] 5718230 by panamantis
[ Launch: Tributary inlet ] 5718229 by panamantis
[ Launch: Tributary inlet ] 5501776 by panamantis
[ Launch: circle line ] 5501666 by panamantis[ Launch: stacked bar ] 5414766 by panamantis
[ Launch: b1 with ticks ] 5416334 by panamantis[ Launch: b1 with ticks ] 5415695 by panamantis[ Launch: b1 ] 5410219 by panamantis[ Launch: Tributary inlet ] 4637557 by BruceHubbard