Skip to content

Commit

Permalink
add hastebin alternative to pastebin
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin committed Sep 11, 2020
1 parent 9da93a0 commit 6855341
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vulnerabilities/csp/source/low.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?php

$headerCSP = "Content-Security-Policy: script-src 'self' https://pastebin.com example.com code.jquery.com https://ssl.google-analytics.com ;"; // allows js from self, pastebin.com, jquery and google analytics.
$headerCSP = "Content-Security-Policy: script-src 'self' https://pastebin.com http://hastebin.com example.com code.jquery.com https://ssl.google-analytics.com ;"; // allows js from self, pastebin.com, hastebin.com, jquery and google analytics.

header($headerCSP);

# https://pastebin.com/raw/R570EE00
# https://hastebin.com/raw/ohulaquzex

?>
<?php
Expand Down

0 comments on commit 6855341

Please sign in to comment.