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 13:14:32 -06:00
|
|
|
#!/bin/bash
|
|
|
|
# Italian
|
2017-08-26 13:55:10 -06:00
|
|
|
# native: italiano
|
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 13:14:32 -06:00
|
|
|
|
2017-08-10 20:58:10 -06:00
|
|
|
FLUXIONInterfaceQuery="Seleziona un'interfaccia"
|
2017-08-28 05:05:35 -06:00
|
|
|
FLUXIONUnblockingWINotice="Sblocca tutte le interfacce wireless..."
|
|
|
|
FLUXIONFindingExtraWINotice="Trova interfacce extra wireless..."
|
|
|
|
FLUXIONRemovingExtraWINotice="Rimuove interfacce extra wireless..."
|
|
|
|
FLUXIONFindingWINotice="Trova interfacce wireless disponibili..."
|
|
|
|
FLUXIONSelectedBusyWIError="L'interfaccia selezionata sembra in uso in questo momento!"
|
|
|
|
FLUXIONSelectedBusyWITip="Usa \"export FLUXIONWIKillProcesses=1\" prima di FLUXION per sfruttarlo."
|
|
|
|
FLUXIONGatheringWIInfoNotice="Raccolta informazioni interfaccia..."
|
|
|
|
FLUXIONUnknownWIDriverError="Impossibile trovare il driver dell'interfaccia!"
|
|
|
|
FLUXIONUnloadingWIDriverNotice="Attendo che l'interfaccia \"\$wiSelected\" venga scaricata..."
|
|
|
|
FLUXIONLoadingWIDriverNotice="Attendo che l'interfaccia \"\$wiSelected\" venga caricata..."
|
|
|
|
FLUXIONFindingConflictingProcessesNotice="Individuo i servizi noti..."
|
|
|
|
FLUXIONKillingConflictingProcessesNotice="Chiudo i servizi noti..."
|
|
|
|
FLUXIONPhysicalWIDeviceUnknownError="${CRed}Impossibile determinare l'interfaccia del dispositivo fisico!"
|
|
|
|
FLUXIONStartingWIMonitorNotice="Avvio dell'interfaccia MONITOR..."
|
|
|
|
FLUXIONMonitorModeWIEnabledNotice="${CGrn}Interfaccia monitor ATTIVATA."
|
|
|
|
FLUXIONMonitorModeWIFailedError="${CRed}Interfaccia monitor FALLITA!"
|
2017-08-10 20:58:10 -06:00
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2017-08-28 05:05:35 -06:00
|
|
|
FLUXIONStartingScannerNotice="Avvio Scanner, attendi..."
|
2017-11-29 22:30:21 -07:00
|
|
|
FLUXIONStartingScannerTip="Five seconds after the target AP appears, close the FLUXION Scanner."
|
2017-08-28 05:05:35 -06:00
|
|
|
FLUXIONPreparingScannerResultsNotice="Sintetizzo i risultati dello scan, attendi..."
|
|
|
|
FLUXIONScannerFailedNotice="La scheda Wireless non è supportata (nessun APs trovato)"
|
|
|
|
FLUXIONScannerDetectedNothingNotice="Nessun Access Point e' stato trovato, ritorno..."
|
2017-08-10 20:58:10 -06:00
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2017-08-28 05:05:35 -06:00
|
|
|
FLUXIONHashFileDoesNotExistError="Il file di hash non esiste!"
|
|
|
|
FLUXIONHashInvalidError="${CRed}Errore$CClr, hash del file invalido!"
|
|
|
|
FLUXIONHashValidNotice="${CGrn}Perfetto$CClr, verifica hash completata!"
|
|
|
|
FLUXIONPathToHandshakeFileQuery="Inserisci il percorso del file di handshake $CClr(Esempio: /.../dump-01.cap)"
|
|
|
|
FLUXIONAbsolutePathInfo="Path assoluto"
|
2017-08-10 20:58:10 -06:00
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
FLUXIONScannerChannelQuery="Selezione Canale"
|
|
|
|
FLUXIONScannerChannelOptionAll="Tutti i Canali"
|
|
|
|
FLUXIONScannerChannelOptionSpecific="Definisci Canale/i"
|
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
FLUXIONScannerChannelSingleTip="Canale Singolo"
|
|
|
|
FLUXIONScannerChannelMiltipleTip="Canali Multipli"
|
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
FLUXIONScannerHeader="WIFI Monitor"
|
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
FLUXIONAPServiceQuery="Seleziona Opzione d'Attacco"
|
2017-12-01 15:06:43 -07:00
|
|
|
FLUXIONAPServiceHostapdOption="Rogue AP - hostapd (${CGrn}Consigliato!$CClr)"
|
|
|
|
FLUXIONAPServiceAirbaseOption="Rogue AP - airbase-ng (${CYel}Connessione Lenta$CClr)"
|
2017-08-10 20:58:10 -06:00
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2017-08-28 05:05:35 -06:00
|
|
|
FLUXIONHashSourceQuery="Seleziona il metodo di scoperta dell'handshake"
|
|
|
|
FLUXIONHashSourcePathOption="Path del file catturato"
|
2017-08-10 20:58:10 -06:00
|
|
|
FLUXIONHashSourceRescanOption="Handshake directory (rescan)"
|
2017-08-28 05:05:35 -06:00
|
|
|
FLUXIONFoundHashNotice="L'hash del target AP è stato trovato."
|
|
|
|
FLUXIONUseFoundHashQuery="Vuoi usare questo file?"
|
|
|
|
FLUXIONHashVerificationMethodQuery="Seleziona il metodo di verifica dell'hash"
|
|
|
|
FLUXIONHashVerificationMethodPyritOption="pyrit verification (${CGrn}raccomandato$CClr)"
|
2017-11-30 01:43:08 -07:00
|
|
|
FLUXIONHashVerificationMethodAircrackOption="aircrack-ng verification (${CYel}inaffidabile$CClr)"
|
2018-01-25 13:29:04 -07:00
|
|
|
FluxionRestartOption="Restart"
|
2017-08-10 20:58:10 -06:00
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
FLUXIONAttackQuery="Seleziona la tua scelta"
|
2017-08-28 05:05:35 -06:00
|
|
|
FLUXIONAttackInProgressNotice="${CCyn}\$FLUXIONAttack$CClr attacco in corso..."
|
|
|
|
FLUXIONSelectAnotherAttackOption="Seleziona un altro tipo di attacco"
|
2017-08-10 20:58:10 -06:00
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
FLUXIONGeneralBackOption="${CRed}Indietro"
|
2017-08-28 05:05:35 -06:00
|
|
|
FLUXIONGeneralExitOption="${CRed}Esci"
|
|
|
|
FLUXIONGeneralRepeatOption="${CRed}Ripeti Operazione"
|
|
|
|
FLUXIONGeneralNotFoundError="Non Trovato"
|
|
|
|
FLUXIONGeneralXTermFailureError="${CRed}Errore nell'avvio della sessione XTerm (possibile configurazione errata)."
|
2017-08-10 20:58:10 -06:00
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
FLUXIONCleanupAndClosingNotice="Pulizia e chiusura"
|
|
|
|
FLUXIONKillingProcessNotice="Killing ${CGry}\$targetID$CClr"
|
2017-12-20 17:30:09 -07:00
|
|
|
FLUXIONRestoringPackageManagerNotice="Restoring ${CCyn}\$PackageManagerCLT$CClr"
|
2017-08-10 20:58:10 -06:00
|
|
|
FLUXIONDisablingMonitorNotice="Disabilito l'Interfaccia Monitor"
|
|
|
|
FLUXIONDisablingExtraInterfacesNotice="Disabilito l'Interfaccia"
|
|
|
|
FLUXIONDisablingPacketForwardingNotice="Disabilito ${CGry}l'invio dei pacchetti"
|
|
|
|
FLUXIONDisablingCleaningIPTablesNotice="Pulisco ${CGry}iptables"
|
|
|
|
FLUXIONRestoringTputNotice="Ripristino ${CGry}tput"
|
2017-08-28 05:05:35 -06:00
|
|
|
FLUXIONDeletingFilesNotice="Cancello ${CGry}files"
|
2017-08-10 20:58:10 -06:00
|
|
|
FLUXIONRestartingNetworkManagerNotice="Riavvio il ${CGry}Network-Manager"
|
|
|
|
FLUXIONCleanupSuccessNotice="Pulizia avvenuta con successo!"
|
|
|
|
FLUXIONThanksSupportersNotice="Grazie per aver utilizzato Fluxion"
|
|
|
|
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2017-08-09 15:25:26 -06:00
|
|
|
|
|
|
|
# FLUXSCRIPT END
|