Updated README examples

This commit is contained in:
Daniel Dayley 2020-10-12 18:27:38 -06:00
parent f209948b00
commit aafc612d5e
2 changed files with 9 additions and 1 deletions

7
README
View File

@ -42,7 +42,7 @@ optional arguments:
-gc, --guid_channels Return working channels for GUID
-d, --dns Return DNS resolution about the subject (dns)
-cms, --channel Return CMS channel info about the subject (cms)
-vm, --vm Return DNS resolution about the subject (dns)
-vm, --vm Return VMWare information about the subject (vmware)
-r, --vpn Return VPN information about the subject (openvpn)
-w, --wifi Return wireless connection information about the subject (aruba)
-s, --shodan Return Shodan information about the subject (dns)
@ -107,6 +107,11 @@ To find the email addresses of all LDAP users whose username starts with 'daniel
```sh
ifxlookup -l daniel -f '*.ldap.*.mail[0]'
```
To find the operating systems installed on all VM's with 'ifxes' in the name:
```sh
ifxlookup --vm ifxes -f "*.vmware[*].guest.full_name.default_message"
```
----
## Library Documentation

View File

@ -28,6 +28,9 @@ examples:
To find the email addresses of all LDAP users whose username starts with 'daniel':
ifxlookup -l daniel -f '*.ldap.*.mail[0]'
To find the operating systems installed on all VM's with 'ifxes' in the name:
ifxlookup --vm ifxes -f '*.vmware[*].guest.full_name.default_message'
"""
if __name__ == '__main__':