Commit Graph

1397 Commits

Author SHA1 Message Date
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
deltax 9fb07244a5 Merge pull request #36 from tomasvanagas/master
Updated installer
2017-07-23 11:29:44 +02: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 a8327dde22 Changed original installation
Changed original install scripts for each program using function
2017-07-22 16:50:56 +01:00
Tomas Vanagas b0c6f779f1 Logging
Made logging for troubleshooting. (All logging goes to /tmp)
2017-07-22 16:47:43 +01:00
Tomas Vanagas 8e52045892 Python scripts for repository
Deleted python scripts and made repository adding in bash, because it wasn't working (tested in Ubuntu live 17.04)
2017-07-22 16:43:56 +01:00
Tomas Vanagas d41e5ffe91 Added checking for internet
Checks for internet in loop until we get internet
2017-07-22 16:38:54 +01:00
Tomas Vanagas 6cae165c7c Added Installer function 2017-07-22 16:35:18 +01:00
Tomas Vanagas 5ac678e469 Deleted DUMP_PATH
Was not in use in script
2017-07-22 16:30:36 +01:00
deltax c8c03be7ac Update README.md 2017-07-21 23:55:26 +02:00
deltaxflux 1da06362c4 Add router script 2017-07-21 23:22:26 +02:00
deltax 50057b1869 Merge pull request #34 from tomasvanagas/master
Small changes
2017-07-21 22:41:41 +02: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