Commit graph

1613 commits

Author SHA1 Message Date
Kent Gruber
c3cfc1ef68 add dhcp6 test 2018-05-17 13:11:37 -04:00
Kent Gruber
0ef0257fbe add arp test 2018-05-17 12:43:42 -04:00
evilsocket
f48feddd00
new: implemented JSResponse.ClearBody API (closes #272) 2018-05-14 11:10:24 +02:00
evilsocket
507d1b71e9
misc: small fix or general refactoring i did not bother commenting 2018-05-14 11:04:24 +02:00
evilsocket
a536fb4c55
new: variables are now accessible from every command with {env.varname} (closes #276) 2018-05-14 10:24:53 +02:00
evilsocket
c326400257
Releasing v2.6 2018-05-12 13:23:35 +02:00
evilsocket
a164517717
updated non breaking dependencies 2018-05-12 13:12:48 +02:00
evilsocket
b75694f540
fix: fixed the leak of a channel if the events stream module was restarted 2018-05-12 12:36:47 +02:00
evilsocket
9f0b4a9502
fix: fixed events buffering, now no event is lost with multiple listeners (fixes #266) 2018-05-12 12:16:15 +02:00
evilsocket
e9fa015962
fix: do not probe while arp.spoofing, fixes arp.spoof on the whole subnet 2018-05-10 10:39:56 +02:00
yungtravla
a465116160
small consistency fix 2018-05-10 02:39:54 +10:00
yungtravla
c1b63f6257
Merge pull request #274 from bettercap/add-js-error-traceback
print traceback for more js errors
2018-05-10 01:12:14 +10:00
yungtravla
46f3d09612
print traceback for js errors 2018-05-10 01:11:32 +10:00
Simone Margaritelli
a5d26a545f
Merge pull request #273 from bettercap/add-js-error-traceback
Print traceback with line numbers for JS errors
2018-05-09 15:46:24 +02:00
yungtravla
58daec15ba
add js error traceback 2018-05-09 22:56:13 +10:00
yungtravla
e95623df5b
Update base_proxy_script.go 2018-05-09 22:39:38 +10:00
yungtravla
cfe5f9f76b
added missing comma 2018-05-07 18:44:53 +10:00
Simone Margaritelli
312f9cd2fe
Merge pull request #269 from yungtravla/master
Enable reading/writing of request scheme in HTTP proxy
2018-05-07 10:22:32 +02:00
yungtravla
1999665429
Enable reading/writing of request scheme in HTTP proxy 2018-05-07 15:29:49 +10:00
Simone Margaritelli
1c474c85d2
Merge pull request #267 from h-a-t/master
Dockerfile rework, Fix #123, #127 & #231, includes caplets
2018-05-06 21:16:38 +02:00
H.A.T
55c0cb1ce0
Dockerfile rework, Fixing #123, #127 & #231, including caplets 2018-05-06 00:57:23 +01:00
evilsocket
5041267be9
fixed net.FindGateway if there's a VPN interface active 2018-05-03 13:03:52 +02:00
Simone Margaritelli
407fd392b9
Merge pull request #265 from bettercap/revert-259-minor-refactors
Revert "Minor refactors using golint"
2018-05-03 12:31:54 +02:00
Simone Margaritelli
5328ced392
Revert "Minor refactors using golint" 2018-05-03 12:31:42 +02:00
Simone Margaritelli
9196be7a8b
Merge pull request #264 from picatz/fix-263
fix undefined: usr bug in core
2018-05-03 12:06:22 +02:00
Kent Gruber
f623505816 fix undefined: usr bug in core
The following fixes the issue for me when I run the following test:

$ go test -v -run=TestCoreExpandPath ./core
2018-05-03 01:54:23 -04:00
Simone Margaritelli
eaa5dab166
Merge pull request #262 from picatz/test-network-aliases
add test for aliases related functions in network package
2018-05-02 20:31:05 +02:00
Kent Gruber
db23b34b85 change type Alaises to Aliases
one day I will learn how to spell
2018-05-02 14:24:47 -04:00
Kent Gruber
871bbde89f make coherent lan test due to changes in aliases
messing with the Aliases test seems to cause issues for the lan test,
this fixes the error
2018-05-02 14:08:57 -04:00
Kent Gruber
0b55b645b1 add test for Find function 2018-05-02 13:58:42 -04:00
Kent Gruber
b387ed86e6 add test for Set function 2018-05-02 13:58:27 -04:00
Kent Gruber
e751ecf6a0 add test for Get function 2018-05-02 13:57:39 -04:00
Kent Gruber
383aa509c2 add test for Save function 2018-05-02 13:57:19 -04:00
Kent Gruber
aab5018de8 add test for saveUnlocked function 2018-05-02 13:57:03 -04:00
Kent Gruber
b91a6b51b3 add test for LoadAliases function 2018-05-02 13:56:44 -04:00
Kent Gruber
7180f6524e add buildExampleAlaises helper function
to be used later
2018-05-02 13:56:09 -04:00
Kent Gruber
f3487ad6d2 start adding test for aliases related functions in network package
this is the base for the rest of the tests
2018-05-02 13:55:36 -04:00
Simone Margaritelli
674188283f
Merge pull request #261 from picatz/test-network-meta
add test for meta related functions in network package
2018-05-02 19:34:32 +02:00
Kent Gruber
506c5722a8 loosen test for GetIntsWith function
getting weird stuff with this test… probably because I’m not
understanding it properly or something to write a coherent test for it.
2018-05-02 13:22:36 -04:00
Kent Gruber
7a6cf8f197 add test for Empty function 2018-05-02 13:20:38 -04:00
Kent Gruber
db7c2d0a74 add test for Each function 2018-05-02 13:18:52 -04:00
Kent Gruber
21c0fc43ca add test for GetOr function 2018-05-02 13:18:30 -04:00
Kent Gruber
00d6100214 add test for SetInts function 2018-05-02 13:18:12 -04:00
Kent Gruber
b8a0b86282 add test for GetIntsWith function with documented TODO
I didn’t really understand this function entirely.
2018-05-02 13:17:46 -04:00
Kent Gruber
e4352e8a98 add test for Set function 2018-05-02 13:17:06 -04:00
Kent Gruber
ec3227a16f add test for MarshalJSON function 2018-05-02 13:16:49 -04:00
Kent Gruber
889df698d1 add test for NewMeta function 2018-05-02 13:16:30 -04:00
Kent Gruber
d18491aff8 add buildExampleMeta helper function
to be used later in the rest of the tests
2018-05-02 13:15:45 -04:00
Kent Gruber
db8e2399b0 start adding test for meta related functions in network package 2018-05-02 13:15:24 -04:00
Simone Margaritelli
a87d84be76
Merge pull request #260 from picatz/minor-refactor-to-packets-queue
replace q.Protos[name] += 1 with q.Protos[name]++
2018-05-02 17:52:31 +02:00