Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ble sour apple script #25

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

ble sour apple script #25

wants to merge 9 commits into from

Conversation

dj1ch
Copy link

@dj1ch dj1ch commented Feb 4, 2024

this script allows for ble spamming, onto an iphone. it doesn't work for any other devices but i have seen implementation regarding google devices, androids, etc,

@whatotter
Copy link
Owner

okay well i'll check the script tomorrow as soon as possible, but it's not a plugin meant to work for pwnhyve, it just seems to be a script - either you'd have to do the work and implement it as a plugin, or i do

if you want to work on it yourself to make it into a plugin, go here for documentation. then i'll push when it's a functioning plugin and it works :)

@dj1ch
Copy link
Author

dj1ch commented Feb 4, 2024

okay well i'll check the script tomorrow as soon as possible, but it's not a plugin meant to work for pwnhyve, it just seems to be a script - either you'd have to do the work and implement it as a plugin, or i do

if you want to work on it yourself to make it into a plugin, go here for documentation. then i'll push when it's a functioning plugin and it works :)

ah i see so we make it a plugin, ill work on that

however did not add screen support yet...
@whatotter
Copy link
Owner

okay sick, half of it's done - you just need ui/screen support now. shouldn't be too hard

if you can't do it now i'll do it in a few days, i have school to worry about

@dj1ch
Copy link
Author

dj1ch commented Feb 5, 2024

okay sick, half of it's done - you just need ui/screen support now. shouldn't be too hard

if you can't do it now i'll do it in a few days, i have school to worry about

same lmao, do you know the screen dimensions in pixels so i can determine the best way to put down text?

@whatotter
Copy link
Owner

screen dimensions are 128x64 (LxH)

you shouldn't have to worry about screen dimensions and stuff though, it's best to use the screenConsole() and checkIfKey() to run infinitely until the user presses a button

pls test when possible
@dj1ch
Copy link
Author

dj1ch commented Feb 5, 2024

should be fixed, just added the screen support

@whatotter
Copy link
Owner

what's the name of the bluetooth package this uses? like the pip package name

@dj1ch
Copy link
Author

dj1ch commented Feb 8, 2024

what's the name of the bluetooth package this uses? like the pip package name

should just have bluetooth and stuff installed, and it should work. i'll double check later

@whatotter
Copy link
Owner

bluetooth is unfortunately not a package

@dj1ch
Copy link
Author

dj1ch commented Feb 9, 2024

yeah, its the pybluez package from pip, just imported as bluetooth

@whatotter
Copy link
Owner

okay well unfortunatrly i sprained my index finger and can barely type, if you can work on it on a pi you own that'd be nice - you don't need a display, you can use the VNC program i made (i too use it)

@dj1ch
Copy link
Author

dj1ch commented Feb 16, 2024

okay well unfortunatrly i sprained my index finger and can barely type, if you can work on it on a pi you own that'd be nice - you don't need a display, you can use the VNC program i made (i too use it)

get better soon! i will continue messing with my own, hopefully seeing if this will work

@whatotter
Copy link
Owner

will test, edit, then push this to main as soon as i fix display issues :) need to do comments aswell

Copy link
Owner

@whatotter whatotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than a few issues, the code looks good - I'd test it but I don't own an iphone 😆

plugins/BLE/ble.py Outdated Show resolved Hide resolved
plugins/BLE/ble.py Outdated Show resolved Hide resolved
plugins/BLE/ble.py Outdated Show resolved Hide resolved
plugins/BLE/ble.py Show resolved Hide resolved
@dj1ch
Copy link
Author

dj1ch commented Aug 16, 2024

other than a few issues, the code looks good - I'd test it but I don't own an iphone 😆

I'll test with my iPhone dw

@dj1ch
Copy link
Author

dj1ch commented Aug 16, 2024

Seems like there are a couple of problems with the screen, and I cannot use the VNC normally. For now, should I wait for a fix?

@whatotter
Copy link
Owner

if you'd like to use VNC you can go into L3 of the config and edit it to "headless" - so there isn't any SPI issues

driver = "sh1106"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants