Skip to content

Instantly share code, notes, and snippets.

View gokaybiz's full-sized avatar
🌪️
Focusing

gokaybiz

🌪️
Focusing
View GitHub Profile
@gokaybiz
gokaybiz / contact.gs
Created July 16, 2017 08:54
Contact form with Google Scripts
var secret = '<recaptcha_secret>';
var tomail = '<mail>@gmail.com';
function doGet(e) {
return ContentService.createTextOutput('Hayirdir?');
}
function doPost(e) {
var captchakey = (e.parameters.captcha) || "";
var name = (e.parameters.name) || "";
@gokaybiz
gokaybiz / linktl.api.php
Last active June 4, 2017 12:39
Link.tl bypass
<?php
function linktlCURL($link, $ref) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$link);
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_REFERER, $ref);
curl_setopt($ch, CURLOPT_COOKIE, "ads_impression=19; ads_impression3=19;");
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36");
$ret = curl_exec($ch);