Commit Graph

810 Commits

Author SHA1 Message Date
Matias Barcenas 4a47ee2f88 Fixed mawk vs gawk bug & added missing quotes. 2017-08-09 23:30:23 -05:00
Matias Barcenas c5a15bcb6c Updated commented code. 2017-08-09 20:33:17 -05:00
Matias Barcenas 03c1921f95 Fixed a bug with hostapd.conf's path. 2017-08-09 20:16:16 -05:00
Matias Barcenas 9bcaff15bc Added quotation marks for space-containing paths. 2017-08-09 20:11:29 -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 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
strasharo b3e1c8ffb7 Merge pull request #57 from MPX4132/master
Fixed updater bug, awk bug, & hash path bug.
2017-08-09 22:04:42 +03: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
deltax fadf5d00c8 Merge pull request #54 from Blaxou/patch-1
Minor change on the french translation
2017-08-09 15:24:40 +02:00
Blaxou 096054cdba Update français.lang 2017-08-09 12:59:55 +02:00
deltax 6f7b2e705d Merge pull request #52 from MPX4132/master
Refactor fluxion
2017-08-09 06:45:49 +02: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 67ab793b6a Removed obsolete dialog. 2017-08-08 20:40:27 -05:00
Matias Barcenas 0ab5beb965 Added signal indicator to target AP selector. 2017-08-08 20:09:05 -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 357b5bd950 Deleted obsolete files and directories. 2017-08-08 15:06:47 -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
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
Matias Barcenas f541c2ba1f Refactored functionality to independent library scripts.
These utility scripts implement repeatedly required generic functionality.
2017-08-08 12:40:32 -05:00
root 1c75314311 fix DHCPd output 2017-08-06 15:07:53 +03:00
root d3e4000cf2 update permissions for siteinstaller.py 2017-08-06 14:45:17 +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
root f8c86f3e25 update airmon permissions 2017-08-06 13:38:00 +03:00
deltax 6cc8fad57b Update .gitignore 2017-07-28 22:53:41 +02:00
deltax f1e5f77423 Delete log 2017-07-28 22:53:27 +02:00
deltaxflux 638163d2b7 Better error handling 2017-07-28 22:50:50 +02:00
strasharo 6551345224 Remove useless banner.
There's no point in having the banner attached to every issue.
2017-07-26 22:19:27 +03:00
deltax 64b8d8d6b2 Merge pull request #40 from keethesh/patch-1
Updated french translation
2017-07-26 11:46:15 +02:00
keethesh 7e86ae7837 Updated french translation
Made minor changes to the french translation
2017-07-26 07:27:26 +00:00
deltax 6ed22901ee Create .editorconfig 2017-07-25 08:55:19 +02:00
deltax c8b0bb2a54 Support the latest airmon version 2017-07-25 08:53:10 +02:00
deltax 17183fc25f Update ISSUE_TEMPLATE.md 2017-07-24 21:48:30 +02:00
deltax d77295504d Merge pull request #39 from Geczy/fix-issue-tpl
Fix issue tpl & add pull request tpl
2017-07-24 19:55:57 +02:00
Matt fd6149631d add pull request template 2017-07-24 10:05:17 -04:00
Matt 38f86a9713 Update the issue template 2017-07-24 10:03:47 -04:00
Matt Gates a96c9a5baa Merge pull request #2 from FluxionNetwork/master
merge
2017-07-23 18:22:06 -04:00
deltax 2ea4488b4d Merge pull request #38 from Geczy/gitattributes
Gitattributes
2017-07-23 20:53:42 +02:00
Matt Gates 29af42c5c8 Introduce end-of-line normalization 2017-07-23 09:27:32 -04: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
Matt Gates 2e713c9c15 add gitattributes file 2017-07-23 09:18:04 -04:00
Matt Gates 8d52227900 Merge pull request #1 from FluxionNetwork/master
merge
2017-07-23 08:32:32 -04:00