Skip to content

Commit

Permalink
Fix shellcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
v1s1t0r1sh3r3 committed May 7, 2024
1 parent 50a753c commit 2614eb7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9010,9 +9010,9 @@ function set_charset() {
done
charset="\"${charset}\" \"${charset_tmp}\""
else
charset_tmp=${charset}
charset_tmp="${charset}"
for ((i=0; i < maxlength - 1; i++)); do
charset+=${charset_tmp}
charset+="${charset_tmp}"
done
fi
;;
Expand Down Expand Up @@ -9524,7 +9524,7 @@ function set_bettercap_config() {

{
echo -e "set http.proxy.script ${bettercap_hook_file}"
} >> ${tmpdir}${bettercap_config_file}
} >> "${tmpdir}${bettercap_config_file}"

{
echo -e "function onLoad() {"
Expand All @@ -9539,7 +9539,7 @@ function set_bettercap_config() {
echo -e "\t\t}"
echo -e "\t}"
echo -e "}"
} >> ${tmpdir}${bettercap_hook_file}
} >> "${tmpdir}${bettercap_hook_file}"
fi

{
Expand All @@ -9560,7 +9560,7 @@ function set_bettercap_config() {
echo -e "events.ignore net.sniff.sni"
echo -e "events.ignore net.sniff.https\n"
echo -e "events.stream on"
} >> ${tmpdir}${bettercap_config_file}
} >> "${tmpdir}${bettercap_config_file}"
}

#Create configuration file for hostapd
Expand Down

0 comments on commit 2614eb7

Please sign in to comment.