Simone Margaritelli
43a93fd866
fix: refactored routing logic ( fixes #701 )
2021-04-10 21:55:00 +02:00
Simone Margaritelli
31b06638d8
fix: fixed a panic in net.show.meta when rendeing open ports
2021-04-07 13:16:20 +02:00
Simone Margaritelli
57436a811c
new: experimental ipv6 ndp spoofer ( closes #851 )
2021-04-03 22:55:03 +02:00
Ben Draut
32eee7d94b
Fix bug in target parsing
...
When a MAC address with uppercase letters was provided, parsing would
return an error because the parsing logic would only attempt to remove
normalized versions (all lowercase) from the target list. This would
leave the address with uppercase letters in the target list, which it
would then try to interpet as an Alias. This fixes the bug by using
the original address form when removing it from the target list.
2021-03-09 20:30:48 -07:00
skooch
3612e767d7
Update iw txpower syntax to only use int
...
This is probably due to a bug in iw, we do this because if we include "mBm", the strtol() that iw does has a check on endptr that returns 2, even if the txpower is valid.
2020-03-20 16:07:43 +11:00
skooch
140f33109f
Fix iw txpower syntax
...
The syntax used to set the txpower is incorrect and misses the keyword "fixed", this results in wireless adapter drivers that only support iw failing to initialize within bettercap.
This bug was introduced in commit bettercap/bettercap@2f3390cf36 which was a fix for issue bettercap/bettercap#657 due to maybe the code not being tested extensively.
2020-03-19 14:30:27 +11:00
Simone Margaritelli
2f3390cf36
fix: using iw instead of iwconfig whenever possible ( fixes #657 )
2019-11-25 11:59:04 +01:00
evilsocket
afe300cd8a
fix: gracefully handling wifi device disconnection
2019-03-30 16:17:26 +01:00
evilsocket
c234f3d36b
fix: fixes 'iw executable not found in path' error on macOS ( fixes #454 )
2019-02-20 12:27:01 +01:00
evilsocket
345c1f5d45
new: new wifi.region and wifi.txpower parameters
2019-02-19 12:09:00 +01:00
evilsocket
f72dac0c95
new: parsing BLE flags and company identifiers from advertisements
2019-02-14 12:26:28 +01:00
evilsocket
4cfcaf1c59
misc: small fix or general refactoring i did not bother commenting
2019-02-13 15:24:28 +01:00
evilsocket
ca421cf8e3
fix: fixed a logic bug which made targets lookup by alias fail.
2019-02-13 10:53:24 +01:00
evilsocket
003139a2e3
new: wifi.recon will activate the interface if it's down instead of failing
2019-02-06 09:42:48 +01:00
evilsocket
ca734335fa
new: implemented wifi.deauth.skip variable ( closes #375 )
2019-01-18 16:19:30 +01:00
evilsocket
7f808ac059
refact: migrated aliases to islazy/data.UnsortedKV
2018-10-13 18:39:31 +02:00
evilsocket
d070445225
refact: refactored to use islazy and updated deps
2018-10-10 19:00:25 +02:00
evilsocket
a2b3ee79fb
new: net.show now accepts a comma separated list of ip, macs or aliases to filter for
2018-10-06 14:57:40 +02:00
evilsocket
ae0afc54b5
fixed a bug which caused a cidr being parsed as an ip and eventually a panic ( fixes #241 )
2018-04-26 19:33:05 +02:00
evilsocket
1afab5d7be
more lint driven refactoring
2018-04-26 12:19:52 +02:00
evilsocket
0de6f3a76e
more lint driven refactoring
2018-04-24 18:26:16 +02:00
evilsocket
6c50cc2918
new: added new arp.spoof.whitelist variable which supports macs, ips, ip ranges and aliases ( closes #205 )
2018-03-26 11:58:31 +02:00
evilsocket
54607993ba
new: aliases can now be used along with MACs and IP ranges for the arp.spoof.targets variable (ref #204 )
2018-03-26 11:38:22 +02:00
evilsocket
0a8b8548b6
misc: small fix or general refactoring i did not bother commenting
2018-03-12 15:58:45 +01:00
evilsocket
7fe6cd232c
new: implemented ble.recon (ref #74 )
2018-02-26 18:18:58 +01:00
evilsocket
cf187520e8
fix: windows is a special kid
2018-02-25 17:24:28 +01:00
evilsocket
20f92a68e0
misc: small fix or general refactoring i did not bother commenting
2018-02-25 14:20:17 +01:00
evilsocket
12ff2918da
misc: small fix or general refactoring i did not bother commenting
2018-02-25 13:44:10 +01:00
evilsocket
053cff0dd5
fix: subnet bits were not correctly set while creating the interface endpoint object (ref #82 )
2018-02-25 13:40:52 +01:00
evilsocket
e6bd5a9584
misc: small fix or general refactoring i did not bother commenting
2018-02-25 03:32:59 +01:00
evilsocket
69e91d3a13
fix: trying to fix gateway detection on android
2018-02-25 03:01:03 +01:00
evilsocket
f0158342d6
fix: fixed and refactored network.FindInterface because it was shit
2018-02-24 18:13:20 +01:00
evilsocket
63cea73f8e
misc: small fix or general refactoring i did not bother commenting
2018-02-23 00:07:09 +01:00
evilsocket
d8ec87036e
misc: small fix or general refactoring i did not bother commenting
2018-02-20 15:35:05 +01:00
evilsocket
8d0e4ed0b1
fix: fixed bug which prevented some interfaces wiht IPv6 only addresses from being detected.
2018-02-20 15:19:28 +01:00
evilsocket
b5ffeeba7a
new: -iface argument now also accepts a mac address (tnx Windows)
2018-02-20 04:32:43 +01:00
evilsocket
3bcbbefe96
misc: small fix or general refactoring i did not bother commenting
2018-02-20 04:28:12 +01:00
evilsocket
efe9fd1ab9
misc: small fix or general refactoring i did not bother commenting
2018-02-20 04:27:35 +01:00
evilsocket
c0981ea9e6
misc: small fix or general refactoring i did not bother commenting
2018-02-20 04:26:19 +01:00
evilsocket
86456e76a9
misc: small fix or general refactoring i did not bother commenting
2018-02-16 22:47:58 +01:00
evilsocket
3e100ce633
misc: small fix or general refactoring i did not bother commenting
2018-02-16 13:21:52 +01:00
evilsocket
48d27f274a
refact: renamed package net to network to avoid collision with golang net package.
2018-02-15 21:34:46 +01:00