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
<?php | |
require_once("twitteroauth/twitteroauth.php"); | |
$consumerKey = "<ご自分のコンシューマキーをどうぞ>"; | |
$consumerSecret = "ご自分の以下略"; | |
$accessToken = "ご自分(ry"; | |
$accessTokenSecret = "(ry"; | |
$TwiOAuth = new TwitterOAuth($consumerKey, $consumerSecret, $accessToken, $accessTokenSecret); |
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
#!/bin/sh | |
# 使用する JDK/JRE のカスタマイズ | |
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home | |
# export PATH=$JAVA_HOME/bin:$PATH | |
JAR_DIR=`dirname $0` | |
java -jar -Xdock:name="BurpSuite v1.6" -Xdock:icon=$JAR_DIR/../Resources/app.icns $JAR_DIR/burpsuite_free_v1.6.jar |
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
Mac環境におけるノウハウを溜めるGist |
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
$ sudo btproxy AA:AA:AA:AA:AA:AA BB:BB:BB:BB:BB:BB | |
Running proxy on master AA:AA:AA:AA:AA:AA and slave BB:BB:BB:BB:BB:BB | |
Loading last paired device settings failed: Different slave or master target addresses | |
Using shared adapter | |
Slave adapter: hci0 | |
Master adapter: hci0 | |
Looking up info on slave (BB:BB:BB:BB:BB:BB) | |
Looking up info on master (AA:AA:AA:AA:AA:AA) |
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
btproxy | |
https://github.com/conorpp/btproxy | |
$ sudo apt-get install python-pip bluez bluez-utils bluez-tools libbluetooth-dev python-dev | |
$ python -V | |
Python 2.7.6 | |
$ git clone https://github.com/conorpp/btproxy.git | |
$ cd btproxy | |
~/btproxy$ sudo python setup.py install |
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
No module named gi.repository | |
$ sudo apt-get install python-gi | |
No module named dbus | |
$ sudo apt-get install python-dbus |
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
Traceback (most recent call last): | |
File "/usr/local/bin/btproxy", line 5, in <module> | |
pkg_resources.run_script('btproxy==0.1', 'btproxy') | |
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script | |
self.require(requires)[0].run_script(script_name, ns) | |
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script | |
execfile(script_filename, namespace, namespace) | |
File "/usr/local/lib/python2.7/dist-packages/btproxy-0.1-py2.7-linux-x86_64.egg/EGG-INFO/scripts/btproxy", line 39, in <module> | |
btproxy.mitm() | |
File "/usr/local/lib/python2.7/dist-packages/btproxy-0.1-py2.7-linux-x86_64.egg/libbtproxy/mitm.py", line 535, in mitm |
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
$ hcitool scan | |
Scanning … | |
<BluetoothのMACアドレス1> <デバイス名1> | |
<BluetoothのMACアドレス2> <デバイス名2> |
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
$ kextstat | fgrep Bluetooth | |
100 1 0xffffff7f815bf000 0xad000 0xad000 com.apple.iokit.IOBluetoothFamily (4.3.6f3) <15 7 5 4 3 1> | |
102 1 0xffffff7f8167c000 0x23000 0x23000 com.apple.iokit.IOBluetoothHostControllerUSBTransport (4.3.6f3) <100 41 12 11 7 5 4 3 1> | |
103 0 0xffffff7f8169f000 0x6000 0x6000 com.apple.driver.BroadcomUSBBluetoothHCIController (4.3.6f3) <102 66 5 4 3> | |
113 0 0xffffff7f815af000 0xa000 0xa000 com.apple.iokit.IOBluetoothSerialManager (4.3.6f3) <66 7 5 4 3 1> |
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
$ sudo kextunload -b com.apple.driver.BroadcomUSBBluetoothHCIController |
OlderNewer