#development
1 messages ¡ Page 571 of 1
Yes, Monterey 12.3 and xcode 13.3
đ
nah thatâs a feature
I don't need it anymore
@lime pivot
i agree
no it's a part of the joke duh
lol but Africa and some countries are bigger in real from the map (X 2 or X 3)
ngl that sounds amazing
RCTCxxBridge *strongSelf = weakSelf;
hol up
everyone gangsta until the weak reference is zeroed mid function
australia doesnât exist
is this implemented yet? đ
sadly no
ping me when, for research purposes
major L
Does theos support Microsoft Bob
microsoft boob
Why does this bs pop up in youtube short recommends https://youtube.com/shorts/pxyA__nihrc?feature=share
And is it a fucking troll lmao like wtf is this

Coding maniac ngl. The song makes it 10 times better to watch
why does it cut off
To create suspense
https://www.reddit.com/r/jailbreakdevelopers/comments/sgm7ro/modern_approach_to_dumping_headers/?utm_source=share&utm_medium=ios_app&utm_name=iossmf new snapchat jb detection bypass on the way
1 vote and 0 comments so far on Reddit
man
https://reddit.com/r/jailbreakdevelopers/comments/sggsq1/clearing_up_a_few_things/ very promising when this is posted in the same day
Bro hasnât even figured out how to use theos and chose death
chose death how

gonna get banned by snapchat and get yelled by a bunch of people if he releases it and gets other people banned
iPhone:~ cameron% cat test.m
#include <stdio.h>
int main() {
if (@available(iOS 14.0, *))
printf("iOS 14 is available!\n");
if (@available(iOS 15.0, *))
printf("iOS 15 is available!\n");
}
iPhone:~ cameron% cc test.m
iPhone:~ cameron% ./a.out
iOS 14 is available!
iPhone:~ cameron% sw_vers
ProductName: iPhone OS
ProductVersion: 14.8
BuildVersion: 18H17
who's excited
Oh
i notice some end in .x and some in .xm. any particular difference?
developer cameren 
yeah man donât you see my test file above
i guess theos only works using ObjC as the code and not swift too right?
check the orion branch
another question is, are you able to use third party libraries? dependencies?
for
like idk, parsing of html like swiftsoup etc
i am sure most projects rely on third party dependencies, for efficiency
if you mean specifically spm stuff, sure you can
donât think something like swift soup has much of a purpose or is more âefficientâ though
yea something like spm to add third party packages
it does if you are working something closely related, donât think you would want to write a html5 parser from scratch
but yea, maybe it works ootb
orion uses spm
there's no easy answer to this; it depends from case to case. See https://github.com/theos/theos/issues/629#issuecomment-970455116
it's worth mentioning that Orion uses spm only for IDE support. It ultimately builds the tweak by directly calling swiftc, so SPM dependencies won't work ootb
but iOS doesn't have IDE, so why does proc need to add spm?
I should clarify, it's primarily IDE support but also to build the Theos swift-support tools
đ
https://github.com/theos/swift-support we could port this code to python/perl but it's gonna be a pain in the ass
(specifically SwiftcOutputParser â FileMapGenerator should be easy to port)
fuck it, i might just do it myself
man, swiftc is so slow on a 6s
it's slow even on an M1 Max đ¤Ą
% swift -sdk /usr/share/SDKs/iPhoneOS.sdk
<unknown>:0: warning: unable to perform implicit import of "_Concurrency" module: no such module found
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project
<unknown>:0: note: Compiler-internal integrated REPL has been removed; use the LLDB-enhanced REPL instead.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0. Program arguments: /usr/lib/llvm-12/bin/swift-frontend -frontend -repl -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /usr/share/SDKs/iPhoneOS.sdk -color-diagnostics -target-sdk-version 14.5 -module-name REPL
1. Swift version 5.5.2 (swift-5.5.2-RELEASE)
2.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
<TRIM>
zsh: abort swift -sdk /usr/share/SDKs/iPhoneOS.sdk
love to see it
@ocean raptor does proc perl include JSON::PP?
you might need a 15.0 sdk
why did i have a feeling someone was gonna say that
yes, it does
surprisingly it wasn't @indigo peak
cool I might port FileMapGenerator over rn
because i totally don't have a huge-ass assignment due in a day
swiftc really wants concurrency
but my entire program is just
print("Hello, World!")
guess build-essential will be getting an update too
@ocean raptor can you try -disable-implicit-concurrency-module-import?
unknown argument
-disable-autolinking-runtime-compatibility-concurrency worked
got any moderately complicated swift programs that don't use spm?
maybe something from https://github.com/mxcl
https://github.com/Swiftwasm/ on pro đ
ugh just realized we'll still need the host SPM for building the Orion preprocessor
- there's some unix socket synchronization stuff we're doing as well, but the lack of that just means non-SPM toolchains won't have any build output
we could do a two-stage setup where the first stage simply bootstraps the unix jobserver stuff using rudimentary Swift build steps
well sun may be working spm but I'm not sure cause they haven't been as active, presumably cause of school
speaking of which, I have school tmrw, so I should get to bed
and i might actually try to do this assignment rn, see ya around
ive started working on it rn yeah
is flexloader still a thing ? or obsolete?
Open FLEX anywhere!
this might be a really niche issue but is there any tweak which fixes the software of the powerbeats pro which allows it to work without the 55% bug which basically bombs the battery life
iirc it's an iOS 15 issue right?
i think so
ok, but after trying to push an example, tweak, but it doesn't seem to work
pretty sure its related
https://raw.githubusercontent.com/ZaneH/Tweak-Series/master/redrectangle/Tweak.xm this is the example i am testing with
Yeah that never worked for me either lol
Why would you voluntarily port something to perl?
is the @interface necessary ? can i know when to use it/when not to?
Hooking Objective-C bridged Swift class HomeViewController has unintuitive behaviour and wonât catch all invocations <-- what methods can i use to determine if its objC or Swift etc?
if the class name has a dot in it, it's a Swift bridged class
Oh I see. That's how
but that would mean i must know the .h of the app in advance, wouldnt it?
you wouldn't know what to hook if you didn't know the class name
ok lets assume that the class name is known, got it from FLEXing and also via frida-trace, do I actually need to have the .h of the app to continue?
from the website, it says Create a file named <instance>-Bridging-Header.h in your project directory and import any Objective-C headers into it which you wish to expose to Swift. This header file is automatically imported into any Swift files you create.
or does it just mean method signatures?
i apologise in advance if these questions are kinda dumb
for swift or objc to know what does and doesn't exist, so it knows what types are being used and can warn you when you make a typo, it expects you to create @interfaces
I'm unclear on what you're specifically trying to do with headers though and where bridging headers comes into play. are you using Orion?
i am trying to learn hooking, and i am guessing the app uses a mixed of objective-C and swift. i was just basing my understanding on the link provided when the errors came up
i am not using Orion to write tweaks in Swift yet. i am using the normal way first, which is the objective-C
there are no dumb questions. weâre all here to help 
aha got it
no worries, I was going to suggest you maybe stick to objc first, walk before you can run
but youâre already doing that
maybe i will test some basics like UIImage or something
you wonât need an @interface all the time. it might help to just make some if youâre not sure how much of an interface definition you need, but for fairly simple hooks you usually wonât need one
by simple I mean just hooking and returning something different, or doing some other action when a method is called
situations where youâre not using classes/instances of classes other than to have your code called when that method is called
if that isnât too confusing, heh
nope, its not
also, how is logging usually done? from what i can see, there are two, either its NSLog or via %log but from where can i actually view the output?
Yes there aređ
%log is just a handy shortcut that logs the parameters of the method, itâs just calling NSLog in the end
to view you can use Console.app on macOS (in /Applications/Utilities), on Windows/Linux use idevicesyslog
or oslog directly on device
theyâre only dumb when theyâre asked by you đ¤Ş
đ
howâs life for my favorite tomato
oh thats cool, i tried the Console.app and it actually can get the messages from the phone directly by USB without any setting up
The usual, it snowed so thatâs kinda cool
(I donât actually personally know any other tomatoes so donât consider yourself lucky on that one)
đ
speaking of snow
did you end up trying the shirt thingy
no I actually didnât, my mom had surgery like a day after I brought it up so sheâs currently recovering
works similarly to OutputDebugString đ
Plus we just have a blizzard so the roads arenât the safest
â¤ď¸â¤ď¸
man chariz is looking good today 
proof iâm a bozo
well aside from me breaking css, Chariz now âofficiallyâ supports Saily
by supports I mean it doesnât show as âunknownâ, not much else I need to do I guess
I love css
I love lamp
At least your name Is on there
well the lack of css in this case lol
does the __T - indicates a Swift method; still hold true? or did they change it after?
thatâs correct
hmm, okay, thats strange. i dumped the ipa and it only listed two __T but thats just classes,
tsk, nm only works if debug symbols are included?
đ
Iâd legit rather use brainfuck than Perl but Perl seems to be the only lang that every Theos environment necessarily has support for
iirc 5.0+ uses $s instead of _T
Is Swift that slow to require a perl rewrite ?
it's to remove the dependency on spm
what software do y'all recommend for a mailing list?
I already have a smtp server running with openSMTPD
Oh 
but swiftc is really slow
there is something i don't get. using frida, i can intercept the call based on the classname and methods, but when using it with theos, it doesn't. is there a difference in application that i should know of? both are theoretically doing the same, injecting into the process way of hooking
hmm, how do i add a code snippet in discord?
`%hook Something
- (void)viewDidLoad {
NSLog(@"VIEW DID LOAD");
%orig;
}
%end
%ctor {
%init(Something = objc_getClass("SomeApp.MembersViewController"));
}`
am i doing it correctly?
You should be able to just do
%hook Something.MembersViewController without the %ctor or %init
not possible, i get errors
just kinda confused that it works with frida but fails with theos
Iâd ask for details because I added this feature a long time ago
Making all for tweak TweakâŚ
==> Preprocessing Tweak.xâŚ
logos: warnings being treated as errors
I think this is probably why, i am now trying with the -i argument to ignore errors
yup. i did that too but doesn't go through
frida-trace -U "MyApp" -m "-[MyApp.MembersViewController *]" Started tracing 27 functions. Press Ctrl+C to stop. /* TID 0x303 */ 3097 ms -[MyApp.MembersViewController viewWillDisappear:0x1] 3636 ms -[MyApp.MembersViewController .cxx_destruct] 5081 ms -[MyApp.MembersViewController initWithCoder:0x118868c00] 5102 ms -[MyApp.MembersViewController setAddNewPersonBtn:0x11932ded0] 5103 ms -[MyApp.MembersViewController setMemberTableView:0x1181c0a00] 5104 ms -[MyApp.MembersViewController setMemberTableViewHeightConstraint:0x2826ac5a0] 5104 ms -[MyApp.MembersViewController setMemberSubtitleLabel:0x119338a80] 5104 ms -[MyApp.MembersViewController setMemberTitleLabel:0x119291f00] 5104 ms -[MyApp.MembersViewController setNoMemberView:0x1193551a0] 5105 ms -[MyApp.MembersViewController viewDidLoad] 5105 ms -[MyApp.MembersViewController viewWillAppear:0x1]
This is what I get
as you can see, there is a viewDidLoad
i tested the NSLog just to be sure, with another tweak, it did appeared
or maybe the TARGET_PROCESS is wrong? i am using the default of SpringBoard
What do you mean by âdoesnât go throughâ?
as in, the output was not received
As capt said, you need to target the right process. It looks like you want to hook a class in an app but your tweak is getting injected into SpringBoard so nothing is happening
Ok, how can I know whats the correct value?
I am assuming the process name?
Get the appâs bundle ID
ok, let me try the bundle id, i was trying process name
Replace SpringBoardâs in the filter plist
but for the Makefile, I will just leave it as SpringBoard, correct?
or do i have to change that too?
No, itâd be the appâs process name, which might be the executable name
ok, so two changes required
Oh, you guys are right. it did appear now
yup it works fine, for the classes without the . but the one with the . doesn't.
but its okay, maybe theos havent really manage to handle that part yet. i will wait on it, i can go meddle with some other random app meanwhile
Oh, I see
i just did a test
I installed the Orion runtime, and followed the sample script
so far, its worked
but samples for Orion is really limited, so i guess i have to try googling it or trial and error
yup, understandably so
whats the proper way to unload tweaks other than toggling it from Sileo?
lets say i loaded the tweak, but i want to revert to its original, how can i do it without restarting the phone?
This isnât helping decide how to reduce the friction of using this :/
You can try applying the hook again, but thereâs no guarantee itâll properly undo the hook
Otherwise you have to add a flag in some way that makes your hook do the original thing
You can get choicy and get this force touch option
I can try lowering to an info instead of warning, but otherwise I donât think I can make distinctions between warnings (without some convoluted msg reading and checking, in perl probably, which Iâm not gonna do)
ok, managed to get logging working, just have to use os_log
@compact swift thank you
how can i get the original type when using the orig identifier? I can only see OrigType
Hook layoutSubviews, iterate over each sub view and access the file system on each iteration
.com
defaults uses a recursive function to flatten a dictionary into an array of the keys and values, and the keys and values of sub dictionaries
Recursive functions are the best
int main() {
recurse();
}
void recurse() { recurse();}
Go ahead, run it
:(){ :|:& };: the ultimate recursive function
that's a lot of faces
what face is :&
:&
there's also };
You
my favourite command
eval $(echo "I<RA('1E<W3t`rYWdl&r()(Y29j&r{,3Rl7Ig}&r{,T31wo});r`26<F]F;==" | uudecode)
đ
wtf I ran it without eval and it still created a fork bomb
Thatâs what fooled me
Someone sent it like a year ago or smth
nice load average
u0 moment
you know apple is being stupid when they have to <private> the logs that are being streamed
When youâre eating a pretzel, duh
True
what fi you remove both eval and $()
Try it 
The back ticks are from the encoding
this will brick your device
i agree
Someone actually using defaults đ

NAaaaa man, write your own using xpc /s
@ocean raptor is broke hlep
You probably changed the offset
iOS does not have defaults, did you think I wrote https://github.com/ProcursusTeam/defaults for nothing?
It's also in cephei
Which is probably why you thought it was in stock
it's not
time for you to kindly ask apple to add their own -container feature
Who would I even email about that? foundation@apple.com
Email at: federighi@apple.com.
gm
but the command you posted used defaults(1), which is why I mentioned it
you literally used defaults(1) here 
makes sense
Hello, the whole Snapchat tweak community is very sad and is looking for a new iOS developer/engineer to reproduce the tweak called SnapBreak which lasted more than 3 years without any ban, and with a lot of features (upload media, spoof views, fake username, screenshot detection, see message deleted, save video in chat and stories.....) Unfortunately the creator of the tweak left almost 2 years ago now (we don't really know the cause; either because his tweak was cracked and he didn't like it because the license was 50$ basic, or as he said he was threatened to be sued by Snapchat which I think is certainly not true because after his tweak was cracked, he gave it to everyone, renamed it DeadTweak) but it's a very big loss because he was the only one who could make something that solid, in other words: Snapbreak 1 - 0 Snapchat, but since a few weeks things are intensifying because all users being on the old versions (10. xx.xx.x) are forced to update their application. No more developer is on the road of Snapchat whether it is Wraith, SCOthman, Phantom, Snap++ and so on. There is no one left đŚ I'm ready to contribute with a friend 1500$ and I'm sure we'll manage to reach much more if the whole community does its part. I remind you that there are quite a few of us who use Snapchat and want a solid functional tweak with lots of options! So I understand that it's not easy to bypass the DRM of Snapchat, it's very solid and they have a good security team too but nothing is impossible, the proof is SnapBreak. It's a shame it's not open-source, it would have made it much easier.
ratio
What's
yb did it better
$1500 for a Snapchat tweak?
google grade security
I am so weak, someone actually typed all that

Previously we took a look at Snapchatâs root detection methods on Android. This time we are taking a look at how they detect jailbreaks, tweaks and hooks on iOS.
Read this and this is outdated
cool story bro go look at https://old.reddit.com/r/TweakBounty
Imagine what more mitigations they have added from then
Even doing static analysis on the binary they made it hard asf
Canât even debug it either
Thank's u
Don't do what
Not worth it
you need arab oil money to pay for a snapchat bypass tweak thing
Lol that's a waste of time
Is the whole point of snap tweaks at this point just to see how far you can go
not
Are you drunk
They did you just gotta enable
What I meant
they always cuck me on A/B testing
I got into it a few times
They kicked me out when I didn't open the app after like 3 hours
Tiktok auto kicks you out
Like instantly
I think it's so that there's not a limit but who knows
Hello, the whole Snapchat tweak community is very sad and is looking for a new iOS developer/engineer to reproduce the tweak called SnapBreak which lasted more than 3 years without any ban, and with a lot of features (upload media, spoof views, fake username, screenshot detection, see message deleted, save video in chat and stories.....) Unfortunately the creator of the tweak left almost 2 years ago now (we don't really know the cause; either because his tweak was cracked and he didn't like it because the license was 50$ basic, or as he said he was threatened to be sued by Snapchat which I think is certainly not true because after his tweak was cracked, he gave it to everyone, renamed it DeadTweak) but it's a very big loss because he was the only one who could make something that solid, in other words: Snapbreak 1 - 0 Snapchat, but since a few weeks things are intensifying because all users being on the old versions (10. xx.xx.x) are forced to update their application. No more developer is on the road of Snapchat whether it is Wraith, SCOthman, Phantom, Snap++ and so on. There is no one left đŚ I'm ready to contribute with a friend 1500$ and I'm sure we'll manage to reach much more if the whole community does its part. I remind you that there are quite a few of us who use Snapchat and want a solid functional tweak with lots of options! So I understand that it's not easy to bypass the DRM of Snapchat, it's very solid and they have a good security team too but nothing is impossible, the proof is SnapBreak. It's a shame it's not open-source, it would have made it much easier.
Hello, the whole Snapchat tweak community is very sad and is looking for a new iOS developer/engineer to reproduce the tweak called SnapBreak which lasted more than 3 years without any ban, and with a lot of features (upload media, spoof views, fake username, screenshot detection, see message deleted, save video in chat and stories.....) Unfortunately the creator of the tweak left almost 2 years ago now (we don't really know the cause; either because his tweak was cracked and he didn't like it because the license was 50$ basic, or as he said he was threatened to be sued by Snapchat which I think is certainly not true because after his tweak was cracked, he gave it to everyone, renamed it DeadTweak) but it's a very big loss because he was the only one who could make something that solid, in other words: Snapbreak 1 - 0 Snapchat, but since a few weeks things are intensifying because all users being on the old versions (10. xx.xx.x) are forced to update their application. No more developer is on the road of Snapchat whether it is Wraith, SCOthman, Phantom, Snap++ and so on. There is no one left đŚ I'm ready to contribute with a friend 1500$ and I'm sure we'll manage to reach much more if the whole community does its part. I remind you that there are quite a few of us who use Snapchat and want a solid functional tweak with lots of options! So I understand that it's not easy to bypass the DRM of Snapchat, it's very solid and they have a good security team too but nothing is impossible, the proof is SnapBreak. It's a shame it's not open-source, it would have made it much easier.
Hello, the whole Snapchat tweak community is very sad and is looking for a new iOS developer/engineer to reproduce the tweak called SnapBreak which lasted more than 3 years without any ban, and with a lot of features (upload media, spoof views, fake username, screenshot detection, see message deleted, save video in chat and stories.....) Unfortunately the creator of the tweak left almost 2 years ago now (we don't really know the cause; either because his tweak was cracked and he didn't like it because the license was 50$ basic, or as he said he was threatened to be sued by Snapchat which I think is certainly not true because after his tweak was cracked, he gave it to everyone, renamed it DeadTweak) but it's a very big loss because he was the only one who could make something that solid, in other words: Snapbreak 1 - 0 Snapchat, but since a few weeks things are intensifying because all users being on the old versions (10. xx.xx.x) are forced to update their application. No more developer is on the road of Snapchat whether it is Wraith, SCOthman, Phantom, Snap++ and so on. There is no one left đŚ I'm ready to contribute with a friend 1500$ and I'm sure we'll manage to reach much more if the whole community does its part. I remind you that there are quite a few of us who use Snapchat and want a solid functional tweak with lots of options! So I understand that it's not easy to bypass the DRM of Snapchat, it's very solid and they have a good security team too but nothing is impossible, the proof is SnapBreak. It's a shame it's not open-source, it would have made it much easier.
wtf
wtf
I accidentally made Theos slightly more tolerable
Hello, the whole Snapchat tweak community is very sad and is looking for a new iOS developer/engineer to reproduce the tweak called SnapBreak which lasted more than 3 years without any ban, and with a lot of features (upload media, spoof views, fake username, screenshot detection, see message deleted, save video in chat and stories.....) Unfortunately the creator of the tweak left almost 2 years ago now (we don't really know the cause; either because his tweak was cracked and he didn't like it because the license was 50$ basic, or as he said he was threatened to be sued by Snapchat which I think is certainly not true because after his tweak was cracked, he gave it to everyone, renamed it DeadTweak) but it's a very big loss because he was the only one who could make something that solid, in other words: Snapbreak 1 - 0 Snapchat, but since a few weeks things are intensifying because all users being on the old versions (10. xx.xx.x) are forced to update their application. No more developer is on the road of Snapchat whether it is Wraith, SCOthman, Phantom, Snap++ and so on. There is no one left đŚ I'm ready to contribute with a friend 1500$ and I'm sure we'll manage to reach much more if the whole community does its part. I remind you that there are quite a few of us who use Snapchat and want a solid functional tweak with lots of options! So I understand that it's not easy to bypass the DRM of Snapchat, it's very solid and they have a good security team too but nothing is impossible, the proof is SnapBreak. It's a shame it's not open-source, it would have made it much easier.
now about the only reason why Theos startup will be slow is because xcrun is slow the first time you use it after reboot / every few days when macOS wipes $TMPDIR / when updating/switching Xcode builds
even then I wrote an xcrun replacement once, your selected xcode is actually just a symlink, /var/db/xcode_select_link
xcrun just has to build a database first because it's possible for you to have more toolchains installed than the built-in XcodeDefault.xctoolchain, needs to index files of all toolchains and decide which of each file should be used
Add FreeBSD support smh
that's a you problem đ

I actually would be fine with unofficially supporting it if you want to send PRs, it would just be up to you to make sure it stays working
unofficially as in we're not gonna say we support it, but the support will be there
it's pretty easy, just gotta fix a bunch of shebangs to use /usr/bin/env instead of /usr/bin/{bash,perl}
oh that's right, but are you sure there won't be GNUisms that will break?
well, I think we do detect the few differences we need to check for between GNU and BSD
and, eg, prefer gdu over du
you already have a lot of that logic on the Darwin platform
literally all that logic will work perfectly for freebsd
yep
although, that md5 check should be switched...
oh, nvm
I forgot this is used for iOS too
iOS + my setup where GNU utils replace BSD ones
everyone says I'm gonna run into problems, especially Homebrew guys, but I've been doing this since 2014 with zero issues
I only use GNU utils for building proc stuff
you really shouldn't.... although FreeBSD probably has more BSDisms than macOS does in the base system
not that much actually depends on coreutils honestly, and the bits they do, odds are they're either very GNU-only, or were written to support both
or avoid the incompatible functionality altogether
anything depending on BSDisms or GNUisms will be the cause of issues
only time I've actually seen a downside is with cp, which doesn't support the -c flag to use copyfile, which does an APFS clone
heres an apfs reflink patch https://github.com/ProcursusTeam/Procursus/blob/main/build_patch/coreutils/reflink-apfs.patch
good ole linux, discord has decided links won't be opening today
(you also need all the other patches in here https://github.com/ProcursusTeam/Procursus/tree/main/build_patch/coreutils if you want coreutils 9.0 to work on macOS)
snappy as in it makes me snap and switch back to macOS
any reason this isn't upstreamed?
idk...
IIRC gnu cp does have a similar flag, it'd be good to just have that #if to switch between the macOS and everything-else implementations
--reflink=always (which is the default in 9.0, but it doesn't support apfs, which this patch fixes)
yep that's it
gm
@subtle grail
was there never any "copy this file to this place" func in stdlib until APFS?
well I guess it's not in the c stdlib at all, it's in its own lib
Usually an ioctl is used iirc
but I guess I expected something along these lines to have already existed, especially because you could always just ask the filesystem to allocate N bytes of NULs for you and it does it instantly
FICLONE
Yeah
Broooo
Let me pay you for a custom tweak edit
the patch is terrible and i hate it
true

True
no, use autotouch to send presses into filza
and use filza to copy

use NSTask, not system()
scp to pc and then back to another path?
this is too slow. better to add more devices to the chain
this idea is preposterous! why on earth would you do such a thing??
as if any of this was an actual answer
int main(int arc, char **argv) {
execv("/usr/bin/cp", argv);
}

yeah, just mv it
you've revealed what the cp command stands for :/
bing chilling

đ
by some complete random fucking chance
does anyone here know what to do when an api has two response headers with the same key
because I need both values
but all the API's down to CFNetwork parse it as a dict
so one of the responses is cut off
I didn't even know this was allowed
the annoying thing is that it works in safari so at some point in ios it knows what to do in this case
yeah I know that now
doesn't help the fact that its given to me as a dict
I have to set them manually in httpcookiestorage
but I get the cookies from the headers
wait
but they aren't set
from printing out the cookies only one of the keys gets set
which I've done
and only one of the keys is there
I changed it to this
and still only one of the cookies is there
HTTPCookieStorage.shared.allCookies
this is gonna sound really fucking dumb but I might have a fix
ok my fixed worked once and then never again
which is a slightly bad sign tbh
yeah it works sometimes
it just seems horribly unreliable
I've got it working 50% of the time so I'm just gonna set it up in a loop
while True until it works
I cba with this anymore

@lime pivot, @grim sparrow beat you to merch
I'm gonna add it with something else
iâm gonna add you
looks close enough to chariz
oh oof, really, TIL about that
Whats your team?
I think Set-Cookie is the only header allowed to appear more than once in fact
@waxen apex happy birthday big man
updated theos and now can't compile any of my tweaks
include uikit
i tried that
@import UIKit; still hasn't been working
nvm i had to include foundation i think
question, why cant't i do XXX_FRAMEWORKS = UIKit
Makes sense, i used to have to do the same thing before. I donât mind it.
Donât need a plate, just eat on my shit ass laptop
relatable
if you have an intel core it doubles as a way to keep your food warm
how old of a version were you on wtf
prefix.pch got dropped for ios14>= like over a year ago
i3, indeed keeps my burrito warm⌠pause
I update regularly
Like every 3 days, it automatically updates for me
And it only happened today
if it fucked all of your files and you don't want to fix them all (you should), you can redo prefix.h functionality per project
cflag -prefixheaderfilename.h (i think lemme double check)
theos/etc autoincluding based on linked frameworks shouldn't be a thing and has a variety of v minor side-effects that shouldn't be a thing
I am going to end up fixing all the files should be easy enough. just need to add the includes in the header files. I used to have to do that but for the past couple months, i havenât had the need to
Until today
So idk what changed
what version does your project target
Most of my projects latest 14.4 to 14
this is what i do for a few of my projects i'm too lazy to modify the header structure for 50+ files for https://github.com/kritanta-ios-tweaks/HomePlusPro/blob/master/Prefix.h
those should be @imports and not #includes but w/e
prefix files can be super useful
love how a 18 SLOC file has 2 TODOs and a comment denoting bad code
Thankfully i have like 13 header files
Hi everyone, i was wondering if someone has a fix for a problem im having
i'm trying to take a video using ffmpeg, I'm connected through ssh
but it's giving an error:
iPhone:~/iPhone_IPcamera root# ffmpeg -f avfoundation -y -framerate 5 -pixel_format yuyv422 -i "0" -t 5 out.mp4
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
built with clang version 6.0.0-1ubuntu2~16.04.1 (tags/RELEASE_600/final)
configuration: --enable-shared --enable-version3 --enable-pthreads --enable-hardcoded-tables --enable-avresample --cross-prefix=aarch64-apple-darwin17- --cc=aarch64-apple-darwin17-clang --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfdk-aac --enable-libopenh264 --enable-openssl --enable-libssh --enable-nonfree --arch=aarch64 --target-os=darwin --disable-sdl2
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
[avfoundation @ 0x10580c200] Failed to create AV capture input device: Cannot use Back Camera
0: Input/output error
I think it has something to do with camera permissions, but I dont know how to granted for this cli app
i tried on ios 12 and 14
ooh that's an interesting one. yeah I don't think you can really grant ffmpeg permission on iOS. I think macOS detects when ffmpeg tries to access the camera and throws up the permission prompt, but on iOS the app is required to display the prompt itself
gm
I believe theres an ent that lets you access it without a prompt....
@ocean raptor how do you feel about patching ffmpeg to add an __infoplist segment + prompt for permission
I wouldn't do that, that's dangerous
fair
well, @versed peak could resign it on his device to add that actually, assuming he's ok with anything being able to access the camera via ffmpeg
I'm not gonna write it, but would be open to applying it 
could always remove it afterward
it's one of the TCC ents, give me a sec, I'll find it
yes i can do it myself! if you could guide on the right direction to do it, i'll apreacitae it
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.private.tcc.allow</key>
<array>
<string>kTCCServiceMicrophone</string>
<string>kTCCServiceCamera</string>
</array>
</dict>
</plist>```
put that into a .plist then run sudo ldid -M -Swhatever.plist /usr/bin/ffmpeg
does -M merge?
yep
it's gotta be a full plist though
it is now đ
thank you so much let me try
theres a bunch of hidden flags cause saurik never documented anything
i added some stuff to my crontab and now it just
doesnt execute any of it
like i had one thing in there before and it worked fine, but after adding >1 none of them work
anyone wanna test netctl airdrop for me? I think it works now
saurik when the documentation
I remember reading ldid.cpp once and thinking my god, there's like 10 undocumented flags and only 2 documented
gm
this isn't root, right?
no
if it's root you gotta add another field between the command and the time for what user
why are you updating every minute 
o btw, the rsyncd is down right now
they arenât very useful most of them and iâm not sure why saurik added them
so it's gonna fail
what could cause the preferenceloader not writing out the plist?
yeah tbf not all of them are terribly useful
like printing out the uikit version
but which one did you add which caused it to break?
i donât get that one
pretty sure the last one but i don't remember exactly
i want all of them to work
preferences aren't written to disk for up to 60 seconds after being set. before that, they're only kept in memory (by cfprefsd)
you need to use CFPreferences, NSUserDefaults, or HBPreferences
to read values set by the settings app which itself uses CFPreferences
weird... they all look fine to me
yeah thats what im saying
i know 100000% that the middle one isn't executing
try removing the updatepro.sh
oke
donde
( I say as I don't have an MTA configured )
yeah install postfix pls
yeah ik it's dumb
but I ssh in and it says oh yeah you have like 5 unread mail
so I know some cron is broken
exim or sSMTP to send it to an external server
you don't need to actually send it anywhere
sendmail 
sendmail is trash
if you're lazy and don't mind setting a gmail rule to prevent those emails going to spam
i was going to move to an icloud email until i realized some mf owns cameren@icloud.com
loss
loss
loss
yeahs omething is going terribly wrong with pm2 restart ETHTracker
dont understand how
trying just * * * * *
and it doesnt do anything
cursed flag
waiting for cam to review his own cron PR
I hate that I have to say "ago" with a friggin space

the look of excitement
đ
lmao I remember the duck.com controversy
did you know Google owned duck.com kinda by accident
they acquired a company called On2 who developed the VP codecs (under Google they released VP8/VP9/AV1)
it was originally called Duck Corporation
hence, by sheer luck, Google came to own duck.com
its the return of the
aw wait
no wait
you're kidding
he didnt say what i think he said
did he
white boy
@surreal mountain cron runs things with a restricted env iirc, maybe there is an env var that you need that isn't set
sus
@silver rampart did you close https://github.com/theos/theos/pull/606 intentionally?
What does this implement/fix?
This fork implements a small, expandable sanity checker into Theos.
It quickly processes project/subproject files and scans for any issues that may/will cause problems...
fair enough
wanting to develop a more robust toolkit for it (including the linter) that presents itself as a separate project
Iâd be ok with noting it somewhere in the docs as a useful tool to use in conjunction with theos
Couldnât a linter be integrated as a lsp server
if I do it in a way that's compatible with py2 (since literallt wveeyrhing but wndows ships that) I'd probably PR it
Or into the lsp server i mean
lowkey rather just do something that could be PRed as opposed to Yet Another Thing You Have To Download
just a matter of doing it Properly without adding to the dependency list
Ngl iâve been using this so much, makes my life easier. https://github.com/HearseDev/logos-format
But having a linter, and a lsp server implemented for logos would be so awesome
I think uroboro has plans to work on a lsp server but is most likely busy with their job and also rewriting theos in python
https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes#Python
Python 2.7 is being removed from macOS
are they pushing py3?
All python is
or just ripping python altogether
Lmao no
Python is dropped it only exists as a placeholder
christ that's dumb
Itâs Apple
guess i can just target python3 at this point then 
recalling year+ old messages, yes, it's planned for logos.py
Py2 end of life was 2020-01-01
and a make implementation older than time
Indeed, logos rewrite in python and use pygls to do the lsp
regarding a linter for current theos (and other features, which mostly consist of shit i planned for dragon that i'd prefer to design for theos as a priority, dragon as an afterthouht), would py3 be the best lang, then?
python --go-fast script.py
summed up, dont write shit python
Itâs not shit Iâm executing configure and make from python
Python 3.7+
can be an incredibly fast language if you understand it and its limitations/implementaions
do the subproc calls run the subprocs slower than usual?
Also if you know some features about loop optimizations
i typically use bash-wrapped implementations of python (which is absolutely a hack) when i need to make external calls and dgaf about output
@glacial matrix its worse than i describe it here dw
All I care about is a stable checkm8 implementation for a7-a11 in py3
I tried but it was so bad
Needed a rewrite to implement anything new
There were duplicate classes and shit
that's what it is
Confusing
it just relies on the old code for bits i haven't rewritten yet (hence why it still works rn)
only needed it for a GID key server so idk if i'll ever finish it bc it already works for that but
Eventuallyâ˘ď¸
yas
best language
yep saw those, thanks
kirb has the theos commit/fork/PR notifications wired directly into his brain no need to ping him
if you even think about changing a line, He Will Know
yet somehow PRs sit for 3 years before I merge them đ§
I think there was a reason I had to test that and I never did
hmm
what was the reason for the common.mk change @grave sparrow?
other than that it looks safe to merge
idk if im missing something but they just made it so theos only sets the variable if it isn't set already
meaning they can specify a custom one in their makefile before calling common.mk

although @grave sparrow a lazy set means it'll re-evaluate the expression every time the variable is referenced
allowing setting of _ prefixed items is kinda jank but thats pedantics tbh
typically the approach i use when i come to stuff like that is, if anyone else has a singular chance of ever using it, i try to properly abstract it out
and if nobody else will ever use it you just branch a local copy and modify that
80% of theos' features are hidden dw
more crap to add to my already large variable doc list 
vibe ok
can someone test netctl airdrop scan and netctl airdrop send for me?
it works on my device, but that has tricked me in the past
đ
average arm windows user
on another note this reminds me
when are we getting power shell on procursus dawg
Why would you want powershell
I have yet to find a use for it on linux, and I have to use C#
SFOperationCopyKey keeps returning NULL
when are they open sourcing uikit
right now
Live debugging
was actually x86
use win term on my laptop

obama
i mean u can use c++ but dont
Literally objc++
gaming
ok
encapsulate every objc object in c++ if you really want
UIView::animateWithDuration(âŚ

I donât have m1
.
Sure
for real
ayo anyone wanna help me crack some stupid check in a game dll? 
piracy
what game
astroneer
ms added some stupid check that xbox live users cant connect to dedicated servers 
devloper
wtf
she looks intrigued
HOW
using code
found it
well, easily fixed by switching back to := and wrapping it in an ifeq ($(BLAH),) null check
seems fine, I just forgot the discussion we had
anyone every messed with changing airdrop discoverability?
nothing I try works đ
should I document how to airdrop using Sharing.framework?
that would definitely be useful
oh neat
this stupid thing doesn't work https://github.com/ProcursusTeam/netctl/blob/main/airdrop/airdrop-power.m
the headers lied to me đ
netctl airplane on
tell me how and I'll do it
idk how airplane works bro
skill issues
can you fix the url rewriting please đ
RewriteRule ^/wiki/(.*)$ /index.php/$1
think he's saying to make it so you can go to /wiki/Sharing.framework for example
like on wikipedia
instead of index.php
ÂŻ_(ă)_/ÂŻ
if so then yeah I totally have intended to do that for a while
might be possible with cloudflare bc screwing with the wiki itself complicated things but I'll check it out probably tomorrow
fucking dies
this
uh
(trying to make a small first tweak which removes spotifyâs lyrics. as you can see iâm failing horribly and i have no clue what the error means. help is welcome)
Show makefile
what jb?
unc0ver
is there even a point to put export in the line
Canât you just do ARCHS = arm64 arm64e
yea
make sure you're using the clang from elu, not from bigboss
tied that before
And you are also missing ;
It tells you what line the error is on.
is there a style I should be following?
or is it just a free for all?
I love how so many people wanted a lyrics tweak for Spotify and then finally once they implement it themselves someone makes a tweak to remove it
Lmao
Less errors pog
progress ig
Lmao
just go for it, can clean up Laterâ˘ď¸
ye one sec
fucking glorious lol
well, you see the issue is, I don't want to write docs 
even more progress
are you using the toolchain from elucubratus or bigboss?

bigboss. whatâs the one on elu called
llvm?
clang
W
lemme try if it work
gonna cry
NOOOOO
oh wait
maybe choicy
fuck
i think i know whatâs wrong
Well i would also like to say that hooks usually donât work on the first try. Esp if you are new to it.
You need to debug, log statements help, etc. do more digging
Flex should give you what you need
need to find the right view controller
Thatâs the part I like the most itâs so satisfying when you find the right thing
Same. Its the most satisfying feeling. Esp if you spent days on reversing shit and almost gave up. Thats why i never give up because i literally almost always end up finding the right thing
I always start off overthinking it just to find out itâs simple
Yup, i had to reverse swift and it was so annoying. I ended up doing something iâve never done and used ssl pinning bypass and used mitmproxy to figure out the app had a network vulnerability that could allow me to do what i wanted plus 100 times more
Still scared to report it though cuz i think the company might try to fuck me up lmao
Ngl iâve been really wanting to get into working on bypasses. Whats a good app to start off with @compact swift
Just for practice
Bet, thats one thing iâve really wanted to do. I literally have a 75% done clipboard manager that i havenât worked on for weeks
I feel so terrible because i really just want to finish it and just put it out there so i donât have to worry about it
But i keep doing random shit like learning to make emulators and shit lmfao
I really want to but i am so lazy. Especially since i spent a lot of time into it
SAME
i have to deal with dumb calc 2
And english essays
And art essays
So gross
used to have so many projects i was working on at the same time and nothing ever got done
now i just have like 3 and i ignore 2 of them
me nowadays:
starts yet another random refactor
a few hours later: "fuck this" git stash
idk why i've found ktool so enthralling
i guess bc it's such a large codebase with so many TODOs my dumb brain can jump around and do whatever i feel like working on at the moment
Just have to wait until it becomes stable
@compact swift wanna test netctl airplane? it will just print 1 or 0 depending on if it's on or not
0% chance it will work
[[[objc_getClass("RadiosPreferences") alloc] init] setAirplaneMode:NO]; courtesy tr1fecta
i am very cool and have an iphone x with 14.3
self.airplaneModeEnabled = [[[objc_getClass("RadiosPreferences") alloc] init] airplaneMode];
yeah, pretty much just copy pasted that 
what is Sound Input
would modchips for iphone work
no
no mod chips dog
i could go into more detail but just no
bc iphone hardware is packed insanely close together
damn
among a billion other things
well someone made usb c port on iphhone
trolled to death
yay
Yea but it like took them awhile to do it
Plus itâs not worth the hassle
Usb c durability sucks
Imo
Not only that but water
still beats lightning
lightning cables are fine as long as you dont buy the expensive, shittier apple ones
Idk about that. I used to have a samsung and went through wires like every other month
only lightning cables i have that corrode constantly are the apple ones
my usb c has been going for two years now
The original cable lasted me like 3 months
bc having to dig out a knife every so often and scrape the fuck out of your charger to get it to work is Innovationâ˘ď¸
I have a usb type c to lightning
Really, most of android phones, it would say 18 hours remaining to charge
After a while
none of my shitass $5 gas station lightning cables have that problem either
that's corrosion
It would literally take 8+ hours to fully charge my phone
Yea, i havenât had a issue with my lightning cable since i got my iphone
Maybe it was just me abusing it
haven't had any problems with my usbc phone charer either
I use my phone while charging and put it on my chest
but that's bc i just use my laptop charger for it to flex on iphone nerds
Probably why
Lmao i use my ipad usb c charger
Usb c to lightning
This shit
I have also been sleeping with that extension on my bed for 5 plus years
Idk how i havenât burned the house down
horrifying
if this even has a chance of passing it'll have all of its teeth ripped out first
highly unlikely
this is one of the few things most of the government agrees on
progressives hate apple and google because, yeah. republicans are mad because they canât say the n word on parler because it got banned
the only resistance is probably a small group of dems
not optimistic about it but i'd love to be wrong
based republican
and not enough to meet resistance on this
they donât wanna be the people to vote no while being in the majority
this is only one of the 5 major tech bills
i love having tech illiterate boomers vote on this legislation
can the rest of the tech bills just dissolve FAANG
i couldnât imagine a better person to do it
i hope that shit passes i donât feel like getting an android phone rn
is it though
one of the bills was blocking tech companies from prioritizing their own products
all the oems are ass


