Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pfBlockerNG v2.1.4_27 #1169

Merged
merged 2 commits into from
Jun 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update index.php
  • Loading branch information
BBcan177 authored Jun 5, 2022
commit 071bdcf2d918c3e51cde11cf81fbd9b6f0379d7e
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

// Query DNSBL Alias for Domain List.
$query = str_replace('.', '\.', htmlspecialchars($_SERVER['HTTP_HOST']));
exec("/usr/bin/grep -l ' \"{$query} 60 IN A' /var/db/pfblockerng/dnsblalias/*", $match);
exec("/usr/bin/grep -l " . escapeshellarg("\"{$query} 60 IN A") . " /var/db/pfblockerng/dnsblalias/*", $match);
$pfb_query = strstr($match[0], 'DNSBL', FALSE);

// Query for a TLD Block
Expand Down