HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/baretube.com/takedownRequest.php
<?
session_start();
include('admin/db.php');
if($_POST[name] && $_POST[checkbox1] && $_POST[checkbox2] && $_POST[urls] && $_POST[details] && $_POST[address] && $_POST[postal_code] && $_POST[city] && $_POST[country] && $_POST[phone_number] && $_POST[signed_date] && $_POST[signed_name] && $_POST[email] && stripos($_POST[email],'@') && (strtolower($_POST[captchaaa]) == strtolower($_SESSION[captcha]))) {
	if(!$_SESSION[flood] || ($_SESSION[flood] != '' && time() > ($_SESSION[flood] + 600))) {
		$to = $admin_email; 
		$subject = "Takedown Request - $sitename";
		$from = "From: $_POST[name] <$_POST[email]>"; 
		$message = "Takedown Request
--------------
URL:
$_POST[urls]

DETAILS:
$_POST[details] 

Contact Info
------------
Name: $_POST[name]
Email: $_POST[email]
Address: $_POST[address]
Postal Code: $_POST[postal_code]
City: $_POST[city] 
Country: $_POST[country] 
Phone Number: $_POST[phone_number]

Signed Date: $_POST[signed_date] 
Signed Name: $_POST[signed_name]

EOF TAKEDOWN REQUEST
";
		if(mail($to,$subject,$message,$from)) {
			$_SESSION[flood] = time();
			$success = true;
		}
	}
	else {
		$flood_control = true;
	}
}
$title = 'Copyright Infringement Notification'; 
$headertitle = 'Copyright Infringement Notification';
include($basepath.'/templates/template.overall_header.php'); ?>
<? if($flood_control) { ?>
<p style='font-weight: bold;'>We're sorry, you can only send a message once every 10 minutes. Please try again in 
<? echo 10-(ceil((time()-$_SESSION[flood])/60)); ?> minute(s).</p>
<? } ?>
<? if($success) { ?>
		<p>Your takedown request has been sent.</p>
<? } else { ?>
			<p>Filling out this form correctly will make your take-down notice compliant with the DMCA (Digital Millenium Copyright Act), and will help us quickly remove your copyrighted works. Note that the information provided in this legal notice may be forwarded to the person who uploaded the allegedly infringing content.</p>
			<p><strong>All fields are mandatory. Your notification will not be sent if you do not complete this form *completely*</strong></p>
<form id="form1" name="form1" method="post" action="">
		    <table width="500" border="0" align="left">
              <tr>
                <td width="121"><strong>Name</strong></td>
                <td width="369"><input name="name" type="text" id="name" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;  margin-bottom: 5px;' maxlength="255" /></td>
              </tr>
              <tr>
                <td><strong>Email Address</strong></td>
                <td><input name="email" type="text" id="email" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;  margin-bottom: 5px;' maxlength="255" /></td>
              </tr>
              <tr>
                <td><strong>Address</strong></td>
                <td><input name="address" type="text" id="email2" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;  margin-bottom: 5px;' maxlength="255" /></td>
              </tr>
              <tr>
                <td><strong>Postal Code</strong></td>
                <td><input name="postal_code" type="text" id="email3" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;  margin-bottom: 5px;' maxlength="255" /></td>
              </tr>
              <tr>
                <td><strong>City</strong></td>
                <td><input name="city" type="text" id="email4" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;  margin-bottom: 5px;' maxlength="255" /></td>
              </tr>
              <tr>
                <td><strong>Country</strong></td>
                <td><input name="country" type="text" id="email5" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;  margin-bottom: 5px;' maxlength="255" /></td>
              </tr>
              <tr>
                <td><strong>Phone Number</strong></td>
                <td><input name="phone_number" type="text" id="email6" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;  margin-bottom: 5px;' maxlength="255" /></td>
              </tr>
              <tr>
                <td><strong>Infringing URL(s)<br />
                One Per Line<br />
                <br />
Don't report videos embedded to other sites please. </strong></td>
                <td><textarea style='width: 300px; height: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; margin-bottom: 5px;' name="urls" id="textfield3"></textarea>
                <br /></td>
              </tr>
              <tr>
                <td><strong>Identify in sufficient detail the copyrighted work that you believe has   been infringed upon  or   other information sufficient to specify the copyrighted work being   infringed. </strong></td>
                <td><textarea style='width: 300px; height: 200px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; margin-bottom: 5px;' name="details" id="content"></textarea></td>
              </tr>
              <tr>
                <td colspan="2"><em><strong>I have a good faith belief that use of the copyrighted materials   described above as allegedly infringing is not authorized by the   copyright owner, its agent, or the law.</strong></em> <br />
                  <input type="checkbox" name="checkbox1" id="checkbox" value='true' />
I agree</td>
              </tr>
              <tr>
                <td colspan="2"><p><em><strong>The information in this notification is accurate and I swear, under   penalty of perjury, that I am the copyright owner or am authorized to   act on behalf of the owner of an exclusive right that is allegedly   infringed. </strong></em><br />
                  <input type="checkbox" name="checkbox2" id="checkbox2" value='true'/>
I agree</p>                </td>
              </tr>
              <tr>
                <td><strong>Electronic Signature</strong></td>
                <td>Signed on this date of:<br /></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input name="signed_date" type="text" id="email7" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;  margin-bottom: 5px;' maxlength="255" value="<? echo date('F jS, Y'); ?>" /></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td>Signature:</td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input name="signed_name" type="text" id="email8" style='width: 150px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;  margin-bottom: 5px;' maxlength="255" /></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><p>Note: Your digitial signature is legally binding, much like a physical signature.</p>
                </td>
              </tr>
              <tr>
            <td><strong>Human?</strong></td>
            <td><img src='/captcha.php' /><br />
            <input class='f02'  name="captchaaa" type="text" id="signup_email" size="10" maxlength="35" value='' /></td>
          </tr>  
                <tr>
                  <td colspan="2" align="center"><input type="submit" name="button" id="button" value="Send Message" /></td>
                </tr>
              </table>
</form>
<? } ?>          
<? include($basepath.'/templates/template.overall_footer.php'); ?>