pwnfoo / NTLMRecon

Enumerate information from NTLM authentication enabled web endpoints 🔎
MIT License
467 stars 68 forks source link

iptools python library issue #3

Closed thatonesecguy closed 4 years ago

thatonesecguy commented 4 years ago

In iptools.IpRangeList, I can initialize the IpRange in the following way by providing a CIDR: internalIP = iptools.IpRangeList('127.0.0.1/8')

But when I need to append a single IP in the IpRangeList, I'm unable to. Is there some way I can fix this, cuz the module that I'm designing, works on a single IP. As a result, it would be meaningless to send you a pull request without fixing this.

pwnfoo commented 4 years ago

How about 127.0.0.1/32?

IpRangeList() expects a CIDR block.

thatonesecguy commented 4 years ago

/32 works. So, every time I test an IP, I need to find the mask as well?