Comments (7)
Which OS? Also, could you please provide the output of active
, get *
and net.show
commands?
from bettercap.
OS: Ubuntu 16.04
active
192.168.1.0/24 > 192.168.1.28 » active
arp.spoof (Keep spoofing selected hosts on the network.)arp.spoof.targets : 192.168.1.24
dns.spoof (Replies to DNS messages with spoofed responses.)
dns.spoof.address : <interface address> dns.spoof.domains : *
events.stream (Print events as a continuous stream.)
events.stream.filter : *
http.proxy (A full featured HTTP proxy that can be used to inject malicious contents into webpages, all HTTP traffic will be redirected to it.)
http.port : 80 http.proxy.address : <interface address> http.proxy.port : 8080 http.proxy.script :
https.proxy (A full featured HTTPS proxy that can be used to inject malicious contents into webpages, all HTTPS traffic will be redirected to it.)
https.port : 443 https.proxy.address : <interface address> https.proxy.port : 8083
https.proxy.certificate : ~/.bettercap-ca.cert.pem
https.proxy.key : ~/.bettercap-ca.key.pem
https.proxy.script :
get *
$: '{by}{fw}{cidr} {fb}> {env.iface.ipv4} {reset} {bold}» {reset}' api.rest.address: '<interface address>' api.rest.certificate: '~/.bcap-api.rest.certificate.pem' api.rest.key: '~/.bcap-api.rest.key.pem' api.rest.password: '' api.rest.port: '8083' api.rest.username: '' arp.spoof.targets: '192.168.1.24' dhcp6.spoof.address: '<interface address>' dhcp6.spoof.domains: 'microsoft.com, goole.com, facebook.com, apple.com, twitter.com' dns.spoof.address: '<interface address>' dns.spoof.domains: '*' events.stream.filter: '*' gateway.address: '192.168.1.1' gateway.mac: '90:8d:XX:XX:XX:XX' http.port: '80' http.proxy.address: '<interface address>' http.proxy.port: '8080' http.proxy.script: '' http.server.address: '<interface address>' http.server.path: '.' http.server.port: '80' https.port: '443' https.proxy.address: '<interface address>'
https.proxy.certificate: '
/.bettercap-ca.cert.pem'/.bettercap-ca.key.pem'
https.proxy.key: '
https.proxy.port: '8083'
https.proxy.script: ''iface.ipv4: '192.168.1.28' iface.ipv6: 'fe80::2b66:57de:1e20:ebf' iface.mac: 'e0:06:XX:XX:XX:XX' iface.name: 'wlan0' net.probe.throttle: '10' net.sniff.filter: 'not arp' net.sniff.local: 'false' net.sniff.output: '' net.sniff.regexp: '' net.sniff.verbose: 'true'
net.show
+-----------+-------+--------------+-------------------+----------------------------+
| interface | wlan0 | 192.168.1.28 | e0:06:XX:XX:XX:XX | Hon Hai Precision Ind. |
| | | | | Co. |
| gateway | | 192.168.1.1 | 90:8d:XX:XX:XX:XX | D-Link International |
+-----------+-------+--------------+-------------------+----------------------------++---------------+-------------------+--------------------+-----------------------------------+--------+--------+-----------+
| IP | MAC | HOSTNAME | VENDOR | SENT | RECVD | LAST SEEN |
+---------------+-------------------+--------------------+-----------------------------------+--------+--------+-----------+
| 192.168.1.7 | b8:ee:65:XX:XX:XX | | Liteon Technology | 1.9 kB | 0 B | 20:34:55 |
| 192.168.1.8 | 6c:62:XX:XX:XX:XX | test.example.com. | Micro-Star INT'L CO. | 207 B | 0 B | 20:32:32 |
| 192.168.1.14 | 90:fb:a6:XX:XX:XX | | Hon Hai Precision Ind. Co. | 547 B | 0 B | 20:33:39 |
| 192.168.1.15 | 1c:6f:65:XX:XX:XX | | Giga-byte Technology Co. | 240 B | 0 B | 20:27:40 |
| 192.168.1.16 | 00:e0:4a:XX:XX:XX | | ZX Technologies | 300 B | 0 B | 20:36:38 |
| 192.168.1.101 | 00:17:XX:XX:XX:XX | | Smartlink Network Systems Limited | 3.3 kB | 1.2 kB | 20:35:39 |
+---------------+-------------------+--------------------+-----------------------------------+--------+--------+-----------++-------+---------+-----------+--------+
| SENT | SNIFFED | # PACKETS | ERRORS |
+-------+---------+-----------+--------+
| 844 B | 5.6 MB | 15034 | 0 |
+-------+---------+-----------+--------++--------------+------------------------------------------------------------------------------+
| PROTO | # PACKETS |
+--------------+------------------------------------------------------------------------------+
| IPv4 | ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 14823 |
| TCP | ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 14386 |
| UDP | ▇ 376 |
| DNS | 178 |
| ARP | 160 |
| IGMP | 75 |
| IPv6 | 51 |
| NTP | 49 |
| ICMPv6 | 37 |
| IPv6HopByHop | 2 |
+--------------+------------------------------------------------------------------------------+
from bettercap.
Mmmm I don't see the 192.168.1.24
endpoint in the net.show
output, which means the software did not discover its mac address yet and can not spoof it. Is this host alive on the network? Can you enable net.recon on
and net.probe on
to discover it? Also you might want to set the proxy scripts in order to actually do something with the http and https requests :)
from bettercap.
Ahh. net.recon on
and net.probe on
did the trick :)
Although - crashed with runtime: goroutine stack exceeds 1000000000-byte limit
same issue referred here in #20
Will try with the proxy scripts - Thanks! 👍
from bettercap.
Did you pull the latest version? That bug is supposed to be fixed, if not, please would you mind attaching the stack trace here?
from bettercap.
Yes, pulled 2 hours ago.
Here's the stack trace:
192.168.0.0/24 > 192.168.0.104 » runtime: goroutine stack exceeds 1000000000-byte limit
fatal error: stack overflowruntime stack:
runtime.throw(0xca77b5, 0xe)
/usr/local/go/src/runtime/panic.go:605 +0x95
runtime.newstack(0x0)
/usr/local/go/src/runtime/stack.go:1050 +0x6e1
runtime.morestack()
/usr/local/go/src/runtime/asm_amd64.s:415 +0x86goroutine 187 [running]:
runtime.mallocgc(0x50, 0xc22b80, 0x1, 0x0)
/usr/local/go/src/runtime/malloc.go:581 +0x8af fp=0xc440930398 sp=0xc440930390 pc=0x4142bf
runtime.newobject(0xc22b80, 0x0)
/usr/local/go/src/runtime/malloc.go:840 +0x38 fp=0xc4409303c8 sp=0xc440930398 pc=0x414448
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:100 +0x90 fp=0xc440930550 sp=0xc4409303c8 pc=0x9d54a0
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440930588 sp=0xc440930550 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc4409305b0 sp=0xc440930588 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440930738 sp=0xc4409305b0 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440930770 sp=0xc440930738 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440930798 sp=0xc440930770 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440930920 sp=0xc440930798 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440930958 sp=0xc440930920 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440930980 sp=0xc440930958 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440930b08 sp=0xc440930980 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440930b40 sp=0xc440930b08 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440930b68 sp=0xc440930b40 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440930cf0 sp=0xc440930b68 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440930d28 sp=0xc440930cf0 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440930d50 sp=0xc440930d28 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440930ed8 sp=0xc440930d50 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440930f10 sp=0xc440930ed8 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440930f38 sp=0xc440930f10 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc4409310c0 sp=0xc440930f38 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc4409310f8 sp=0xc4409310c0 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440931120 sp=0xc4409310f8 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc4409312a8 sp=0xc440931120 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc4409312e0 sp=0xc4409312a8 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440931308 sp=0xc4409312e0 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440931490 sp=0xc440931308 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc4409314c8 sp=0xc440931490 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc4409314f0 sp=0xc4409314c8 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440931678 sp=0xc4409314f0 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc4409316b0 sp=0xc440931678 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc4409316d8 sp=0xc4409316b0 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440931860 sp=0xc4409316d8 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440931898 sp=0xc440931860 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc4409318c0 sp=0xc440931898 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440931a48 sp=0xc4409318c0 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440931a80 sp=0xc440931a48 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440931aa8 sp=0xc440931a80 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440931c30 sp=0xc440931aa8 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440931c68 sp=0xc440931c30 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440931c90 sp=0xc440931c68 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440931e18 sp=0xc440931c90 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440931e50 sp=0xc440931e18 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440931e78 sp=0xc440931e50 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440932000 sp=0xc440931e78 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440932038 sp=0xc440932000 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440932060 sp=0xc440932038 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc4409321e8 sp=0xc440932060 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440932220 sp=0xc4409321e8 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440932248 sp=0xc440932220 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc4409323d0 sp=0xc440932248 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440932408 sp=0xc4409323d0 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440932430 sp=0xc440932408 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc4409325b8 sp=0xc440932430 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc4409325f0 sp=0xc4409325b8 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440932618 sp=0xc4409325f0 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc4409327a0 sp=0xc440932618 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc4409327d8 sp=0xc4409327a0 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440932800 sp=0xc4409327d8 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440932988 sp=0xc440932800 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc4409329c0 sp=0xc440932988 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc4409329e8 sp=0xc4409329c0 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440932b70 sp=0xc4409329e8 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440932ba8 sp=0xc440932b70 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440932bd0 sp=0xc440932ba8 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440932d58 sp=0xc440932bd0 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440932d90 sp=0xc440932d58 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440932db8 sp=0xc440932d90 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440932f40 sp=0xc440932db8 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440932f78 sp=0xc440932f40 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440932fa0 sp=0xc440932f78 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440933128 sp=0xc440932fa0 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440933160 sp=0xc440933128 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440933188 sp=0xc440933160 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440933310 sp=0xc440933188 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440933348 sp=0xc440933310 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440933370 sp=0xc440933348 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc4409334f8 sp=0xc440933370 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440933530 sp=0xc4409334f8 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440933558 sp=0xc440933530 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc4409336e0 sp=0xc440933558 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440933718 sp=0xc4409336e0 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440933740 sp=0xc440933718 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc4409338c8 sp=0xc440933740 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440933900 sp=0xc4409338c8 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440933928 sp=0xc440933900 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440933ab0 sp=0xc440933928 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440933ae8 sp=0xc440933ab0 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440933b10 sp=0xc440933ae8 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440933c98 sp=0xc440933b10 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440933cd0 sp=0xc440933c98 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440933cf8 sp=0xc440933cd0 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440933e80 sp=0xc440933cf8 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440933eb8 sp=0xc440933e80 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc440933ee0 sp=0xc440933eb8 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440934068 sp=0xc440933ee0 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc4409340a0 sp=0xc440934068 pc=0xad7fa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/usr/local/go/src/net/http/server.go:1918 +0x44 fp=0xc4409340c8 sp=0xc4409340a0 pc=0x754214
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43 fp=0xc440934250 sp=0xc4409340c8 pc=0x9d5e53
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a60e0, 0xc42068c100)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1 fp=0xc440934288 sp=0xc440934250 pc=0xad7fa1
...additional frames elided...
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2720 +0x288goroutine 1 [select]:
github.com/chzyer/readline.(*Operation).Runes(0xc4200909a0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/cw/go/src/github.com/chzyer/readline/operation.go:390 +0x208
github.com/chzyer/readline.(*Operation).String(0xc4200909a0, 0x63b1a1, 0xc420221e60, 0xc4208803c0, 0x42)
/home/cw/go/src/github.com/chzyer/readline/operation.go:375 +0x2b
github.com/chzyer/readline.(*Instance).Readline(0xc420221e60, 0xc4206785c0, 0xe, 0x0, 0x0)
/home/cw/go/src/github.com/chzyer/readline/readline.go:255 +0x2f
github.com/evilsocket/bettercap-ng/session.(*Session).ReadLine(0xc4202c20c0, 0xc4206785c0, 0xe, 0x0, 0x0)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/session/session.go:287 +0x3d
main.main()
/home/cw/go/src/github.com/evilsocket/bettercap-ng/main.go:63 +0x93bgoroutine 5 [syscall, 2 minutes]:
os/signal.signal_recv(0x132ba80)
/usr/local/go/src/runtime/sigqueue.go:131 +0xa6
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:28 +0x41goroutine 7 [chan receive]:
github.com/evilsocket/bettercap-ng/packets.(*Queue).worker(0xc420260240)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/packets/queue.go:73 +0x3fa
created by github.com/evilsocket/bettercap-ng/packets.NewQueue
/home/cw/go/src/github.com/evilsocket/bettercap-ng/packets/queue.go:67 +0x2ebgoroutine 34 [syscall, locked to thread]:
github.com/google/gopacket/pcap._Cfunc_pcap_next_ex_escaping(0x1fa3910, 0xc42024e4f0, 0xc42024e4f8, 0x0)
github.com/google/gopacket/pcap/_obj/_cgo_gotypes.go:452 +0x4d
github.com/google/gopacket/pcap.(*Handle).getNextBufPtrLocked.func1(0x1fa3910, 0xc42024e4f0, 0xc42024e4f8, 0xc420094140)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap.go:387 +0x74
github.com/google/gopacket/pcap.(*Handle).getNextBufPtrLocked(0xc42024e4b0, 0xc42041eeb0, 0x3013364e1, 0x8)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap.go:387 +0x8c
github.com/google/gopacket/pcap.(*Handle).ReadPacketData(0xc42024e4b0, 0x407750, 0xc42005c118, 0xc42029dad0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap.go:324 +0x77
github.com/google/gopacket.(*PacketSource).NextPacket(0xc420244060, 0xc42041efb8, 0xc420094140, 0x0, 0x0)
/home/cw/go/src/github.com/google/gopacket/packet.go:795 +0x6a
github.com/google/gopacket.(*PacketSource).packetsToChannel(0xc420244060)
/home/cw/go/src/github.com/google/gopacket/packet.go:812 +0x5d
created by github.com/google/gopacket.(*PacketSource).Packets
/home/cw/go/src/github.com/google/gopacket/packet.go:835 +0x99goroutine 212 [runnable]:
net/url.escape(0xc420488240, 0x12, 0x3, 0x2, 0x0)
/usr/local/go/src/net/url/url.go:274 +0x335
net/url.(*URL).String(0xc42038a000, 0xc4209b3c70, 0x0)
/usr/local/go/src/net/url/url.go:735 +0x341
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:103 +0xed
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
net/http.HandlerFunc.ServeHTTP(0xc420251e00, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/elazarl/goproxy.(*ProxyHttpServer).ServeHTTP(0xc420246580, 0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/elazarl/goproxy/proxy.go:105 +0xa43
github.com/evilsocket/bettercap-ng/modules.NewHTTPProxy.func1(0x132dec0, 0xc4202a6540, 0xc42068c700)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:64 +0xa1
...additional frames elided...
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2720 +0x288goroutine 59 [runnable, locked to thread]:
github.com/google/gopacket/pcap._Cfunc_pcap_wait(0x7fd7740009f0, 0x7fd7000026ac, 0x0)
github.com/google/gopacket/pcap/_obj/_cgo_gotypes.go:763 +0x4d
github.com/google/gopacket/pcap.(*Handle).waitForPacket.func1(0x7fd7740009f0, 0x26ac, 0x0)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap_unix.go:68 +0x68
github.com/google/gopacket/pcap.(*Handle).waitForPacket(0xc42007c550)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap_unix.go:70 +0x75
github.com/google/gopacket/pcap.(*Handle).getNextBufPtrLocked(0xc42007c550, 0xc42041deb0, 0xc42041de40, 0x458330)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap.go:416 +0x51
github.com/google/gopacket/pcap.(*Handle).ReadPacketData(0xc42007c550, 0x4077b8, 0xc4204247e0, 0xc420424840, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap.go:324 +0x77
github.com/google/gopacket.(*PacketSource).NextPacket(0xc4203c8a50, 0xc42041dfb8, 0xc420662780, 0x0, 0x0)
/home/cw/go/src/github.com/google/gopacket/packet.go:795 +0x6a
github.com/google/gopacket.(*PacketSource).packetsToChannel(0xc4203c8a50)
/home/cw/go/src/github.com/google/gopacket/packet.go:812 +0x5d
created by github.com/google/gopacket.(*PacketSource).Packets
/home/cw/go/src/github.com/google/gopacket/packet.go:835 +0x99goroutine 11 [syscall]:
syscall.Syscall(0x0, 0x0, 0xc42043e000, 0x1000, 0xc4203a9b18, 0xcccc18, 0xc420260ee8)
/usr/local/go/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x0, 0xc42043e000, 0x1000, 0x1000, 0xc420423d01, 0x0, 0x0)
/usr/local/go/src/syscall/zsyscall_linux_amd64.go:756 +0x55
syscall.Read(0x0, 0xc42043e000, 0x1000, 0x1000, 0x2, 0xc420423f44, 0x2)
/usr/local/go/src/syscall/syscall_unix.go:162 +0x49
internal/poll.(*FD).Read(0xc42007c000, 0xc42043e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:122 +0x125
os.(*File).read(0xc42000e010, 0xc42043e000, 0x1000, 0x1000, 0x2, 0x2, 0xc420423e68)
/usr/local/go/src/os/file_unix.go:216 +0x4e
os.(*File).Read(0xc42000e010, 0xc42043e000, 0x1000, 0x1000, 0x1, 0x0, 0x0)
/usr/local/go/src/os/file.go:103 +0x6d
github.com/chzyer/readline.(*CancelableStdin).ioloop(0xc4202603c0)
/home/cw/go/src/github.com/chzyer/readline/std.go:95 +0x12c
created by github.com/chzyer/readline.NewCancelableStdin
/home/cw/go/src/github.com/chzyer/readline/std.go:86 +0xe7goroutine 12 [semacquire, 5 minutes]:
sync.runtime_notifyListWait(0xc4202c21c0, 0xc400000000)
/usr/local/go/src/runtime/sema.go:507 +0x110
sync.(*Cond).Wait(0xc4202c21b0)
/usr/local/go/src/sync/cond.go:56 +0x80
io.(*pipe).read(0xc4202c2180, 0xc42043c000, 0x64, 0x64, 0x0, 0x0, 0x0)
/usr/local/go/src/io/pipe.go:47 +0xc6
io.(*PipeReader).Read(0xc42024c090, 0xc42043c000, 0x64, 0x64, 0x64, 0x64, 0x0)
/usr/local/go/src/io/pipe.go:130 +0x4c
github.com/chzyer/readline.(*FillableStdin).ioloop.func1(0xc42024e7d0)
/home/cw/go/src/github.com/chzyer/readline/std.go:161 +0x93
created by github.com/chzyer/readline.(*FillableStdin).ioloop
/home/cw/go/src/github.com/chzyer/readline/std.go:157 +0x3fgoroutine 13 [select]:
github.com/chzyer/readline.(*CancelableStdin).Read(0xc4202603c0, 0xc42043e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/cw/go/src/github.com/chzyer/readline/std.go:120 +0x2a5
github.com/chzyer/readline.(*FillableStdin).Read(0xc42024e7d0, 0xc42043e000, 0x1000, 0x1000, 0x1, 0x0, 0x0)
/home/cw/go/src/github.com/chzyer/readline/std.go:190 +0x154
bufio.(*Reader).fill(0xc420034ef0)
/usr/local/go/src/bufio/bufio.go:97 +0x11a
bufio.(*Reader).ReadRune(0xc420034ef0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:270 +0x2c
github.com/chzyer/readline.(*Terminal).ioloop(0xc42024e820)
/home/cw/go/src/github.com/chzyer/readline/terminal.go:143 +0x121
created by github.com/chzyer/readline.NewTerminal
/home/cw/go/src/github.com/chzyer/readline/terminal.go:38 +0x160goroutine 14 [select, 5 minutes, locked to thread]:
runtime.gopark(0xccd478, 0x0, 0xc969c5, 0x6, 0x18, 0x1)
/usr/local/go/src/runtime/proc.go:287 +0x12c
runtime.selectgo(0xc420035f50, 0xc4202da9c0)
/usr/local/go/src/runtime/select.go:395 +0x1149
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal_unix.go:511 +0x220
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1goroutine 15 [chan receive, 2 minutes]:
github.com/chzyer/readline.DefaultOnWidthChanged.func1.1(0xc4202604e0)
/home/cw/go/src/github.com/chzyer/readline/utils_unix.go:75 +0x55
created by github.com/chzyer/readline.DefaultOnWidthChanged.func1
/home/cw/go/src/github.com/chzyer/readline/utils_unix.go:73 +0xb5goroutine 16 [chan receive, 1 minutes]:
github.com/chzyer/readline.(*Terminal).ReadRune(...)
/home/cw/go/src/github.com/chzyer/readline/terminal.go:100
github.com/chzyer/readline.(*Operation).ioloop(0xc4200909a0)
/home/cw/go/src/github.com/chzyer/readline/operation.go:111 +0x55
created by github.com/chzyer/readline.NewOperation
/home/cw/go/src/github.com/chzyer/readline/operation.go:88 +0x34dgoroutine 50 [chan receive, 5 minutes]:
github.com/evilsocket/bettercap-ng/session.(*Session).Start.func2(0xc420260600, 0xc4202c20c0)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/session/session.go:247 +0x38
created by github.com/evilsocket/bettercap-ng/session.(*Session).Start
/home/cw/go/src/github.com/evilsocket/bettercap-ng/session/session.go:246 +0x816goroutine 51 [chan receive]:
github.com/evilsocket/bettercap-ng/session.(*Session).Start.func3(0xc4202c20c0)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/session/session.go:258 +0x8f
created by github.com/evilsocket/bettercap-ng/session.(*Session).Start
/home/cw/go/src/github.com/evilsocket/bettercap-ng/session/session.go:257 +0x83fgoroutine 52 [select]:
github.com/evilsocket/bettercap-ng/modules.(*EventsStream).Start.func1(0xc420261200)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/events_stream.go:83 +0x15b
created by github.com/evilsocket/bettercap-ng/modules.(*EventsStream).Start
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/events_stream.go:80 +0xa4goroutine 49 [IO wait]:
internal/poll.runtime_pollWait(0x7fd7954def70, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42066e298, 0x72, 0xc420039c00, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xae
internal/poll.(*pollDesc).waitRead(0xc42066e298, 0xffffffffffffff00, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc42066e280, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:335 +0x1e2
net.(*netFD).accept(0xc42066e280, 0xccd520, 0xc420039df0, 0x404b4b)
/usr/local/go/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc42024c9c8, 0xb87840, 0xc420039e20, 0x4038d7)
/usr/local/go/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).AcceptTCP(0xc42024c9c8, 0xc420039e68, 0xc420039e70, 0xc420039e60)
/usr/local/go/src/net/tcpsock.go:234 +0x49
net/http.tcpKeepAliveListener.Accept(0xc42024c9c8, 0xccce40, 0xc4202ff720, 0x132ed00, 0xc42083c630)
/usr/local/go/src/net/http/server.go:3120 +0x2f
net/http.(*Server).Serve(0xc4202fbce0, 0x132e680, 0xc42024c9c8, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2695 +0x1b2
net/http.(*Server).ListenAndServe(0xc4202fbce0, 0xc4203ef7b0, 0xc4200b0401)
/usr/local/go/src/net/http/server.go:2636 +0xa9
github.com/evilsocket/bettercap-ng/modules.(*HTTPProxy).httpWorker(0xc4202fbcc0, 0x4f88f9, 0xc4202602a0)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:265 +0x36
github.com/evilsocket/bettercap-ng/modules.(*HTTPProxy).Start.func1(0xc4202fbcc0)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:347 +0xb3
created by github.com/evilsocket/bettercap-ng/modules.(*HTTPProxy).Start
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:341 +0x3fgoroutine 24 [chan receive]:
github.com/evilsocket/bettercap-ng/modules.(*Sniffer).Start.func1(0xc4202615c0)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/net_sniff.go:148 +0x1a6
created by github.com/evilsocket/bettercap-ng/modules.(*Sniffer).Start
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/net_sniff.go:143 +0xa4goroutine 71 [runnable, locked to thread]:
github.com/google/gopacket/pcap._Cfunc_pcap_next_ex_escaping(0x7fd774010fa0, 0xc42007cb30, 0xc42007cb38, 0x0)
github.com/google/gopacket/pcap/_obj/_cgo_gotypes.go:452 +0x4d
github.com/google/gopacket/pcap.(*Handle).getNextBufPtrLocked.func1(0x7fd774010fa0, 0xc42007cb30, 0xc42007cb38, 0xc400000000)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap.go:387 +0x74
github.com/google/gopacket/pcap.(*Handle).getNextBufPtrLocked(0xc42007caf0, 0xc42045feb0, 0xc42045fe40, 0x458330)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap.go:387 +0x8c
github.com/google/gopacket/pcap.(*Handle).ReadPacketData(0xc42007caf0, 0x4077b8, 0xc420260fc0, 0xc42005c480, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/cw/go/src/github.com/google/gopacket/pcap/pcap.go:324 +0x77
github.com/google/gopacket.(*PacketSource).NextPacket(0xc4201e9ce0, 0xc42045ffb8, 0xc420094000, 0x0, 0x0)
/home/cw/go/src/github.com/google/gopacket/packet.go:795 +0x6a
github.com/google/gopacket.(*PacketSource).packetsToChannel(0xc4201e9ce0)
/home/cw/go/src/github.com/google/gopacket/packet.go:812 +0x5d
created by github.com/google/gopacket.(*PacketSource).Packets
/home/cw/go/src/github.com/google/gopacket/packet.go:835 +0x99goroutine 30 [chan receive]:
github.com/evilsocket/bettercap-ng/modules.(*DNSSpoofer).Start.func1(0xc420246500)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/dns_spoof.go:255 +0x149
created by github.com/evilsocket/bettercap-ng/modules.(*DNSSpoofer).Start
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/dns_spoof.go:251 +0xa4goroutine 84 [sleep]:
time.Sleep(0x3b9aca00)
/usr/local/go/src/runtime/time.go:65 +0x130
github.com/evilsocket/bettercap-ng/modules.(*ArpSpoofer).Start.func1(0xc42031a2a0)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/arp_spoof.go:172 +0x15f
created by github.com/evilsocket/bettercap-ng/modules.(*ArpSpoofer).Start
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/arp_spoof.go:164 +0xa4goroutine 205 [IO wait]:
internal/poll.runtime_pollWait(0x7fd7954deeb0, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42038bb18, 0x72, 0xc4204f1d00, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xae
internal/poll.(*pollDesc).waitRead(0xc42038bb18, 0xffffffffffffff00, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc42038bb00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:335 +0x1e2
net.(*netFD).accept(0xc42038bb00, 0xc420236010, 0x0, 0x0)
/usr/local/go/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc420236020, 0xac6021, 0x458a00, 0xc4204f1f28)
/usr/local/go/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc420236020, 0xcca4b8, 0xc420322280, 0x13338a0, 0xc420236010)
/usr/local/go/src/net/tcpsock.go:247 +0x49
github.com/evilsocket/bettercap-ng/modules.(*HTTPProxy).httpsWorker(0xc420322280, 0x4f88f9, 0xc420260d80)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:302 +0xcb
github.com/evilsocket/bettercap-ng/modules.(*HTTPProxy).Start.func1(0xc420322280)
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:345 +0x3a
created by github.com/evilsocket/bettercap-ng/modules.(*HTTPProxy).Start
/home/cw/go/src/github.com/evilsocket/bettercap-ng/modules/http_proxy_base.go:341 +0x3fgoroutine 189 [IO wait]:
internal/poll.runtime_pollWait(0x7fd7954debb0, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420246118, 0x72, 0xffffffffffffff00, 0x1328c40, 0x1322aa8)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xae
internal/poll.(*pollDesc).waitRead(0xc420246118, 0xc4202c8000, 0x1000, 0x1000)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420246100, 0xc4202c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:126 +0x18a
net.(*netFD).Read(0xc420246100, 0xc4202c8000, 0x1000, 0x1000, 0xc42041c8c8, 0x74d68b, 0xc0a180)
/usr/local/go/src/net/fd_unix.go:202 +0x52
net.(*conn).Read(0xc420236018, 0xc4202c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x6d
net/http.(*connReader).Read(0xc42049c2d0, 0xc4202c8000, 0x1000, 0x1000, 0xc420139c00, 0x456710, 0xc420139c00)
/usr/local/go/src/net/http/server.go:753 +0x105
bufio.(*Reader).fill(0xc420424480)
/usr/local/go/src/bufio/bufio.go:97 +0x11a
bufio.(*Reader).ReadSlice(0xc420424480, 0xc42041ca0a, 0x413856, 0x7fd795535db0, 0xb, 0xc42041cab8, 0x413ce7)
/usr/local/go/src/bufio/bufio.go:338 +0x2c
bufio.(*Reader).ReadLine(0xc420424480, 0x100, 0xf8, 0xc7f3a0, 0x1, 0x1220020058000, 0xf8)
/usr/local/go/src/bufio/bufio.go:367 +0x34
net/textproto.(*Reader).readLineSlice(0xc42049c300, 0xc42041cb20, 0xc42041cb20, 0x414448, 0x100, 0xc7f3a0)
/usr/local/go/src/net/textproto/reader.go:55 +0x70
net/textproto.(*Reader).ReadLine(0xc42049c300, 0xc4200a6b00, 0x0, 0xc42041cb90, 0x497ac2)
/usr/local/go/src/net/textproto/reader.go:36 +0x2b
net/http.readRequest(0xc420424480, 0x0, 0xc4200a6b00, 0x0, 0x0)
/usr/local/go/src/net/http/request.go:925 +0x99
net/http.(*conn).readRequest(0xc4202ff5e0, 0x132ec40, 0xc4203a97c0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:933 +0x17c
net/http.(*conn).serve(0xc4202ff5e0, 0x132ec40, 0xc4203a97c0)
/usr/local/go/src/net/http/server.go:1739 +0x50e
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2720 +0x288goroutine 206 [IO wait]:
internal/poll.runtime_pollWait(0x7fd7954dedf0, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420246098, 0x72, 0xffffffffffffff00, 0x1328c40, 0x1322aa8)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xae
internal/poll.(*pollDesc).waitRead(0xc420246098, 0xc42049c100, 0x1, 0x1)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420246080, 0xc42049c131, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:126 +0x18a
net.(*netFD).Read(0xc420246080, 0xc42049c131, 0x1, 0x1, 0xc420010101, 0xc4201cdf58, 0x74dcaf)
/usr/local/go/src/net/fd_unix.go:202 +0x52
net.(*conn).Read(0xc420236010, 0xc42049c131, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x6d
net/http.(*connReader).backgroundRead(0xc42049c120)
/usr/local/go/src/net/http/server.go:660 +0x62
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:656 +0xd8goroutine 190 [IO wait]:
internal/poll.runtime_pollWait(0x7fd7954deaf0, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420246198, 0x72, 0xffffffffffffff00, 0x1328c40, 0x1322aa8)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xae
internal/poll.(*pollDesc).waitRead(0xc420246198, 0xc4202d6000, 0x1000, 0x1000)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420246180, 0xc4202d6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:126 +0x18a
net.(*netFD).Read(0xc420246180, 0xc4202d6000, 0x1000, 0x1000, 0xc4204ee8c8, 0x74d68b, 0xc0a180)
/usr/local/go/src/net/fd_unix.go:202 +0x52
net.(*conn).Read(0xc420236048, 0xc4202d6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x6d
net/http.(*connReader).Read(0xc42049c210, 0xc4202d6000, 0x1000, 0x1000, 0x1000b01204ee980, 0x0, 0x40)
/usr/local/go/src/net/http/server.go:753 +0x105
bufio.(*Reader).fill(0xc420424420)
/usr/local/go/src/bufio/bufio.go:97 +0x11a
bufio.(*Reader).ReadSlice(0xc420424420, 0xc4204eea0a, 0x413856, 0x7fd79549e838, 0x3, 0xc4204eeab8, 0x413ce7)
/usr/local/go/src/bufio/bufio.go:338 +0x2c
bufio.(*Reader).ReadLine(0xc420424420, 0x100, 0xf8, 0xc7f3a0, 0x1, 0x1220020278700, 0xf8)
/usr/local/go/src/bufio/bufio.go:367 +0x34
net/textproto.(*Reader).readLineSlice(0xc4206a6000, 0xc4204eeb20, 0xc4204eeb20, 0x414448, 0x100, 0xc7f3a0)
/usr/local/go/src/net/textproto/reader.go:55 +0x70
net/textproto.(*Reader).ReadLine(0xc4206a6000, 0xc4202e8300, 0x0, 0xc4204eeb90, 0x497ac2)
/usr/local/go/src/net/textproto/reader.go:36 +0x2b
net/http.readRequest(0xc420424420, 0x0, 0xc4202e8300, 0x0, 0x0)
/usr/local/go/src/net/http/request.go:925 +0x99
net/http.(*conn).readRequest(0xc4202ff720, 0x132ec40, 0xc4203a9740, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:933 +0x17c
net/http.(*conn).serve(0xc4202ff720, 0x132ec40, 0xc4203a9740)
/usr/local/go/src/net/http/server.go:1739 +0x50e
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2720 +0x288
from bettercap.
Opened relevant issue here, closing this one.
from bettercap.
Related Issues (20)
- Cryptominer caplet still being loaded when trying to use web UI. HOT 3
- bash: /usr/bin/bettercap: No such file or directory
- can't build bettercap on linux musl: could not determine kind of name for C.u_int8_t HOT 1
- Change NDP spoofing router lifetime
- ndp spoof: cannot disable neighbor advertisements
- WPA PSK online bruteforce EAPOL M2
- Unable to capture passive PMKID values on MacOS HOT 2
- GoDaddy certificates don't trustet
- Could not detect the gateway address for interface wlan0 -termux, rooted
- Web UI now showing AP or clients HOT 1
- Endpoint.lost IP address HOT 2
- sslstrip Location: https://domain:443 not working
- bettercap sniff not working
- SSLstrip ruins a connection when type https:// in browser
- Https downgrade not working
- net.show doesn't show all devices HOT 1
- Channel hopping/setting no longer works on macOS Sonoma 14.4.1+ HOT 2
- Bettercap and non-LOW Energy Bluetooth devices
- enabling forwarding is not showing after arp.spoof on, dns.spoof on commands
- Not working on kali nethunter like on kali on laptop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bettercap.