Skip to content

Instantly share code, notes, and snippets.

Working from home

Kaan Karakaya TheYkk

Working from home
View GitHub Profile
TheYkk / funcs.php
Last active Jun 4, 2018
View funcs.php
function sYap($par){
foreach ($par as $p => $v){
$_SESSION[$p] = $v;
return true;
return false;
TheYkk /
Created Sep 4, 2018
Deobfuscate free version of

Simple Javascript deobfuscator

Aims to deobfuscate the result of JavascriptObfuscator free version.


To tun the script, you should have had node.js installed first. Requires node.js and following npm modules:

  • esprima
TheYkk /
Created Sep 8, 2018
Python clearing unused CSS
import os,ntpath,re
from fnmatch import fnmatch
folder_path = "C:/Users/TheYkk/Desktop/ko/Public/assets"
folder_path2 = "C:/Users/TheYkk/Desktop/ko/App/Views"
pattern = "*.css"
rev = ""
pattern2 = "*.php"
TheYkk / .database.cnf
Last active Nov 14, 2018
mysql backup
View .database.cnf
TheYkk / Delete.bat
Created Nov 15, 2018
Windows mysql backup
View Delete.bat
## 25 günü gecen backupları siler.
forfiles /p "C:\Yedeklerim" /s /m *.* /c "cmd /c Del @path" /d -25
TheYkk / zip.php
Last active Nov 17, 2018
Zip all file from directory
View zip.php
function get_directory_list($dir = '*')
static $files = [];
foreach (glob($dir) as $file) {
if (is_dir($file)) get_directory_list($file . '/*');
else $files[] = $file;
return $files;
TheYkk / modelajax.js
Created Nov 18, 2018
Modal javascript update
View modelajax.js
$("#myForm").submit(function(event) {
type: "POST",
url: 'url.php',
data: $(this).serialize(),
dataType: 'json',
success: function(data)
TheYkk / Vagrantfile
Created Dec 10, 2018 — forked from gokhansengun/Vagrantfile
Vagrantfile used in Istanbul Coders - Kubernetes Introduction Meetup
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
K8S_DEV_BOX_NAME = "gsengun/k8s-dev-box"
K8S_DEV_BOX_VERSION = "17.12.27"
TheYkk / admin.php
Created Jan 15, 2019
admin page finder
View admin.php
Admin Page Finder
TheYkk / Vagrantfile
Created Jan 18, 2019
My kali linux settings
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
You can’t perform that action at this time.