#development
1 messages · Page 131 of 1
copy and paste is so real
meets one problem
instantly incapable of fixing it
would making one be like super hard though
🤔
Chat recommend ways to sniff usb traffic
No I don’t think so
doesn't Wireshark capture usb traffic
Wireshark

I think getting kfd to give tfp0 instead of our own kr/w primitive (via IOSurface or some other way) would be easier for making an iOS 12-13 jailbreak with it
feels wack to hear that iOS 12 is legacy
Tbh I’ve been thinking about it and even like Dopamine isn’t extremely complicated
All it is is get kernel r/w -> bypass PPL -> bind mount over dyld -> inject launchd hook, system hook and any other hooks -> profit
Leaked
Ok if it’s not that complicated do it on iOS 17
Serotonin proved that once you have the hooks you’re the majority of the way there
Alfie confirms he's working on a new jailbreak (leaked)
Probably could if I had a PPL bypass
ok make a ppl bypass
I might write one with the new PPL bypass tbh
duh
Just for fun
what version does the new ppl bypass cover
16.5(.1)
pov I can’t enable JIT because of blastdoor
.1 dead on A15/16
the entire boomerang thing it has going on is too big for my brain to handle
why not lol
It’s just handing over primitives
Yeah i don't understand that yet lol
jbd -> launchd communication is confusing to me
so basically opa sets up web servers running off everyone’s devices and when jbd needs something from launchd, it sends a web request to the server
As I understand it, using the IOSurface method as an example:
- when getting krw you map an IOSurface object to do your reading/writing
- userspace reboot -> hand pointer(?) to the IOSurface to boomerang -> launchd restarts -> boomerang returns the pointer back to launchd
And so you never have to re-exploit
that's neat asf
how do you get something to live past userspace reboot
dont you put it in the kernel
i mean... how
i mean
Need to properly look through Dopamine code
the assumption is that something will persist with k/rw and pass it back to launchd
ok
i'll find the answer myself 
so real
mfw Unicode doesn’t have a character for pi in superscript
I had to write my own handler for superscript because of specifically that
also how there’s superscript ! But no subscript !
It uses dispatch_source_create
Creates a server that launchd will use to retrieve primitives
@indigo peak can u use Cyrillic characters ?
Do I actually understand it? No
I mean yeah
but I already wrote the handler
So no need
.
thats nice asf
calculator app 🔛🔝
bro my boy put calculator history through actual bell
I asked him to try to break it thinking I made it good
@granite frigate do you have a device compatible with the PPL bypass
mf had a list of 5 bugs within 20 min of me sending him the build
Yeah
A13 16.4.1
Oh cool
did my message just get deleted or am I tweaking
my Dock.app replacement is coming along nicely but i had to put it on pause
??
I think I’m bugging
I’m just slow
I meant to reply to my message
But it edited it insyead
It uses NSAttributedString, basically all characters inside >>xyz>> have a baseline of 10 and font of 12, and all characters <<xyz<< have baseline -10 and font 12
there we go
and that bypasses the need for special Unicode characters
thats pretty dope
@granite frigate https://github.com/opa334/Dopamine/blob/main/BaseBin/launchdhook/src/boomerang.m#L10 this is where it hands off prims to boomerang
just use the app 
You don’t even need a jailbreakd
You can do it all in the launchd hook now
Pretty sure Dopamine 2.0 doesn’t have a jailbreakd

Okay good
As long as I didn’t leak anything
Got worried there lol
Couldn’t remember if opa had said it here or something because he told me a while ago
Ah cool
implement a CAS in the apple calculator
let us do calculus and linear algebra
sounds like a lot of work
its fine just hardcode every single integral and every single derivative that ever has existed and ever will exist
cant be too much work
“yOU fOrGOt +C”
see I thought ab adding extra features like thay
But idk how I’d make it compat with the regular calculator buttons yk
Like I can make basic operations work
+-/*
and I can make simple functions work
^2 ^3 sqrt cbrt
multivariable function coming soon
but anything that takes 2 inputs
and also I’d need to yk
make an X button
for functions
well for now im using maple calculator on my phone and i bought a physical fx-cg50 for all my calculus work
but
would be nice to have apple calculator be able to do that
yeah def
I was first thinking ab just implementing basic probability functions
like nCr nPr
since that’s what I’m doing now in discrete
so I don’t need my actual calculator
your actual calculator can do that if you have a casio one btw
Yeah I had a scientific calculator and it had nice and the like
i was gonna buy a ti84 but the processor is so bad lmao
Tbh I liked my 83+ better than my phone
works good enough for me
ti84 has 6mhz base, up to 15mhz overclocked
I think that if I make custom buttons
the one i have, casio fx-cg50, has 50mhz base, up to 95mhz overclocked
and if i buy a ti-inspire i can get multiple hundred mhz
But if you need a graphing calculator you can use the numworks simulator online
true
And then there’s other buttons
i already bought a physical one lol
it can even do (accidental) symbolic calculus
Not now at least
you get the idea
lmao i see
it can also do multivariable functions and return an equation and then solve it so u can do stuff like this
pocket mathway
pretty nice
oh and it can run c, python, and lua
Numworks has an NES emulator
love the fx-50
this is THE EXACT SAME graphing calc i have
whatever you do, DO NOT USE libfilecom
cuz that's shit
rather wait for dopamine 2.0 source
what's actually wrong with it
probably for a good reason
its very affordable and very powerful
same price as ti84 if not cheaper
up to 10x more powerful
they caught my ass using it on the ACT even though it was allowed
and took it then wasted my time for 20 mins
computer algebra system for the fxcg50
nah
regular run-matrix can only solve definite integrals and derivatives
khicas has a whole algebra system
a class
i mean
im typing a color
0.2 0.2 0.2
red green blue
like what color name is that
i dont know lmao im gonna assume systemGray2Color
👁️
someone should make a site that records these systemColor behaviours
true
👁️ 👁️ 👁️
i guessed
apple has a lot of gray colors
red green and blue all having the same shade means it's a shade of gray
sooo
isnt that dynamic
like based on light and dark mode
idk
there is one
WHERE
I am kind of curious by what a good jailbreak infrastructure entails and why Dopamine was bad in your eyes lol
using files for communication, for instance
what other way would you do it? mach messages?
i did see some files being used for boomerang lol
Wait for 2.0 sources and you’ll see how much better it’s written 
Also you can see in the 1.x sources that the exploits used are very heavily integrated within the source code
Whereas the original aim of Dopamine 2.0 (before new PPL bypass) was to make it more ‘modular’ should newer exploits be released
So unc0ver
Dopac0ver its real
XPC
eta wen ?
2070
Pwn fans: you son of a bitch I’m in
u0 and odyssey were both kind of plug and play too in a way
just throw in something that gives krw then the jb does everything
That’s the goal though
Super modular so you can just swap out exploits
You just have to initialise the krw functions and PPLRW functions and you’re good
W jb
and fuck jailbreakd
Fr 
sptm
I suppose we'll cross that bridge when we get to it
auto ppl/sptm bypass 
?
we weren't referring to 17.x or 17.x on a15+ tho
thank you captain obvious
real
Arguably it would be the same as how we need a PPL bypass now
If you can write to the protected memory then the issue is solved
The new thing about exclaves is pretty interesting
Writing a kpf for every major version 
how much have you learned from making Zefram
W answers
???
W asm
does this move a system register value into zefram 
Our goal at DFF is to reveal any threats on mobile devices, and that requires us to keep up to date with every single version of Android and iOS, including the beta and "Developer Preview" phases. Often, these are the under-the-hood, undocumented changes which have the real impact on opera
Yeah
no way
so real buttons
do they do anything
not even close
😭😭
just a UIlabel.text swap
I was bored in class lmao
I can maybe implement something later
muy bien
@hasty ruin, i feel like you would know, are there any methods called when you like open the NC/LS ?
you code on paper?
damn
for my computing GCSE's according to Alfie you have to do code by hand
why god 
for AP Computer Science A you have to write Java by hand on the exam
fucking hell
why though? like what's the point
mhm
it just causes pain
it’s an outdated test lmao
The AP Comp Sci Principles exam has a section where you submit code
Like an actual file
thanks?
did you just assume that my handwriting wasn’t readable?
I mean, fair assumption but still
Looking at the others here, I assumed the same about you
night?
I’m special 😎😎
I dunno
could i add a did move to window on the quick actions button?
but sm devices dont have them
¯_(ツ)_/¯
Do yall know if i can release a paid tweak i made and whats the minimum price i can set if its possible?
^
Where as in chariz/yourepo/bigboss @cloud yacht ?
You do indeed
We used to code c on paper on our data structures and algorithms exams
Write a block function by hand NOW! 
It was pretty bad 🤷🏼
The one saving grace of covid
What happened to the music
yeah, although you probbaly don't want to release a tweak on yourepo or bigboss these days
Havoc and chairs are the big ones
it was compressed
table bootstrap and chair repo
i start year 12 next year what's the first thing i should know
I’m in year 12 but I don’t do CS
So idk
It’s basically just the glorified gcse
That’ll be… long
apparently the jump is big but i already do that stuff im my free time lol
aw yea that sucks
although maybe youre still in luck because apparently half of the cs content is writing legal and ethical shit
Thank god I missed that
i already despise that part of the gcse idk if i can take it for 2 more years 🙏🙏🙏🙏🙏
OCR?
yea
RIP
ocr is good
Optical Character Recognition?
only for cs though
it also really annoys me how theyre transitioning to computer based exams in the next few years
I hated OCR until I bossed paper 2 in the final exam
and now i have to write my gcse on paper
but yea i already went through the whole single variable calculus content that you learn in fm y12
Harder than any other paper I’d seen
At my school we do the whole of A level maths in year 12 and then all of further in year 13
i can do differentiation and integration in any context and ive been looking at multivariable calculus in the past few months
stuff like the jacobian and the hessian and partial derivatives
oh interesting
thats actually
probably a smarter way to go about it
here i think u just have both maths and fm lessons every week in your timetable
Yeah I feel like my way is better because there’s no knowledge gaps between them
i remember my y13 friends telling me that they learnt the fm version of a topic and then learnt the more basic a level maths version of it AFTER because you love timetables
yea definitely
Not fun
GCSEs 
That’s literally every school in the country
Schizo school
??
i cant wait to just finish these stupid fucking gcses 😭😭😭
so much pressure and stress and peel paragraphs and inoculating loops
I’m doing that rn and it ain’t fun
It’s not hard it’s just annoying like
like stfu I do not care for how making a website accessible is an ethical thing
why cant i just do maths and code all day
😭😭😭😭
geography is the one lesson i fell asleep in
and i dont fall asleep in lessons
We finished all paper 1 content on Tuesday
cs a level may be the second
So that’s a W
lucky
You wanna know my luck? I wanted to do geography GCSEs however 2/3 teachers sucked so I chose history instead cos only 1/3 sucked
Anyway I ended up with that 1 sucky history teacher. They got sacked definitely not my fault
So that was fun
At least my year got it easy with history cos they said you can drop an entire module cos of the Covid stuff

for u ghidra users
oh lmfaoo
I don’t think a ban will change much
yea thats like telling taylor swift haters theyre not allowed to listen to taylor swift
speaking of taylor swift haters
@loud pilot did u hear the kanye drop
ITS YOUR BESTIE MISS MISS WESTIE
🔥
like telling taylor swift fans they’re not allowed to listen to decent music
FR
you dont gotta tell me not to listen to taylor swift
man the single is actually so fuckin good tho
Taylor should be banned because of swift
Would somebody on a12+ be interested in testing a tweak i made ? 15.x and below seems to be unsupported (havent tried yet though) so if you are on that version please help at your own risk. Thanks in advance
We use Discord 
W
is 5 .superviews to many
@radiant idol you’re the expert
I see the sb crash coming from miles
its always 5
also is this a good name? should i not have the "Frame" ? (ik its platterView.backgroun)
No sometimes iOS likes to init shit
My phone remembers it well
its still part of the player
Bro MRUPlayerTimeControlView is inited upon sb start
At least on 14
It bulked safe moded taurine
Yes
Pretty sure opa had one somewhere
inb4 ChOma self advertisement from Alfie
???
???
struct shit_map { 😭
the header files for this are public right?
since CLion is still freaking out how nothing is declared
ah
But if I wanted to do in teawk to offer the call recording feature I have to do in hook on mediaserverd. There is no other way right?
great now when the new modular dopamine 2 comes out i can swap this in
.. wait
bruh please someone make a macos 12 compatible version of battery webhook :(
totally off topic but is this the tweak you have been showcasing in the #themes channel?
the dev is working on support down to 10.9
should probably be a few weeks
this is in the root level of the code
like
no blocks
should i keep them as static and keep trigFunctions as const?
like it works, but idk if its better practice to do one over the other
yes
looking forward to it, it looks great
It’s for iOS 14-15, tho
Also thanks 👍
Here’s a preview, adding animations tmro
will there be ipad support?
Sure, I can probably add iPad support tmro to
were you gonna make it paid?
can I test for iPadOS 14 
That was the plan, but I am hoping to do a bunch of giveaways to
I Alr have an iOS 14 tester but thx
if you are doing this comparison it's already over
Not much harder at all
Swift is a very easy language to get into
i feel like there is sarcasm there
No
is it better if i use a mac?
php
I can test on iOS 7
i can test on ios 10
I can test on iOS 5
i can test on ios 17

I can test on iOS 5, iOS 6, iOS 7, iOS 9, iOS 11, iOS 12, iOS 13, iOS 14, and iOS 17
i can test ios 7 ios 8 ios 9 ios 10 ios 11 ios 12 ios 13 ios 14 ios 15 ios 16 ios 17 and not ios 1 ios 2 ios 3 ios 4 ios 5 ios 6 ios18+
thank you for specifying both the versions you can test on and the versions you can’t
quite a complete and thorough analysis of the versions you can test on
can test on Linux kernel 4.18 and only Linux kernel 4.18
facts brother my friend true
ah okay thanks
caught this
i am working on it, but with the state of battery webhook right now (it being SwiftUI), macOS 12 will not support
- menu bar extra
- registering itself for launching on login
- a proper gui
and by a proper gui i mean it looks like this.
this is an early development photo of what it looked like when running on Monterey
if I remove all the 13-dependent stuff it will still look like this btw
this is a strobery
its okay personally i dont mind
what did developer sacrosanctuary @granite frigate mean by this
real

👋
Does anyone know why I get the following error
gcc -o hello hello-world.m -lobjc -lgnustep-base
hello-world.m: In function ‘main’:
hello-world.m:7:3: error: cannot find interface declaration for ‘NXConstantString’
7 | NSLog(@"Hello, World!");
| ^~~~~
#import <Foundation/Foundation.h>
int main(int argc, const char *argv[]) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSLog(@"Hello, World!");
[pool drain];
return 0;
}
After running . /usr/share/GNUstep/Makefiles/GNUstep.sh I get the following error: ```console
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/libgnustep-base.so: undefined reference to symbol 'objc_get_class'
/usr/bin/ld: /usr/lib/libobjc.so.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
I resolved it by running this instead gcc `gnustep-config --objc-flags` -lgnustep-base -lobjc hello.m -o hello
How to make it so it asks for respring after installing from sileo ?
Currently it just says ok and you have to respring manually
you should use clang for objc instead
Oh okay thank you I will look into it
Also on havoc my country has direct deposit only. What does that mean ?
i mean sileo should have a trigger built in (i think) if you install a tweak
but idk what the package in question here is
It is a cc module. Apearantly its a plugin for a tweak not a tweak itself. Maybe thats what causes it
yeah ccsupport is what actually loads modules
Meh i will just add "respring after installing" to the description then
no there's a way to do this
is ccsupport in depends
Yes
in the postinst file DEBIAN/postinst you can add
echo "finish:reload" > &$CYDIA
though also add a #! /bin/sh as the first line because it's a script
Thanks. Just to make sure it will work in sileo even though &$CYDIA right
it will
sileo supports it for compatibility reasons
for the first time ever i had to deal with pref bundles prefix string conflicting with another tweak
ah yeah good point

jk i got it from rick
i didnt say that was a bad thing
@grave sparrow thoughts?
is captain incorporated homophobic
yes
great
well i develop and i dont have the developer role
qualifcation is probably releasing stuff but yes
i officially release flora /s
Flore
hows that going btw
too busy with school and other projects to work on it much
however simple mode is functional now
i just need to add importing/exporting and making it actually theme everything because you know what i mean
and its done
i have my gcses soon so not very much time to write code anyway ^^^
good luck
!
Is there a way to set priority for hooks ?
wdym by priority
like, in what case would you need one
make a hook run before another
Yeah, you can manually initialize hooks
One by one
Basically my tweak is hooking the battery label
To set the value to the actual battery percentage left
if it is not ran first, others will overwrite it
Yeah ik that
well you can always make a group for a hook
Ohhh I see the problem
Yes you can use and64inlinehook
Should let you insert your call before anything else runs
uh
Yeah, you'll have to figure it out yourself though 
Idk if ellekit supports inline hooks
Maybe it does
I'm using libhooker lol
Lemme see
But yeah others might use ellekit
ellekit should be fully compatible with libhooker functions
Doesn't look like libhooker supports inline hooks
Inline hooks would let you put your hook anywhere in code, so you could just replace the call to the function to call yours that calls the og
honestly, there's gotta be a way to use a block or something and not worry about it getting overridden
Inline hooks are pretty fucking cool
You can modify registers in the middle of a function and stuff too
Oh here we go
cause hooking the battery label has been done plenty of times before, so i'd try actually refactoring the code
First I have to fix my code
it doesn't seem to work even with other tweaks disabled
💀
my phone did not resprung
That's not the issue
The issue is currently that my fucking springboard hook is not hooking
OH GOD
I KNOW WHY
filters
No clue what thoes are but ok
Uhh what the tweak is going to be injected into
TweakName.plist
Preference hook ?
yeah at first
Whach you doing w prefs ?
Spoofing maximum capcity
Why would you want that ?
@naive kraken with your pplrw.m exploit code, you said you needed a mapping primitive to make it functional, would this code supposedly achieve this:
void addMapping(uint64_t addr) { for (int i = 0; i < CACHED_MAP_LEN; i++) { uint64_t page = addr & ~PAGE_MASK; if (gCachedMap[i].pa == page) { break; } else if (gCachedMap[i].pa == 0) { gCachedMap[i].pa = page; gCachedMap[i].map = IOSurface_map(gCachedMap[i].pa, 0x4000); break; } } }


IOSurface_map is the currently known mapping primitive
oh
what about
`void physwrite64_mapped(uint64_t addr, uint64_t val)
{
addMapping(addr);
for (int i = 0; i < CACHED_MAP_LEN; i++) {
uint64_t page = addr & ~PAGE_MASK;
uint64_t off = addr & PAGE_MASK;
if (gCachedMap[i].pa == page) {
*(uint64_t *)(gCachedMap[i].map + off) = val;
}
}
}
`
this modifies the read and write functions to check if the required mapping is present in the cache. if it is not, it calls the mapping function.
you still need IOSurface_map
IOSurface_map isn’t public yet
lmfao
it's a header right?
KFDopamine
You need the actual function though
Ohhhh
fml
yeah, it didn't change lmao
IOSurface_map is what you need
kind of a dumb question but if i modify your code substantially would i still give you credit?
yes
Seems like common sense to credit him if it’s his code regardless
🤨
at least you asked
pacman
you said i needed a ppl bypass in order to use krw in a suitable way that would work (instead of using the kext for buffer overflow)
or something like that - i can't remember exactly what you said
ohhh yah
yeah
yeah because you need to read/modify some sysregs
ah
which is only possible with PPLRW correct?
and if so would the mapping primitve even be needed?
well basically you need phys r/w but that's part of the PPLRW
yes cuz you need to map the registers into your process
ah
check your dms
I just quit Xcode and doing so freed up 15GB of storage???
the xcode experience
the xcode experience
the xcode experience
the xcode experience
lmfao
The experience that is bestowed upon the use of Xcode
the xcode experience
As if you can relate
yeah iCraze never quits xcode
I want to work more on my jailbreak, just been low on motivation lately 
ok
don't do it it's not worth it
yeah only another like 128h
no, probably would be less
xcode is taking all of my memory
L
What are you running a windows 98 machine?
I think I installed macos on a ancient laptop
Bangapplesheadwithahammerjb
16player live demo
It works well no respring

daemons
why are you saying that here
Got 16player background to work nice with no artwork content 👍
(Yes ik the labels are messed up)
sorry what
xcode is using only 370mb??????
how the hell have you managed that
if i wanted to add a UIView property to a view i added how would i do that?
like
.h
@interface SBUIBackgroundView : UIView
@property (nonatomic, strong) UIImageView *artworkWallpaperImage;
@end
@interface artworkWallpaperImage : UIImageView
@property (nonatomic, strong) UIView *filterView;
@end```
```objc
%hook SBUIBackgroundView
%property (nonatomic, strong) UIImageView *artworkWallpaperImage;
%property (nonatomic, strong) UIView *filterView;
CODE...
then i can do self.artworkWallpaperImage.filterview?
(this didnt work theos error)
@indigo peak ?
well first off, artworkWallpaperImage is a property of type UIImageView, not your artworkWallpaperImage type
@interface SPArtworkWallpaperImage : UIImageView
@property (nonatomic, strong) UIView *filterView;
@end
@interface SBUIBackgroundView : UIView
@property (nonatomic, strong) SPArtworkWallpaperImage *wallpaperImage;
@end
%hook SBUIBackgroundView
%property (nonatomic, strong) SPArtworkWallpaperImage *wallpaperImage;
// code...
%end
prob like this?
idk
you might have to declare an @implementation for SPArtworkWallpaperImage
no clue tho
thats smart, thx, will try tmro
this is ios 15???
yoo
what’s that black background
looks cool
didn't seem to work. this DEBIAN/postinst should be in theos resources folder right ?
no, your layout folder
<project root>/layout/DEBIAN/postinst
move your control file into that directory too
into layout or debian ?
Debian
it merged into layout/DEBIAN (like a single folder) in vscode so its probably on purpose
vscode just does that if a folder only contains one subdirectory
ah never noticed that good to know
ERROR: maintainer script 'postinst' has bad permissions 644 (must be >=0555 and <=0775)
chmod +x postinst
same error
chmod 775 ./postinst
thanks
it doesnt has to be executable
777
typo 
basically from your project root do this
oh so its not in the script itself
what script do you mean?
postinst
no
you run this in the terminal
@torn cloud
Do you have any idea to find kernproc on iOS 12 without info leak?
I think you could find it by looking for MOV W8, #0x1086
or there was a string, look in dimentio src
good method: patchfinder
other method: back from ourproc
I can’t find that instruction
I see…
I’ll look at unc0ver and dimentio src thank you so much!
Does anybody know any other way to make sileo ask for respring upon installation
Its a cc module tweak not a normal tweak i think thats what causing it to not show up automatically
what's the exact contents of the script? i might've made typos in what i sent earlier
Does anyone know how to fix the following error
clang -lobjc -framework Foundation hello-world.m -o hello-world
In file included from hello-world.m:3:
/usr/include/Foundation/Foundation.h:31:9: fatal error: 'objc/objc.h' file not found
#import <objc/objc.h>
^~~~~~~~~~~~~
1 error generated.
``` I thought I might have to install **libobjc2** but when I tried to do so I got the following error
```console
error: failed to commit transaction (conflicting files)
libobjc2: /usr/lib/libobjc.so exists in filesystem (owned by gcc-libs)
Tried
#! /bin/sh
echo "finished:reload" > &$CYDIA
Also with $CYDIA but both didnt work
try pasting this: ```function finish() {
f="${1}"
# No control fd: bail out
[[ -z "${f}" || -z "${CYDIA}" ]] && return
cydia=(${CYDIA})
# Cydia control fd version != 1: bail out
[[ ${cydia[1]} -eq 1 ]] || return
echo "finish:${f}" >&${cydia[0]}
}
finish reload```
wait you dont even need the function i posted i guess. echo "finish:reload" > &$CYDIA should be sufficient ig
yeah i mean every package manager should implement the file descriptor now. at least sileo does
yeah i believe you, tbh i dont even know, i just googled for a solution xD
i mean libobjc2 supports the gcc abi so you might as well just
not use gcc libs
it's gonna have to replace it
I’m not even sure what I’m doing anymore so I think I’ll just use theos from now on
probably for the best
theos will link against an sdk instead of having to depend on system libs for objc
so
yeah it’s a lot easier to set up and just works
if i want to kill an app inside of my prefs, whats the proper way to FULLY kill the app
like completely terminate it so when i open it back up it has to reinit everything
void killProcess(NSString *processName) {
enumerateProcessesUsingBlock(^(pid_t pid, NSString* executablePath, BOOL* stop) {
if([executablePath.lastPathComponent isEqualToString:processName]) {
kill(pid, SIGSEGV);
}
});
}
void enumerateProcessesUsingBlock(void (^enumerator)(pid_t pid, NSString *executablePath, BOOL *stop)) {
static int maxArgumentSize = 0;
if (maxArgumentSize == 0) {
size_t size = sizeof(maxArgumentSize);
if (sysctl((int[]){ CTL_KERN, KERN_ARGMAX }, 2, &maxArgumentSize, &size, NULL, 0) == -1) {
perror("sysctl argument size");
maxArgumentSize = 4096;
}
}
int mib[3] = { CTL_KERN, KERN_PROC, KERN_PROC_ALL};
struct kinfo_proc *info;
size_t length;
int count;
if (sysctl(mib, 3, NULL, &length, NULL, 0) < 0)
return;
if (!(info = malloc(length)))
return;
if (sysctl(mib, 3, info, &length, NULL, 0) < 0) {
free(info);
return;
}
count = length / sizeof(struct kinfo_proc);
for (int i = 0; i < count; i++) {
@autoreleasepool {
pid_t pid = info[i].kp_proc.p_pid;
if (pid == 0) {
continue;
}
size_t size = maxArgumentSize;
char* buffer = (char *)malloc(length);
if (sysctl((int[]){ CTL_KERN, KERN_PROCARGS2, pid }, 3, buffer, &size, NULL, 0) == 0) {
NSString* executablePath = [NSString stringWithCString:(buffer+sizeof(int)) encoding:NSUTF8StringEncoding];
BOOL stop = NO;
enumerator(pid, executablePath, &stop);
if(stop) {
free(buffer);
break;
}
}
free(buffer);
}
}
free(info);
}
const char *path = [kPosixPath UTF8String];
pid_t pid;
const char* args[] = {"killall", "-9", "MobileSlideShow", NULL, NULL};
posix_spawn(&pid, path, NULL, NULL, (char* const*)args, NULL);
});```
i was using this
i mean you can just call killall like above
or obtain the pid and send a signal
assuming kPosixPath is the dir where killall is stored?
im making the app quit on a prefs change and if i change a pref and open the app really quick the prefs arent changed properly
yes i also experienced that
just spawn an alert on prefs change
now users have to wait


i mean i can't think of a real solution other that delaying
do you override setPreferenceValue
https://github.com/icrazeios/quicksearch should have an example I think
In the root controller
Cheers
Can't find anything about this but does havoc require tweaks to prompt respring upon installation
Can't do it for some reason. I am thinking about adding a how to use section and inside it "respring manually" .
What i tried doesn't work
Well what did you try
This one
the finish:reload to the file descriptor or w/e
Also without the & as it says syntax error. Still doesnt work though
What is your shebang
#! /bin/sh
Use #!/bin/bash
Alright
This and removing the & says "post-installation script subprocess returned exit status 1"
Doesn't work
Put the & back
Same
just copy and paste this exactly
Trying 👍
#!/bin/bash
finish() {
f="${1}"
[[ -z "${f}" || -z "${CYDIA}" ]] && return
cydia=(${CYDIA})
[[ ${cydia[1]} -eq 1 ]] || return
echo "finish:${f}" >&${cydia[0]}
}
# DO other stuff here if you need to
finish reload
this works
Damm. I will try this first
Is this where i would set up redirecting to patcher app too ?
Since its rootless originally
no that isn't handled by the package
Because that also doesn't work. I have to open the deb in patcher first
When i open the debs (rootless) in sileo and tap install it usually redirects to the patcher app
Anyways thats not too important
I guess
is the architecture set to iphoneos-arm64
in the control file
Its arm
that's why
But the build is rootless very weird xd
though THEOS_PACKAGE_SCHEME=rootless is supposed to change that i think?
I have it in the makefile but idk
well, you can just refer to the control file that's outputted instead of the one in the project
dpkg-deb -I /path/to/file.deb
^
Does this get the outputted control file
worked thanks
@radiant idol i have an idea
uh oh
why do you change the color of this label directly when it reaches a percentage
i get its to make it readable
but why not use a screen or overlay blending mode on the text label
would look better and would be more functional
i dont know exactly how you would do that from an objc perspective
this is an automatic iOS thing
+[UILabel secondaryLabel]
why does it color the whole label thats a weird functionality
a blending mode would look much nicer
Still doesn't redirect but this is legit not that important its not hard to open in patcher first
Why is your brightness changing like that 😭
automatic brightness that i cant turn off
Auto brightness prob
i don't think you can do non-composite blending between uiviews lol
L
surely there has to be a way
if not draw the text as a CATextLayer and do it with a cgrect drawer
HORROR LOOK AT THE BATTERY
springo v1.1 is out now!
all this for a respring app
"magichaxx"
but its.. closed source?
the reason for it makes sense i guess
not that i trust it either way no offense
it just fills memory until sb gets killed
also works on macos but it's slow

what in the chatgpt html tutorial
no offense but what is the point of this
like the website looks nice
but for a respring app?
slightly over the top
rly?
i love designing in react lol
lol
why is it closed source though
didn't know that
there's just credits and waffle
this is chatgpt generated
it's literally a fkn respring app
yep cuz i had to hurry because of personal reasons
and closed source doesn't offer a advantage whatsover
apple patching a respring is not gonna do shit
fr
there is absoutely 0 point in keeping it closed source especially if this "exploit" is just filling up memory
.
there are better, oss, ways to do it jailed
lmao
"magichaxx" my ass
xpc won't even work on iOS 17
that's an inside joke lmao
it's very funny
cuz some guy asked for the source and stuff
he had stolen shit
and someone from the team said it's magichaxx
why do you release something, claims it uses a exploit but in fact all it does is fill up memory until springboard decides to restart
not a exploit
the fake verbose textbox stands for literally the look nothing else cuz like 4 people asked for the source and it’s funny
ok buddy
as i said it's an inside joke
so this whole project is a inside joke?
damn i think i broke firefox on my mac

not entirely
use safari fr
but sync
maybe try creating something more benefical in future
what iphone
yea ik this was some experiment as my first ios app
ok
just rewrite code
that's how you get experience
it's what i'm doing rn
no window even opens
i just get this 😭
aight thanks for the advice
Can we make requests for money in this channel
no?
Where would be the appropriate place to hire developers
not this server
everything here is done for free for the jailbreak community
maybe if you get lucky you can find a bug and report it to Apple
and get a big payout
Ik that but things have slowed down a lot though , times changed security is getting harder exploits are becoming minimal im willing to pay 1500 for trollstore on 17.0 A17 ik its not a lot but its something to give an incentive
that's too low 

