Skip to content

Commit

Permalink
Replace all spaces in captive portal password
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewboyley committed Jan 16, 2024
1 parent aecef63 commit 4592cf3
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 4592cf3

Please sign in to comment.