Commit Graph

152 Commits

Author SHA1 Message Date
Matias Barcenas 2004fc1c87 Fixed conditional_bail bug not stopping attacks. 2017-12-05 21:20:20 -06:00
Matias Barcenas a76f5a7a57 Added support for basic 5GHz scanning. 2017-12-04 03:05:23 -06:00
Matias Barcenas e1c9834d2c Upgraded revision to reflect significant bug fixes. 2017-12-01 03:57:04 -06:00
Matias Barcenas 8edc452564 Arbiter log times & color corrections.
Added log times to all entries in the arbiter log.
Corrected some colors missed in the previous round of updates.
2017-11-30 22:46:13 -06:00
Matias Barcenas b7a4fa2e6e Adjusted fluxion & libs interface colors. 2017-11-30 22:16:26 -06:00
c0mrade69 38e710c764
Update fluxion.sh
header will show also revision, not only version : eg. FLUXION 3.5  < Fluxion Is The Future >
2017-11-30 12:18:49 +01:00
Matias Barcenas 9ed40a2f16 Fallback to English on missing language file. 2017-11-30 01:48:14 -06:00
Matias Barcenas 5b846901e1 Upgraded revision to reflect significant change. 2017-11-29 23:31:26 -06:00
Matias Barcenas 5ca52e20c6 Merge branch 'master' of github.com:FluxionNetwork/fluxion 2017-11-29 22:54:46 -06:00
Matias Barcenas 3375864bb1 Corrected tab-space inconsistency. 2017-11-29 22:54:34 -06:00
Hritik Vijay 9669b87a2d Check existence of language files 2017-11-29 02:21:33 +05:30
Hritik Vijay 9382873277 dhcpd package known as dhcp in Arch 2017-11-27 13:48:14 +05:30
deltax 770a8365d6
Remove disallowed characters in ssid 2017-11-19 19:37:34 +01:00
Matias Barcenas 07821576ec Made python dependency more specific.
The issue could've occured on systems where the default python package
isn't python 2.7, such as arch linux where it's python 3.X.
2017-11-09 13:50:15 -06:00
Matias Barcenas 66877aaad1 Added missing python dependency. 2017-11-09 00:00:40 -06:00
deltax 4d9286e1eb
Update fluxion.sh 2017-11-02 13:09:59 +01:00
deltaxflux 265606c68e Change revision 2017-09-20 23:19:06 +02:00
root 6d2fe858fd Fix issue #174 2017-09-20 23:16:41 +02:00
STRSHR 1c51ba29e9 added a xdpyinfo presence check as a temporary fix. 2017-09-11 23:51:58 +03:00
deltaxflux 94e6c94c13 Fix bad translation, add ui for handshake 2017-09-10 13:20:08 +02:00
Matias Barcenas dac8e6d6ec Fixed set_language bug (outdated identifier). 2017-09-08 15:28:53 -05:00
Matias Barcenas 6b1e3ffb21 Merge branch 'master' into universal-interface 2017-09-08 15:14:07 -05:00
Matias Barcenas a88eec011b Fixed a bug with set_language and fluxion auto. 2017-09-02 20:46:29 -05:00
Matias Barcenas 74a84d24e7 Restored xterm test run check. 2017-09-02 20:34:17 -05:00
Matias Barcenas ee3ff61a65 Abstracted identifier names & refactored show AP. 2017-09-02 19:01:53 -05:00
Matias Barcenas 35fb761ced Renamed functions & refactored interface setup.
Renamed fluxion.sh functions to prevent namespace collisions.
Refactored interface initialization algorithms for extensibility.
The AP interface is no longer created and initialized in fluxion.sh.
2017-09-02 13:28:30 -05:00
Matias Barcenas 593d821d07 Added fluxion xterm-failure checking. 2017-08-27 15:36:45 -05:00
Matias Barcenas 9bb79000f4 Improved fluxion & attacks' language support.
Languages are now identified using the ISO language standard internally.
Attacks' translations have been relocated to their respective bundle.
Attacks' identifiers are now translatable using the native tag.
2017-08-26 14:55:10 -05:00
Matias Barcenas e581d1945f Updated version as 3.2 to reflect recent changes. 2017-08-22 02:47:53 -05:00
Matias Barcenas 34ab3980bd Added new fluxion.sh dialog to language files. 2017-08-22 02:28:47 -05:00
Matias Barcenas afe1e76690 Completed implementation & integration of installer.
The installer has been defined as a utility & is incorporated into fluxion.
The installer is now responsible for checking & installing updates.
The installer is now responsible for checking & installing dependencies.

Package managers can now be defined within fluxion/lib/installer/managers.
Dependencies are now flexible, and will attempt alternative installs.
2017-08-21 22:56:41 -05:00
Matias Barcenas a5d1c4129d Incorporated master's updates. 2017-08-21 16:30:56 -05:00
Matt Gates 437c3eaaac Add UI instruction to close the wifi scanner 2017-08-21 10:26:55 -04:00
Matias Barcenas ecda2bf278 Started fluxion installer update integration. 2017-08-21 00:11:32 -05:00
Matias Barcenas ff834a64af Fixed a potentital bug related to driver unloading.
The bug was much more likely to occur on slower systems.
The bug could occur when trying to load a driver immediately after unloading it.
2017-08-20 18:00:14 -05:00
Matias Barcenas 42d80d438a Split FLUXIONDropNet into two separate flags.
FLUXIONWIKillProcesses controls killing interfering processes.
FLUXIONWIReloadDriver controls weather drivers will be reloaded.
* Unloading occurs before killing services, reloading occurs after.
2017-08-20 17:27:04 -05:00
Matias Barcenas 5876569de8 Fixed a bug affecting interface driver reloading.
The interface setup procedure wasn't waiting for the interface to be ready.
2017-08-20 16:54:06 -05:00
Matias Barcenas 9d708bc84e Suppresed iw messages & removed global variable. 2017-08-20 16:07:04 -05:00
Matias Barcenas ae00f896a2 Fixed an issue with long interface names. 2017-08-19 13:55:22 -05:00
Matias Barcenas 7fd3c9e1e6 Fixed a bug affecting interface setup & startup.
The bug was caused by a local variable being use as global.
Rewrote the interface-start section to use physical device.
2017-08-19 10:39:31 -05:00
Matias Barcenas 2a16e9dafc Added airmon-ng as optional monitor-mode switcher. 2017-08-18 15:15:55 -05:00
Matias Barcenas 75d015af5c Finished implementation of airmon-ng independence. 2017-08-18 01:52:51 -05:00
Matias Barcenas 6299239cdf Removed obsolete dependencies. 2017-08-16 15:34:20 -05:00
Matias Barcenas 290e2764c0 Removed two common tools as dependencies. 2017-08-16 15:20:02 -05:00
deltax 846380552a Change revision 2017-08-16 22:03:51 +02:00
Matias Barcenas 64cbf71830 Fixed FLUXIONAuto functionality. 2017-08-16 01:01:51 -05:00
Matias Barcenas 8c523d0a6f Added flag for scanner's manufacturer field. 2017-08-15 23:27:51 -05:00
Matias Barcenas 9463b90896 Removed obsolete commented code. 2017-08-15 19:36:19 -05:00
Matias Barcenas 1ce39090dd Left-justified the scanner's security field. 2017-08-15 01:20:59 -05:00
Matias Barcenas 2118da90ed Left-justified the wireless interfaces' descriptor. 2017-08-15 00:33:37 -05:00
Matias Barcenas f9d5f9b8be Fixed a bug with APTargetMaker & removed extraneous statement. 2017-08-14 22:57:40 -05:00
Matias Barcenas 8d60fd4229 Fixed a bug affecting APTargetMakerID & APTargetMaker. 2017-08-14 22:43:14 -05:00
Matias Barcenas 2687ecaea6 Fixed a couple of issues (outdated) with FormatUtils. 2017-08-14 20:28:37 -05:00
Matias Barcenas aabe322633 Shortened banner printing delay time. 2017-08-14 18:50:02 -05:00
Matias Barcenas 0a2ce6fcd1 Rewrote FormatUtils for performance & fixed bugs.
Rewrote FormatUtils to correct bad performance (sluggish on slow systems).
Changed FormatUtils API to accomodate for new performance enhancements.
Added a new literal to FormatUtils's formats, the double asterisk (**).
FormatUtils will now replace all asterisks, double asterisk (**).

Fixed an issue caused by long ESSIDs and long interface driver descriptors.
2017-08-14 17:13:47 -05:00
Matias Barcenas b154c26ae8 Updated FormatUtils & applied to portal selection. 2017-08-13 04:24:18 -05:00
Matias Barcenas 9a041d95bd Rewrote target AP view to utilize FormatUtils. 2017-08-13 00:25:53 -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 af07814b8e Fixed a dependency-check bug introduced last commit. 2017-08-12 20:08:55 -05:00
Matias Barcenas fb316c25be Tweaked fluxion header and reenabled banner animation. 2017-08-12 19:18:53 -05:00
Matias Barcenas 33c26d3444 Rewrote header auto-resizing using FormatUtils. 2017-08-12 17:46:49 -05:00
Matias Barcenas a0ac4510e0 Rewrote scanner results auto expansion with FormatUtils. 2017-08-12 17:24:14 -05:00
Matias Barcenas ad89264442 Implemented FormatUtils & used for startup banner.
The new horizontal utility utilizes the * token for centering.
* Every field with the token %*s will autofill the remaining space.
* Field tokens may be any valid format specifier, plus the asterisk.
* > Example: printf "%*s %.*s %*d" "col1" "col2" "3.0" (notice asterisk)
* > Example: printf "%*b %s" "\e[1;33mThis is red text\e[0m" "this is not"

Use the new utilities to center the startup banner and other messages.
2017-08-12 15:43:39 -05:00
Matias Barcenas 15494058aa Resized channel field from 4-spaces down to 2. 2017-08-12 10:02:58 -05:00
Matias Barcenas c142177cda Fixed security field line-jump bug 2017-08-12 01:13:17 -05:00
Matias Barcenas d3f46cbd10 Quick fix for scanner output width auto-adjust. 2017-08-11 21:49:34 -05:00
Matias Barcenas 8e3511e921 Updated fluxion.sh comments & tweaked scanner code. 2017-08-11 18:38:52 -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 2602de8738 Changed signal to quality & fixed value bug. 2017-08-11 00:03:54 -05:00
Matias Barcenas 71076314ee Changed interface search expression to support more OSs. 2017-08-10 23:34:16 -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 9bcaff15bc Added quotation marks for space-containing paths. 2017-08-09 20:11:29 -05:00
Matias Barcenas 4985ff9c04 Non-existent hash messages show for 3 seconds. 2017-08-09 17:29:13 -05:00
Matias Barcenas 13d40dec93 Updated updater match regex & language files. 2017-08-09 16:25:26 -05:00
Matias Barcenas fe35c9033a Fixed hash name normalization bug, & scanner bug.
Fixed a bug where custom hash names weren't being normalized on copy.
Fixed a bug where scanner would go back to scan results rather than rescan.

Also removed some stray break statements that were no longer necessary.
2017-08-09 15:17:18 -05:00
Matias Barcenas 7961921755 Fixed updater bug, awk bug, & hash path bug.
Fixed an issue with the updater where I accidentally misspelled version.
Fixed an issue caused by different version of awk (mawk vs gawk).
Fixed an issue caused by an expansion operator in a read statement.
2017-08-09 13:49:44 -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 0ab5beb965 Added signal indicator to target AP selector. 2017-08-08 20:09:05 -05:00
Matias Barcenas 5f589b4eef Rewrote fluxion for better extensibility.
Most spaghetti code has be removed or replaced with better alternatives.
Refactored most functionality into directory-based, load-on-demand, addon attack scripts.
Changed the naming scheme of variables throughout for consistency (try to stick to one, guys).
Changed color names (variable identifiers) for better consistency.
Changed language file names to follow the scheme "Language.lang"
Changed function naming scheme to better reflect their behavior, more under [ FLUXION V3 ]
Added more comments in code, attempting to decrease the obfuscation of functionality.
Minimized the usage of globals throughout the script, trying to leave absolute essentials, for safety.

Multiple improvements in general to the visuals, the algorithms, and to methods used.

[ FLUXION V3 ]
* Custom attacks may now be developed and installed independently.
* Custom portals may now be installed independently.
* Globally changed functions' naming scheme to use snake-case, systematically prefixed with:
* > set_: function will set/configure something.
* > unset_: function will undo what set_ did.
* > run_: function will execute a blocking command.
* > halt_: function will abort a running command (possibly via signals [SIGABRT])
* > start_: function will start executing something in the background.
* > stop_: function will stop background execution of something, undoing start_.

[ Custom Attacks ]
* Custom attacks must be bundled in a directory, with the name representing the attack.
* Custom attacks must include a load-script "attack.sh" within the attack directory bundle.
* Custom attacks' attack.sh script must implement the following boot functions:
* > unprep_attack: fluxion will load attack.sh and call unprep_attack to reset attack parameters.
* > prep_attack: fluxion will load attack.sh and call prep_attack to set attack parameters.
* > start_attack: fluxion will load attack.sh and call start_attack to start a stopped/unstarted attack.
* > stop_attack: fluxion will load attack.sh and call stop_attack to stop a started attack.
* Custom attacks may signal fluxion to stop an attack when done, by sending it a SIGABRT signal.

[ Custom Portals ]
* Portal-containing directories must now follow the naming scheme "Some Brand_Language.portal"
* Portal directories, after properly being named, must be stored at "attacks/Captive Portal/sites"

Function return values are significant in the script, where anything other than 0 means go back.
2017-08-08 14:14:32 -05:00
root 1c75314311 fix DHCPd output 2017-08-06 15:07:53 +03:00
root 4ca74bd34f disable destroying of interface on VAP creation https://github.com/FluxionNetwork/fluxion/issues/48 2017-08-06 14:14:17 +03:00
root d011812b22 fix update url 2017-08-06 13:46:29 +03:00
deltaxflux 638163d2b7 Better error handling 2017-07-28 22:50:50 +02:00
deltax c8b0bb2a54 Support the latest airmon version 2017-07-25 08:53:10 +02:00
Matt Gates 4bab0508c5 Introduce end-of-line normalization 2017-07-23 09:24:56 -04:00
Matt Gates 51cd1c7a00 Introduce end-of-line normalization 2017-07-23 09:18:46 -04:00
Tomas Vanagas fe535913c2 Updated fluxion.sh
Site selection page used too much space, deleted few "spaces".
2017-07-22 16:44:06 +00:00
Tomas Vanagas 997138abe8 Same "if" statements merged 2017-07-21 14:50:40 +01:00
Tomas Vanagas 34cfa8059c Path for brute force
Path for dictionary made autocomplete
2017-07-21 14:40:17 +01:00
Tomas Vanagas 4b02500551 Creating "handcheck" script
First part of "handcheck" script generating changed from append to overwrite
2017-07-21 14:37:02 +01:00
Tomas Vanagas 9784622443 Site selection page split in two columns 2017-07-19 06:03:03 +01:00
Tomas Vanagas 88e6d35743 "CHANNEL" in line 1849
I'm not sure what this part of script is doing, but it looks like this if statement never gets "true".
2017-07-18 21:17:02 +00:00
Tomas Vanagas d69f89c6ce Path autocomplete
Enabled path autocomplete when asked for handshake location
2017-07-18 20:04:57 +00:00
Tomas Vanagas 270fbbbe54 Bugfix for incorrect handshake location.
When typed incorrect handshake location, function "handshakelocation" loops in to cycle. Clearing "handshakeloc" variable breaks that loop.
2017-07-17 05:48:37 +01:00
Lorevocator 3b1245bbc0 added FRITZBOX! [ITA] 2017-07-04 03:37:13 +02:00
root ef0ba1630c Merge branch 'master' of https://github.com/FluxionNetwork/fluxion 2017-07-03 22:24:53 +02:00
root ee242d9aba Fix hostapd bug with empty channel 2017-07-03 22:24:00 +02:00
deltax 3f031aaf34 Fix negative channel bug 2017-07-03 21:52:41 +02:00
princeofguilty a66458d4e8 Bruteforce while attacking using web interface
might be lucky and find the password faster than waiting for the victim to be trapped by the evil twin attack.. anyway it wont affect the web interface at all, you can do both at the same time trying to catch the password using the fastest way
2017-07-02 11:49:00 +01:00
deltax 30b1a090b9 Fix issue #10 2017-06-29 09:21:19 +02:00