Coder Social home page Coder Social logo

halildeniz / dnswatch Goto Github PK

View Code? Open in Web Editor NEW
165.0 5.0 27.0 1.86 MB

DNSWatch - DNS Traffic Sniffer and Analyzer

Home Page: https://denizhalil.com/2023/09/05/dnswatch-dns-traffic-analyzer/

License: MIT License

Python 100.00%
dns dns-analysis dns-server dns-sniffer network network-analysis python-scapy python3 scapy-library sniffing

dnswatch's Introduction

Hello, I'm Halil Ibrahim Deniz!

๐Ÿ’ซ About Me

Hello, I'm Halil Ibrahim. At the age of 23 and with a high school diploma in hand, I've nurtured an immense passion for the dynamic worlds of cybersecurity and programming. My journey has led me to delve deep into programming languages like Python, Java, and Rust, each of which I've applied in real-world scenarios. I've had the privilege of using these skills to assist a prominent website dedicated exclusively to cybersecurity, enhancing its infrastructure and fortifying its defenses. I also share my evolving knowledge and experiences through in-depth articles on my blog each week. To further serve the programming community, I release an open-source project on my GitHub account on a weekly basis. Continuous learning is at the heart of my ethos; alongside refining my technical expertise, I'm earnestly working to elevate my command over English and to embrace the challenges of learning German.

๐ŸŒ Socials:

Denizhalil Instagram LinkedIn YouTube Tryhackme E-mail Instagram

๐Ÿ“– My Book

Skills

Cybersecurity

Network Security

  • Network security is one of the most important topics in cybersecurity. I'm trying to specialize in network security to keep my network safe.
  • My network security skills include fundamental topics such as secure encryption protocols, secure network configuration, and firewalls. I can also perform network security tests using different tools like network scanners, port scanning tools, and network analysis tools.

Cybersecurity Tools

  • I'm constantly trying to improve myself by using different tools used in cybersecurity. These tools include various tools such as Nmap, Metasploit Framework, Wireshark, and Kali Linux.
  • By simulating different cyber attack scenarios using these tools, I can test defense mechanisms and improve network security.

Programming

Python Programming

  • Python is one of the programming languages I know the best. I'm highly skilled in software development using this language and have developed solutions for many different projects using Python.
  • My Python skills include different topics such as data structures, functions, object-oriented programming, GUI programming, and web development. I also work on different areas such as artificial intelligence, data science, and machine learning using Python.

C++ Programming

  • C++ is one of my favorite programming languages for software development. Since I started developing software in this language, I'm constantly trying to improve my C++ skills.
  • My C++ skills include fundamental topics such as data structures, algorithms, memory management, and object-oriented programming. I also work on different areas such as game development using C++.

Hardware

Microcontroller Programming

  • Microcontroller programming is one of my favorite areas of expertise in hardware. In this area, I mainly work on platforms such as Arduino and Raspberry Pi.

Interests

  • Learning foreign languages: Learning languages is an important hobby for me. Currently, I'm improving my English and learning German. I also plan to learn other languages in the future.
  • Knowledge Sharing: I always like to share the information I learn on my website called DenizHali with people in the most descriptive way.

๐Ÿ“Š GitHub Stats:

Launguages

Langs

Technologies

Techs

Badges

TryHackMe Badge

Certificates

I have achieved the following certificates:

Contact

dnswatch's People

Contributors

halildeniz avatar rsftb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dnswatch's Issues

Import error

File "/opt/DNSWatch/dnswatch/dnswatch.py", line 12, in
from utils.dnsdata import DNSDataStorage
ModuleNotFoundError: No module named 'utils.dnsdata'

Not an issue

Not really an issue but make one like this but add option inputs for dns tcp udp or whatever and add an input option like eth0 ens3 etc to monitor whatever you need to including the option to monitor a specific port for tcp and udp like ./dnswatch tcp 80 eth0

several issues preventing for running

Hi,
I tried but no success

1/ I run the git command
2/ I run the pip command (pip install -r requirements.txt)
hum a cd command to DNSWatch subdirectory is mandatory before 2/
t
hen
severals caracters found in comments prevent from running
examples:

 File "dnswatch.py", line 19
SyntaxError: Non-ASCII character '\xc4' in file dnswatch.py on line 19, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

I delete theses words/caracters

then syntax errors:only comments are hitted,
one example, but there are many

 File "dnswatch.py", line 31
    print(f"{Fore.RED}[!] Error resolving DNS over HTTPS: {e}{Style.RESET_ALL}")
                                                                              ^
SyntaxError: invalid syntax

may be it is printf( and not only print( as I dont' know I just deleted the f caracter

same for write command

 File "dnswatch.py", line 78
    file.write(f"DNS Request  from {dns_src_ip} to {dns_dest_ip} at {timestamp}: {dns_request} (Type: {dns_type})\n")
                                                                                                                   ^
SyntaxError: invalid syntax

f has been deleted

at the end:
the pip was succeded and the directory added to PATH

$ pip install -r requirements.txt 
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting scapy (from -r requirements.txt (line 1))
  Downloading https://www.piwheels.org/simple/scapy/scapy-2.5.0-py2.py3-none-any.whl (1.4MB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 1.5MB 250kB/s 
Requirement already satisfied: argparse in /usr/lib/python2.7 (from -r requirements.txt (line 2)) (1.2.1)
Installing collected packages: scapy
  The script scapy is installed in '/home/pi/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed scapy-2.5.0

echo $PATH is Ok following a export PATH=$PATH:/home/pi/.local/bin
scapy is there:

$ pip list | grep scapy
scapy             2.5.0

however it doesn't work

$ sudo python dnswatch.py -i eth0 -k 192.168.6.191 -o dns_results.txt
Traceback (most recent call last):
  File "dnswatch.py", line 6, in <module>
    from scapy.all import *
ImportError: No module named scapy.all

many thanks for your help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.