Fixed potential restoration detection bug.

Fixed a bug caused by not cleaning loaded restoration subroutines after attack.
This commit is contained in:
Matias Barcenas 2018-04-22 22:59:16 -05:00
parent 147147b631
commit e31beafcbc
1 changed files with 5 additions and 1 deletions

View File

@ -1715,10 +1715,14 @@ fluxion_unprep_attack() {
IOUtilsHeader="fluxion_header" IOUtilsHeader="fluxion_header"
# Remove any lingering targetting loaded subroutines # Remove any lingering targetting subroutines loaded.
unset attack_targetting_interfaces unset attack_targetting_interfaces
unset attack_tracking_interfaces unset attack_tracking_interfaces
# Remove any lingering restoration subroutines loaded.
unset load_attack
unset save_attack
FluxionTargetTrackerInterface="" FluxionTargetTrackerInterface=""
return 1 # Trigger another undo since prep isn't significant. return 1 # Trigger another undo since prep isn't significant.