@grave sparrow https://stackoverflow.com/questions/65346260/get-real-architecture-of-m1-mac-regardless-of-rosetta
#development
1 messages · Page 598 of 1
it's an x86 extension
Im trying to hook into MIInstallOptions
but it doesnt work
i put exit(1) in the -(id)init of MIInstallOptions
but installd doesnt exit
so my tweak wasnt even injecting in the first place
it denotes the feature set
so it doesn't have any haswell extension
what
I'm serious
that's literally what it means
can someone help me inject into installd
@grave sparrow https://github.com/apple-oss-distributions/xnu/blob/main/bsd/dev/i386/kern_machdep.c#L70
show filter
GitHub
The Darwin Kernel (mirror). This repository is a pure mirror and contributions are currently not accepted via pull-requests, please submit your contributions via https://developer.apple.com/bug-rep...
{ Filter = { Executables = ( "installd" ); }; }
in the plist
The library isnt getting loaded
oh my fucking god load tweaks was off
lol
perhaps you could look into how https://github.com/akemin-dayo/AppSync works
is it in the DSC
assuming its entirely C
yeah I don’t think you’ll be getting anything useful from class dump on libmis
whered you get that from
extracted libmis from the DSC and threw it into IDA
then used the decompile all feature
Dyld shared cache
dyldo
dyld-o file
what ida version
how much did ida cost again
5.5 grand for pro + 2 decompilers
what the fuck
there is a home version
and also a freeware version
binaryninja is also much cheaper and u should use it
not biased at all
is there another free decompiler
ghidra
ghidra
/ radare2
ghidra does decompiling?
could also probably strap ghidra's decomp into ida free or smth
here's this if you need it
iPhone10,3_6 vers 14.0 GM

@silver rampart can you help me decompile installd when you have some time? thanks
what exactly do you need help with
im trying to make a tweak to bypass this
see if you can find that string in the disassembly, and then work backwards from there to go up the call tree to eventually hopefully find where it does the check
i found it in libmis
in a function that maps error codes to strings
anyone know why apple watch reduces fps when you’re touching the screen and the aw is on charge
probably to reduce overheating idk
thermal throttling
true but the apple watch is at room temp, its at 100% so its not charging and heating up so actually false
apple is intentionally limiting fps
they still do it

vid of it happening
only reduces fps if scrolling with touch and only while maintaining contact with the screen
is it actually the fps or the polling rate of the touch screen
because if the polling rate was halved it would look like it’s half fps
i cant tell
actually i have an idea
i think its fps but i cant prove it bc WatchTube plays 30fps video not 60

ok now it looks like polling rate is halved but an animated image in WatchTube halved in fps
maybe ui fps is halved
im using a package that does innertube stuff for me
the other data like search trending etc is from invidious
hmm
unfortunately idk how innertube works but i know some parts

i forgor what WatchTube does hangon
ok so occasionally i pull trending data, i get search data, i get metadata of youtube videos, channels, playlists
oh and comments
@silver rampart congrats, you're the official arm64e according to ddg
on the goog you don't show up at all in the first few pages but Theos does
amazing search results
accidentally made Theos docs SEO a little too good, lmao
previously docs weren't even on google at all because GitHub did a GitHub and added a universal search engine block for wiki pages
now they're ranking 3rd for something only a fraction of the people googling arm64e will need to know
Hey guys… i am getting the error that libidevicerestore.la is not found. Can someone help me with that? I’m on macOS BigSur if that matters
What's the best way to search engine optimize stuff? I want to do SEO for my manpage site
Reaching a good lighthouse score helps I suppose
trying to compile futurerestore? https://github.com/tihmstar/futurerestore/issues/187
(I don't have discord on windows, that's why I took the picture with my phone)

im gonna get all 100s while still having ie5 compatibility
It worked i got it to compile thank you
accessibility should be 0
make it inaccessible
I access nothing
anyone here know how to use zlib?
ask the sdk nicely
https://motherfuckingwebsite.com
this is compatible with the first ie iirc
they fail
send
///
does
winh3lixpatcher definitely work
yes
i asked tihm about his drm in helix one time and he got mad at me lol
i’ll have someone add it to the helix tag or whatever
All tags
exitrecovery
Added by: stkc#6525
Used 13 times
exploitfaq
Added by: flower#1116
Used 11 times
futurerestore
Added by: Capt Inc#0001
Used 690 times
fwjson
Added by: Cryptic#6293
Used 61 times
guide
Added by: eric#1997
Used 326 times
howjbtv
Added by: JTV#5846
Used 55 times
ibec
Added by: Cryptic#6293
Used 137 times
icleaner
Added by: Cryptic#6293
Used 38 times
icloudbypass
Added by: JTV#5846
Used 462 times
Has image attachment
iproxy
Added by: flower#1116
Used 8 times
itunesicloud
Added by: eric#1997
Used 277 times
jbtypes
Added by: nyuszika7h#0001
Used 278 times
Page 4 of 8
its just the script that did that already but for windows
i didn’t realize it’s in cfw guides
so all good
yeah
nice
how would i do that
do i set a breakpoint
presumably ghidra or whatever disas you're using has a 'xrefs-to' view
breakpoint in lldb would work as well
how do i attach to a process
lldb command not found
when i installed it it just gave me bus error
i dont use lldb that much, is this how you set a breakpoint
Well did you continue running after setting the breakpoint?
Then the function hasn't been run yet
has or hasnt
Hasn't, typo sry
i see two processes
(installd)
and installd
which one is it
@silver rampart when you have time can you throw installd in /usr/libexec/installd into ida and decompile all, ghidra isnt working for me rn
how do i make a label with a fluid value?
like, the value changes based on how a server request responds
can you send the bin
sure
dont have one sitting around
@silver rampart here it is
woah
thanks
how would i set a breakpoint for this fucntion
already tried
this is copy and paste
i copied it from the text
is there a way i can use this offset
im not sure
yes
exe
whats the slide
empty
lemme check
why are you trying to hurt poor installd
real
[ 0] E74F96D7-2120-34E2-835D-47FF8A333F68 0x0000000104358000 /usr/libexec/installd (0x0000000104358000)
haven’t really seen a use for messing with installd beyond app sync’s purpose
and of course it exists so
Let's say I hypothetically wanted a pdf copy of the ISO C standard but didn't want to pay 200 Swiss francs, where could I get it?
why don’t you ask a swiss guy
@compact swift 🥺 👉 👈
by the way it’s 198 francs
yeah ik, I just rounded up to 200
smh
212 USD
Breakpoint 11: where = installd`___lldb_unnamed_symbol720$$installd, address = 0x000000010439d87c
will i be able t use this symbol in the future
That's a draft
I want C99's final
ISO/IEC 9899:1999
I would also like C11, but C99 is more important imho
he breakpoint actually tripped this time
breakpoint set --name ___lldb_unnamed_symbol720$$installd seems to work for me
i will examine it later, my parents really want me to get off my computer
can i detach without killing installd
alr thanks
Exit
gm capt

Why in the world do they have to use a server for that????
So when will this exploit be used in a jailbreak
Lol that’s brilliant
@restive ether @pearl sail I'm working on my man page site and I have two options for managing the Linux pages (from Debian stable)
- Patch Debian's debiman to extract into to the format I want (I did a lot of the needed changes already during my testing)
- Write my own Debian manpage downloader (a lot of work)
1
is there a way i can exit the function without executing the rest of the code
eg return
from lldb
first google result for iso c standard
lmao
Yeah I saw that, it's very similar to C99 but it's a working draft for a following version, so there are differences
thread step-out?
is there a way i can "continue until" a different address
without
breakpoint
damn
anyways if the app installs normally it exits the function at + 252
im going to check if it doesnt
it goes to +408
for a successful install it jumps from + 236 to + 356
I have found it
the fucking check
if it jumps -> sucess
if not -> 3 app limit
here it is, in the C decomp
can someone class-dump installd for me
i need class MIFreeProfileValidatedAppTracker
search github for it
i got it
someone else probably already dumped it for you

is there a way i can patch the assembly
@grave sparrow
i can just change one instruction
how do i do that
with theos i can only hook into functions
change it
waiiiiiit
my hook worked
i just had to remove the exit(1); i put in it earlier for testing
lmao
should i upload tweak to Packix
yes thats for than 3
my favorite exploit was your mother
nah it’s capt

i haven’t heard so many your mom jokes since 6th grade

mug root beer?
man get out of here
Gross

AW >>> Mug >>>>>>>>>>> Barq
barq drinker over here
big skull
california ?
nebraska
they have corn i guess
why does packix dashboard keep reloading
and this is how i became the joker
AW >>> Barq >>>>>>>>>> Mug
noo
yeah fr fr no cap this bussin
isnt packix gone
$20 is $20
fr
where do i upload my tweak
crunchwrap bussin
I tried Dad's Root Beer today
nacho fries unironically the best fast food fries
gm
dad’s or not your father’s
ITS FIXED
my balls
perl who?
This is wrong representation where is the white flag
I wonder why it has to go fetch the product name from the server only on Intel, when ARM has it in the device tree
not with https it isn’t 🙃
(brackets) can be a zombie process, you’ll see “Z” in one of the fields in ps ax / htop if so
zombie means the process has exited, but something still has a handle open to it, so it can’t fully go away yet
how long does it take for canister to look at my PR
what's canister
not long
@next wadi
Another word I use to describe your mother
jaidan you stupid bitch i just saw you comment on github
cam you son of a whore
i didnt deny it for that

i denied it because ive never heard of it in my life troll
I KNOW YOU WHORE
OKAY BITCH
GOD DAMN
GOOFY ASS
cam,,,,
you should make me mod because joe is gone,,,,
joe :(((
ik im so SAD
and SLIM
YES
all my oomfies
what happened to my brownie in arms???
what happened to my favorite guy
WAIT @restive ether
does this make me the Lead Maintainer of Bloo Technologies

aur naurrrr
how did u break it,,,
Maybe Give Me Mod And I'll Consider
me when the black Mial
help bro…
You replace stkc I replace slim and we can call it an equal trade in more ways than one
what was the error stupid bitch whore
@next wadi when am i getting a canister search on the website bro
wow my post on r/jb needs moderator approval 
its because im White
ask aarnav
uhh idk if i can see those
i tried to help him
he basically said that i suck and to go die
all i am is Manifest and Bot man
its because im Brown
wait yeah i can
yeah, sorry i had to deny the PR
-! | Traceback (most recent call last):
File "/opt/venv/lib/python3.10/site-packages/discord/commands/core.py", line 113, in wrapped
ret = await coro(arg)
File "/opt/venv/lib/python3.10/site-packages/discord/commands/core.py", line 762, in _invoke
await self.callback(self.cog, ctx, **kwargs)
File "/usr/src/app/cogs/commands/misc/ioscfw.py", line 519, in canijailbreak
await menu.start()
File "/usr/src/app/utils/views/menu.py", line 39, in start
await self.refresh_response_message()
File "/usr/src/app/utils/views/menu.py", line 74, in refresh_response_message
self.refresh_button_state()
File "/usr/src/app/utils/menu.py", line 209, in refresh_button_state
if self.ctx.build in guide.get("firmwares") and self.ctx.device_id in guide.get("devices"):
TypeError: argument of type 'NoneType' is not iterable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/venv/lib/python3.10/site-packages/discord/bot.py", line 994, in invoke_application_command
await ctx.command.invoke(ctx)
File "/opt/venv/lib/python3.10/site-packages/discord/commands/core.py", line 312, in invoke
await injected(ctx)
File "/opt/venv/lib/python3.10/site-packages/discord/commands/core.py", line 119, in wrapped
raise ApplicationCommandInvokeError(exc) from exc
discord.commands.errors.ApplicationCommandInvokeError: Application Command raised an exception: TypeError: argument of type 'NoneType' is not iterable
```@gentle crescent
if we can get the repo to gain traction and the tweaks on it to be verified then you can reopen and i'll merge

i'll take a look in a bit
if i dont please throw a rock through my window
it’s also returning the wrong data for some stuff not sure why it’s doing that
I got only m1000s
oh yeah true
brown boy…
lol
wait if you never heard of it how am i supposed to add my repo to anything
Ok
when people start using it
we dont add any old repos lol
we add credible and used ones
not me spending like a whole day going through every single repo in the db
aaaaaaand how am i supposed to get people to use it if nobody will ever find out
and purging the bad ones he took from ios repo
post on rjb maybe
then i'll see the comments maybe
and then you can reopen maybe
and i'll accept
maybe

Aarnav Tale Technologies
@tepid olive
bro...??
What happened
Nuttin Much :3

Ham Burger
Find just don't use Canister
aarnav
GIVE ME CORE ACCESS DUMB WHORE
no you aren’t
o
I will
W
if you do i’ll uhhh
Wwwww
Go away
revoke your scholarships
I can't with this rn
brown boy….
I should leave this server
when the troll
youre white you cant say that,,,
naurrrr
Stop talking like evelyn then
why don’t you stop talking like TALE
PTB and Discord
ah

I'm so sad right now
it be like that
CAN YOU STFU CAM
leave mr tale alone
@restive ether Will Do Unspeakable Things For Mod
before they are placed in the sulfuric acid
you are underaged.
i didnt say what unspeakable things
ok what do you want fucker
ok i guess that’s tale’s new name
N F R
how come this happened
screenshot the post
because you dont have the developer tag
oh does it do that
i think?
usually it’s because of one of the links
i think after one release post is verified
you dont have to wait for verification again
@restive ether I Have Done Unspeakable Things For Mod And Have No Mod Role
&&&
Ok
hmm
laughs on friend's computer
laughs on grandmas toshiba handibook
I LIKE TO BE WINED AND DINED AFTER IVE BEEN FUCKED.
does it even have edge

or does it still run IE man
laughs on @tepid olive's desktop
@shut stag is away on Sabbath, he will get back to you as soon as possible!
@restive ether i have a Feature Idea for Bloo
mashallah
ok so basically
should i open source my tweak that removes the 3 app limit or naw
you did what
instead of pinging the person who pings aaron
it just says
"Aaron is on sabbath" yada yada yada
and bloo dms aaron with the message
and then it says

you’d have to ask the jew
when he wakes the fuck up damn
you and i both know he doesnt check them.
no he does
He Never Answers Me
but the timestamp is right there......
yeah cause your stupid
He ignores you
bitch ass whore
that’s why
I Hereby Resign From Being CEO Of Bloo Technologies
My Replacement Is @pearl sail
@ornate hamlet would you like your post approved
i will assist
(and yes i’d like that to be open source)
if the post gets approved and gets enough good feedback in the comments i'll add the repo
im not really strict with what i accept
sure
you and i both know you’re not gonna check it
yes
@lament mica HELLO BIG MAN
i just dont want to accept stuff that i dont know works
gm
you and i both know you're an annoying ass bitch
like damn
HI MAI
thanks
send it over
@ornate hamlet you must send
Snowflake Mod Team @restive ether
stkc is no longer with us
done
Bad move I am shorting our stock and selling the rights to HASHBANG PRODUCTIONS
the cracker has been eliminated
F
NOOOOOOOOOOOOOO
squad eliminated.
Squad Wipe!
now about open sourcing the tweak, i should probably quickly rewrite it since its kinda messy
It got flagged because of a filtered word
LOOOOOL
xd
i do not miss tweak development at all
(i was the filtered word)
lmao
you are a type script developer.
if the tweak isnt jaidan certified it isnt real
(it is glorified javascript)
How? It doesnt even have any downvotes yet
im actually a python dev by definition
a WHAT
i dont think they like you very much
are those even real?
yes they are,,,,
seems like it’s just you and adam claiming to be “python developers”
toxic goofy ass community
so only the clinically insane
@ashen birch HOMIE
oh and that keto guy,,,
proof?
it's interesting how very custom Apple's custom platform is, and how very… not Intel Macs are
are you a little brain dead.
@restive ether mets won BITCH
HELLO CEO OF JAIDAN
5-0
just a tad
im actually the ceo of Bloo Technologies
@faint lion Goofy Ahh
you’re from new jersey, get your own baseball team (also your state smells like piss)
Intel Macs were honestly just locked-down PCs right up until the T1/T2 era
T2 took over a bunch of responsibilities from the Intel PCH
the second you get into rutherford
i can smell your Mother
completely different
you havent been in my area
looks like hobo town
the original Developer Transition Kit was literally a stock Intel motherboard in a PowerMac G5 case lmao
its by hoboken yes
it smells like piss in hoboken too
no just the air
not by me bro
proof
tell me this doesn't look like a ghetto custom mod from one of the hackintosh forums
lol
wasn't kidding when I said it's literally a PC motherboard
red bank solos nyc
the white people scramble
true
was this #SHOTONIPHONE
All The Crackers In The Joint Be Up And Out
nah this is #STOLENFROMGOOGLE
shit
Troll E. Bus
jaidan, well known rart
yes i log all
struct ContentView: View {
var body: some View {
VStack() {
var status = ""
Text("Northstar")
.padding()
.position(x: 120, y: 15)
.font(.system(size: 56))
Text("status: \(status)")
.padding()
.position(x: 115, y: -25)
.font(.system(size: 36))
Button("refresh") {
let session = URLSession.shared
let url = URL(string: "http://myipnotyours/7000")!
let task = session.dataTask(with: url, completionHandler: { data, response, error in
if response == nil {
print("404")
var status = "offline"
}
else {
print("200")
var status = "online"
}
})
task.resume()
ok look i want to make the Text("status (status)") update based on how the server responds. im really new to swift so have no idea how to do this
yeah
cracker supreme
that is not my mom’s house.
fake news,,,
do people still buy .net domains
looks dope af
penis 
perhaps
so
who are you saying hi to?
you
nobody knows what to do
why?
ron jeremy was the serial killer in one of the best movies of all time
and I was in your mother
and i was in federal prison for the murder of 12 innocents
yeah
this is very development related
@tepid olive one of the best movies ever
go watch the trailer
oh the kill counts guy?
guess so
maybe he was a fan
lol yeah
yes.
i saw it on the SyFi channel like one time in probably 2012 and just never forgot about the movie
no idea why
i hate rust
mfs write something in rust and all of a sudden its unparalleled in efficiency
yeah true it is
ok and?
laughs in assembly
pedophile moment
Should my manpage site have all the debian pages I can or just a subsection of them?

I have decided I will do all except I will manually filter some overlapping manpages
your parents feel the same way
so do yours
what does that even mean
can someone help me decomp PassbookUIService?
do you have a binary of it
this is crazy
thx
in long term its probably worth it
probably yeah
if its your entire job
businesses have no problem paying for licesnes
for hobbyists its pretty steep
PassKitCore.framework/ PassKitServices.framework/ PassKitUIFoundation.framework/ PassKitUI.framework/
fuck which framework is it
which one do you think contains the logic for double click
some other framework that will call passkit
either backboardd or springboard related ones
it calls which passkit framework
passkit has its own app so itll send a notification or something for the app to load
/ show
cant say which one in particular
PassbookUIService is the app that the popup comes up from
it loads the framework PassKitUI
Can IDA decomp frameworks?
how much code would a simple appstore service take
this thing looks chunky
@primal perch did it work?
oh
30-60mins probably
grateful for multicore cpus
i think its like 60% now
Nice
Decompile IDA with IDA
hey everyone, i'm trying to fix a bug on our newly released discord client modification tweak named enmity. we currently have themes going but are having some bugs with notched devices. the bottom of the screen seems to be a colour set at the beginning of the app's launch or a parameter specified when the application initializes, i'm not sure if anyone has dealt with this but it would be a great help if anyone could assist me with this.
the app is a react native app if that helps.
here's a preview of the bottom inset not being coloured.
i'd like to point out that we have tweak access and logos, but we cannot hook TOO early since the dylib of the tweak is injected into the ipa itself for non-jailbroken users, so we'd prefer if it was an in-app solution rather than hooking springboard or anything like that.
"only" 26.7MB
Use flex to see what view that part is, and you can use %ctor to run code right after the binary is loaded into memory
were both lead devs 
also i figured out its a react element
so we probably wont need to hook it with the tweak
i mentioned it prior to my knowledge of it being a react element, i thought it was an ios thing since it didn't happen with devices that aren't notched
i also brang up springboard because we can't hook into it incase it was an ios thing, due to the need to support jailed devices, aka injecting the dylib into the ipa which provides no access to anything outside of it
alright I’m gonna ask a rare style question
ur allowed to in the license for ida
its hardly obfuscated either
i mean its a 5k program it'd be annoying if that weren't the case
which should I be hooking for a property:
- the setter
- the getter
- both
neither!
if I want to change the value of it
not even if it’s something like alpha where it may change quite often from an animation
or is there a better way or something
in MVC code, always try to see if you can hook Model (best imo), or Controller, hooking View is adding a lot of extra cycles with your hook
that's the idea
does that paradigm change if we have 1, maybe two instances… like ever?
at the end of the day the cpus in these phones are absurd and it doesn't really matter that horrible much whether you hook a bunch of View-pattern methods or not
hooking a setter or something is dirt cheap compared to something like layoutsubviews anyway
and sometimes tbh if it makes it work it means you're not spending ages looking for <cause> (which results in things taking forever (see any of my tweaks later on))
its a super pedantic style thing but taking that approach to stuff with like, HomePlus, resulted in it running perfectly in ios simulator
i have more important things to do than
of those 3 setter is the best because it usually results in the ivar being changed
and runs the least times too I think
previously i hooked what was basically a View to set everything, and it was so bad it slowed things to a crawl
ah ok. yeah this is for lucidity which has no lag problems lol
i think it's a good habit to get into, good excuse to deep-dive into reverse engineering whatever you're working on and understand it better, and good style thing to always keep in mind when you're writing stuff
yeah for sure
but not always a requirement per se
that’s what is good about random ass open source software
write it how you want with no warranty
they did ask a style question tho
my CS professor is one of those people that will code really efficiently and cleanly as a force of habit, and as such I’ve become obsessed with code style guidelines and “the right-est way of doing things”
and i did answer the original one
and to answer the original question, if i'm slapping shit together i usually hook both just to make sure it always returns what i expect bc i'm too lazy to verify if i'm doing that, but 110% what shep said with the setter
yeah I was reformatting lucidity to purge it of my sins and I noticed I’d hooked both
but yes cynder is right and you would ideally hook model or controller

but some of apples code is dogshit and that’s not an option

finally started using instancetype like a real objc dev
i wrote that code
see when that happens you still hook M or C and just substitute their shit object with your better one
i too obsess about doing things right so much so that i often just don’t do something because i assume i can’t do it right (and tie it to my self worth)


can you use dot syntax with %c?
mentally replace %c() with objc_getClass() and you have your answer
i do not know the answer to that one either
it's essentially the same but with a dubiously necessary cache
i have to admit i've never tried
but that's probably very bad style even if it did work
eh true
i think i wrote an interface for that class anyway
yeh I did lmao
I shall be adding to the Discourse
dot notation in method calls?
i say yes
i understand people's argument against this
but this is just objectively far more satisfying (and readable) than the like 5 or 6 nested []'s that'd be required
i think those lower 2 are structs but we're pretending they're objc objects :troll:
ffs
i have a macbook now i think i'm going to spend today cleaning up / rewriting this project

Should I switch to theos-jailed or is compiling with theos then patching the deb with azule better
they look functionally the same
one is a set of makefiles and scripts, one is a 1200 line bash script

@lime pivot are you on the debian-dpkg list? Guillem responded and he also thought an fd would be easier to implement
oh god headers are beyond fucked
oh nope but I should now you mention it
Can information be sent to dpkg through status-fd? Or is it only for dpkg sending information?
@ocean raptor how viable would it be to migrate to procursus macos before i get too entrenched in brew?
They don't conflict, lots of people have both
i've heard ppl on the team here have been having issues with brew so figured i'd give it a shot
any resources on setting it up?
https://diatr.us/discord the #procursus channel has a pin
Procursus has a much smaller repo so if you need a package we don't have either add it yourself or just lmk and I can add it
That's what happens when keto is in charge of the docs 
If I wanted to connect and immediately send a message to a websocket, how would I do so? Currently I'm trying to send this to my websocket endpoint:
{
"name": "authenticate",
"type": "request",
"id": "5a02d600-c1f1-443c-adeb-00bbdd527cc3",
}
I'm using cat request.json | websocat ws://127.0.0.1:7906 to run it, however I don't think it's working because it's getting the default 401 unauthorized error.
seems to work, although you might need to remove the linebreaks
daaamn thats so cool
gg
cat request.json | tr -d '\n' | websocat ws://127.0.0.1:7906 something like this
that trailing comma might lead to issues though
Yeah I also noticed the trailing comma and removed it
However, this still doesn't seem to be working
It may be how I'm trying to interact with the API, but it seems straightforward on how to connect

@high citrus From my impression it looks like I should be able to hit the endpoint like it suggests in the authentication section, but I might be mistaken.
It specifies a password in the example, but my server doesn't have one
have you tried supplying the other fields?
maybe with password: ""
so:
{
"name": "authenticate",
"type": "request",
"id": "<unique_id>",
"device_id": "<unique_device_id>",
"options": {
"password": ""
}
}
I just tried with the password of "1", but got the same result
Also happening with just ""
is it a certificate issue?
Well no I don't believe so. There's code written to display the 401 unauthorized
One sec
Which is the same result as running the server and trying to go to it on a browser
However looking at the websocket there's a bit more detail to whats happening at connection
Not sure why it grabbed from the commit, but that's master
so it looks like we need the password field regardless
looks like the android app example picks "" as a default password
Right
I guess that still isn't explaining why this isn't working for a blank password though
alr sounds good resubmit
i've seen enough lmfao
gg
wait
that is the wrong port
7905 is websocket
7906 is http
where did you find that at
i merged it @ornate hamlet
pain.
so, im a swift noob.
i'm trying to write a simple app that changes the text of a label based on a variable.
but, the variable is updated in a function. do i need to call something specifically to update the text when the string is updated?
Okay, cool. Thanks for pointing that out for me.
I was running circles trying to understand it
echo '{"name": "authenticate", "type": "request", "id": "5a02d600-c1f1-443c-adeb-00bbdd527cc3", "options": {"password": ""}}' | websocat ws://127.0.0.1:7905
{"id":"5a02d600-c1f1-443c-adeb-00bbdd527cc3","name":"authenticate","options":{"authenticated":true,"environment":{"api_version":20,"app_version":"0.97.0","http_server_enabled":true,"http_server_port":7906,"sdk_version":21}},"type":"response"}```
looks alright, now keep the connection open? or send your wanted command and close right after?
I'm not sure. I'm really just testing this right now to get a feel for how websockets work. Would I be able to add another JSON string to run the json immediately following the the authenticate message?
use @state variables
I guess, maybe with a newline
you can set your own up like I did, then you can log the requests etc
import logging
from websocket_server import WebsocketServer
def new_client(client, server):
server.send_message_to_all("Hey all, a new client has joined us")
def new_message(client, server, message):
print("Client(%d) said: %s" % (client['id'], message))
server = WebsocketServer(host='127.0.0.1', port=13254, loglevel=logging.DEBUG)
server.set_fn_new_client(new_client)
server.set_fn_message_received(new_message)
server.run_forever()
Okay, I’ll try that when I get home. When I tried to send the query tracks endpoint, it kept returning an invalid response
how do i edit userdefaults of an app when i hook it
Same way you always do
NSUserDefaults
click and drag?
the touchpad is a pita i figured it out
if you press just slightly too hard it opens up this dumb window or tries to rename it
have to feather it perfectly
why did they have to remove force sensors from the phones and put them in the laptops :pain:
you might be able to tweak it a bit, in the settings -> trackpad
yeah ty turns out you can disable that specific thing
trippy how it feels like an actual switch when pressing the touchpad





