-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ifconfig only grabs 4 attributes #28
Comments
This would be a great addition. Also, in the current package the |
This is an issue for me as well. Going to try and follow @dkran 's info so I can get the ip addresses. But if there are better regex expressions I should be using, then that would be great too. super easy to edit the source and change the matches. |
I know this is an old thread, but i just created #56 which allows for a simple |
Hi, on my system (kali / debian), ifconfig only gets 5 attributes:
interface
broadcast
multicast
running
up
I'd like to submit a pull request to fix them, but I wanted to know if you would consider it and if you're looking for help. For example, on your
match
foripv4_address
, you useinet addr
. For this release and ifconfig, it uses simplyinet
for ipv4 andinet6
for ipv6.For MAC address, it uses
ether
(I know it kind of seems unrelated) instead ofHWaddr
. Right now in my app I'm using other modules and joining the objects together, but I'd like to simplify. Plus Kali linux is a great use for your module, the control would be great!If you're looking for help, I could probably either modify the regexp or throw a couple 'or's in there
Forgot to mention, AWESOME module!
The text was updated successfully, but these errors were encountered: