This file contains hidden or 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 | |
| /* | |
| Cloudflare Bypass Class with JavaScript Challenge Solver | |
| Advanced PHP CURL implementation to bypass Cloudflare protection | |
| Features: | |
| - Automatic JavaScript challenge solving | |
| - HTTP redirect handling | |
| - Content decompression (gzip/deflate) |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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) | |
| { |
This file contains hidden or 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 | |
| //Fungsi untuk merubah format bytes | |
| function filesize_formatted($file) | |
| { | |
| $bytes = $file; | |
| if ($bytes >= 1073741824) { | |
| return number_format($bytes / 1073741824, 2) . ' GB'; | |
| } elseif ($bytes >= 1048576) { | |
| return number_format($bytes / 1048576, 2) . ' MB'; |
This file contains hidden or 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 | |
| // taken from: https://github.com/izniburak/google-bot-curl/blob/master/google-bot.php | |
| function googleBot($url) | |
| { | |
| $header = array(); | |
| $header[] = 'Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'; | |
| $header[] = 'Cache-Control: max-age=0'; | |
| $header[] = 'Content-Type: text/html; charset=utf-8'; | |
| $header[] = 'Transfer-Encoding: chunked'; |