Commit Graph

59 Commits

Author SHA1 Message Date
Matias Barcenas eadfceeae7 Upgraded AP services for Fluxion V4. 2018-01-18 01:14:32 -06:00
Matias Barcenas 9e719e22ea Removed obsolete interface-selection subroutine. 2018-01-17 23:23:22 -06:00
Matias Barcenas 6a5efbdbdd Added detection support for WPA-TKIP. 2018-01-17 23:22:03 -06:00
Matias Barcenas 1613eec221 Hash subroutines, attack subroutines, & bug fixes.
Implemented modular hash and attack subroutines.
Fixed minor bugs with script startup.
2018-01-06 22:21:37 -06:00
Matias Barcenas 0dd1e084c8 Started fluxion 4 development.
This version will focus on providing robust services for the attack scripts.
Development and migration will happen in the new "fluxion" script file.

The following are currently being implemented, or have been implemented:
* Core fluxion globals, including paths and workspace.
* Core sanity checks, including xterm and super user checks.
* Core library includes & library scripts' configuration.
* Command line interface parameter parsing & loading.
* User preferences importing, loading, & handling.
* Configurables (prefererences & CLI flags) are properly handled.
* Fluxion startup and shutdown behaviour refactored.
* Handler subroutines are loaded & configured properly.
* A small sequencing framework, to refactor some run-loops.
* A small universal interface-allocation & retrival framework.
* A couple of fluxion used helper subroutines.
* A candidate fluxion run-loop.
2018-01-05 18:32:57 -06:00
William Todt 26fec898e1 Set styleguide and minor changes 2017-12-31 17:02:12 +01:00
root a892810f16 Fixed missing quotes bug & suppressed rfkill error.
Fixed a bug caused by a blank variable not being quoted (syntax error).
Redirected rfkill's error to log file when no wireless devices are available.
2017-12-30 22:45:48 -06:00
Matias Barcenas 3271d96097 Fixed an auto-size bug caused by remaining space.
This issue was noticable when auto-size failed to fit all spaces to tokens.
Auto-sizing will no longer ignore remaining space and will auto-fill it.
2017-12-26 20:47:24 -06:00
Matias Barcenas 33a22c1eaa Added support for UTF-8 ESSIDs & bug fixes.
Added support for ESSIDs containing non-ASCII and other special characters.
Fixed a bug which would prevent exiting when the debug flag was active.
Fixed a bug where attacks' unprep_attack wasn't being called on abort.
Fixed a bug where fluxion_show_ap_info was escaping some ESSIDs.

Added better logging messages to HashUtils.
Added support for special characters to HashUtils.
2017-12-21 20:43:50 -06:00
Matias Barcenas 3df7ec512d Fixed pkg-manager bug, and other minor issues.
Fixed a bug caused by not resetting the package manager after finishing.
The bug occured only when the installer was interrupted.
Removed obsolete code from fluxion's exit procedure.
Added better message feedback to the apt manager.
Updated languages' dialog for new package manager reset notice.
2017-12-20 18:30:09 -06:00
Matias Barcenas bfcb897f23 Minor corrections to style & apt pkg-manager. 2017-12-20 17:21:39 -06:00
Matias Barcenas 9b8446c957 Enhancements & additions for Captive Portal.
Captive Portal will now target its service PIDs to accurately kill them.
Captive Portal's window arrangement has been enhanced (rearranged).
Captive Portal will now show the web server access log.
2017-12-06 01:54:49 -06:00
Matias Barcenas 7ab63da737 Fixed (bug) and improved AP services.
Fixed a bug where once an AP was selected, it could not be changed.
The AP service will now explicitly wait for xterm's child (AP service PID).
Removed killing every process using the same service in the system.
2017-12-05 16:44:54 -06:00
Matias Barcenas b7a4fa2e6e Adjusted fluxion & libs interface colors. 2017-11-30 22:16:26 -06:00
Matias Barcenas 6cdd09ebeb Redefined normal & italicized color codes. 2017-11-30 21:35:12 -06:00
Matias Barcenas 6fddd2e8a4 Redefined color codes depending on style. 2017-11-30 21:17:18 -06:00
Matias Barcenas ead90d1f5b Fixed minor prompt styling issue. 2017-11-30 20:58:54 -06:00
Hritik Vijay 7ffa1b731f No user confirmation when installing dependency i.e. fully automated 2017-11-27 13:47:41 +05:30
Hritik Vijay 755b3047c9 Added support for pacaur,yaourt 2017-11-27 13:26:08 +05:30
Hritik Vijay b1f342af37 Removed -y flag. Arch does not support Partial updates. 2017-11-27 13:25:17 +05:30
Matias Barcenas 0b9f8413f4 Improved InterfaceUtils function return value. 2017-09-02 14:34:47 -05:00
Matias Barcenas 8e21a367c6 Refactored & improved some algorithms. 2017-08-31 17:31:05 -05:00
Matias Barcenas 2ca9b029b2 Refactored interface selection algorithm. 2017-08-31 15:08:43 -05:00
Matias Barcenas 9944355832 Fixed InterfaceUtils bug & refactored WI check.
Fixed a bug caused by lingering hex markers from device descriptors.
Refactored wireless interface checking for future extensibility.
2017-08-30 15:55:16 -05:00
deltaxflux dd168237d9 Fix default permissions 2017-08-22 22:36:29 +02:00
Matias Barcenas 39afb4c8b7 Added anti-redefinition headers to library scripts. 2017-08-22 14:23:08 -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
Matias Barcenas 511a485f30 Relocated generic portal's assets to its attack. 2017-08-21 10:18:31 -05:00
Matias Barcenas 92bad0242b Changed & tested update check function. 2017-08-21 00:06:29 -05:00
Matias Barcenas 88619a8dd6 Began implementation of installer update.
Created an installer utility library.
The installer will be responsible for checking dependencies & updates.
2017-08-20 23:02:34 -05:00
Matias Barcenas 20521337e4 Fixed a bug introduced last commit by outdated statements. 2017-08-20 15:19:40 -05:00
Matias Barcenas 663045e4f0 Fixed bug affecting empty name (phy#) files. 2017-08-20 15:08:42 -05:00
Matias Barcenas 75d015af5c Finished implementation of airmon-ng independence. 2017-08-18 01:52:51 -05:00
Matias Barcenas dd33314fa8 Fixed minor bugs affecting InterfaceUtils. 2017-08-17 23:24:29 -05:00
Matias Barcenas e6058201cb Implemented physical, hardware & chipset for InterfaceUtils. 2017-08-17 23:11:21 -05:00
Matias Barcenas 21ae874efb Added driver finder method (thanks to Guilles@stackoverflow). 2017-08-17 18:01:17 -05:00
Matias Barcenas 4092d969f7 Suppressed grep file not found error. 2017-08-17 17:45:48 -05:00
Matias Barcenas ea1824b5ca Started implementing airmon-ng independence. 2017-08-17 17:37:44 -05:00
Matias Barcenas f631680ed4 Created an optimized solution for the last patch. 2017-08-14 21:54:31 -05:00
Matias Barcenas 2687ecaea6 Fixed a couple of issues (outdated) with FormatUtils. 2017-08-14 20:28:37 -05:00
Matias Barcenas bed09e813f Fixed FormatUtils bug caused by outdated replacement. 2017-08-14 18:23:50 -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 490fea94ff Fixed wrong AP service configuration location. 2017-08-14 04:14:23 -05:00
Matias Barcenas b154c26ae8 Updated FormatUtils & applied to portal selection. 2017-08-13 04:24:18 -05:00
Matias Barcenas 8e0a37218b Fixed a bug affecting slow system and AP services.
The bug was caused by a constant wait time, rather than dynamic.
The bug was more likey to affect the airbase-ng service.
2017-08-12 22:36:36 -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 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