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

How to optimize number of threads needed

I am building an UDP port scanner in C. This is a scheme of the code Create Socket Structure raw UDP packet with port i Send packet and wait n miliseconds for reply I need to perform those tasks X times, depending on the number of ports to be…
paranoidhominid
  • 1,379
  • 2
  • 8
  • 14
0
votes
1 answer

Wireshark Sniffer vs TCP Receive

Say I am capturing data from TCP using RECV function in c++. I might sound stupid but I would like to know will I get any speed up if I capture the packet through a simple sniffer (maybe using PCAP) and process it? Thanks
user3260595
  • 53
  • 1
  • 8
0
votes
1 answer

IPTABLE rules to get all network packets in promisc mode

I am running Ubuntu on my machine and want to write some sniffer scripts. But I am getting packets related to my NIC only even if I run my Interface in promisc mode. Is there any IPTABLE rules that i need to put on so that i can get entrie packets…
bibek shrestha
  • 448
  • 3
  • 9
0
votes
1 answer

How to catch an incoming packet?

I am trying to write mini-sniffer. Problem is that caught packets that come from my address. For the time being, I print only "source" and "destination" addresses. How to fix this program? Sorry for my "english" :D Thank's Log: Source:…
cub4d
  • 1
  • 2
0
votes
1 answer

Mail sniffer with Symfony2

is there any way to make some Mail Sniffer with Symfony 2? I will explain mi propurse... I'm developing some ticketing system, and we would like to have this tool connected in any way to our mail server, then it will scan the pool for "Ticket no:…
Robert W. Hunter
  • 2,895
  • 7
  • 35
  • 73
0
votes
1 answer

remove first line of tsv using sniffer

I have code like this. I am trying to remove the first line of the tsv file which have a field names, say field1, field2,.., fieldn. is something wrong with this piece of code. I dont get the dialect part right. At present it gives an…
user1189851
  • 4,861
  • 15
  • 47
  • 69
0
votes
1 answer

How to parse in linux sniffer results on the fly?

I want to sort and calculate how much clients downloaded files (3 types) from my server. I installed tshark and ran followed command that should capture GET requests: `./tshark 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2))…
Maxim Shoustin
  • 77,483
  • 27
  • 203
  • 225
0
votes
2 answers

Username and Password in address bar

Once I login to my website (a chat room), the URL contains uid=myusername&pass=mypass and it stays there indefinitely, and never goes, even while chatting.. Can a guest sniff what is in my address bar, especially that this is a chat room with many…
0
votes
3 answers

sockets sniffer

Does someone know of a good .Net socket sniffer? I'm trying to build an IM sniffer that can show the Unicode chars correctly. TY
Itay.B
  • 3,991
  • 14
  • 61
  • 96
0
votes
2 answers

Sniffing IOCTL and serial port communication

I'm trying to reverse the protocol used by an early nineties logic analyzer an its PC software. The device is connected via RS-232 (propietary wiring) and communicates with a DOS program, successfully running on DOSBOX. I'm able to control the…
NeonMan
  • 623
  • 10
  • 24
0
votes
1 answer

Is it possible to build sniffer to listen other site responses?

There is a site that filter products by attributes. I want to log the responses that return to this site (url, ip and sessionid) by all the users. Is there a way to build a sniffer/crawler that can do it? And just to make sure - is it legal?…
Nir
  • 2,497
  • 9
  • 42
  • 71
0
votes
1 answer

Send String Safetly from mobile device to C# Server

My App Send to my server User's Facebook Access Token / password. $.ajax { url:'http://www.mysite.com?accesstoken=**** / pass=**** .... I know that a sniffers threat would make it dangoures. Is that any code\tool to send the data encryption…
ItayM
  • 912
  • 2
  • 15
  • 36
0
votes
1 answer

Java Ethernet traffic generator - read Ethernet load

I am developing a Java application to read/write PLC values trough Modbus TCP, I am using modbus4j. In the same application I want to generate Ethernet TCP traffic, and read the Ethernet load. Do you know some lava library to do this? Best regards.
ramon74
  • 105
  • 7
  • 15
0
votes
1 answer

JPCap - cant capture TCP packets

I'm trying to implement a network sniffer using JPCap library. The problem is, it is capturing only UDP packets of other nodes. The TCP packets are not being captured. (Actually TCP packets of my computer ONLY are being sniffed) This is the code I'm…
Shubham Saini
  • 738
  • 3
  • 8
  • 18
0
votes
3 answers

Is it possible to use packet sniffers to track GET requests

I'm trying to log ad clicks on my website. When an ad is clicked there is always a GET request to a specific external website. I want my server to be notified as soon as this request is made. So this will allow me to count clicks. A method that I'm…
That guy
  • 331
  • 1
  • 2
  • 11