Skip to content

Instantly share code, notes, and snippets.

View vinhjaxt's full-sized avatar
🏠
Working from home

🇻🇳 vinhjaxt

🏠
Working from home
View GitHub Profile
package demo;
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
public class aes {
/**
* java字节码转字符串
@vinhjaxt
vinhjaxt / object-watch.js
Created July 19, 2017 19:07 — forked from eligrey/object-watch.js
object.watch polyfill in ES5
/*
* object.watch polyfill
*
* 2012-04-03
*
* By Eli Grey, http://eligrey.com
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/
@vinhjaxt
vinhjaxt / sendeth.py
Created November 10, 2016 06:39 — forked from cslarsen/sendeth.py
One way of sending raw Ethernet packets in Python
"""Demonstrates how to construct and send raw Ethernet packets on the
network.
You probably need root privs to be able to bind to the network interface,
e.g.:
$ sudo python sendeth.py
"""
from socket import *