mirror of
https://github.com/bettercap/bettercap.git
synced 2025-03-12 04:36:03 -07:00
balls
This commit is contained in:
parent
3ab433bbdb
commit
7a62807e9d
6
main.go
6
main.go
@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/evilsocket/bettercap-ng/core"
|
||||
@ -63,7 +64,10 @@ func main() {
|
||||
for sess.Active {
|
||||
line, err := sess.ReadLine()
|
||||
if err != nil {
|
||||
log.Fatal("WOOT %s", err)
|
||||
if err == io.EOF {
|
||||
continue
|
||||
}
|
||||
log.Fatal("%s", err)
|
||||
}
|
||||
|
||||
for _, cmd := range session.ParseCommands(line) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user