Jump to content

kcorey

Active Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

327 profile views

kcorey's Achievements

Newbie

Newbie (1/14)

  1. On my M4 Pineapple, I'm using tcpdump to catch sessions. I realised there was a bug when the tcpdump infusion is stored to usb. I have a few line potential fix. Where do I report that so that the tcpdump infusion author will see it? -Ken
  2. I think I ran into this same problem. M4 Pineapple, installed the latest update to tcpdump onto the /usb thumbdrive. Captures are sent to the /usb/... directory...so far so good. However, when I click on the History tab, and then hover over the download link, it says: javascript:javascript:location.href='/usb/infusions/includes/dumps/dump_1397667605.pcap' When I click on this, I'm shown a white page with an 'X' in it. That's a bummer. Looking in data.php, it seems that the problem is that $rel_dir is "/usb/infusions/". The path is therefore set to be the above link. If we change that /usb to /components, then everything just seems to work well and I can download the reports like before. In /usb/infusions/tcpdump/includes/data.php, I added a couple lines above the line that generates the download link: $trans = array("/usb" => "/components"); $newrel_dir = strtr($rel_dir,$trans); echo "<a href=\"javascript:javascript:location.href='".$newrel_dir.............(include the rest of the line). That's got it working for me.
  3. I'll take a look into that. Thanks for writing back. In my investigations, I found the ruby source for codeinject. It's a proxy and already handles some munging of the headers. If I were to add a couple lines by hand, I could modify the header on the fly without munging the content, I think. Obviously, I wouldn't want to leave that in there, but it might be the quick and dirty method I'm looking for. -Ken
  4. Hi All, Pineapple mark IV, (login says MK4 Ver. 3.0) uname -a says: Linux Pineapple 3.3.8 #31 Tue Jul 04:26:43 BST 2013 mips GNU/Linux I'm accessing the pineapple via a Windows 7 machine. I'm using it to track the DLNA messages that are going back and forth for a work project. I need to be able to modify the HTTP headers as they're going by. Is there a plugin for that? I've updated opkg so that the Pineapplebar has hundreds of plugins. It's a little overwhelming. If not, could someone tell me where to RTFM about how to do it? Thanks, -Ken
×
×
  • Create New...