Commit Graph

123 Commits

Author SHA1 Message Date
Matias Barcenas 11c466567d Fixed a bug causing double headers in portal selection. 2017-08-16 14:47:56 -05:00
Matt b148fa7610 Merge branch 'master' of https://github.com/FluxionNetwork/fluxion into php 2017-08-16 14:50:05 -04:00
Matt b616dec778 PHP script updates
* ENHANCE. Moves error_reporting to top of parent include. Removes duplication

* ENHANCE. Removes for loop checking for submissions

* FIX. Moves candidate_code to top above the return. Previously candidate_code was always null
2017-08-16 14:50:03 -04:00
Matt 9a51b65766 fixed untracked files 2017-08-16 14:35:06 -04:00
Matias Barcenas 20176abb27 Tweaked authenticator code with advice from Geczy. 2017-08-16 13:05:06 -05:00
Matias Barcenas 64cbf71830 Fixed FLUXIONAuto functionality. 2017-08-16 01:01:51 -05:00
Matias Barcenas fe2308ab77 Minor optimization for portal globals replacement. 2017-08-15 19:57:04 -05:00
Matias Barcenas 9463b90896 Removed obsolete commented code. 2017-08-15 19:36:19 -05:00
Matias Barcenas 5636768d5e Added support for linset-built portals.
Added support for portals that were designed to work with linset.
Updated two portals to adapt them for the new dynamic response.
2017-08-15 14:30:04 -05:00
Matias Barcenas b154c26ae8 Updated FormatUtils & applied to portal selection. 2017-08-13 04:24:18 -05:00
Matias Barcenas 1aa3d96c8a Fixed missing spacers, transitions & captorPID bug.
Added all missing spacers after a choice operation (missing echo).
Rearranged fluxion_header algorithm to make transitions smoother.
Fixed a bug where captorPID might be missed (not waiting [enough] for it).
2017-08-12 21:23:22 -05:00
Matias Barcenas f4ad6b8531 Routing restoration relocation & language auto fix.
Moved the routes restoring code & forwarding to the proper unset function.
Refactored some code in set_lang. that should only happen when auto is off.
2017-08-11 03:29:47 -05:00
Matias Barcenas c15bd1b7bc Lang. globals, paths, exitmode update & bugfixes.
Updated fluxion and attacks scripts to use the updated language global identifiers.
Quoted some paths that handn't already been quoted (potential spacing issues).
Updated the exitmode function to deal with FLUXION-started only processes.
Fixed a bug where the "WI not supported" message was displayed when no AP were found.
Added an IO function to handle dynamic, static-text, substitution.
2017-08-10 22:02:12 -05:00
Matias Barcenas 4a47ee2f88 Fixed mawk vs gawk bug & added missing quotes. 2017-08-09 23:30:23 -05:00
Matias Barcenas c9f369d9df Fixed directory creation & added quotes. 2017-08-09 19:31:32 -05:00
Matias Barcenas 65707e2529 Fixed handshake directory missing bug. 2017-08-09 18:36:23 -05:00
Matias Barcenas 1bab965d38 Added bash-HTML interpolation & fixed last commit.
Added bash-HTML interpolation of $APTargetSSID, $APTargetMAC, and $APTargetChannel.
> The script will find and replace these tokens if found in portal pages/files.

Fixed a bug introduced in the last commit, where target AP parameters were erroneously populated.
> This was due to the offset caused by adding the signal field, offsetting everything after it.
2017-08-08 21:37:52 -05:00
Matias Barcenas bdf81a4975 Removed a completely broken portal. 2017-08-08 21:15:56 -05:00
Matias Barcenas b4d1643b79 Fixed an issue with the mdk3 deauthenticator. 2017-08-08 15:55:24 -05:00
Matias Barcenas 272b02d0a3 Added custom-made Technicolor English portal. 2017-08-08 15:14:26 -05:00
Matias Barcenas 0e4ecbe12e Added custom-made ARRIS English portal. 2017-08-08 15:13:15 -05:00
Matias Barcenas 9a9e07454c Refactored fake AP attack as Captive Portal attack script.
Most spaghetti code has be removed or replaced with better alternatives.
Most files associated with the captive portal attack have been sensibly relocated.
Portal directory names were changed to follow the naming convention "Maker X_Language.portal."
Generic portal language file names were changed to follow the naming convention "Language.lang."

Function return values are significant in the script, where anything other than 0 means go back.
2017-08-08 13:48:00 -05:00
Matias Barcenas 708e5dc9d9 Refactored handshake capturing as an attack script.
Most spaghetti code has be removed or replaced with better alternatives.
Discarded dead/non-working code to allow for future reimplementation.
Two types of attack are possible, passive, or aggressive using aireplay-ng or mdk3.
A verifier daemon is now responsible for stopping captures and, optionally, deauthentication when a valid hash has been acquired.
2017-08-08 13:21:46 -05:00