1588, 80/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   ÇØÅ·ÀßÇÏ°í½Í´Ù
   http://¾øÀ½
   netdiscover ÆÄÀ̽ãÀ¸·Î ±¸ÇöÇϱâ

http://www.hackerschool.org/HS_Boards/zboard.php?id=Free_Lectures&no=8582 [º¹»ç]


from scapy.all import ARP, Ether, srp, get_if_list

def scan_network(interface, ip_range):
    print(f"Scanning network on interface {interface} for IP range {ip_range}")

    arp = ARP(pdst=ip_range)
    ether = Ether(dst="ff:ff:ff:ff:ff:ff")
    packet = ether/arp

    # ÆÐŶ Àü¼Û ¹× ÀÀ´ä ¼ö½Å
    result = srp(packet, iface=interface, timeout=3, verbose=False)[0]

    devices = []
    for sent, received in result:
        devices.append({'ip': received.psrc, 'mac': received.hwsrc})

    print("IP Address\t\tMAC Address")
    print("-----------------------------------------")
    for device in devices:
        print(f"{device['ip']}\t\t{device['mac']}")

if __name__ == "__main__":
    interfaces = get_if_list()
    print("Available interfaces:")
    for i, iface in enumerate(interfaces):
        print(f"{i}: {iface}")

    # ¿Ã¹Ù¸¥ ³×Æ®¿öÅ© ÀÎÅÍÆäÀ̽º À̸§ ¼±ÅÃ
    # ¿¹¸¦ µé¾î, 'Ethernet' ¶Ç´Â 'Wi-Fi'
    interface = 'Ethernet'  # ½ÇÁ¦ ³×Æ®¿öÅ© ÀÎÅÍÆäÀ̽º À̸§À¸·Î º¯°æ
    ip_range = "192.168.56.1/24"







netdiscover¶õ ÀÚ½ÅÀÌ ¼ÓÇÑ ³×Æ®¿öÅ©ÀÇ ¿¬°áµÇ¾î ÀÖ´Â

½Ã½ºÅÛÀ» ½ºÄµÇÏ°í Ãâ·ÂÇÏ´Â ÇØÅ· ÇÁ·Î±×·¥ÀÌ´Ù.

ÇÏÁö¸¸ ±âÁ¸ÀÇ Ä®¸® ¸®´ª½ºÀÇ netdiscover¸¦ »ç¿ëÇÏ´Â°Ô ´õ Æí¸®ÇÑ °Í °°´Ù.

°øºÎ»ï¾Æ ÀÛ¼ºÇÑ °ÍÀε¥ ¾÷·Îµå¸¦ Çß´Ù.

  Hit : 284     Date : 2024/08/13 05:20



    
8   ¸®´ª½º/À©µµ¿ì º¸¾È Àåºñ ·Î±×     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 643
7   ¸®´ª½º À¥ ·Î±× ºÐ¼®     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 521
6   ÆÄÀ̽㠼ÒÄÏ ÇÁ·Î±×·¡¹ÖÀÇ ±âÃÊ     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/26 715
5   ÆÄÀ̽ã äÆà ÇÁ·Î±×·¥ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/28 672
4   ÆÄÀ̽ã random¸ðµâÀ» ÀÌ¿ëÇÑ ¼ýÀÚ¸ÂÃ߱⠰ÔÀÓ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/30 767
3   ÆÄÀ̽ãÀ» ÀÌ¿ëÇÑ ½ÉÇà À¥ Å©·Ñ·¯     ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 220
  netdiscover ÆÄÀ̽ãÀ¸·Î ±¸ÇöÇϱ⠠   ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 283
     [°øÁö] °­Á¸¦ ¿Ã¸®½Ç ¶§´Â ¸»¸Ó¸®¸¦ ´Þ¾ÆÁÖ¼¼¿ä^¤Ñ^ [29] ¸Û¸Û 02/27 19312
[1]..[71][72][73][74][75][76][77][78][79] 80

Copyright 1999-2024 Zeroboard / skin by Hackerschool.org / Secure Patch by Hackerschool.org