All Questions
2
questions
1
vote
1
answer
2k
views
How raw sockets work?
Recently I developed a packet sniffer in python using socket module. In order to do that, I created a socket of type raw. Then I started receiving and parsing packets.
My assumption was, by default, ...
2
votes
1
answer
2k
views
How to search a raw disk for pattern and return its location?
How can one search a raw disk for a pattern and return its location?
The disk is not formatted, or at least, it uses a format unknown to Linux, grep and similar tools would not be useful.
A command ...