0) { echo "Return Code: " . $_FILES["file"]["error"] . "
"; } else { $filename = md5($_FILES["file"]["name"]).".".$extension; $check=array('avi','mp4','wav','gif'); if(!in_array($_POST['Color'], $check)){ $ext = 'mp4' ; }else{ $ext = $_POST['Color']; } $filenamewithoutext='output1_'.$filename.'.'.$ext; if (file_exists("upload/" . $filename)) { echo $filename. " already exists. "; } else { $content=file_get_contents($_FILES["file"]["tmp_name"]); if(stripos($content, 'file://') !== false){ die( "Word file found!"); } if(stripos($content, 'http:///') !== false){ die( "Word http found!"); } if(stripos($content, 'https://') !== false){ die( "Word https found!"); } if(stripos($content, 'data://') !== false){ die( "Word data found!"); } if(stripos($content, 'dict://') !== false){ die( "Word dict found!"); } move_uploaded_file($_FILES["file"]["tmp_name"],"upload/" . $filename); echo "
EXIF DATA
"; echo "------------------
"; print_r(system('exiftool upload/'.$filename).'\n'); echo "
OTHER DATA
"; $cmd='ffmpeg -protocol_whitelist file,tcp -allowed_extensions ALL -i upload/'.$filename.' upload/'.$filenamewithoutext; #$cmd='ffmpeg -protocol_whitelist file,http,tcp -i upload/'.$filename.' upload/'.$filenamewithoutext; system($cmd); if(!file_exists("upload/".$filenamewithoutext)){ $cmd='ffmpeg -protocol_whitelist file,tcp -i upload/'.$filename.' upload/'.$filenamewithoutext; try{ system($cmd); } catch(Exception $e){ echo 'Message: ' .$e->getMessage(); } } echo $filenamewithoutext; sleep(0.5); $del='rm -rf upload/'.$filename; system($del); $del1='rm -rf upload/'.$filenamewithoutext; system($del1); } } } else { die( " Invalid file "); } ?> VIDEO CONVERTER "; echo "Type: " . $_FILES["file"]["type"] . "
"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb
"; echo "Temp file: " . $_FILES["file"]["tmp_name"] . "
"; echo "Sorry but we dont have enough space to store your video se we deleated it instead :P
If you really wanted a video check this one U might also find the flag in it
"; echo ''; echo ''; ?>