mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 18:57:17 -07:00
fix android Shell command function
This commit is contained in:
parent
83d3158a00
commit
3bbd402aae
1 changed files with 7 additions and 0 deletions
7
core/core_android.go
Normal file
7
core/core_android.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
// +build android
|
||||
|
||||
package core
|
||||
|
||||
func Shell(cmd string) (string, error) {
|
||||
return Exec("/system/bin/sh", []string{"-c", cmd})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue