mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 18:57:17 -07:00
balls
This commit is contained in:
parent
3ab433bbdb
commit
7a62807e9d
1 changed files with 5 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue