pastebinp.com Ads.txt file
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/styles/default.min.css">
<title>Pastebin Proxy</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<style>.buttonsm { background-color: #ddd; border-bottom: 2px solid #ccc; border-left: 0; border-radius: 3px; border-right: 0; border-top: 0; color: #000; cursor: pointer; display: inline-block; font-family: "segoe ui","trebuchet MS","Lucida Sans Unicode","Lucida Sans",Sans-Serif; font-size: 12px; font-weight: 400; height: 18px; line-height: 18px; text-align: center; text-decoration: none; -moz-appearance: none; -webkit-appearance: none; padding: 0 6px; opacity: .75; margin: 0 0 0 8px; }pre{ display: block; overflow-x: auto; padding: 0.5em; background: #F0F0F0; } .comment{ color: #888888; }a{ text-decoration:none; }</style>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/styles/default.min.css">
</head>
<body class="bg-dark text-light">
<div class="container-fluid mt-2">
<div id="buttons">
<a href="#" id="rawbtn" class="buttonsm">raw</a>
<a href="#" onclick="event.preventDefault();printt();" class="buttonsm">print</a>
<a href="about:blank" target="_blank" id="vieworiginal" class="buttonsm">view on pastebin.com</a>
</div>
<div class="col-md-4 mt-3">
<div id="notice" class="alert alert-info" style="padding:7px 15px;">Loading paste...</div>
</div>
<div class="row">
<div class="col-md-12">
<pre id="content" style="display:none;"><code></code></pre>
</div>
<!-- <div class="col-md-12" style="font-size:90%;">
<div class="alert alert-info">Pastebinp receives +1 million paste views per month and doesn't have any advertising profit. Please donate if you are feeling generous! Bitcoin: <span>1MokUJGur2uJ6MTQNHqPLQvfmyDmzevD8K</span></div>
</div> -->
<!-- <div class="col-md-12" id="eawrapper">
<center><div data-ea-publisher="pastebinp" class="dark horizontal" data-ea-type="image"></div></center>
</div> -->
</div>
<br>
<span>DMCA / abuse / general contact: cagriari<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-at" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M13.106 7.222c0-2.967-2.249-5.032-5.482-5.032-3.35 0-5.646 2.318-5.646 5.702 0 3.493 2.235 5.708 5.762 5.708.862 0 1.689-.123 2.304-.335v-.862c-.43.199-1.354.328-2.29.328-2.926 0-4.813-1.88-4.813-4.798 0-2.844 1.921-4.881 4.594-4.881 2.735 0 4.608 1.688 4.608 4.156 0 1.682-.554 2.769-1.416 2.769-.492 0-.772-.28-.772-.76V5.206H8.923v.834h-.11c-.266-.595-.881-.964-1.6-.964-1.4 0-2.378 1.162-2.378 2.823 0 1.737.957 2.906 2.379 2.906.8 0 1.415-.39 1.709-1.087h.11c.081.67.703 1.148 1.503 1.148 1.572 0 2.57-1.415 2.57-3.643zm-7.177.704c0-1.197.54-1.907 1.456-1.907.93 0 1.524.738 1.524 1.907S8.308 9.84 7.371 9.84c-.895 0-1.442-.725-1.442-1.914z"/></svg>pm.me</span><br>
<a href="https://cagriari.com/">cagriari.com</a><br>
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/highlight.min.js"></script>
<!-- <script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/aes-js/3.1.2/index.min.js" integrity="sha256-ahHqM0CBwtcKufWj6VHBM+SzH9DQ6a3WGBFfB/oKNt8=" crossorigin="anonymous"></script>
<script src="secure-random.js"></script>
<script>
function fixea(){
if($(".ea-placement").offset().top + $(".ea-placement").height() > $(window).height())
$("#eawrapper").addClass("order-first");
}
function printt(){
var buttonsDiv = document.getElementById('buttons');
buttonsDiv.style.display = 'none';
window.print();
buttonsDiv.style.display = 'block';
}
function base64ToBuffer(base64) {
var binstr = atob(base64);
var buf = new Uint8Array(binstr.length);
Array.prototype.forEach.call(binstr, function (ch, i) {
buf[i] = ch.charCodeAt(0);
});
return buf;
}
$(document).ready(function(){
$("#rawbtn").attr('href', '/raw'+window.location.pathname);
$("#vieworiginal").attr('href', 'https://pastebin.com'+window.location.pathname);
$.ajax({
url: "/raw/"+window.location.pathname.substring(1),
success: function(data){
if(window.location.hash != ""){
try{
var userKey = window.location.hash.substring(1);
var bytesKey = null;
try{
var buf = Array.prototype.slice.call(base64ToBuffer(userKey.replace(/_/g, '/').replace(/-/g, '+')));
if(buf.length == 32)
bytesKey = buf;
}catch(err){}
if(bytesKey == null)
var bytesKey = aesjs.utils.hex.toBytes(userKey);
var iv = data.substring(0, 32);
var actdata = data.substring(32);
var encryptedBytes = aesjs.utils.hex.toBytes(actdata);
var aesCbc = new aesjs.ModeOfOperation.cbc(bytesKey, aesjs.utils.hex.toBytes(iv));
var decryptedBytes = aesCbc.decrypt(encryptedBytes);
var decryptedText = aesjs.utils.utf8.fromBytes(decryptedBytes);
decryptedText = decryptedText.replace(/\0+$/, '');
$("#notice").hide();
$("#content>code").text(decryptedText); $("#content").show();
// ethicalads.wait.then((placements) => { fixea(); });
hljs.highlightBlock($("code")[0]);
} catch(errr) {
$("#notice").text('Decryption key is invalid').addClass('alert-danger');
}
} else {
$("#notice").hide();
$("#content>code").text(data); $("#content").show();
// ethicalads.wait.then((placements) => { fixea(); });
if(window.location.pathname.substring(1).length <= 15)
hljs.highlightBlock($("code")[0]);
}
},
error: function(data){
$("#notice").removeClass('alert-info');
if(data.status == 404)
$("#notice").text('Paste not found').addClass('alert-warning');
else if(data.status == 403)
$("#notice").text('System error occured, please try again').addClass('alert-danger');
else if(data.status == 500)
$("#notice").text('Internal error occured, please try again').addClass('alert-danger');
}
})
});
</script>
</body>
</html>