Jump to content
0s1r1s

DNS_Sniffer scris in Python3

Recommended Posts

Niste idei, poate bune poate mai putin bune:
 

In loc de if-uri ai putea pune un switch case, sa fie mai usor pe viitor

Cel mai des utilizat - ai putea adauga domeniul de la windows de verifica internet conection-ul

Ai putea stoca toate datele intr-un DB (care are DataSource in Grafana) si apoi crea un dashboard cum gasesti la routerele Asus (sau altele - nu mai stiu toate UI-urile) cu cele mai accesate site-uri si alte statistici.

Poate ai reusi sa te integrezi cu serverul DNS (daca are local) si sa extragi de acolo statisticile fara sa mai faci MITM

 

Bineinteles toate aceste idei pot fi practice sau nu... doar ziceam ce mi-a venit in cap :)

  • Upvote 1
Link to comment
Share on other sites

37 minutes ago, dimss said:

Niste idei, poate bune poate mai putin bune:
 

In loc de if-uri ai putea pune un switch case, sa fie mai usor pe viitor

Cel mai des utilizat - ai putea adauga domeniul de la windows de verifica internet conection-ul

Ai putea stoca toate datele intr-un DB (care are DataSource in Grafana) si apoi crea un dashboard cum gasesti la routerele Asus (sau altele - nu mai stiu toate UI-urile) cu cele mai accesate site-uri si alte statistici.

Poate ai reusi sa te integrezi cu serverul DNS (daca are local) si sa extragi de acolo statisticile fara sa mai faci MITM

 

Bineinteles toate aceste idei pot fi practice sau nu... doar ziceam ce mi-a venit in cap :)

Multumesc mult! Ma gandeam deja la o parte din ele :)

A treia m-i se pare un upgrade foarte folositor

Edited by 0s1r1s
Link to comment
Share on other sites

Da o geana si aici:

https://github.com/secdev/awesome-scapy#tools

7 hours ago, dimss said:

Adica de la o simpla idee poti face un ditamai produsul, cu statistici, blocare etc etc

Scapy’s Limitations
While Scapy has numerous features, it does come with some quirks that the user
should be aware of. The first is that Scapy is not designed for fast throughput. It is
written in Python, has many layers of abstraction, and it is not very fast. Do not
expect a packet rate higher than 6 Mbs per second. Because of these layers of
abstraction, and because of being written in Python, it may also require a lot of mem-
ory. When dealing with large amounts of packets, packet manipulation becomes
uncomfortable after about 216 packets.
Scapy is stimulus-response-oriented. While you could do it, handling stream proto-
cols may become painful. This is clearly an area of improvement. Yet, for the
moment, it is possible to play with a datagram-oriented protocol over a stream
socket managed by the kernel.
You can easily design something that sniffs, mangles, and sends. This is exactly what
is needed for some attacks. But you will be disappointed in terms of performance or
efficiency if you expect Scapy to do the job of a router. Do not confuse Scapy with a
production mangling router that you could obtain with Netfilter.

Sursa: Security Power Tools pagina 139.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...