dhcp-script=/etc/detect_new_device.sh
Reference:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
</head> | |
<body> | |
<script> |
dhcp-script=/etc/detect_new_device.sh
Reference:
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
#EXTM3U name="四川电信IPTV" | |
#EXTINF:-1,CCTV-1高清 | |
http://192.168.2.2/rtp/239.93.0.184:5140 | |
#EXTINF:-1,CCTV-2高清 | |
http://192.168.2.2/rtp/239.93.1.23:6000 | |
#EXTINF:-1,CCTV-3高清 | |
http://192.168.2.2/rtp/239.93.1.11:2223 | |
#EXTINF:-1,CCTV-5高清 | |
http://192.168.2.2/rtp/239.93.1.12:2224 | |
#EXTINF:-1,CCTV-6高清 |
#Example on how to use adb to start an Activity, | |
#BroadcastReceiver or Service from adb and include intent extras too. | |
#for Activity: | |
adb shell am start -n "com.peirr.test/com.peirr.test.MyActivity" --es name "John" --ei age 30 | |
#for BroadcastReceiver | |
adb shell am broadcast -n "com.peirr.test/com.peirr.test.MyReceiver" --es name "John" --ei age 30 |
mitmproxy is an excellent console app written in Python.
It is easy to use on Linux and OS X.
Use brew install mitmproxy
to install it on OS X.
#!/usr/bin/env python3 | |
from __future__ import print_function | |
import frida | |
import sys | |
import json | |
import time | |
def on_message(message, payload): | |
if(message['type'] == 'send'): |
#!/usr/bin/env ruby | |
# | |
# Proof-of-Concept exploit for Rails Remote Code Execution (CVE-2013-0156) | |
# | |
# ## Advisory | |
# | |
# https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion | |
# | |
# ## Caveats | |
# |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# __author__ = 'ihciah' | |
# cid_hash_file function from https://github.com/binux/lixian.xunlei/blob/master/libs/tools.py | |
# Gist: https://gist.github.com/ihciah/30eda05ca36ee9f9f190067538b0ae04 | |
import hashlib | |
import inotify.adapters | |
import os | |
import sys |