Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
dash_sniff.py

README.md

Amazon Dash + One Button Uber Automation

Hack the Amazon Dash Button to Call an Uber while you pregame... or whatever other people do before an Uber.

Author: Trevor Davenport

Background

  Amazon Dash: www.amazon.com/oc/dash-button
  Credits: https://medium.com/@edwardbenson/how-i-hacked-amazon-s-5-wifi-button-to-track-baby-data-794214b0bdd8

Dash Button


Note: Browsing to your routers homepage will give you the MAC Address faster.

Setting Up Your Dash Button

Sniffing ARP Probes

  1. Run dash_sniff.py, Push Dash Button, Wait for print response
  2. Note and Save MAC Address of Dash Button.
  3. We will hardcode this MAC Address into our main program.
  #Sniff Dash ARP Probes (dash_sniff.py)
  from scapy.all import *
  def arp_display(pkt):
    if pkt[ARP].op == 1: #who-has (request)
      if pkt[ARP].psrc == '0.0.0.0': # ARP Probe
        print "ARP Probe from: " + pkt[ARP].hwsrc
  print sniff(prn=arp_display, filter="arp", store=0, count=10)


Modifying The Script

from scapy.all import *
def arp_display(pkt):
  if pkt[ARP].op == 1: #who-has (request)
    if pkt[ARP].psrc == '0.0.0.0': # ARP Probe
      if pkt[ARP].hwsrc == '74:75:48:5f:99:30': # Huggies
        print "Pushed Huggies"
      elif pkt[ARP].hwsrc == '10:ae:60:00:4d:f3': # Elements
        print "Pushed Elements"
      else:
        print "ARP Probe from unknown device: " + pkt[ARP].hwsrc

print sniff(prn=arp_display, filter="arp", store=0, count=10)

Using the Script

  Arguments: --id=Client_ID (string)
             --secret=Client_Secret (string)
             --long=Longitude Position (decimal)
             --lat=Latitude Position (decimal)
             
             The Latitude and Longitude coordinates should be your home, or where ever you plan on placing this bad boy.

You can’t perform that action at this time.