Skip to content

Commit

Permalink
Merge pull request #576 from andrewboyley/dev
Browse files Browse the repository at this point in the history
Replace all spaces in captive portal password
  • Loading branch information
OscarAkaElvis authored Jan 16, 2024
2 parents aecef63 + 4592cf3 commit 1eadace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11419,7 +11419,7 @@ function set_captive_portal_page() {
POST_DATA=$(cat /dev/stdin)
if [[ "${REQUEST_METHOD}" = "POST" ]] && [[ "${CONTENT_LENGTH}" -gt 0 ]]; then
POST_DATA=${POST_DATA#*=}
password=${POST_DATA/+/ }
password=${POST_DATA//+/ }
password=${password//[*&\/?<>]}
password=$(printf '%b' "${password//%/\\x}")
password=${password//[*&\/?<>]}
Expand Down

0 comments on commit 1eadace

Please sign in to comment.