packet-sniffers

How to intercept packets sent by an application and check their header and content? [closed]

孤人 提交于 2019-11-28 20:45:58
I'd like to know how can I intercept packets sent by a certain application and then to check what those packets contain. I need some advice what to do because I've never done such a thing and I want to learn by myself. Harsh Baid Pcap.Net Pcap.Net is a .NET wrapper for WinPcap written in C++/CLI and C#. It Features almost all WinPcap features and includes a packet interpretation framework. SharpPcap SharpPcap is a cross-platform packet capture framework for the .NET environment, based on the famous pcap / WinPcap libraries. It provides an API for capturing, injecting, analyzing and building

Bluetooth sniffer - preferably mac osx

岁酱吖の 提交于 2019-11-28 16:04:57
I am trying to find a bluetooth packet sniffer to capture bluetooth signals from close by devices. I would like for this application to work on mac osx. I have had difficulty finding anything at all so my requirements are low right now - something that shows signal strength and mac address would be a good start. SableRaf Actually, Xcode does not include the bluetooth utilities by default. You need to open Xcode, go to Xcode>Open Developer Tool>More developer tools, then login with your Apple developer account, search for the “Additional Tools” and download the package for your version of Xcode

Sniffing an Android app to find API URL

。_饼干妹妹 提交于 2019-11-28 15:23:40
I'm curious as to how I could figure out the API URL an Android application (any app I have installed) uses if it makes API calls to some online server (a RESTful service for example). I presume I have to capture packets on the device and maybe analyse them in Wireshark or something to find the URL? I'm fairly competent in Java/Android development, but a bit lost when it comes to any sort of network analysis business. Alok Singh Mahor you can do this with help of WireShark . I am listing steps here Install WireShark on your computer now we have to create Android virtual device(AVD) so we will

Can't use Interceptty or slsnif to sniff data sent via serial port

限于喜欢 提交于 2019-11-28 11:21:11
问题 I want to determine exactly what data is sent by a controller to a off-board motor controller that has its own processor. I have not had success with plain text commands or json commands either. There is a program that the motor controller works with, however I need my own program to send the same information in the right format. Software being used is Coolterm and a tinyg board. With interceptty I have been able to get one way communication back from the motor controller but not the data

Strange RAW Socket on Mac OS X

為{幸葍}努か 提交于 2019-11-28 08:36:35
When i run a simple packet sniffer coded in C on my Mac OS X, i got no output at all, this is a strange thing! can someone help me to understand what going on. #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> int main(void) { int i, recv_length, sockfd; u_char buffer[9000]; if ((sockfd = socket(PF_INET, SOCK_RAW, IPPROTO_TCP)) == -1) { printf("Socket failed!!\n"); return -1; } for(i=0; i < 3; i++) { recv_length = recv(sockfd, buffer, 8000, 0); printf("Got some bytes : %d\n", recv_length); } return 0; } I compile

How to test which version of TLS my .Net client is using

泄露秘密 提交于 2019-11-28 06:12:55
I support a .NET site which (amongst many, MANY, other things) talks to remote APIs from supplier systems. We want to upgrade to support TLS 1.2 We're hoping to do so as per this question: Are there .NET implementation of TLS 1.2? But how do I check that this is actually working once I've made the change. Ideally one of my supplier sites would start using TLS 1.2 ONLY and then my test could just be "can we talk to that supplier now?" But we don't have that. I'm guessing I can do something with a packet sniffer of some sort, but I wouldn't know what I was looking for exactly, nor how to set up

how to add http headers to a packet sniffed using scapy

孤人 提交于 2019-11-28 04:55:37
问题 I am trying to sniff an out going http packet using scapy, add a few new http headers in it and send it ahead. The intention here is to only insert new headers while keeping the packet intact. At max any checksum recalculation should be done if needed. Have been through almost all questions on SO but didn't exactly get a solution. Following is what i have done. def parse(pkt): if pkt.haslayer(TCP) and pkt.getlayer(TCP).dport == 80 and pkt.haslayer(Raw): pkt = pkt / "New Header:value\r\n\r\n"

iPhone and WireShark [closed]

余生长醉 提交于 2019-11-28 02:39:02
How can I sniff packets from my iPhone on my network? can someone give me some instructions? I tried Googling, but nothing teaches how to sniff iPhone packets、 I am on windows. You can use Paros to sniff the network traffic from your iPhone. See this excellent step by step post for more information: http://blog.jerodsanto.net/2009/06/sniff-your-iphones-network-traffic/ . Also, look in the comments for some advice for using other proxies to get the same job done. One caveat is that Paras only sniffs HTTP GET/POST requests using the method above, so to sniff all network traffic, try the

How do I programatically collect packets from passively sniffing? [closed]

我的梦境 提交于 2019-11-27 23:19:03
I want to test the vulnerability of the server I just wrote against man in the middle attacks. How (on Mac OS X) do I analyze packets. (I'll be checking where they are going, pulling information from if they are heading to my server, and seeing what all is available) Then I'll figure out a way to encrypt everything... but first things first. Any help on packet sniffing would be greatly appreciated. My preferred language is java. But I can do C++. so, my question is: "Is there any sort of API / library that I can interface with?" Like, if I could do PacketSniffer ps = new PacketSniffer(); that

Identify a non-computer network device?

泪湿孤枕 提交于 2019-11-27 18:33:01
问题 I'm current working on a program that scans my network and discoveres computers and devices on the network. I use various operations to find data on the devices I discover, but want to distinguish the network devices from computers. And I'm wondering if anyone knows how I could do this? I looked a bit at SNMP, and tried connecting to my network printer, router and modem. But I seem to only be able to connect to the printer, neither the router or modem responds. Is there another way to