mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
e5f645d771
commit
f9489a8d4e
3 changed files with 22 additions and 5 deletions
|
@ -4,6 +4,7 @@ import (
|
|||
"github.com/bettercap/bettercap/core"
|
||||
)
|
||||
|
||||
// Hi, i'm Android and my mum said I'm special.
|
||||
func FindGateway(iface *Endpoint) (*Endpoint, error) {
|
||||
output, err := core.Exec("getprop", []string{"net.dns1"})
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue