Merge pull request #711 from MPX4132/master

Restoring repository history.
This commit is contained in:
Matias Barcenas 2019-03-14 00:58:57 -05:00 committed by GitHub
commit 2e682bdcb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2139 additions and 0 deletions

2
.gitignore vendored
View File

@ -68,6 +68,8 @@ dist/
downloads/ downloads/
eggs/ eggs/
.eggs/ .eggs/
lib/
lib64/
parts/ parts/
sdist/ sdist/
var/ var/

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "attacks/Captive Portal/sites"]
path = fluxion_origins/attacks/Captive Portal/sites
url = https://github.com/FluxionNetwork/sites

19
misc/README.md Normal file
View File

@ -0,0 +1,19 @@
## Arguments table
| Arguments | Describtion |
| ------------- | ------------- |
| -a | Give a Attack |
| -e | Give a certain essid |
| -b | Give a certain bssid |
| -- | Maker is required |
| -a | Access point interface |
| -j | Jamming interface |
| -x | Use xterm instead of tmux |
| -v | Print version number |
| -d | Run fluxion in debug mode |
| -k | Kill wireless connection if it is connected |
| -m | Run fluxion in manual mode instead of auto |
| -l | Language |
## Samples
`./fluxion -a [ATTACK] -e [ESSID] -b [BSSID] -c [CHANNEL] -- -a [AP INTERFACE] -j [JAMMING INTERFACE]`

28
misc/check_device.sh Executable file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env bash
fluxion_check_ap() {
readonly SUPPORT_AP=$(sed -n -e "$(echo $(($1+4)))p" devices.xml | cut -d ">" -f2 | cut -d "<" -f1)
if [ "$SUPPORT_AP" == "n" ];then
echo "false"
fi
}
fluxion_check_mo() {
readonly SUPPORT_MO=$(sed -n -e "$(echo $(($1+6)))p" devices.xml | cut -d ">" -f2 | cut -d "<" -f1)
if [ "$SUPPORT_MO" == "n" ];then
echo "false"
fi
}
# first identifier
fluxion_check_chipset() {
declare -r LINE=$(grep "$1" devices.xml -n | head -n 1 | cut -d ":" -f1)
if [ "$(fluxion_check_ap "$LINE")" == "false" ] || [ "$(fluxion_check_mo "$LINE")" == "false" ];then
echo "false"
else
echo "true"
fi
}
fluxion_check_chipset "$1"

2087
misc/devices.json Normal file

File diff suppressed because it is too large Load Diff