This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
# Public Domain | |
for b in $(/system/xbin/busybox --list); do | |
ln -s /system/xbin/busybox "/system/xbin/${b}" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Generates a 'oui-generated.c' for tcpdump. | |
# | |
from __future__ import print_function | |
import sys, os, time, re, getopt, codecs | |
OUI_URL = "http://standards-oui.ieee.org/oui.txt" | |
ENT_URL = "http://www.iana.org/assignments/enterprise-numbers" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Declaration | |
*/ | |
/* | |
'tfp_format' really is the central function for all tinyprintf. For each output character | |
after formatting, the 'putf' callback is called with 2 args: | |
- an arbitrary void* 'putp' param defined by the user and passed unmodified from 'tfp_format'; | |
- the character; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright © 2016 Egtra | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Ettercap NG Makefile for MinGW / cl / clang-cl. | |
# by G. Vanem <gvanem@yahoo.no> 2011 - 2018. | |
# | |
THIS_FILE = Makefile.Windows | |
# | |
# Comment this away to NOT rebuild too many things when $(THIS_FILE) changes. | |
# | |
MDEPEND = $(THIS_FILE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# GNU Makefile for libnet.pyd (MSVC) | |
# Only Python 2.7 have been tested. | |
# | |
# By G. Vanem <gvanem@yahoo.no> 2013. | |
# | |
# | |
# Options and paths. Change to suite your setup. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Winpcap stuff for Win32 only: | |
* | |
* 1) Simple trace function used by WINDUMP_TRACE() macro in netdissect.h. | |
* 2) Colourised 'ndo_printer'. | |
* 3) Low-level NDIS/Packet32 stuff that doesn't fit anywhere else. | |
* | |
* Written by G. Vanem <gvanem@yahoo.no> 2014. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ua = navigator.userAgent; | |
if( ua.indexOf("Android") >= 0 ) | |
{ | |
var androidversion = parseFloat(ua.slice(ua.indexOf("Android")+8)); | |
if (androidversion < 2.3) | |
{ | |
... | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get install -y g++ automake autoconf libtool libltdl-dev gengetopt make cmake libssl-dev | |
git clone https://github.com/coova/coova-chilli | |
git checkout 1.4 | |
./bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pushd 'c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC' | |
cmd /c "vcvarsall.bat&set" | | |
foreach { | |
if ($_ -match "=") { | |
$v = $_.split("="); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])" | |
} | |
} | |
popd | |
write-host "`nVisual Studio 2013 Command Prompt variables set." -ForegroundColor Yellow |
OlderNewer