Simone Margaritelli
0b51b6ebe4
Merge pull request #170 from KhasMek/api
...
api: switch request router and add more paths
2018-03-13 13:33:12 +01:00
evilsocket
e40219976c
new: implemented events.stream.output ( closes #169 ). new: implemented -no-colors argument.
2018-03-13 13:20:21 +01:00
KhasMek
4b8d4aeb1b
api: switch request router and add more paths
...
This switches the url router to gorilla and
adds the following routes.
- /api/events
- /api/session
- /api/session/ble
- /api/session/ble/{mac}
- /api/session/env
- /api/session/gateway
- /api/session/interface
- /api/session/lan
- /api/session/lan/{mac}
- /api/session/options
- /api/session/packets
- /api/session/started-at
- /api/session/wifi
- /api/session/wifi/{mac}
where {mac} is the mac address of a device.
2018-03-12 18:42:32 -06:00
evilsocket
17e5138acd
misc: small fix or general refactoring i did not bother commenting
2018-03-12 17:01:53 +01:00
Matrix86
654633c419
wifi module: fixes and multiple channel selection
2018-03-12 16:58:02 +01:00
evilsocket
1b7131eb54
misc: small fix or general refactoring i did not bother commenting
2018-03-12 16:25:12 +01:00
Matrix86
4726c2fc9d
wifi module: fix on beacon parsing and multiple channel selection
2018-03-12 16:06:51 +01:00
evilsocket
0a8b8548b6
misc: small fix or general refactoring i did not bother commenting
2018-03-12 15:58:45 +01:00
evilsocket
63a07cf262
misc: small fix or general refactoring i did not bother commenting
2018-03-12 15:51:23 +01:00
Matrix86
582e1ae81e
wifi module can now use a pcap file as offline recon
2018-03-12 15:32:50 +01:00
evilsocket
ce4975fdd1
misc: small fix or general refactoring i did not bother commenting
2018-03-12 14:28:44 +01:00
evilsocket
1e408f62ba
Revert "Issue #157 : wifi.recon can now select one or multiple channels (comma separated) and show only the selected channels."
...
This reverts commit 054ce2a1bf
.
2018-03-12 14:13:49 +01:00
Matrix86
054ce2a1bf
Issue #157 : wifi.recon can now select one or multiple channels (comma separated) and show only the selected channels.
2018-03-12 14:09:09 +01:00
evilsocket
8f84b9d72c
fix: make 802.11 packet parsing and validation more robust ( fixes #167 )
2018-03-11 15:36:51 +01:00
evilsocket
98d7fb5b86
fix: sslstrip is disabled by default (ref #154 )
2018-03-09 16:33:15 +01:00
evilsocket
c570319d66
misc: small fix or general refactoring i did not bother commenting
2018-03-09 13:28:38 +01:00
evilsocket
0f8c668f87
misc: small fix or general refactoring i did not bother commenting
2018-03-09 12:53:35 +01:00
evilsocket
26f3a000da
fix: forcing https urls to http if sslstrip is enabled (ref #154 )
2018-03-09 12:36:01 +01:00
evilsocket
2a601e1412
new: implemented sslstrip (ref #154 )
2018-03-09 12:10:43 +01:00
evilsocket
d8223d9579
some progress (ref #154 )
2018-03-08 21:08:54 +01:00
evilsocket
62112b0ae4
stripping is done, only resolution of fake domains is needed (ref #154 )
2018-03-08 20:28:12 +01:00
evilsocket
8931c918c6
implemented cookie monitor and session expiration (ref #154 )
2018-03-08 19:26:57 +01:00
evilsocket
2d53890501
still working on #154
2018-03-08 18:13:45 +01:00
evilsocket
741d9d8f6e
started working on #154
2018-03-08 17:37:55 +01:00
evilsocket
5e6741d544
fix: /api/events n parameter did not work as expected ( fixes #158 )
2018-03-07 18:39:31 +01:00
evilsocket
fe4a091391
fix: fixs #156
2018-03-07 17:47:07 +01:00
evilsocket
1e7d99433e
refact: refactored module status checks in Configure methods for consistency
2018-03-07 12:47:15 +01:00
evilsocket
a8e6b497a3
fix: explicitly printing interface name if could not set it to monitor mode (ref #127 )
2018-03-07 11:39:24 +01:00
evilsocket
24310b5cad
fix: fixes a bug which caused net.sniff not to print output if net.sniff.local is not true ( fixes #138 )
2018-03-06 22:18:41 +01:00
evilsocket
4f8455553e
misc: small fix or general refactoring i did not bother commenting
2018-03-06 22:06:32 +01:00
evilsocket
caa801c764
new: gps module
2018-03-06 20:04:04 +01:00
evilsocket
1857a62645
misc: small fix or general refactoring i did not bother commenting
2018-03-06 17:24:36 +01:00
evilsocket
973b864132
Merge branch 'api_ws'
2018-03-06 13:54:45 +01:00
evilsocket
5ad1a17118
new: implemented optional websocket for /api/events
2018-03-06 13:54:37 +01:00
evilsocket
10c3f702bd
new: added hostname to net.sniff.leak.http event ( fixes #139 )
2018-03-06 12:35:49 +01:00
evilsocket
d33430b047
fix: made goproxy warnings silent as they confuse users (ref #113 )
2018-03-05 18:37:48 +01:00
evilsocket
07fe790ad1
new: now request object can be changed during OnRequest handlers ( closes #135 )
2018-03-05 16:48:45 +01:00
evilsocket
cb58258bd7
refact: returning pointers for both js request and js response
2018-03-05 16:14:26 +01:00
Bâkır Emre
2bfec00504
Update dhcp6_spoof.go
...
typo fixed for google.com
2018-03-02 11:03:43 +03:00
evilsocket
b243e67828
some progress but still doesn't work
2018-03-01 19:30:10 +01:00
evilsocket
894cbe76a1
refact: refactored api.rest to avoid using global variables
2018-03-01 18:06:42 +01:00
evilsocket
1a67c82fbd
fix: getting rid of forked gopacket, static build ftw!
2018-03-01 10:40:49 +01:00
Kuba Gretzky
2d0619274b
fix: error when arp.spoof.targets contained only MAC addresses
2018-02-28 20:01:44 +01:00
evilsocket
c92d1ffbe7
misc: small fix or general refactoring i did not bother commenting
2018-02-28 13:41:07 +01:00
evilsocket
5ef8defce6
misc: small fix or general refactoring i did not bother commenting
2018-02-28 12:50:50 +01:00
evilsocket
1963258ee5
fix: proper fix for #102
2018-02-28 12:40:07 +01:00
Simone Margaritelli
4de2e1cc52
Merge pull request #104 from aus/tcp-typo
...
fix: fixes a typo in the tcp.proxy module
2018-02-28 12:10:16 +01:00
Austin Robertson
1e61a9b4fa
fix TCP proxy typo
2018-02-27 23:39:01 -06:00
Kent Gruber
69d5cc574f
Use the MacChanger struct's originalMac field to determine if the module has already been configured
...
This goal of this commit is to provide a simple way to deal with the
original mac resotation issue I was facing where the MacChanger struct
was being overwritten if called twice/more than once. This should lock
up users from doing that but provide them a way around it ( not locking
them into an original mac address when I could want to change it
outside my bettercap session) with a consistent-ish experience until I
figure something else out. Or someone else does.
It’s also late and I need to be studying for my windows administration
class midterm.
It’s supposed to be an Advanced Windows Administration class. But it’s
not.
Anyways. I’m sure this commit isn’t perfect. But. What code is? 😂
2018-02-28 00:25:07 -05:00
evilsocket
496c29b5bc
fix: using statically linked version of gopacket ( fixes #98 )
2018-02-28 01:06:49 +01:00