Sniffleupagus
cb5f7679d8
Improve backwards compatibility with getHandshakeFileFor
...
The getHandshakeFile function was using "path.Dir(shakesFileName)", which drops the last element of the path. This is not backwards compatible with prior versions that used the variable as the dir name. In particular this change causes pwnagotchi to store handshakes in /root instead of /root/handshakes.
This commit checks for an existing directory at shakesFileName and will use that as the path instead of taking the parent directory of the path.
2024-11-13 11:33:25 -08:00
Simone Margaritelli
26b2c300b8
fix: fixed a nil pointer dereference when wifi.show is executed before wifi.recon on
2024-08-23 10:27:08 +02:00
Simone Margaritelli
81adcc96e6
fix: fixed handshakes filename if wifi.aggregate is false
2024-08-22 10:28:42 +02:00
Simone Margaritelli
ac2d333609
fix: initialize wifi module state correctly
2024-08-22 09:50:55 +02:00
Simone Margaritelli
0202028524
fix: do not allow wifi.recon if wifi.bruteforce is running
2024-08-19 15:27:53 +02:00
Simone Margaritelli
ef9a3ef85b
misc: small fix or general refactoring i did not bother commenting
2024-08-18 15:45:35 +02:00
Simone Margaritelli
5cc7260ca9
misc: small fix or general refactoring i did not bother commenting
2024-08-18 15:42:38 +02:00
Simone Margaritelli
77ae56cc62
fix: added p2p_disabled=1 for wifi.bruteforce on linux (ref #1075 )
2024-08-18 15:39:14 +02:00
Simone Margaritelli
1b91eb348b
new: implemented wifi.bruteforce for linux ( closes #1075 )
2024-08-18 15:34:32 +02:00
Simone Margaritelli
08da91ed5c
new: implemented wifi.bruteforce for darwin (ref #1075 )
2024-08-18 13:44:12 +02:00
Simone Margaritelli
2d03782fe1
fix: make sure that wifi channels are unique and sorted
2024-08-17 13:37:48 +02:00
Simone Margaritelli
6282fe3451
new: ble, can, hid and wifi modules will now set a custom prompt ( closes #1117 )
2024-08-17 12:10:38 +02:00
Simone Margaritelli
2659a559c9
fix: using proper v2 package suffix ( fixes #727 )
2024-08-09 18:19:21 +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
2499d5147f
fix: every wifi frame injection operation on macOS will print an error (ref #448 )
2024-08-08 12:59:21 +02:00
Simone Margaritelli
c2ab5f4756
reverted pr #1100 due to instability
2024-08-07 22:03:11 +02:00
firefart
68924c34c4
do not swallow err on settxpower
2022-04-23 22:43:27 +02:00
Simone Margaritelli
81ae731b9f
new: new -pcap-buf-size option to set a custom pcap buffer size ( closes #896 )
2021-08-21 14:44:36 +02:00
Simone Margaritelli
59dce4ced6
new: centralized pcap capture configuration management
2021-08-21 14:21:36 +02:00
ydx
ef2cd0063d
add wifi fake authentication attack
2021-07-23 14:51:37 +08:00
ydx
c8ecaf99e0
add channel hopping attack
2021-07-23 14:49:29 +08:00
Simone Margaritelli
88a83192ef
fix: do not trigger deauth events for frames sent by client stations or unknown access points
2021-04-10 14:48:30 +02:00
Simone Margaritelli
2b4188bb52
misc: small fix or general refactoring i did not bother commenting
2021-04-09 02:20:19 +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
bfe307ffe6
new: ticker now broadcasts a tick event
2021-04-07 17:03:47 +02:00
Simone Margaritelli
662f5fb973
fix: don't print wifi.client.probe we generate
2021-04-07 00:52:57 +02:00
Simone Margaritelli
906969f1b3
new: wifi.probe to send fake client probe requests
2021-04-07 00:36:38 +02:00
Simone Margaritelli
240c4c3219
new: detection and parsing of deauthentication frames as wifi.deauthentication events
2021-03-31 00:47:56 +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
583a54c194
new: new c2 module, first draft
2021-01-27 00:17:25 +01:00
Simone Margaritelli
e3846cf416
Merge pull request #703 from FrankSpierings/skipacquired
...
Prevent deauth/assoc for AP's that have already been captured
2020-07-03 14:26:17 +02:00
Hasibul Hasan Anik
b253e6b4df
Remove unnecessary variable assignment
2020-03-05 13:02:30 +06:00
Hasibul Hasan Anik
050bd28511
Kepp sync.WorkerGroup.Add() outside of goroutine
...
The workergroup should be added before starting the worker.
The worker routine itself should not start the worker. It causes race condition.
2020-03-05 12:58:22 +06:00
Frank Spierings
a0a0963cd5
Implemented a way to not send deauthentication and/or association packets to AP's for which key material was already acquired
2020-02-28 12:05:23 +01:00
Robin Broda
15db10ad45
modules/wifi: Fix handle activation when monitor device is already set up
2020-01-16 23:51:57 +01:00
Robin B
524e91af3d
modules/wifi: fix SetSnapLen error message text
2019-12-07 16:08:09 +01:00
Simone Margaritelli
83c6cde152
fix: fixed a bug with wifi.recon.channel clear when wifi.interface is nil ( fixes #661 )
2019-11-25 11:38:38 +01:00
Simone Margaritelli
4069887cf6
fix: do not save dummy/invalid half handshakes
2019-10-26 10:16:40 +02:00
Cassiano Aquino
a3a7cf07e2
new travis configuration ( #1 )
...
* New builder
2019-10-18 11:04:41 +01:00
Simone Margaritelli
caba6e1952
new: wifi.client.probe.ap.filter and wifi.client.probe.sta.filter actions to filter wifi client probes
2019-09-28 17:43:07 +02:00
evilsocket
12a11ef19d
new: wifi.min.rssi, wifi.ap.ttl and wifi.sta.ttl changes are now applied in realtime
2019-09-15 15:10:56 +02:00
evilsocket
32e1bf8a7b
new: new wifi.ap.ttl and wifi.sta.ttl parameters
2019-09-07 17:53:59 +02:00
evilsocket
ff3add0fe2
misc: small fix or general refactoring i did not bother commenting
2019-08-22 13:48:52 -04:00
evilsocket
a79ed9b4d4
misc: small fix or general refactoring i did not bother commenting
2019-08-22 13:36:40 -04:00
evilsocket
2aa6fea92c
misc: small fix or general refactoring i did not bother commenting
2019-08-22 13:35:18 -04:00
evilsocket
da565afa9a
new: new wifi.handshakes.aggregate parameter to control how handshakes get saved
2019-08-22 13:21:52 -04:00
evilsocket
3d31bf3712
new: reporting if wifi handshakes are full or half
2019-08-19 13:56:18 -04:00
evilsocket
9e9b984fec
new: added support for half WPA handshakes ( https://hashcat.net/forum/thread-6745-post-36007.html )
2019-08-17 22:33:26 -04:00
evilsocket
b57661a097
misc: small fix or general refactoring i did not bother commenting
2019-08-17 14:17:08 -04:00
root
5302f7f3f3
Added beacon packet to handshake cap file for PMKID assoc attack
2019-08-04 19:44:09 +02:00