Skip to content

Instantly share code, notes, and snippets.

View wantongtang's full-sized avatar

Richard M Wan wantongtang

View GitHub Profile
@wantongtang
wantongtang / ovpn-server-with-cert.rsc
Created January 5, 2017 05:23 — forked from SmartFinn/ovpn-server-with-certs.md
MikroTik (RouterOS) script for setup OpenVPN server and generate certificates
# Setup OpenVPN Server
#
# Edit variables below and copy paste the script
# in a MikroTik terminal window.
#
:global CN [/system identity get name]
:global COUNTRY "UA"
:global STATE "KV"
:global LOC "Kyiv"
@wantongtang
wantongtang / daemon.py
Created July 15, 2016 16:15 — forked from jamiesun/daemon.py
一个python守护进程的例子
#! /usr/bin/env python2.7
#encoding:utf-8
#@description:一个python守护进程的例子
#@tags:python,daemon
import sys
import os
import time
import atexit
from signal import SIGTERM
@wantongtang
wantongtang / jsbrute
Created January 6, 2016 03:03
TP-link javascript wordlist attack
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bruteforce!</title>
</head>
<!-- http://www.tp-link.com/resources/simulator/TL-WR750N_V5.0/localiztion/str_menu.js -->
<body onload="detectFirefox()">
<h1>Bruteforcing TP-Link routers with JavaScript</h1>