Skip to content

Instantly share code, notes, and snippets.

Gokberk Yaltirakli gkbrk

Block or report user

Report or block gkbrk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gkbrk /
Created Apr 4, 2015
Slowloris implementation in Python.
import socket
import random
import time
import sys
log_level = 2
def log(text, level=1):
if log_level >= level:
gkbrk /
Created Aug 1, 2019
Game bot for Titan Conquest
#!/usr/bin/env python3
import requests
import re
from bs4 import BeautifulSoup
UA = "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0"
USERNAME = "usernameHere"
PASSWORD = "passwordHere"
ROOT = ""
WORKER = f"{ROOT}worker.php"
gkbrk / lolcat.asm
Created Jul 27, 2016
Lolcat clone in x64 assembly
View lolcat.asm
section .data
char_buffer db 0
section .text
global _start
mov r12, 0
call read_char
gkbrk /
Created Dec 5, 2015
Rust whois client
use std::io::prelude::*;
use std::net::TcpStream;
use std::io::BufReader;
use std::env;
fn get_tld_server(tld: &str) -> Option<String> {
let mut stream = TcpStream::connect("").unwrap();
stream.write_all(format!("{}\n", tld).as_bytes()).unwrap(); //Send the tld
let reader = BufReader::new(stream);
gkbrk / lobsters-mastodon.lisp
Last active Apr 4, 2019
Common lisp Mastodon bot
View lobsters-mastodon.lisp
(ql:quickload :drakma)
(ql:quickload :cl-json)
(ql:quickload :plump)
(ql:quickload :babel)
(ql:quickload :tooter)
(ql:quickload :split-sequence)
(defvar *feed-path* "")
(setf drakma:*drakma-default-external-format* :UTF-8)
gkbrk / Cargo.toml
Last active Mar 4, 2019
Asynchronous server example in Rust
View Cargo.toml
name = "rust-async-qotd"
version = "0.1.0"
authors = ["Gökberk Yaltıraklı <>"]
tokio = { git = "" }
rand = "0.3"
gkbrk /
Created Jan 8, 2016
Simple idle clicker game in Rust
#[macro_use] extern crate conrod;
extern crate find_folder;
extern crate piston_window;
use conrod::{Labelable, Positionable, Sizeable, Colorable, Theme, Ui, Widget};
use conrod::color;
use piston_window::{EventLoop, Glyphs, PistonWindow, UpdateEvent, WindowSettings};
struct GameState {
coins: u64,
import io
import string
import sys
class gkexpr(list):
def a(self):
def lex(stream):
while True:
gkbrk /
Created Jan 21, 2018
A SOCKS-over-HTTP tunnel for evading censorship/network filters
#!/usr/bin/env python3
import socket
import threading
import random
import time
class EvadereSocket:
def __init__(self):
self.conn = None
self.last_activity = time.time()
gkbrk /
Created Mar 10, 2015
Simple port scanner in Python.
import socket
import sys
import threading
import queue
import time
common_ports = {
"21": "FTP",
"22": "SSH",
"23": "Telnet",
You can’t perform that action at this time.