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 | |
$flag_path = "/path/to/flag.txt"; | |
$runUrl = "http://host.ru/run.php"; // Script to run | |
$runto = "wHi"; // week hours minuts | |
$time = "0180"; // Sunday, 18:00,01,02,03,04,05,06,07,08,09 | |
for($i=0;$i<10;$i++) { $times[$time.$i] = "run"; } | |
if (!file_exists($flag_path) && !empty($times[date($runto)])) { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Sample table head clone</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
<script type="text/javascript" src="script.js"></script> | |
</head> | |
<body> | |
<table border="1" style="border-collapse: collapse" width="100%" cellspacing="1" class="headclone"> | |
<tr align="center" bgcolor="#CCCCCC" class="headclone-1"> |
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
@echo off | |
echo 1. Install & Start | |
echo 2. Start | |
echo 3. Status | |
echo 4. Stop | |
echo 5. Uninstall | |
set /P choice="Choice [3]: " | |
if "%choice%"=="1" GOTO install | |
if "%choice%"=="2" GOTO start | |
if "%choice%"=="4" GOTO stop |
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
function rucaptcha(obj, callback) { | |
obj.ready(function () { | |
console.log("Capture captcha..."); | |
obj.html2canvas({ | |
allowTaint: true, | |
onrendered: function (canvas) { | |
var captcha = canvas.toDataURL("image/png"); | |
console.log("Send to decode captcha..."); | |
$.post("http://rucaptcha.com/in.php", "method=base64&key={API_KEY}&body=" + encodeURI(captcha), function (res) { | |
console.log(res); |
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
<form action="server.php" method="POST" id="contact_form"> | |
<input type="hidden" name="check_filelds" value="email,name,text" /> | |
<input type="hidden" name="check_form" value="" /> | |
<input type="text" name="email" value="" /> | |
<input type="text" name="name" value="" /> | |
<textarea name="text" rows="4" cols="20"></textarea> | |
<input type="button" name="send" value="send" onclick="checkAndSendForm($('#contact_form'))"/> | |
</form> |
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
Options All -ExecCGI -Indexes -Includes +FollowSymLinks | |
ErrorDocument 404 /error404.html | |
RewriteEngine on | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^error404(.*).html$ /404.php?desc=$1 [L,QSA] |
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
var str = 'This is a test string.'; | |
// Let's replace all spaces with ',' | |
str = str.split(' ').join(','); |
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
Options All -ExecCGI -Indexes -Includes +FollowSymLinks | |
# php_flag display_errors on | |
# 401-auth | |
AuthType Basic | |
AuthName "Thats protected Area!" | |
AuthUserFile /usr/host/mysite/.htpasswd # https://htmlweb.ru/service/htpasswd.php - generator | |
Require valid-user | |
RewriteEngine On |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Drag & Drop files</title> | |
<style> | |
.dragdrop { | |
border: 2px; | |
width: 100px; | |
height: 100px; |
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 | |
/** | |
* @author kas-cor <[email protected]> | |
* @link http://github.com/kas-cor repositories | |
*/ | |
namespace cls; | |
class Telegram { |
OlderNewer