GithubHelp home page GithubHelp logo

pwnpi's Introduction

pwnpi

asciicast

dependencies

  • libgps-dev
  • libtins-dev
  • libboost-log-dev (git version is currently v4.1 / ubuntu18 apt is v3.4)
  • libbluetooth-dev
  • slite3pp
sudo ./dependencies.sh

build

mkdir build; cd build; cmake ..; make

run

sudo ./pwnpi --help
usage: ./pwnpi {arguments}
	-h      --help
	-d      --debug
	-v      --verbose
	-b/-w	--bluetooth/--wifi
		-i	--interface
		-e  --enable
		    --disable
[wifi specific]
		-p	--promiscous
[bluetooth specific]
        -ol --only-le
        -oc --only-classic
[lipo]
	-l      --lipo

ex1:
    sudo ./pwnpi -b -i hci1 -w -i wlan1mon -w -p
                /\          /\          /\
sets bluetooth interface    || sets wifi promiscuous
                sets wifi interface
                
==  sudo ./pwnpi --bluetooth --interface hci1 --wifi --interface wlan1mon --wifi --promiscuous 

ex2:
    ./pwnpi -b --disable -w -i wlan0
               /\           /\
       disables bluetooth   sets wifi interface

ex3:
    sudo ./pwnpi -b -i hci0 -b -ol -w --disable
                /\        /\      /\
sets bluetooth interface  ||    disables wifi
    indicates that we only want to scan for bluetoot low energy devices

faq

Q: why 'pwnpi', it can run anywhere
A: i just run it on a rpi zero, it has been created with only that thought in mind

Q: does it leak?
A: idk, valgrinded everything besides the wifi/bluetooth part and it seemed fine
Q: why didn't you check the wifi/bluetooth part?
A: didn't look into vgdb yet; else i'd need to run clion as root
Q: why don't you wanna run clion as root?
A: why don't you?

Q: i ran it with -d and it's stuck at 'waiting for debugger'
A: if you want to debug something, run with gdb and set 'waitingForDebugger' = false

Q: ble scan throws segmentation fault
A: right? and the code is basically copied from the gattlib examples

pwnpi's People

Contributors

nbdy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.