Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
curtbraz authored Sep 12, 2023
1 parent 68c9a73 commit 82cb256
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions html/images/signature-logo.png/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// open the file in a binary mode
$name = 'SignatureTorch.png';
// Replace this with an image you want to use for an email signature
$name = '../SignatureTorch.png';
$fp = fopen($name, 'rb');

// send the right headers
Expand Down Expand Up @@ -95,7 +95,7 @@
}

// Set Slack Information Here
$cmd = 'curl -s -X POST --data-urlencode \'payload={"channel": "#general", "username": "PhishBot", "text": "'.$message.'", "icon_emoji": ":bell:"}\' https://hooks.slack.com/services/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';
$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_HERE';
//echo $cmd;
exec($cmd);

Expand Down

0 comments on commit 82cb256

Please sign in to comment.