KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/irtiweb/21May2018/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/irtiweb/21May2018/mailer.php
<?php
// ----------------------------------------- 
//  The Web Help .com
// ----------------------------------------- 
// 
// Modified by: Martin Figueroa
// Date:        August 22, 2013
//

// loads the variables form address bar
$figne = $_REQUEST["figne"];
$figst = $_REQUEST["figst"];
$figmg = $_REQUEST["figmg"];
$figfm = $_REQUEST["figfm"];
$verif_box = $_REQUEST["verif_box"];
$verif_ckie = $_COOKIE['tntcon'];
$figtm = $_REQUEST['formtime'];
$email = $_REQUEST['email'];

// sets default values
$spam=false;
$spv="No code injections";

// removes the backslashes that normally appears when entering " or '
$figne = stripslashes($figne); 
$figmg = stripslashes($figmg); 
$figst = stripslashes($figst); 
$figfm = stripslashes($figfm); 

// checks for spam-like content within submitted form elements
if (preg_match( "/bcc:|cc:|multipart|\[url|Content-Type:/i", implode($_POST))) {
	$spam=true;
	$spv="spam-like content";
}

// detects content within the hidden form element
if(!empty($_POST['email'])) {
	$spam=true;
	$spv="content within hidden elements";
}


// checks to ensure that the page referrer (incorrectly spelled 'referer' in the HTTP spec and in PHP) exists, 
// and if it does, that the referring page is on the same web site as the form processing script. 
//if((isset($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST']))) {
//	$spam=true;
//	$spv="page referrer";
//}


// checks the difference between the current time and the value stored within the form. 
// if more than an 5 minutes (300 seconds) has elapsed between the time the form was 
// viewed and the time it was submitted, the spam variable is set.
if($_POST['formtime'] < time()-300)  {
	$figtp=time();
	$spam=true;
	$spv="over time limit";
} else {
	$figtp=time();
}


// check to see if verificaton code was correct
if(md5($verif_box).'a4xn' == $_COOKIE['tntcon']){
	// if verification code was correct send the message and show this page
	$figmg = "Name: ".$figne."\n".$figmg;
	$figmg = "From: ".$figfm."\n".$figmg;
	$figmg = "Verify: ".$verif_box."\n".$figmg;
	$figmg = "Cookie: ".$verif_ckie."\n".$figmg;
	$figmg = "Time Processed: ".$figtp."\n".$figmg;
	$figmg = "Time Submited: ".$figtm."\n".$figmg;
	$figmg = "Email: ".$email."\n".$figmg;
	$figmg = "Spam Value: ".$spv."\n".$figmg;
	$figmg = "Spam: ".$spam."\n".$figmg;
	mail("[email protected]", 'Online Form: '.$figst, $_SERVER['HTTP_X_FORWARDED_FOR']."\n\n".$figmg, "From: $figfm");
	//mail("[email protected]", 'Online Form: '.$figst, $_SERVER['REMOTE_ADDR']."\n\n".$figmg, "From: $figfm");
	// delete the cookie so it cannot sent again by refreshing this page
	setcookie('tntcon','');
} else {
	// if verification code was incorrect then return to contact page and show error
	header("Location:".$_SERVER['HTTP_REFERER']."?subject=$figst&from=$figfm&message=$figmg&wrong_code=true");
	exit;
}

?>

<!--
IRT Web Page.
-->
<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <title>IRT Home Page</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="robots" content="index,follow" />
        <meta name="googlebot" content="noarchive" />
        <meta name="description" 
              content="Integrated Resource Technologies, Inc. (IRT) provides Intelligence 
              Support Solutions; Operational Support; Security Services; and IT Solutions 
              primarily to DoD and Intelligence organizations. IRT is a small woman-owned 
              business, with several federal government contracting vehicles including 
              MOBIS, GSA IT Schedule 70, SIA II, and ANTSS." />
        <meta name="keywords" content="IRT,IRTI,Integrated Resource Technologies,small business,WOSB,consulting,consulting firm,federal,intelligence,MOBIS,GSA,IT 70,Pyramid,Management Support,Operational Support, defense"/>
        <link rel="stylesheet" type="text/css" href="includes/IRTStyle.css">
        <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
        <link href="favicon.ico" rel="icon" type="image/x-icon">
        <link rel="icon" href="http://www.irti.com/favicon.ico" type="image/x-icon" />
        <link rel="shortcut icon" href="http://www.irti.com/favicon.ico" type="image/x-icon" />

        
       <script type="text/javascript">
            function changeColor(idObj,colorObj)
            {
                document.getElementById(idObj.id).style.color = colorObj;
            }
        </script>

	</head>
 
<!-- 

===============================================================
                    Start Content
=========================================================== -->

<body>  

	<div align="center">
    
    	<table width="758px" border="0" cellpadding="0" cellspacing="0">
        	<tr> 
            	<td>
                	<img src="images/IRT_Logo_clipped.jpg" width="177px" height="61px" align="left" alt="IRT Logo">
                </td>
            </tr>
        </table>
      <table width="758" height="32" border="0" cellpadding="0" cellspacing="0">
            <tr bgcolor="#993333">
            	<td align="center" width="14%"><a href="index.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Home</a>
                </td>
                <td width="14%" align="center"><a href="services.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Services</a>
                </td>
                <td width="15%" align="center"><a href="news.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">News Flash</a>
                </td>
                <td width="14%" align="center"><a href="careers.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Careers</a>
                </td>
                <td width="14%" align="center"><a href="clients.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Clients</a>
                </td>
                <td width="15%" align="center"><a href="management.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Management</a>
                </td>
                <td width="14%" align="center"><a href="contact.php" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Contact</a>
                </td>
            </tr>
        </table>
<!-- 

===============================================================
                   End Menu
=========================================================== -->             

<!-- 

===============================================================
                  Start Image Heading
=========================================================== -->        
           
        <table border="0" cellpadding="0" cellspacing="0" style="height: 158px; width: 758px;">
        	<tr valign="top">
            	<td width="220" style="background-repeat: no-repeat; background-image: url(images/Team2.png);">
                </td>
                <td width="349" style="background-repeat:no-repeat; background-image:url(images/headcontact.png)">
                	<p>&nbsp;</p>
                </td>
                <td width="189" style="background-repeat:no-repeat; background-image:url(images/email.png)">
                </td>
            </tr>
        </table>
        
<!-- 

===============================================================
                   End Image Heading
=========================================================== -->  
<!-- 

===============================================================
                  Start Main Body
=========================================================== -->   

		<table width="758" border="0" cellpadding="0" cellspacing="0">
        	<tr style="height:597px;" valign="top">
            	<td bgcolor="#82C570" style="width: 225px">
                	<br>
                	<p class="column_padding"><b>Corporate Headquarters</b></p>
                	<p class="column_padding">1800 Diagonal Road, Suite 600<br>
                	Alexandria, VA 22314</p>
                	<p class="column_padding">(Main)703.931.3330 <br>
                	(Fax)703.871.5055</p>
				
				</td>
				<td width="538" bgcolor="#FBC253" style="padding-top: 8px; padding-bottom: 8px; padding-left: 8px; padding-right:8px">
                	<p></p>
                	<p>Thank you for your interest in Integrated Resource Technologies, Inc. Someone will be in contact with you soon.</p>
                </td>
			</tr>
		</table>
									
<!-- 

===============================================================
                   End main Body
=========================================================== -->             

<!-- 

===============================================================
                   Start Bottom Menu
=========================================================== -->             
        
        <table width="758" height="32" border="0" cellpadding="0" cellspacing="0">
            <tr bgcolor="#993333">
            	<td align="center" width="14%"><a href="index.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Home</a>
                </td>
                <td width="14%" align="center"><a href="services.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Services</a>
                </td>
                <td width="15%" align="center"><a href="news.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">News Flash</a>
                </td>
                <td width="14%" align="center"><a href="careers.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Careers</a>
                </td>
                <td width="14%" align="center"><a href="clients.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Clients</a>
                </td>
                <td width="15%" align="center"><a href="management.html" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Management</a>
                </td>
                <td width="14%" align="center"><a href="contact.php" style="color: #FFF; text-transform: none; font-variant: normal; font-weight: bold; font-style: normal; font-size: 14px; font-family: 'Times New Roman', Times, serif; text-decoration: none;" onmouseover="this.style.color='#000000'" onmouseout="this.style.color='#FFFFFF'">Contact</a>
                </td>
            </tr>
        </table>

<!-- 

===============================================================
                   End Menu
=========================================================== -->             

	</div>

</body>
    
</html>

<!-- 

===============================================================
                   End Page
=========================================================== -->

Anon7 - 2021