Skip to content

Instantly share code, notes, and snippets.

View isdrupter's full-sized avatar

Shellz isdrupter

  • Your Router
View GitHub Profile
@isdrupter
isdrupter / ftpserver.py
Created July 1, 2017 19:56 — forked from scturtle/ftpserver.py
simple ftp server by python
#!/usr/bin/env python2
# coding: utf-8
import os,socket,threading,time
#import traceback
allow_delete = False
local_ip = socket.gethostbyname(socket.gethostname())
local_port = 8888
currdir=os.path.abspath('.')
@isdrupter
isdrupter / base64.sh
Created February 2, 2017 13:06 — forked from markusfisch/base64.sh
base64 fallback implementation in bash
#!/bin/bash
# Fallback base64 en-/decoder for systems that lack a native implementation
#
# @param ... - flags
which base64 &>/dev/null || {
# if even od is missing
which od &>/dev/null || od()
{
local C O=0 W=16