Questions tagged [sniffer]

A sniffer is a product that analyzes code or network data packets.

Code Analyzer

The PHP_CodeSniffer tool is a PHP PEAR package for static analysis of code, developed and maintained by Squiz Labs. Use the tag for questions regarding this software tool.

Network Data Packets

The most common meaning of a sniffer is a software or hardware product that captures packets of data as they travel a computer network. Use the tag questions regarding network data packet capture and analysis.

Other Uses

This tag can be used for questions that are unrelated to the above categories.

241 questions
0
votes
1 answer

Different order of packets in Wireshark vs tcpdump/libpcap?

I noticed that for the transfer of one-packet file from remote FTP site to localhost on Linux, Wireshark can always capture the packets in correct order but not in tcpdump/libpcap or simple recvfrom on RAW_PACKET with promiscuous mode on. In the…
jiping-s
  • 483
  • 1
  • 5
  • 13
0
votes
1 answer

Linux Sniffer Between Client and Server Libpcap

I am trying to create a sniffer which reads a text being sent from server to client using inet address 127.0.0.1 (loopback address). Program keeps stays halts even when client has received data from server. CODE of sniffer : int main(int argc,char…
Usman
  • 3
  • 1
0
votes
2 answers

Exporting Passwords from Cain

Is it possible to automatically export passwords sniffed with Cain to a text file, so that they may be used for another purpose? If Cain doesn't allow this, is there a tool that does?
Juani Tab
  • 1
  • 1
  • 4
0
votes
8 answers

What language should we use to let people extend our terminal/sniffer program?

We have a very versatile terminal/sniffer application which can do all sorts of things with TCP, UDP and serial connections. We are looking to make it extensible -- i.e, allow people to write their own protocol parsers, highlighters, etc. We created…
user426678
0
votes
1 answer

How to monitor data going out of virtual box guest

I am using virtualbox to create the virtual machine. I am using Windows 10 machine as host and Windows 8 as guest. I want to monitor the data(incoming and outgoing ) data sent by any application from guest. I can do same thing on my host machine…
user2672763
  • 801
  • 1
  • 9
  • 18
0
votes
2 answers

Python 3.4: Unknown format code 'x'

I have issue about packet sniffer in Python3. version of python: 3.4 I followed some tutorial that works, but not on my computer. This code has to get mac address, convert it to string and in main() method should print to me destination mac, source…
Július Marko
  • 1,196
  • 5
  • 15
  • 37
0
votes
2 answers

Sniffer c# (outwar)

With this code, I only cant sniff local traffic (inward) how to can I do for sniff all traffic (outward) Socket _socket = new Socket(AddressFamily.InterNetwork, SocketType.Raw, ProtocolType.IP); _socket.Bind(new IPEndPoint(bindTo,…
0
votes
0 answers

Sniffer: share https connection in java

I connect to the https url via web browser giving access credential (user, password and temporary key generated via token), after the connection is instaurated is it possible to connect a java program using HttpsURLConnection method sharing the same…
famedoro
  • 1,223
  • 2
  • 17
  • 41
0
votes
1 answer

on NodeMCU, how does WIFI.STARTSMART() work?

on http://www.nodemcu.com/docs/wifi-module/#wifi-module-wifi-startsmart, I see code snippet: wifi.startsmart(6, function() print("Auto config success!") end) But what else is needed to make it work? it seems related to wifi…
0
votes
1 answer

Python 2.7 simple packet sniffer

I wrote simple packet sniffer in Python. I need to receive packets non-stop and send one packet every 10 seconds. I tried this: current = time.time() s = socket.socket(socket.AF_INET,…
Tkininter
  • 65
  • 1
  • 9
0
votes
0 answers

If no packet in air, why pcap_next_ex() is not returning anything?

I am working on a sniffer. I am using WinPcap library in it. I am using a pcap_next_ex API to get the packets, I am calling this is in a infinite loop from the from application. When I configure sniffer in 56 channel, there are no packets in air,…
0
votes
2 answers

Python 3.4 very simple packet sniffer

How can I make packet sniffer at selected server and port? Something like Wpe Pro or RPE, but I want to use Python and 'print' for writing these packets. I tried this: import socket UDP_IP = "xx.xx.xx.xx" UDP_PORT = xxxx sock =…
Dino Thu
  • 5
  • 2
0
votes
1 answer

How to intercept all requests to the specific page (on python for example)

Suppose I have an extension that send requests to pages api.ext.com/addWord and api.ext.com/getTranscr Where to start to write an application that will intercept all requests to one page (the site will not receive them), but leave intact requests to…
srghma
  • 4,770
  • 2
  • 38
  • 54
0
votes
1 answer

packet sniffers and kernel bypass

Is packet sniffer software implemented as kernel bypass. if so, how (APIs) is it done on linux and windows? or does packet sniffer actually depend on the kernel to talk to the NIC and put it into promiscuous mode. If so, again what are the APIs lin…
thambi03
  • 71
  • 4
0
votes
1 answer

Python TCP Sniffer under Windows

So I am attempting to retro fit an amazing network packet sniffer already established but for linux. The basic jist is the code below works for socket.IPPROTO_UDP but not socket.IPPROTO_TCP. import socket #create an INET, STREAMing…
In the stars
  • 253
  • 4
  • 17