AnonSec Shell
Server IP : 149.202.105.228  /  Your IP : 216.73.216.134
Web Server : Apache
System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : atfycaf ( 116275)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/a/t/f/atfycaf/www/admin/js/jsF/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/a/t/f/atfycaf/www/admin/js/jsF/pagesBGVideoNew.js
$(document).ready(function(){
	var encodeTimer;
	var sec = 0;
	$(function () {
		'use strict';
		var url = 'pagesBGUpload.php';
		$('#fileupload').fileupload({
			autoUpload: true,
			url: "pagesBGUpload.php",
			maxChunkSize: 2000000,
			done: function (e, data) {
				$.each(data.result.files, function (index, file) {
					$("#encodeTimer").fadeIn("slow");
					encodeTimer = setInterval(stopwatch, 1000);
					$.ajax({
						url:'pagesBGVideoConvertCheck.php',
						data:"pU=" + file.name,
						dataType:"JSON",
						cache:false,
						success:function(videoFile){
							$("#status").html(videoFile.response);
							$("#videoURL").val(videoFile.videoURL);
							var videoCheck = setInterval(function() {
								var rV = $("#videoURL").val();
								$.ajax({
									url:'pagesBGVideoConvertCheck.php',
									data:"cC=true&rV=" + rV,
									dataType:"JSON",
									cache:false,
									success:function(convertCheck){
										var response = convertCheck.name;
										if (response == "LOCKED") {
											$("#status").html(convertCheck.jsonText);
										} else {
											$("#uploadedVideo").html('<video loop autoplay controlslist="nodownload" muted width="100%"><source type="video/mp4" src="' + convertCheck.url + '"></video>');
											$("#uploadForm").slideUp("fast");
											$("#saveVideoBG").slideDown("slow");
											$("#status").html("Finished!");
											clearInterval(videoCheck);
											clearInterval(encodeTimer);
										}
									}
								});
							}, 15000);
						}
					});
				});
			},
			progressall: function (e, data) {
				var progress = parseInt(data.loaded / data.total * 100, 10);
				$('#progress .bar').css(
					'width',
					progress + '%'
				);
				$("#status").html("Uploading...");
			},
			stop: function (e) {
				$("#status").html("The video is now being cropped and converted to a global format ensuring it displays on most browsers. Please be patient as this may take a while...");
			}
		});
	});
	$(document).on("click", "#test", function() {
		encodeTimer = setInterval(stopwatch, 1000);
	});
	$(document).on("click", "#testEnd", function() {
		clearInterval(encodeTimer);
	});
	function pad ( val ) {
		return val > 9 ? val : "0" + val;
	}
	function stopwatch() {
		var stopwatchCount = pad(parseInt(sec/60,10)) + ":" + pad(++sec%60);
		$("#stopwatch").html(stopwatchCount);
	}
});

Anon7 - 2022
AnonSec Team