Spencer McIntyre
7fa29c4345
Don't bother with the address type
...
The address is returned in the packed format so it's always a string of
either length 0 (resolution failed), length 4 (IPv4) or length 16
(IPv6).
Anything else is invalid and will actually cause Rex::Socket.addr_ntoa
to throw an error. All meterpreters today return the IP address in one
of those three correct lengths.
2022-11-10 11:13:30 -05:00
Spencer McIntyre
83b3bfa19c
Fix an error when a hostname fails to resolve
2022-11-09 08:49:19 -05:00
OJ
8070074da3
Almost final refactor of how IDs are handled
2020-06-09 08:58:26 +10:00
Jonathan
575072585f
removed shebangs from files within rex
2013-11-07 18:51:59 -05:00
Spencer McIntyre
6c382c8eb7
Return nil on error, and move the module to post/multi.
2013-10-09 16:52:53 -04:00
Meatballs
72155f8e9e
Comment update
2013-09-19 19:46:05 +01:00
Tab Assassin
2e9096d427
Retab changes for PR #1734
2013-09-05 14:59:41 -05:00
Meatballs
6c62463f83
Add ipv6 resolution and remove nix
2013-06-20 22:17:31 +01:00
Meatballs
26479bbe82
Fixup resolve_host
2013-04-14 10:58:51 +01:00
Meatballs
6a7fc70274
Remove length stuff
2013-04-14 10:54:19 +01:00
Meatballs
6bca2b305f
Typo
2013-04-14 10:44:00 +01:00
Meatballs
849b42ffb9
Further tidy
2013-04-14 10:42:15 +01:00
Meatballs
4b4f77eb0f
Finalize
2013-04-14 10:32:56 +01:00
Meatballs
3660ad8c0a
Initial attempt
2013-04-07 23:03:43 +01:00