Giter Club home page Giter Club logo

Comments (3)

ronaldoafonso avatar ronaldoafonso commented on May 22, 2024 1

Ok @v-byte-cpu , I got it.

Thanks very much for your answer.

I'm just experimenting "sx" and I'd say that I'm liking it. It seems a very nice tool. :)

from sx.

v-byte-cpu avatar v-byte-cpu commented on May 22, 2024

Hi @ronaldoafonso !

sx had sent ICMP packets for all the subnet I provided in the command line.

yes, sx tries to scan all ip addresses provided in the command line, arp cache file just provides initial information (starting context) that is necessary to perform the scan.

Another thing that I noticed was that for each ICMP packet sent and which the MAC was not listed in the ARP cache, "sx" included the MAC address of the first entry in the ARP cache as the Ethernet frame destination address.

I can guess that 192.168.15.1 address is the default gateway for your network, sx tries to find mac address for a scanned ip address in ARP cache and if it is not present in the cache then sx fallbacks to the mac address of the default gateway. This is why d8:c6:78:1f:bc:90 address is used for packets for all addresses that were not explicitly specified in the arp cache file.

Would like to note that If you want to exclude IPs from the scan you can use --exclude option. Also you can override default gateway MAC address (that is usually detected automatically) using --gwmac option.

P.S. In your case I would just use -f option with arp cache file (if you want to scan only IPs in arp cache file).

from sx.

v-byte-cpu avatar v-byte-cpu commented on May 22, 2024

Thank you for the kind words :)

from sx.

Related Issues (15)

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.