rcvaram / BNS-scanner

This is basic network scanner that can scan the all devices which are in the connected network and give their ip address and mac address and os version.
Apache License 2.0
20 stars 7 forks source link

Feature/show os name #3

Closed ahmadsyafrudin closed 4 years ago

ahmadsyafrudin commented 4 years ago

we can use scapy nmap_fp to "guess" operating system by ip address that we scan. we can use pretty table to make dynamic table size. please review this Pull Request. This Pull Request is for issue number #1

example

Thank you.

rcvaram commented 4 years ago

I will not have a plan to include any dependencies other than scapy. I have to get the OS version from the basic not from the nmap. I knew that was easier however This application will not be depend on the nmap

ahmadsyafrudin commented 4 years ago

Ok. I'll try to rework untill met with your requirement.

rcvaram commented 4 years ago

Yeah sure,

ahmadsyafrudin commented 4 years ago

all

I already remove dependencies other than scapy. This is explanation where we get Operating System Information like showed on the picture above.

Windows and Linux/Unix operating systems have different TTL starting values that are used by default. This factor can be used to attempt to fingerprint the type of operating system with which you are communicating. These values are summarized in the following table:

Operating system Standard TTL value
Microsoft Windows OS 128
Linux/Unix OS 64

@cvaram96 kindly review this Pull request. Thank you issue #1

ahmadsyafrudin commented 4 years ago

Yeah sure. Thank you

rcvaram commented 4 years ago

Can you tell your medium user name, I can tag you there, Good work

ahmadsyafrudin commented 4 years ago

no problem,happy to help. @cvaram96 my medium .