Nelson Murilo
93554a8448
Update wifi.go
2025-03-13 16:19:51 -04:00
Nelson Murilo
6d75d9e8e2
Added 6GHz stuff
2025-03-13 16:18:51 -04:00
Nelson Murilo
f9ab25aa8b
Update wifi.go
2025-03-13 15:33:09 -04:00
Nelson Murilo
dd05670e1f
Update net_linux.go
...
Code Review
2025-03-13 14:03:10 -04:00
Simone Margaritelli
fabf3bb8e9
fix: prioritize longer and more explicit host names
2024-09-22 15:21:11 +02:00
Simone Margaritelli
a234c20650
fix: better ipv6 detection logic
2024-09-22 15:03:06 +02:00
Simone Margaritelli
26c532316a
misc: small fix or general refactoring i did not bother commenting
2024-09-21 17:38:52 +02:00
Simone Margaritelli
91d360327a
it works!
2024-09-19 16:33:44 +02:00
Simone Margaritelli
575022fac4
fix: fixed deprecation warning on macOS native code
2024-08-23 10:21:50 +02:00
Simone Margaritelli
b0d56e4f5e
fix: do not attempt mac lookup if gateway is empty
2024-08-18 13:43:43 +02:00
Simone Margaritelli
6f1920f478
new: can.fuzz command
2024-08-16 13:30:26 +02:00
Simone Margaritelli
2659a559c9
fix: using proper v2 package suffix ( fixes #727 )
2024-08-09 18:19:21 +02:00
evilsocket
5fe3ef3d52
new: new can module for CAN-bus
2024-08-09 15:42:03 +02:00
Simone Margaritelli
9abf7c809a
fix: if interface name has not been provided, avoid default to a tun interface
2024-08-08 16:42:52 +02:00
Simone Margaritelli
b12ba7947b
fix: workaround for PCAP_SET_RFMON issue ( fixes #819 , https://github.com/the-tcpdump-group/libpcap/issues/1041 , https://github.com/the-tcpdump-group/libpcap/issues/1033 )
2024-08-08 13:40:45 +02:00
Simone Margaritelli
5858743b6e
new: updated mac vendor lookup with IEEE datasets
2024-08-08 12:47:59 +02:00
Simone Margaritelli
0dc5f66e27
fix: fixed wifi support on macOS (fixes pr #1100 , fixes #1090 , fixes #1076 )
2024-08-08 12:10:28 +02:00
Simone Margaritelli
c2ab5f4756
reverted pr #1100 due to instability
2024-08-07 22:03:11 +02:00
Simone Margaritelli
6951fbb8dd
fix: fixes cgo newline
2024-08-07 17:59:58 +02:00
Luke B. Silver
71822229a0
fix: macos
2024-05-24 22:04:46 +00:00
Simone Margaritelli
ee35550f70
Merge pull request #1008 from jansramek/master
...
Fix getting of possible channels (darwin) #998
2023-07-25 14:35:25 +02:00
Dennis Heinze
786dacf8ca
Fix BLE name assignment
2023-06-07 12:06:13 +02:00
Jan Šrámek
8e4a00091e
Update getting of possible channels (darwin)
...
- added regex to be able to parse system_profiler format of MacOS 13+
2022-12-29 19:43:54 +01:00
Simone Margaritelli
e224eea8c6
fix: give priority to iwlist as iw gives unsupported frequencies ( fixes #881 )
2022-06-13 17:08:26 +02:00
Mikhail Markov
0193d13ca0
fix: exclude disabled channels
2021-10-28 01:06:03 +03:00
☸️
aba29e03f6
fix: revert back to parsing IPv4 address blocks in net.FindInterface
2021-09-20 17:12:12 +10:00
☸️
e255eba69f
simplify interface IPv4 address parsing
2021-09-20 16:52:53 +10:00
☸️
44a17602ed
fix: adopt new IPv4 parsing logic
2021-09-20 15:42:07 +10:00
☸️
eee94e993c
simplify IPv4 validators
2021-09-20 14:20:44 +10:00
☸️
7fd9d18625
fix macParser, MACValidator and IPv4Validator regexp selectors + add IPv4BlockValidator
...
This commit fixes the `network.macParser` and `network.MACValidator` regexp selectors which could validate invalid MAC addresses (e.g. `a🅱️ c:d:e:f`).
It also introduces a new `IPv4BlockValidator` regexp selector which allows us to distinguish IPv4 address blocks from single IPv4 addresses, as the previous implementation of `IPv4Validator` would also validate IPv4 address blocks (e.g. `10.0.0.0/8`) whilst only being used to validate single IPv4 addresses.
Both IPv4RangeValidator and IPv4Validator were optimized to only match the IPv4 format.
### Validation examples
- `IPv4BlockValidator` validates `10.0.0.0/8`
- `IPv4RangeValidator` validates `10.0-255.0-255.0-255`
- `IPv4Validator` validates `10.0.0.0`
2021-09-20 14:04:21 +10:00
Simone Margaritelli
59dce4ced6
new: centralized pcap capture configuration management
2021-08-21 14:21:36 +02:00
syylari
9404620468
Support for ch177
2021-05-20 21:57:10 +03:00
syylari
daf2f943e2
Further tests for mapping dot11 frequencies to channels as ch177 was not discovered correctly based on freq
2021-05-20 21:55:35 +03:00
Simone Margaritelli
dfe64ee4db
fix: showing the entire error message when a command fails
2021-05-14 15:26:50 +02:00
Simone Margaritelli
c47e3f6195
new: gateway.change event for MITM monitoring
2021-04-10 22:59:03 +02:00
Simone Margaritelli
43a93fd866
fix: refactored routing logic ( fixes #701 )
2021-04-10 21:55:00 +02:00
Simone Margaritelli
3c506b7809
misc: small fix or general refactoring i did not bother commenting
2021-04-09 00:14:52 +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
Simone Margaritelli
bef4c6abaa
new: basic ipv6 support
2021-04-03 18:42:14 +02:00
Simone Margaritelli
cea53b969e
fix: collect additional frames for stations with key material (ref #810 )
2021-03-30 23:19:06 +02:00
Simone Margaritelli
c68c88030d
misc: small fix or general refactoring i did not bother commenting
2021-03-30 11:59:13 +02:00
Simone Margaritelli
0d17ba3573
misc: small fix or general refactoring i did not bother commenting
2021-03-30 11:56:41 +02:00
Simone Margaritelli
6dd86c44fa
fix: using iw if available to get supported wifi frequencies ( fixes #743 )
2021-03-29 17:55:33 +02:00
Simone Margaritelli
c4bbc129b6
fix: returning error when neither iw or iwconfig are found
2021-03-29 17:25:15 +02:00
Simone Margaritelli
b3da4e30f7
fix: updated OUI list ( closes #833 )
2021-03-14 16:06:16 +01: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
deepsource-autofix[bot]
6591de4b63
Remove unnecessary comparison with bool
2021-02-01 08:57:11 +00:00
deepsource-autofix[bot]
a26b3f366b
Remove unnecessary guard around delete
2021-02-01 08:47:34 +00:00
bonedaddy
07f7483ba3
network: remove mutex lock that breaks webui and api
2021-01-12 20:58:30 -08:00