hi i pasted it and it ended like that.some scripts that can be seen by visitors.here is
{% extends "default/layout.html.twig" %}
{% block content %}
<section class="container">
<h1 class="text-center title">{{ name|default('Paytoshi Faucet') }}</h1>
<h3 class="text-center headline">{{ description|default('...faucet? Paytoshi!') }}</h3>
<hr />
<div class="custom-content">
{{ content.header_box|raw }}
</div>
<hr />
<?php
if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1))
die("It would apprear you're using a proxy, so please, go fuck yourself!");
function checkProxy($ip){
$contactEmail="EMAIL";
$timeout=3;
$banOnProability=0.99;
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_URL, "
http://check.getipintel.net/check.php?ip=$ip");
$response=curl_exec($ch);
curl_close($ch);
if ($response > $banOnProability) {
return true;
} else {
if ($response < 0 || strcmp($response, "") == 0 ) {
//The server returned an error, you might want to do something
//like write to a log file or email yourself
//This could be true due to an invalid input or you've exceeded
//the number of allowed queries. Figure out why this is happening
//because you aren't protected by the system anymore
//Leaving this section blank is dangerous because you assume
//that you're still protected, which is incorrect
//and you might think GetIPIntel isn't accurate anymore
//which is also incorrect.
//failure to implement error handling is bad for the both of us
}
return false;
}
}
$ip=$_SERVER['REMOTE_ADDR'];
if (checkProxy($ip)) {
echo "It would apprear you're using a proxy, so please, go fuck yourself! <br />";
}
?>
<div class="row">
<div class="col-md-3 hidden-xs hidden-sm custom-content">
{{ content.left_box|raw }}
</div>
<div class="col-md-6 col-sm-12">
<div class="faucet">
{% include "default/alerts.html.twig" %}
<h3 class="text-center">Rewards:</h3>
<ul class="reward-list text-center">
{% for reward in rewards %}
<li class="reward">{{ reward.amount }} satoshi ({{ reward.probability }}%)</li>
{% endfor %}
</ul>
<h4 class="text-center">Get a reward every {{ waiting_interval / 60 }} mins!</h4>
<hr>
<form action="{{ urlFor('reward') }}" novalidate="novalidate" method="POST" class="form">
<div class="form-group">
<input class="form-control input-lg" type="text" name="address"
value="{% if address is defined %}{{ address }}{% endif %}"
placeholder="Enter your Bitcoin address">
</div>
<div class="custom-content">
{{ content.center1_box|raw }}
</div>
<div class="form-group captcha">
<center>
{% include "default/" ~ captcha.name ~ ".html.twig" with { server: captcha.server, public_key: captcha.public_key } %}
</center>
</div>
<div class="custom-content">
{{ content.center2_box|raw }}
</div>
<button class="form-control input-lg btn-info get-reward">Get a reward!</button>
<input type="hidden" name="referral" value="{{ referral }}">
<div class="custom-content">
{{ content.center3_box|raw }}
</div>
</form>
<div class="well well-sm text-center referral-box">Earn {{ referral_percentage }}% referral bonus!
Share your referral URL:<br>{{ base_url ~ '?r=' ~ address|default('Bitcoin Address') }}</div>
</div>
<div class="text-center">
<h3>What is a Bitcoin Faucet?</h3>
<p>
A faucet is a FREE Bitcoin site paying out up to {{ rewards_max }} satoshi every hour. Each time you visit this page and complete the captcha you will receive a payout amount randomly selected from the available amounts shown above. You will receive your payment directly to your <a href="
https://paytoshi.org">Paytoshi wallet.</a><br/>
<a href="{{ urlFor('faq') }}">Read more</a>
</p>
</div>
</div>
<div class="col-md-3 hidden-xs hidden-sm ">
<div class="custom-content">
{{ content.right_box|raw }}
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 custom-content" >
{{ content.footer_box|raw }}
</div>
</div>
</section>
{% endblock %}