#development
1 messages · Page 18 of 1
-
are sandboxed things actually booting before launchd?
-
idk polling? Or can the thing with the socket tell you when it's available?
is /var/tmp a good place for ephemeral data storage
i'm not ready to convert my code into an XPC daemon yet so i want to store something there on boot and have my tweak read it as needed
yes
great
ugh
i hate how i have to be on a vpn to access llvm.org
but if i'm on the vpn i can't access local network
yea
vscode.dev's cdn domain used to be blocked too 
time to submit yet another ticket ig
this isn't even the normal blocker
which blocks random IPSWs for some reason
every interaction i have had with this stupid malware shield has been a legitimate site 
the entire internet is malware
beautiful
also
small screen moment
oh i need to write a launchdaemon so this runs at boot don't i


Charix quality
But what if the standard is wrong?
im guessing platform binary = actual osx binaries. but thats not what im doing
just a normal distributed codesigned binary
started lldb as root, yet it still shits itself
Someone knows why the fuck new tweak with hook on springboard and overriding applicationdidlaunch doesn’t work? I mean even if I use a class from springboard doesn’t give me any value, happens only on a specific device (xs iOS 13.3) on any other device (x 13.5 or 12 pro 14.4) it works!
Both x (13.5) and xs (13.3) using the same unc0ver versio (5.3.1) and I have no idea what’s going on, even tried rootfs/completely restore the xs but nothing shows up! Hooking on a specific app works ok
really simple as that ```#import <Foundation/Foundation.h>
#include <UIKit/UIKit.h>
%hook SpringBoard
- (void)applicationDidFinishLaunching:(id)application {
%orig(application);
NSLog(@"WOW");
}
%end```
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }
and its not just the nslog not working, any functionality i try is not working
Hey is it possible to create a root helper in bash and then execute it in a Shell or ish to access /var/mobile ?
The one from Xcode
For all you sickos who compile from iOS: you can now use @available in your tweaks

list1.issubset(list2) ended up working,
however, there's one major caveat... set's don't allow duplicates so this a flaw that just can't happen because duplicates are in the nature of the data
list1 in list2 doesn't return true for some reason despite sets working fine
ah this syntax works all(x in list2 for x in list1)
list1 in list2 does not work because it's basically doing any(x == list1 for x in list2)
that will tell you if all the elements of list1 are in list2 but not if they are in the right order or quantity
@lime pivot https://man.ckatri.com/ls shorter path just dropped
cool
For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information. For each operand that names a file of type directory, ls displays the names of files contained within that directory, as well as any requested, associated information.
diskutil resetFusion
🧌
hot
Thank u bestie
Best website
Hey, this might sound stupid but I want to see what I can do for mcbc iOS 14.x, the problem is : I don't know what needs to be updated for iOS 14 
so you want to work with an exploit but you don't know how to work with an exploit
I need to start somewhere....
Killing you is pretty easy
real

Another useless tool: Clutch on TrollStore
https://t.co/X1rQPeNP01
(Tested with SSHDog on 15.4.1 A15)
that's one quirky font 
Fr
I mean it is development
I know but too many clout chasers in here
Doesn’t matter
What
Green name not be a total imbecile challenge [impossible]
This also applies to red names
Exceptions apply to kitty and shouganai
i'm one of them
omg a discord notification
i'm not going to be friends with you until you complete my challenge
this channel is for everyone not just you my man
again, doesn't matter what I said
nerd
What’s the challenge
Recreate ntwerk
Gm Rolex
Shooting up 40 CC of pure black tar heroin while you snort 10 lines of pure Columbian coke
Gm



I have never seen a wild gator outside of the Everglades
CryptoTokenKit is a SEP akf framework that's closed source and used by Security Framework.
It's used for system cert attestation. SIK/UIK Which is used for many things, activation, BCert etc
@grave sparrow this fine?
amoung
I'm still looking for these files:
581993e4320b7abe499b63f4c8c566ef3415235d Command_Line_Tools_for_Xcode_14_beta_2.dmg
dd2973ea5fd80b1dea7963867db29fec7f0f528d Command_Line_Tools_for_Xcode_14_beta_3.dmg
e709a707e5c5faef1620eb23f2e3c71eae38ad11 Command_Line_Tools_for_Xcode_14_beta_5.dmg
@vivid dew do you have a mic
yes



offering 0.001 BTC ($15) for each of these 
you would be right
capt is just stubborn
capt moment
Capt when he thinks he did something by writing objc but claiming it's c
capt asks his professor where the @ is before string literals
You know this won't work, right?
true
"#import is the proper syntax for clang"
Bro thinks clang is a language
No idiot
Clang is just an implementation of the C standard
@tepid olive n||asty||
Clang just isn't pedantic enough and allows you to use objc syntax in a .c and not linking libobjc
You want #import in C? Talk to the standard committee
Otherwise
shut up
fr
is this safe to use on palera1n?
its a fork that (supposedly) adds ios 15 support
im even more tempted to run palera1n on my main device, now also to see if it works, but im not exactly keen on bricking my device
eh, you know what, fuck it, im going to do a local (encrypted) itunes backup, and run palera1n
since I already have onboards for 15.1
nobody asked
I know nobody asked for me to respond to you, but also nobody asked you to respond, so
oh god, not you again
it injects into springboard and preferences, meaning it could break seal, but if it injects into fakefs, it should be fine?
@grave sparrow do you use C++ in your code and claim that it is valid C code because it is part of clang
capt when he writes rust code and claims it's C because rustc uses llvm 
common footage of capt speaking
god i love old spongebob
True
troll
True I love writing C
true true
I am just mad
shit dont work
lmao
well its meant to work on trollstore
and thats the only app decrypter that supposedly works on ios 15
help, make package command makes a deb file with -debug version, how do i make a deb without -debug
im new to this
Read the docs 
oh i got it, i also have another question
how do i run uicache during the installation of the deb?
do i run chmod +x postinst?
eh its for ios 12
hm, i chmod'ed the postinst then did make package FINALPACKAGE=1 STRIP=0 and it doesn't do anything after installing the deb, my script:
echo " Running uicache..."
uicache -p /Applications/AirTroller.app
echo " Running uicache... Done."
exit 0;
it's like this
YES! it worked
thank you
Bro doesn't understand how triggers work
You know, every time capt speaks he just gets dumber and dumber
please don't add print statements I don't wanna see that shit in my log 🙏🙏🙏
Ikr
echo Thank you for using procursus
echo follow us on Twitter at @ProcursusTeam
echo and at @KatriCameron
Adding to every procursus package postinst right now
#!/bin/sh
uicache -p /Applications/AirTroller.app
there i made a portable script for you
thank you 🙏
wait wbat jailbreak is this for
its a port of airtroller for all ios 12 versions
and all jailbreaks
so yea
oh ok that's fine then
make package FINALPACKAGE=1
@tepid olive yo dumb question since u know swiftui shit: is there any library which helps provide consistent colors on both macOS and iOS? (i.e "solving" the UIColor/NSColor oddities)
CGColor?
Unless it’s about displaying it
i mean like the UIColor.label and UIColor.systemBackground stuff
Those colors aren’t meant to be the same for both platforms
The colour is intentionally different
What’s missing
You could just get the rgb codes for the colors
NSColor is missing systemBackground, for exampel
:frbruh_l:

always has been
umm another question, can i set the firmware version range from ios 12.0-12.5.6 in the control file?
Depends: firmware (>= 12.0), firmware (<= 12.5.6)
Extremely rare capt smart moment

Icraze when 12.5.7 releases

wtfahhhhhh
it's << rather than just <, because reasons
yep
<=, <<, >>, >=
and because something would be very wrong if it possibly had any consistency, equal version is = and not ==
i mean if it does what you want to
fr
https://github.com/1Conan/tsschecker/releases/tag/414
@grave sparrow
Debian developers when in order to make sure you don't confuse two symbols, they make it the most unnecessarily complicated system that nobody can remember
why wouldn't it be lol
@grave sparrow listen fucker
BOOL isTrue(BOOL b) {
return [(b ? @"ntwerk" : @"nsquirt") isEqualToString:@"ntwerk"];
}```
clutch has 0 support for extensions plugins
so the phone will panic/respring if the app has a plugin
Loss
you run an expression with try! (most likely in package.swift) and it crashes
or you call a method that executes try!
I'm not sure this is just the template with no changes
did you download the swift toolchain?
Are they any good ide for swift on linux/windows?
vscode 
i asked for an ide 
has sourcekit-lsp support
nano 
Wait I got it to work, I guess my normal install was very broken but the template installed on theos-docker
oh alr
wine notepad 
on god
wine microsoft word
under m1 emulation
u think I'm joking?
I just closed my terminal and I was running five layers of bash 
has intellisense
bash bash bash bash bash bash bash
How would i develop my own API ?
The plan is to gather data (temperature, air moisture etc.) from an ESP8266 with all the sensors or similar, and send it over to a SQL database so another program can read it afterwards
Ive never made something like that, so i pretty much need whatever help i can get
True
when the nut is less successful than anticipated
Preferably password protected, obviously
After you're done with the initial hurdle of getting everything running on the sensor/esp-side of things (correct readings, intervals, data structure, wifi connectivity), pick a web framework of choice and start out building a very simple hello world.
Assuming you really dunno webdev, what you'd want to design are endpoints which consume only (e.g. you can only POST to them(send data)) [yes there are other methods but we'll gloss over them for the sake of simplicity].
For security you can probably get away with a token system (such as JSON Web Tokens) or even simpler - a predefined, singular token. This will depend how much you're scaling this project but it doesn't hurt to take the simple route at first and optimize as you go
It pretty much requires only a single ESP8266 that would send the data, for the web site, i chose nuxt
- vuetify
had that last year
so why not
Would be cool if i can make it scaleable (add more devices via a web ui) but for now, its only a single device
I'm not much of a wizard with javascript tbh but the core concepts should carry over, however do focus on getting the readings from the device to your webserver first - since you're in control, try sending the data from the esp in an orderly crafted JSON to your webserver and print the incoming data to the console
if the data received equals the data sent, you're well on your way to proceed
I like how im a "programming technician" yet i know absolutely nothing about what i need.
At this point, all i have is that nuxt project where my frontend gonna be running on localhost and the ESP itself.
ESP side should be pretty simple, cause ive worked with arduinos for quite a while, so thats a piece of cake, the ESP is pretty much an Arduino Nano but with Wifi and a bit more powerful but thats pretty much it lol
And this is my last year, so good luck graduating for me
All good g, as long as your curiosity and spirit is up that's all that matters.
You might want to look at existing projects, punch in "esp weather station" in google and filter for git repositories which use javascript as backend language. You'll stumble upon projects which can help you in terms of code & the approach
Do you know how to open the Flexing tweak? I want to use it to view the class names and stuff but long pressing the statusbar does nothing
Use flexall
I tried that but it just crashed when I clicked the info button on any class
using google will take you a long way
Yeah I did that, nothing happens
Not flexinf
it crashes when clicking info on a class
and resprings my phone
Send Cr4shed log
justa sec I need to install that, I don't have that installed yet
Id even need help with getting nuxt to run on a webserver
I already did, all I have is the default stuff and flex
What are you trying to do? Set up an express api?
If express works for that, then yes
Walk me through what you are trying to accomplish again
@snow python still nothing from chariz?
I have a hardware side - ESP8266 MCU with temperature sensors, moisture sensors etc.
I have my nuxt front end where i wanna display all the data and manage it
Aaaand i have an SQL database which ill probably use phpMyAdmin for to manage/run it
What i need is a way to get the data from that ESP8266 onto my SQL DB, and for that, the best way is to use an API, probably
Yes, SQL is a must
I dont make the rules
I'm unfortunately out of my area there, if you were to do it in Python I could probably walk you through with vc if necessary
No 😦 it’s done just waiting for chariz but we are all busy with irl stuff. I’m hoping very soon
fr
Ok so nuxt has a built in api routes iirc so to get the data to the front end you can use a package like knex.js to build your queries and then make requests to those api routes to display it. Do you have your mcu storing data in the sql db already or does that need to be implemented as well?
That needs to be worked on too.
Ok what has been configured for your mcu right now? Anything been setup for it? I am not as familiar with those, I’m not sure if js would be the best solution for driving an iot device
Ok brief research done, make a nuxt api route that accepts post requests with an object, and then on the mcu write a C program that sends a post request with the data you need to the said endpoint every x seconds or whatever for the trigger
try 3 finger tap, that should work
It didn’t
Already tried
I tried every version from the top repository’s
Only flexall worked but crashes springboard
huh, I swear I heard that works
It should
I also tried holding
1-6 fingers
An activator version of flex
Etc
im using libflex+flexing from nscake and both activation gestures work fine (palera1n)
3 finger hold
and status bar hold
3 finger should work with the official one, I think I saw the dev confirm it
my brain hurts trying to remember which flex loader tweak is which
flexing is on the official libflex repo
yep that one then
so i'd assume thats the recommended one
(hopefully I'll have stuff ready very very soon)
which sdk to compile c++ with mobile theos? I usually use Mac but needed to test something theos mobile kinda trippin
trippin? i mean you didn't specify an error lol
I can’t compile c++ code with mobile theos, header errors works fine on Mac
vector, string etc throw errors
which headers 
C++ headers
alright, what sdk are you targeting in your makefile
latest I believe 14.5
C++17
I had this, I just ported the project from my mac to mobile compiled fine on mac
Yeah I used the official repo
On a clean install of undercover iOS 13
Funny thing is cydia doesn’t even give me the option to respring after installing flexing
(But of course I did it anyway)
Try installing old version of flex
Since you are on 13
Tbh thought of running a webserver on the 8266 that just displays the data it has gathered in a json format and let the nuxt app grab it
That would work too wouldnt it ?
Now im just having a trouble of setting a static IP
That may be more difficult for you to implement from what I have read it looks like you need to program the MCU in C and while possible to write an entire web server it’s definitely not pleasant. I think sending a post request would be easier for you
I can just program it using the arduino IDE
it has libs for that and i have the webserver already up and running
ah yes, now its printing a stack trace every time it tries to connect to my wifi network
success 
You can make an ESP8366 serve a webpage and have it auto refresh in the client by using an EventSource (html). Not what you want but might be useful for local testing
would probably be easier to post the data to the api of the server, instead of letting the server poll from the esp
it could be easier cause the servers IP probably wont change, but the ESPs could
Also that would make more sense, but this works too.
I guess ill just ask what fits them better
backstory of this - This is my last year as i already said, came back from Slovenia, realised everyones having to do some stuff, i didnt have the slightest idea of what i could do, one of the teachers just told me that theres some special oak tree that needs monitoring cause it was a gift to the school or something and needs to be monitored. As they all know that i like messing with technical stuff, soldering and all that bs, and because of that, told me i could make this.
The shitty part of all this is that this isnt a project for myself, which means i dont buy the parts for it and have to request them. The deadline is in 3 days and i dont have any of the sensors i need fr
I can do guesswork from examples online, which i will do, but at this point in time, ill just "emulate" the data i would gather from these sensors to test if the system even works
also used NTPClient to get the current time and date of the request
Might have to add an actual date tho, weekdays dont think will do it
I mean can you just get whatever yourself then just give them the recepits and bill them?
3 days would probably still be too little to order the parts yourself (and finish the project)
Yeah I guess unless theres a physical stroe you can go to
you could start with a script that generates data locally (on the server), and just work on the connection with the database and to the frontend first. Then just modify the script to pull the data from the esp instead
I guess if you wrote an abstraction layer around it, then even if the data isn't sturcutred the same, you just have to replace how its abstracted
Well, even tho the deadline is in 3 days, as the teachers that gave me this also have to give me a mark for the same thing, my hope is that i can talk my way out of it for atleast a week or two
The real question is did they igve you a short pried of time to do it or did you procrastinate for like a week or 2?
For the sensors, they, for the rest, me
void serve(){
timeClient.update();
String laiks = timeClient.getFormattedTime();
String diena = day[timeClient.getDay()];
String jsonData;
DynamicJsonDocument doc(250);
doc["time"] = laiks;
doc["day"] = diena;
serializeJson(doc, jsonData);
server.send(200, "application/json", jsonData);
};
Looks simple but i needed like an hour to make this work
This library cool tho
huh?
Well, now im trying to atleast get the current readings from the ESP in my nuxt app, but i, again, dont have the slighest idea of what im doing
stolen from joma tech
is there a way to build unsigned ipa's with xcode?
or do i need to use a tool/something else
just strip the signatures after or something
gaming
is there a way to build an ipa with xcode? or do i need a jailbroken device
because all of the google searches ive done just says it builds it as an .app but idk
.ipa is just a fancy zip container anyways
true
you can
there’s an answer on stack overflow but basically it’s like product > output or something
It’s product -> archive then you need to open it in finder and the find the .app which is in hidden inside open package contents -> products then extract the .app and make a payload put the .app in there then compress the payload file and rename it to .ipa instead of .zip
@misty heath see above
For Xcode btw
I believe that’s correct but
First time it’s annoying to figure out so ping if you need help but second time it’s easy
we do a little RE
what do you mean by this
we do a little gay porn
that would be gay, not just fruity
Wen eta crack?
xcodebuild CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO has worked for me but knowing apple they probably don't let you do that anymore
"but knowing apple they probably don't let you do that anymore" - 🤓
Why is everyone in this server so cringe
wtf am i supposed to say?
anyone know why untaring over ssh is resulting in the error: connection closed by remote host? here is the comman im using: cat rootfs.tar | ssh root@localhost -p 2222 "cd tmp ; tar xvf - -C /mnt1 --same-owner"
true
stop being cringe
Just transfer the file and untar locally
mr. word would like to know your location
yo hop on irc
you're running cd before tar... ssh will redirect stdin to the remote command, but your input is going to cd not tar because it's first
😭
also i don't see the point of going to tmp if you're piping directly to stdin, it'll just have a file descriptor and nothing will be copied to the current dir
the one time I look in the dev channel and this is the first thing I see
you think that's bad?
Yes

not enough space on device
anyways I know the command works
It’s only throwing an error when the tar is big
then just place the tar somewhere there is space?
where would I place it if there’s not enough space on the device?

i'm saying that in case you're copying to a certain partition
How is there enough space for content inside the tar file but not the tar file itself?
kinda obvious that /mnt1 is supposed to be rootfs
/private/var is somewhere else, isn't it?
you'd have to mount that too if you didn't already
Space on device: 9gb, Tar size: 5gb
If I extract the tar over usb, I will be left with about 4gb
Anyways my question is why the connection is randomly terminating
Which one?
no way to tell
I'll try all of them
Cause you are piping into cd
Just remove the cd tmp;
Or
Mount a tmpfs, copy the tar to that, then extract it
That would not work since there is not enough space on the device but thanks for the answer
tmpfs
tmpfs is just a filesystem stored exclusively in ram
Why do you have a 5gb tarball though
Can anyone help, i tried installing xcode on my macbook on catalina, earlier it couldn’t expand cause of low space, i freed the disk and got 44gb of free space, clicked, it started to expand, the process completed and disappeared, my storage has 22gb free disk now but i cannot find xcode anywhere, can anyone help?
I got it fixed, for some reason flexing now works perfectly after switching to checkra1n and I have no idea why
It works, I know it’s crazy, but I’ve successfully dualbooted ios with this method
I'm jealous if that works
but it works
it’s way easier than making a custom ramdisk to run apfs_invert
I guess I’ll remove cd tmp and see if that works
Could you untar the tar then transfer each file over manually?
Ok I'm starting to make a tweak and need to edit a frame, do you know how I can make it have different values per device sizing? Because I assume it would be bad to only program it to the values for my device
use constraints or swiftui
or do you mean edit
if you are creating a new element, then don't use frames.
if you are editing an already exsiting, then override some method that's called after frame is set
scp or rsync to the rescue
I'm not sure completely, I need to set the frames fot the 4 status bar ones(these are the values for my device) to this size
or sftp
I think so, it changes the frame size for the status bar
I'll look at that, one last thing, how do I print debug values somewhere
Actually I think I'll try hooking into the status bar and adding it to the clock temporary
What phone do you have?
Oof now I need to get somebody else to check the frame size
same
I'm tweaking an old family phone
@azure sail pls warn for rule 8

I like tweaking the statusbar
apple music, my favourite device
''' import Orion
import SideStatusC
class StatusBarTextHook: ClassHook<UIStatusBarStringView> {
func setText( text: String) {
CGRect bounds = UIScreen.mainScreen.bounds;
CGFloat width = bounds.width;
CGFloat height = bounds.height;
orig.setText("W:(width) H:(height)")
}
}
'''
I'm trying to figure out whats wrong with this however I can't find the issue

Imao I havent even put the error
real (real)
I'm like declaring variables wrong
Sources/SideStatus/Tweak.x.swift:5:27: error: cannot find 'width' in scope
orig.setText("W:\(width) H:\(height)")
^~~~~
Sources/SideStatus/Tweak.x.swift:5:38: error: cannot find 'height' in scope
orig.setText("W:\(width) H:\(height)")
^~~~~~
<unknown>:0: warning: unable to perform implicit import of "_Concurrency" module: no such module found
Sources/SideStatus/Tweak.x.swift:5:27: error: cannot find 'width' in scope
orig.setText("W:\(width) H:\(height)")
^~~~~
Sources/SideStatus/Tweak.x.swift:5:38: error: cannot find 'height' in scope
orig.setText("W:\(width) H:\(height)") ```
^~~~~~ ```
oof discord formating
If I switch it to that its way worse
it was
var bounds = UIScreen.main.bounds;
let width :CGFloat = bounds.width;
let height :CGFloat = bounds.height;
monospace = `text`
codeblock ```text```
I was using " ' " and not " ` "
** Bold **
+ codeblocks also support syntax highlighting
(that's highlighting as if it was a diff)
```type
text
```
Do you know how to hook multiple things in swift?
i don't know swift. or how to use orion
https://orion.theos.dev/getting-started.html
this is just a wild guess, but just make another class for hooking something different
It seems inefficient due to hooking the same thing in every class with the same values but whatever
magician in action
my only interaction with swift so far is messing with guard, if, let and a string

How can I make my tweak respring when uninstalled?
In the makefile? That's all I can see with similar syntax
Where do I put this?
In the postinst/ postrm
I don't think I have one?
mkdir layout/DEBIAN
mkdir: cannot create directory 'layout/DEBIAN': No such file or directory
and inside is a file called "postint"?
Yes
postrm for remove and postint for install?
Yes
postinst to be specific
there's multiple ways to go about that
How on earth do I figure out why this is just being killed
mobile@Shortys-iPhone:~> sudo /usr/bin/WebMessage
[sudo] password for mobile:
[1] 3477 killed sudo /usr/bin/WebMessage
read your devices log output i guess
y'know, with console (macOS app) or idevicesyslog (part of libimobildevice)
Basically all I need is two toggles
and perhaps a link or two
Oh yeah thats smart
Exception Type: EXC_BAD_ACCESS (SIGKILL - CODESIGNING) intresting
well yeah that makes sense
How do I fix this?
is this the device in your name?
if so, just fakesign the binary with ldid
Yes this is my device
Signing with sudo ldid -s /usr/bin/WebMessage did not work
Also this should work as I installed the tweak from the repo and I know it has worked on my iPad before I updated it
are you using taurine by any chance
Yes
Intresting cause I just jailbroke before running this but I'll reboot real quick
otherwise I'll see if my new pc can run checkra1n
all you need to do is read and execute
555 is fine
but i guess you'd use 7 in case you wrote a broken one
and someone has to fix it
owner can modify perms if need be 
Gotta use your epic "hacker" skills with chmod? lol
though tbh I do like the console
It relaxes me
- 🤓
Skill issue
Anyone know how to resize my preference bundle icon to fit?
did you figure out the title
Yes
it was the title key of a different file at the very bottom
yeah
resize the image and add the icon.png, icon@2x.png & icon@3x.png files
I did
58x58 icon@2x
87x87 icon@3x```
where can I get it?
that just makes empty icons of the same size for me
nvm I think the download button is broken]
I'll do it manually
Do you use a chromium browser?
W
its probably broken on mine cause I'm getting empty pngs
Thanks
bama
do you know where to put the actions?
- (void)link {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.google.com"]];
}
the documentation says in the file ending in .mm
however I don't have that file
i learn by looking at real world examples

Thanks this example is much closer to mine
Neither
o
No personal attacks, accusations, harassment, sexism, racism, or general malicious behavior. This includes, but is not limited to comments that we deem to be of this nature.
@lime pivot ok, htop is back on the repo, sorry for taking so long
Btop
tysm
had a thought
if swift is going to be apple’s way forward
we should probably start demangling swift names
I can test this later if you want
I’ll still give it a shot when Im free
@weary heath so it looks like the script was made for an older version of the IDA utils lib and python (makes sense as the last commit was 6 years ago)
but with a couple tweaks it works
was just gonna do that
@weary heath https://github.com/donato-fiore/ida-swift-demangle
should work

noted
uart serial for logging and if you are skilled enough SysCFG

@hasty ruin do you have a license on this
https://github.com/iCrazeiOS/SettingsUDID
just added it
GPL v3
ok thx
np
gnome moment
GIO (the gnome application launcher thingy) has default terminals hardcoded to gnome-terminal and they havent released the change where they added xdg-terminal-exec yet
this is a native feature
why are u doing it
unless ur using cracked ida where it doesn’t work
cracked ida 😄
L
Why can't I declare this Static bool?
import SideStatusC
//add observer for status bar from space.detrimental.sidestatuspref/settingschanged
let observer = NotificationCenter.default.addObserver(forName: NSNotification.Name(rawValue: "space.detrimental.sidestatuspref/settingschanged"), object: nil, queue: nil) { (notification) in
loadPrefs()
}
func loadPrefs() {
//load prefs
var prefs = UserDefaults(suiteName: "space.detrimental.sidestatuspref")!
static bool debug = prefs.bool(forKey: "debug")
//Declare static bool called debug from prefs
}```
static bool debug = prefs.bool(forKey: "debug")
^
Sources/SideStatus/Tweak.x.swift:9:9: warning: initialization of variable 'prefs' was never used; consider replacing with assignment to '_' or removing it
var prefs = UserDefaults(suiteName: "space.detrimental.sidestatuspref")!
~~~~^~~~~
_
Sources/SideStatus/Tweak.x.swift:19:12: error: cannot find 'debug' in scope
if debug == true {
^~~~~
Sources/SideStatus/Tweak.x.swift:36:13: warning: variable 'isSideLeft' was never mutated; consider changing to 'let' constant
var isSideLeft = true;
~~~ ^
let
<unknown>:0: warning: unable to perform implicit import of "_Concurrency" module: no such module found
Sources/SideStatus/Tweak.x.swift:10:12: error: expected declaration
static bool debug = prefs.bool(forKey: "debug")```
that’s not a thing in swift unlike c
So how can I reload my preferences?
don’t make it static

fair enough, if I make different tweak I'm not using swift
idk why people say it's more friendly that Ob C
maybe there's a different paradigm when programming in objc vs swift and you're using objc-like in swift
I'm remaking my whole tweak in C ):
I mean i think both swift and objc are fine I think uros right, it’s a different paradigm
ffs now Apple deleted Xcode 14.1 betas from the download website too
did anyone here ever install the tvOS or watchOS simulators in Xcode 14? could you check if you have anything in /Library/Developer/CoreSimulator/Images?
actually just run shasum /Library/Developer/CoreSimulator/Images/*.dmg in Terminal and let me know the output if you have any
@zenith hatch might have watchOS
because it is
no it isn’t
At least that’s my experience for making my tweak
My brother in Christ please don’t let your small experience of using a language to make a tweak to say it’s “weird” or something dumb
I mean I guess it’s all about what you expect
I guess objective C lines up more with previous programming languages I used
I should do an asm version
Is it C if it links libobjc?
It’s not using objc syntax but you need to link objc for the runtime functions
I know 
Well how would you do it without libobjc? 😛
Without linking? dlopen and dlsym 
No objc is weird and it’s the only thing you are used to

I’ve never used it
I’ve only know Java, C, and python to this point
That’s why I prefer objective C I guess
bumping this in different timezone >.>
Wut isn’t python like a completely different paradigm from objc
well of course, it's not object oriented unless you want it to be
Idk objective C feels like a fusion of all three
I just realized incompatible license
lesgoooo thanks
question though, why GPL over something more permissive
i ask because i'm reconsidering what license i want to use for future projects
Lmao
I like gpl and other more copyleft licenses (like Mozilla ) because it makes people share modified work.
like, on one hand, yea i wanna force everyone to make their changes OSS!
on the other hand, i don't really want to restrict people from using my work
Btw checkout https://choosealicense.com
Non-judgmental guidance on choosing a license for your open source project
Yeah that's why I like the Mozilla license
hm
Apache is also similar
why are you pinging me
i guess run whatever generates the firmware package?

makes sense now
/usr/libexec/firmware i think it was
time to manually edit the file then
ok so firmware writes directly to /var/jb/Library/dpkg/status
it also generates the capability packages (gsc) stuff
this is xina jb
Why
@zenith hatch hey any chance you have watchOS beta simulators for Xcode? See if you have any dmg in /Library/Developer/CoreSimulator/Images/
ok
i dont think this is beta
shasum /Library/Developer/CoreSimulator/Images/*.dmg
1b0a58d9806d16064ce3e09fb5e327fa3f8edf54
Yeah that's 9.1 final
Apple deleted Xcode 14.0 and 14.1 betas from the developer download site, along with associated files like command line tools package and simulator runtimes
his hacked up ass jailbreak
Hacked up is still better than non-existant

Me when u0 bootloops people
Wrong
and i agree hacked up is better than nothing just dont mald when it breaks stuff
all jbs have a "no warranty, cope" disclaimer
fr
still better than u0 tho
what's wrong with u0
Apple is pulling a Microsoft these days, deleting shit to save like $100 in S3/Akamai bills
ikr
seems fine to me
speaking of fonts, i tried to load one from raw.githubusercontent.com to realize that only works with text files
now i'm using github pages 
ah yes, there's nothing like needing an extension to allow right clicks so you can inspect without searching a tree of elements
cmd-opt-i or F12 and click the mouse cursor button
oh... thanks
which incidentally is proof that blocking right clicks doesn't at all block accessing devtools
though i did find a site that does block dev tools (in a way)
it pauses the debugger once it's opened lol
unpausing it will redirect you to the homepage which has basically nothing you want, or it just pauses it (again)
yes, you could disable breakpoints but it has the redirect still
That's fucking evil
the best part
https://design.samsung.com/global/contents/one-ui/download/oneui_design_guide_eng.pdf
i am studying (the wrong thing) right now
I’m trying to install swift & dependencies from Sileo on iOS 12.5.6, but I’m getting that annoying “expected size xxx but got xxx instead” is this a known bug?
dependencies are fine but swift always fails to download
Hello, nice to meet you. I'm Japanese and I'm not very good at English, so I use Google Translate. I would like to create a jailbreak app based on the exploit that has already been published and run tweak. Is there anyone who can teach me how to jailbreak?
Since I want to learn from the basics, I am assuming iOS12 jailbreak.
iOS 12 jailbreaking is simple to make.
You could fork the exploits and try to make them more stable maybe.
Can you try from zebra or the terminal?
I'm not experienced in developing, but I'd love to learn a bit.
As an example if you want to make an UI for the app, here's the Chimera Jailbreak UI (don't copy UI's though)
I will try
slightly amused by the fact this isn't deprecated on the tv yet
but is everywhere else
alternate caption: it’s ok, even Apple engineers forget the Apple TV exists
lmao
The Apple Watch introduced it after it was deprecated? 
they're going to remove it once all the internal code using it is gone (never)
reminds me there’s that one “prompt for admin password and run a command as root” function that’s been deprecated since OS X 10.7 and will never ever be removed
that one
because, I mean, I respect Apple’s thought process but not everything needs to be done by an XPC agent
Speaking of which, @grim sparrow does givemeroot on Mac give a prompt or does it just elevate without interaction
givemeroot doesn't exist on macos
Can't you put a xpc agent in a .app
it uses smjobbless
which asks for a password prompt which installs a root helper
and that root helper runs as a service
but only apps signed with my dev cert can talk to that service
did you have a stroke or is that a really dumb name
Ok
🙏 SMJobBless 🙏
So does it ask for password every time you install something?
It should
feels like it’d make sense on macOS to always prompt
no it really doesn't
subsequent runs can just be touch id
Imho, we should prompt on iOS too
Yeah, password or touchid
which is only at first launch bozo
it doesnt need to reinstall the helper every time you start the app
if the helper is there just use it
With the double click power button like App Store Face ID
I am doing a lot of sileo trolling rn
its like on my todo list
I'm doing Aemulo, Sileo and DepictionKit trolling
yes
the dev build does
which is released
the only part that doesn't is a dumb edge case in some new logic I wrote but thats broken on 12+
I am getting close
I am working on rewriting some other bits
I'm taking everything off the main thread
prioritising UI fluidness
the roothelper won't exist anymore
im dropping ios 12 support
because
icba
and its just gonna use the funny posix_spawn thing
where you can set the uid of the spawned processs
so
iOS -> Persona Entitlement
macOS -> SMJobBless
giveMeRoot is going in the shitter
iOS 12 users can sniff copium
I can't use it though can I?
its a private apple ent
Sileo mac is properly signed
it starts with com.apple.private
which is a major giveaway that I won't be able to use it
no
pro works fine on both
do what

I only have one jailbroken device
An iPhone 6 on iOS 12
I forgot I sold my other 6ses
Nobody helped me install palera1n
Can I do it with a Linux live cd?
UI api's are near identical between 13 and 14 so im not losing much by still supporting that
idk
as long as checkm8 works from it
Procursus is gonna support iOS 12 until I have a stable iOS 15 jailbreak
Great, why
My screwdriver kit comes today but I can't move my fingers to use it 💀
They literally used libobjc, that doesn't count
ok this feels like cheating
I use both a lot
it just depends on what im doing
I swear there was a C one
that the objc one is just a wrapper of
oh rip
xpc is great
as long as you aren't dumb
no?
what are inference times like on an iphone 14 pro
@naive kraken is there even a way to get the team id of an app programmatically
in the currently running app or from a different context?
different context
i tried a bit of searching and what i could find at best involves copying the csblob headers, getting the appropriate CodeDirectory from the binary, and getting the team ID from there
idk if opa334 has anything better
@misty cradle you still alive?
has anyone run stable diffusion on an iphone 14 pro yet
38s inference on an 8gb m1 ipad is awesome
Ye
every app has a teamid right
“Backward compat in Makefile for older YouTube versions”
What are you talking about? How does one modify Makefile to make the tweak support older versions of the app magically?
“Support more UIColors”
Why do you keep saying UIColor for theming the app? I’d be much more inclined if you say you would modify the color palette (YTColorPalette) of the app instead. Hooking any methods in UIColor class has a global effect - to everything and not just YouTube.
Still is not an efficient way I don’t think…
all you did was target clang 11 instead of 12?
isnt that just for arm64e slices
ohhhh, you thought that was building using ios 11's sdk
TARGET := iphone:clang:latest:12.0 means TARGET := x:y:x-version:y-version
I mean, every properly signed app
this is a lot of work tbh
Platform binaries don't have team ids
no clue how to even do this
I did it kernel space so it was easier, you're probably going to have to copy a good chunk of code
Take a look at the function that actually sets csb_teamid in xnu, you'll also see how it picks the codedirectory and such
thanks kirb
Or you could do some more searching in ie. Security.framework for a relevant method
Sex
I only found SecTask though unfortunately
Oh slightly related
What's the best way to deal with variables that I want to share across makefiles
me who just adds export to everything because it works
And then I can just reference it from the subproject makefile, and when the main makefile includes it it will work?
Alright time to get rid of global.mk
My code needs significant cleanup tbh I do so much cursed shit
I dlopen one library, check if it has a symbol, if not try another one

All because I'm trying to use functions from a statically compiled lib
libDER moment

he probably lurking rn
Love when one ios version I have to use libamsupport and another I use whatever the fuck SEService.framework is

Uh
You mean cdhash?
Idk what you mean by calculate the code signature
You can read the code signature, you can check if it's valid, but you can't like calculate it afaik
codesigned
not codesigned
black santa
black santa
wouldn't it be easier to just patch out whatever checks are being made
ok, i'm curious and want to check something
gimme a sec and i'll see if i get a cs_blob for unsigned binaries
thank god for readable git history
yea code signature shenanigans start all the way from the load commands
LC_CODE_SIGNATURE
unsigned binaries don't have that
so i'm afraid you're kinda screwed @grave sparrow
yea, that would be easier
everything should be adhoc signing at minimum these days anyway
Apple Silicon macOS moment
it's not an adhoc signature if it's signed with a cert
adhoc = no cms blob (ok well the cms blob has to be there, but the length = header size)
if there's a cms blob, that means it's signed by some kind of cert
now whether that cert is trusted or not is another story
now codesign is failing me and 010 editor's template broke but
for the first slice, we see the Genuine Apple Certificate™️
for the second slice, we see the Genuine Apple Certificate™️
but for the third slice
lipo ftw
Signature is not adhoc, but has a size
and the authority is TrollStore
verification of the cert is where apple fucked up
along with checking the codesig of the wrong slice
if you want to look at each slice individually, here's the lipo -thin output
and my final tidbit of advice is to just try signing with a cert/adhoc/stripping codesig on binaries, and analyzing them both with something like 010 Editor or whatever you like that supports binary templates + and also seeing how they're handled in practice and what happens if you patch certain checks out
i understand the latter is probably difficult on iOS so might be worth trying with macOS for that, you get some easier-to-read AMFI.kext and xnu source to fill in the gaps
(ps you should really check out macOS's AMFI.kext in IDA/whatever as it will definitely fill in some gaps, especially look at _vnode_check_signature, just make sure you don't get confused by the control flow like i do)
the core parts should be decently similar anyway
opa334 or Linus can probably explain this better as my understanding of code signatures is jank as fuck lmao but @grave sparrow i hope you learned something














