outifname target
Returns the name of the outgoing interface to reach target.
NOTE: This command requires hpingstdlib.htcl.
The interface returned will match at least one of the interfaces returned with hping iflist.
Example hping3> source hpingstdlib.htcl
hping3> outifname www.google.com
eth0
As you can see, the interface eth0 is the interface that accessed the target, www.google.com.
See also, hping outifa.
|