All Questions
12 questions
1
vote
0
answers
142
views
tcpdump is not available when extracting packet features in windows
I have been trying to extract statistical features from a packet(pcap) using pyflowmeter but I keep on getting traceback error that :'scapy.error.Scapy_Exception: tcpdump is not available', I know ...
0
votes
1
answer
322
views
Scapy Error sending packet (promiscuous mode)
I want to play a bit with scapy to get familiar with crafting and working with packets.
So for so good. But when I want to send a packet an OS error appears: Saying that it can not set hardware filter ...
0
votes
1
answer
210
views
How to run scapy python scripts in linux?
I am new to scapy and need help with this part. So I have already installed the package and I am trying to execute the code below but nothing gets printed to my terminal. I want help understanding ...
1
vote
1
answer
647
views
How to determine how fast scapy can sniff packets
So I'm quite deep into this monitoring implementation, and I'm curious as to how to calculate the theoretical maximum it can handle.
I know python is not the most efficient language, and I'm honestly ...
12
votes
2
answers
40k
views
How to replay Wireshark captured packets?
I have captured some packets in Wireshark and need to replay those again in any way.
1
vote
1
answer
64
views
IndexError list index out python3
hello i am making a script but keep having an error pop up:
File "creditcardsniff.py", line 70, in findCreditCard
print(f"{GREEN}{BRIGHT}[+] Found American Express Card: " + str(americaRE[0]) +""+...
0
votes
0
answers
402
views
Why scapy module is inconsistent, loosing constant amount of packets during sniffing?
I created program, glueing two others:
Multicast receiver from:
How do you UDP multicast in Python?
scapy packet sniffer:
https://thepacketgeek.com/scapy-sniffing-with-custom-actions-part-1/
I'm ...
0
votes
1
answer
876
views
Packet Sniffer using Scapy
I have write code for sniffing packet using scapy in python. And i got some problems that make me confused, showed by this picture below.
enter image description here -> Important
so this is the ...
0
votes
1
answer
843
views
How can I change live packet length and then forward them in scapy?
I want to use scapy to manipulate network live packet (change the packet length of a special program) then forward them to dst. How can I do this and Is there better tool than scapy or not?
1
vote
1
answer
2k
views
receiving packets from a socket in scapy
I am trying to code a basic packet sniffer by listening to a socket in python and found that we could use the socket library in python and do the following,
s = socket.socket( socket.AF_PACKET , ...
0
votes
1
answer
2k
views
how to use packets sniffed with scapy
So my question is , I have been trying to work with scapy by sniffing packets going in and out of my computer using a simple sniff() and print pkt.summary() everything is going well then I wanted to ...
0
votes
0
answers
338
views
scapy - http header list over wlan
I'm trying to get a list of all http headers being visited on my wlan. The code I'm using is (not my own):
#!/usr/bin/env python
import sys
sys.path.append("/usr/local/lib/python2.7/site-packages")
...