Scapy and Python Part 1 (HD) - Install, Run, Sniff

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Part 1 of a short tutorial series on using Scapy and Python. This video covers installing, running and sniffing traffic using the Scapy interactive shell. Scapy is installed and run on a Linux Mint virtual machine.
    Scapy Part 2 - Reading PCAPs: • Scapy and Python Part ...
    Scapy Part 3 - Crafting Packets: • Scapy and Python Part ...
    install
    sudo apt-get update
    sudo apt-get install python3-pip
    sudo python3 -m pip install --pre scapy[complete]
    #sniff
    sniff(count=4)
    a = _
    a.summary()
    sniff(count=4, prn=lambda x: x.summary())
    sniff(iface="enp0s3", prn=lambda x: x.summary())
    sniff(count=1, iface="enp0s3", prn=lambda x: x.show())

Комментарии • 32

  • @danscourses
    @danscourses  3 года назад +9

    I tried to increase the color contrast and the video resolution so the commands are easier to see... I think it helps a little.

    • @65gtotrips
      @65gtotrips 3 года назад +3

      Aww man...Thanks, you didn’t have to redo it...I was just saying for next time...but again, your instruction is A+ 👌

  • @Brenir1
    @Brenir1 3 года назад +3

    Thanks for sharing that! Looking forward to see the next part.

  • @MrRobot222
    @MrRobot222 3 года назад

    Great video, thank you. By the way, the PDU of Transport Layer is called a Segment.

    • @ianeyre7162
      @ianeyre7162 2 года назад +1

      TCP segments and UDP data grams.

  • @PolitoPotatoes
    @PolitoPotatoes 7 месяцев назад

    Thank you!

  • @shaddy7996
    @shaddy7996 3 года назад

    Wow thanks dan we are currently have to make a network scanner in python using scapy thanks for sharing:)

  • @OT_ICS_Cybersecurity
    @OT_ICS_Cybersecurity 2 года назад

    Sir thanks a lot for the amazing explination

  • @МартинХристев
    @МартинХристев 3 года назад +1

    Hello, I am getting an error when I run sniff(count=4) - [Errno 97] Address family not supported by protocol". Do you know when can cause the issue?

  • @dawidvanstraaten
    @dawidvanstraaten 3 года назад +2

    Thanks @danscourses this is amazing! Nobody ever gives a good scapy introduction. Thank you!

  • @ktbscene
    @ktbscene Год назад

    hi, I downloaded scapy last night and everything was okay until I decided that I wanted to install something else as well andit required scapy so I tried doing it today and scapy said FileNotFoundError: [Errno 2] No such file or directory: 'tcpdump' please help.

  • @65gtotrips
    @65gtotrips 3 года назад

    WOW, that’s waaay better❗️

  • @ThisCanNotBTheFuture
    @ThisCanNotBTheFuture 3 года назад

    (4:40) How does your computer send the first request for a TCP handshake **before** it got an answer to the DNS request? How would it know where to send the TCP packet??

  • @motiondesign2501
    @motiondesign2501 3 года назад +1

    Hi dan i have question about IPVSEC TONNEL what is the commandé mean and why the configuration it complicated

    • @danscourses
      @danscourses  3 года назад +1

      IPsec Tunnels have a lot of configuration settings because there are a lot of protocols and encryption schemes involved so using the command line there are a lot of steps. Using a GUI interface and an IPsec VPN tunnel wizard makes it easier because it steps you through the configurations. Cisco has developed new technologies like DMVPN and I forget the other one, which make deploying VPN tunnels quicker and easier to setup.

    • @motiondesign2501
      @motiondesign2501 3 года назад

      @@danscourses thanks i lot ple if you can show us tutorial vidéo about GUI VPN (example short vidéo i Will appreciate )

  • @nitinkeshri7156
    @nitinkeshri7156 Год назад

    i an getting permission error
    while running sniff(count=4)

  • @tinsaeanteneh7673
    @tinsaeanteneh7673 2 года назад

    can you make more life 1hour course
    lot of people want course for scapy
    some people know the basics and they
    want to master it !! also good!

  • @emekanwankwo5728
    @emekanwankwo5728 3 года назад

    Hi, can I use scapy in python 3 to program a Signature based IDS

  • @mariamtermos7304
    @mariamtermos7304 3 года назад

    how can we spoof ip? and how do we import scapy to spyder IDE?

  • @publicpariah6393
    @publicpariah6393 2 года назад

    Would u be willing to do some tutorials on RATS

  • @שרוןזהבי-ק5מ
    @שרוןזהבי-ק5מ Год назад

    the first one is not the cmd?

    • @rxckblx
      @rxckblx Год назад

      its shell from kali linux

  • @65gtotrips
    @65gtotrips 3 года назад

    Van-Damme really said that ? I must’ve missed that movie 😄

  • @kevinm-wy7ii
    @kevinm-wy7ii 3 года назад

    This is very good 👍🏻👍🏿 please do a deep dive n do cool stuff w/ it

  • @ace3215
    @ace3215 3 года назад

    how do we log our sniffing to a text file though?

  • @ninhanghohai7317
    @ninhanghohai7317 3 года назад

    Great video Dan 👌🏿

  • @moltebin
    @moltebin Год назад

    Thank You mr.Dan

  • @plushplush7635
    @plushplush7635 2 года назад

    awesome