Merge pull request #711 from MPX4132/master
Restoring repository history.
This commit is contained in:
commit
2e682bdcb5
|
@ -68,6 +68,8 @@ dist/
|
||||||
downloads/
|
downloads/
|
||||||
eggs/
|
eggs/
|
||||||
.eggs/
|
.eggs/
|
||||||
|
lib/
|
||||||
|
lib64/
|
||||||
parts/
|
parts/
|
||||||
sdist/
|
sdist/
|
||||||
var/
|
var/
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "attacks/Captive Portal/sites"]
|
||||||
|
path = fluxion_origins/attacks/Captive Portal/sites
|
||||||
|
url = https://github.com/FluxionNetwork/sites
|
|
@ -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]`
|
|
@ -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"
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue