wpa_cli's interactive mode prompt history as stagnant log

Jouni Malinen j at w1.fi
Sat Dec 13 10:32:10 PST 2025


On Sun, Oct 12, 2025 at 12:54:02AM +0000, retrovirus-007 at juno.com wrote:
> wpa_cli's interactive mode prompt can retain history of terminal commands/outputs. I want to have a way to clear the specified prompt history. Is there a way to do this? I know this request may sound like hacking for wifi network snooping, but I rather not leave wifi network information traces. Of course, disabling the wifi network connection after wifi use and removing the associated network after disabling is a safety precaution.

wpa_cli is already filtering out some of the more sensitive commands
from the history file. In any case, the history is stored in
~/.wpa_cli_history, so deleting that file or lines from that file can be
used to remove stored commands.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list