This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* source =>https://gist.github.com/jhedev96/f6aaf58fd7d937bfaa34fd31e2baf23f | |
* File Manager Script | |
*/ | |
// Default language ('en' and other from 'filemanager-l10n.php') | |
$lang = 'en'; | |
// Auth with login/password (set true/false to enable/disable it) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_reporting(0); | |
set_time_limit(0); | |
ob_end_clean(); | |
$url = $_GET['url']; | |
if(isset($_SERVER['HTTP_RANGE'])) { | |
stream_context_set_default([ | |
'http' => [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
PHP CURL function which bypasses the Cloudflare | |
@yasinkuyu | |
*/ | |
function cloudFlareBypass($url){ | |
$useragent = "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z‡ Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* File Manager Script | |
*/ | |
// Default language ('en' and other from 'filemanager-l10n.php') | |
$lang = 'en'; | |
// Auth with login/password (set true/false to enable/disable it) | |
$use_auth = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
system("clear"); | |
echo "\e[32m | |
_ _ __ ___ _ _ | |
/ \ _ _| |_ ___ \ \ / (_)___(_) |_ ___ _ __ | |
/ _ \| | | | __/ _ \ \ \ / /| / __| | __/ _ \| '__| | |
/ ___ \ |_| | || (x) | \ V / | \__ \ | || (x) | | | |
/_/ \_\__,_|\__\___/ \_/ |_|___/_|\__\___/|_| | |
\e[39m(c) Evil Twin | |
\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//php force download remote file | |
// Remote download URL | |
$remoteURL = 'http://www.html-editor.tk/videos/sintel.mp4'; | |
// Force download | |
header('Content-type: application/octet-stream'); | |
header("Content-Disposition: attachment; filename=".basename($remoteURL)); | |
ob_end_clean(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//php get remote file size | |
$url = "http://www.html-editor.tk/videos/sintel.mp4"; | |
$head = array_change_key_case(get_headers($url, TRUE)); | |
$size = $head['content-length']; | |
echo $size; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: atlassian/default-image:2 | |
pipelines: | |
branches: | |
master: | |
- step: | |
name: Deploy to Production | |
deployment: production | |
script: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="main"> | |
<div class="container"> | |
<div style="margin-top:150px;margin-bottom:30px;text-align:center;"> | |
<img src="https://4.bp.blogspot.com/-7OHSFmygfYQ/VtLSb1xe8kI/AAAAAAAABjI/FxaRp5xW2JQ/s320/logo.png" style="width: 100px;margin-bottom:15px"> | |
<h1>Material Design Responsive Menu</h1> | |
</div> | |
<nav> | |
<div class="nav-fostrap"> | |
<ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Google Apps Script. Need to be pasted on the code.gs file | |
function doGet() { | |
var html = HtmlService.createHtmlOutputFromFile('index'); | |
return html.setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL); | |
} | |
function uploadFiles(data) | |
{ |
NewerOlder