Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
# Filename s5.py
# Python Dynamic Socks5 Proxy
# Usage: python s5.py 1080
# Background Run: nohup python s5.py 1080 &
# Email: [email protected]
import socket, sys, select, SocketServer, struct, time
class ThreadingTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPServer): pass
@quietlynn
quietlynn / js_index.md
Last active October 17, 2017 08:15
JavaScript交流记录索引
@xkon
xkon / Dockerfile
Created September 18, 2017 01:33
更改apk源为中科大,ruby源为ruby-china,以加快build速度的 metasploit-framework Dockerfile 。源Dockerfile地址:https://github.com/rapid7/metasploit-framework
FROM ruby:2.4.1-alpine
MAINTAINER Rapid7
ARG BUNDLER_ARGS="--jobs=8 --without development test coverage"
ENV APP_HOME /usr/src/metasploit-framework/
ENV MSF_USER msf
ENV NMAP_PRIVILEGED=""
WORKDIR $APP_HOME
COPY Gemfile* m* Rakefile $APP_HOME