#development

1 messages · Page 232 of 1

magic hazel
#

flex is overwhelming

magic hazel
#

am i doing something wrong or should i be able to find the image in the hierachy

orchid fulcrum
magic hazel
#

oooh there's a cool 3d view thing

#

helps alot

#

although i just resprung

#

dammit

#

i keep respringing

#

and the list view is completely useles

#

finally i found it

#

okay its a ui image view with the nearest view controller being csnotificationviewcontroller

#

how do i hook that

#

im hoping this is correct

#

@interface CSNotificationViewController :NCNotificationViewController

#

but i have absolutely 0 clue since i cannot load limneos

#

i am totally lost lmao

orchid fulcrum
magic hazel
#

yeah i have the headers now

#

but i can't really do shit with it

#

because i don't know how to obtain the uiimage

#

i think this is beyond me atm

#

im reading velvet 2 source code

#

and i have no clue what is going on

orchid fulcrum
#

hooking a specific instance of a general class (like uiimage) is kinda hard, you need to be able to get a reference to it or identify it somehow. i suggest starting with something simpler, and looking at open source code of simpler tweaks as well

magic hazel
#

@radiant idol should i need to know what this means or is it okay to just use it and forget about how it works

CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), NULL, (CFNotificationCallback)preferencesChanged, CFSTR("com.nightwind.prefbundleexampleprefs-updated"), NULL, CFNotificationSuspensionBehaviorDeliverImmediately);
#

it works but it doesn't retroactively apply it

#

that's fine

#

i think i'll just require a respring

#

anyone have an open source colour picker?

#

maybe i dont need to respring

#

is this good

radiant idol
magic hazel
#

make[3]: *** [/home/jwalr/theos/makefiles/instance/library.mk:52: /mnt/c/Users/jwalr/NotificationGlow2/.theos/obj/debug/arm64/NotificationGlow2.dylib] Error 1
make[2]: *** [/home/jwalr/theos/makefiles/instance/library.mk:52: /mnt/c/Users/jwalr/NotificationGlow2/.theos/obj/debug/arm64/NotificationGlow2.dylib] Error 2
make[2]: *** Waiting for unfinished jobs....
==> Linking tweak NotificationGlow2 (arm64e)…
ld: library not found for -lGcUniversal
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/home/jwalr/theos/makefiles/instance/library.mk:52: /mnt/c/Users/jwalr/NotificationGlow2/.theos/obj/debug/arm64e/NotificationGlow2.dylib] Error 1
make[2]: *** [/home/jwalr/theos/makefiles/instance/library.mk:52: /mnt/c/Users/jwalr/NotificationGlow2/.theos/obj/debug/arm64e/NotificationGlow2.dylib] Error 2
make[1]: *** [/home/jwalr/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
make: *** [/home/jwalr/theos/makefiles/master/rules.mk:146: NotificationGlow2.all.tweak.variables] Error 2

#

idk whats happening

#

the color picker wont appear

#

i dont know why

#
-(void)viewDidLoad {
    %orig;
    if (!enableGlow) {
        return;
    }
    //Create a rectangle that matches the shape of the notification
    self.notificationView = [[UIView alloc] init];
    self.notificationView.backgroundColor = [[UIColor clearColor] colorWithAlphaComponent:0.7];
    self.notificationView.layer.cornerRadius = 20;

    //Make and outer edge glow for the final effect
    
    UIColor *colorWithFallback = [GcColorPickerUtils colorFromDefaults:@"com.jwi.NotificationGlow2Prefs" withKey:@"YourColor" fallback:@"ffffffff"];
    self.notificationView.layer.shadowColor = colorWithFallback.CGColor;
    self.notificationView.layer.shadowOpacity = 0.7;
    self.notificationView.layer.shadowRadius = 10;
    self.notificationView.layer.shadowOffset = CGSizeZero;
    [self.view insertSubview:self.notificationView atIndex:0];
}

%end```
#

seems it's broken lol

pallid totem
magic hazel
#

that's because it isn't

#

and i wrote those comments myself

#

I just get a blank screen

pallid totem
magic hazel
#

I forget things easily

#

I want to remember

pallid totem
#

reread the code

#

thats how u remember

#

lol

magic hazel
#

That doesn't tell you what the code means

#

lol

pallid totem
#

it

#

does

magic hazel
#

That's why everyone is able to read code right

pallid totem
#

the #1 rule in software engineering is that you need to know what you are trying to achieve with your plan that you have in mind

#

else you will not be able to build anything and keep on failing

magic hazel
#

When learning a new language, often you forget certain phrases

#

The same applies to coding

#

It also helps other people read it

#

Anyways

pallid totem
#

if you just write comments for that reason, then it’s lame and makes u seem kinda weak

but if you intend to help other people read it, sure, thats fine

magic hazel
#

I don't mind what your opinion on my comment writing is, it's my code and I'll do what I feel is best to help me write it

pallid totem
magic hazel
#

It doesn't actually make the view appear

pallid totem
#

didn’t say what you should really do, it’s just common practice

#

anyway

#

back to ur issue

magic hazel
#

@radiant idol am I doing something wrong, I've just used the default implementation that the documentation outlines

magic hazel
#
                <key>cell</key>
            <string>PSLinkCell</string>
            <key>cellClass</key>
            <string>GcColorPickerCell</string>
            <key>label</key>
            <string>Your Color Label</string>
            <key>defaults</key>
            <string>com.jwi.NotificationGlow2Prefs</string>
            <key>key</key>
            <string>YourColor</string>
            <key>supportsAlpha</key>
            <true/>
            <key>safeOnDismiss</key>
            <true/>
            <key>fallback</key>
            <string>ffffffff</string>
            <key>style</key>
            <integer>1</integer>
        </dict>```
#

my plist code

magic hazel
#

im so lost

#

ive tried everything

#

it just will not appear

#

no matter what i do

#

even though the documentation says it shoudl

robust radish
#

What’s the directory structure of where this plist is located

magic hazel
#

the other buttons work lmao

robust radish
naive kraken
magic hazel
#

It changes the colour to the default one

orchid fulcrum
#

hi opa334

worn briar
#

hi opa334

kind herald
#

hi opa334

cedar stag
#

hi opa334

harsh junco
#

hi opa334

severe stream
#

hi opa334

faint timber
#

433apo ih

hexed knot
#

Can I dump a swift headers on Linux?

#

Dsdump seems to be macOS only

wooden yarrow
hexed knot
#

will try it

quaint rain
vivid dew
#

@subtle grail happy birthday big man

slim bramble
#

Happy birthday ;)

granite frigate
#

@subtle grail happy birthday big man

manic forum
#

psa

#

do NOT use rapidxml

#

i stayed up until 2am trying to figure out why my wii homebrew was crashing in unique ways every time i changed something in the code

#

i isolated the issue to rapidxml, i guess it writes out of bounds ?? replacing it with pugixml fixed everything

#

(i couldn't figure out how to setup a debugger so i may also be lying idk)

magic hazel
lyric heron
#

@subtle grail happy birthday big man

radiant idol
#

@subtle grail happy birthday!

magic hazel
#

lmao

#

Happy bday

manic forum
trim kiln
#

@subtle grail happy birthday big man

frail cedar
manic forum
#

I want to work on something else but why should I do that when I can make Shijima a little better?

#

... has been my mindset for like 9 months at this point

#

Anyway I rewrote Shijima-Wii and it actually works now

#

The earlier version should have never worked to begin with

#

In the earlier version rapidxml was doing a lot of out of bounds writes, so I moved around random lines of code until gdb produced a binary that did not corrupt the parts of the stack/heap that I cared about (...is what I assume happened, I have no clue)

#

@kind herald why did you react with 🏳️‍⚧️ earlier fr

kind herald
#

I accidentally reacted with that instead of sob

#

Sorry

manic forum
#

oh

kind herald
#

My laptop trackpad SUCKS No more mistakes will occur when i get my dell xps fixed.

manic forum
#

mine isn't too good either

#

sometimes i wonder if it'd be possible to somehow attach a magic trackpad to a regular windows laptop in place of the builtin trackpad

manic forum
#

^ the wii has 88 MBs of RAM

slim bramble
#

Why is bro using 2^20 bytes of ram

manic forum
#

The library I'm using for rendering requires the dimensions of textures to be multiples of 4

#

Many images I need to load don't fit that criteria

#

So I need to resize them in memory

slim bramble
#

"I'm sane"

manic forum
reef trail
slim bramble
slim bramble
manic forum
slim bramble
#

💀

manic forum
#

That's the logical thing to do and I did think of that I'm not that stupid

reef trail
#

what's it got to do with Qt 😭

manic forum
reef trail
#

mate

#

it'd be one button

manic forum
#

And I'm not touching that code

reef trail
#

other way of doing it is just telling users it has to be a certain size and failing when the wrong size is supplied

reef trail
#

you just want to do the cursed memory okay

#

it's people like you who cause my iot lightbulbs to crash

manic forum
reef trail
#

this is embedded no?

manic forum
#

It's a Wii

reef trail
#

oh

#

yeah that's not that bad

#

i assumed this was embedded

manic forum
#

did you think I was reserving 50% of the memory for image resizing or something 💀

reef trail
#

yep

harsh junco
slim bramble
#

Probably gonna end up hanging myself

#

👍

harsh junco
slim bramble
#

👍

slim bramble
#

Update: replacing first instruction with ret made me not require to understand the assembly

robust radish
#

you could make an IDA script to mostly recreate control flow, since Hikari's obfuscation uses deterministic transformations

faint timber
#

do you speak english per chance?

magic hazel
#

wrong ss

#

actually it's the wrong commit lmao

#

i'll update once im home and can commit

faint timber
robust radish
#

you could probably make it

faint timber
#

I wish I had the time to make it

placid kraken
#

hello, im trying to open graphical windows from my fedora laptop over ssh from my macbook

#

i have x11 forwarding setup but xquartz seems to not support the full opengl profile i need to run things on the gpu

placid kraken
slim bramble
wooden yarrow
#

yall know of any tweak filters that only apply to ssl pinning daemons/executables?

#

tried com.apple.Security but apparently that injects to everything and thus causes my mac to lock up

faint timber
#

I fixed that lockup btw

cloud yacht
magic hazel
#

Nvm

#

Looks cool

#

Promising

old locust
#

Are you guys developing a iOS 18.2 JB?

#

@everyone

reef trail
kind herald
#

Are you guys developing a iOS 18.2 JB?

#

@everyone

manic forum
#

Are you guys developing a iOS 18.2 JB?

#

@everyone

slim bramble
#

Are you guys developing a iOS 18.2 JB?
@everyone

reef trail
native dune
#

no bibi fire we are not currently developing an iOS jailbreak for the version 18.2

kind herald
#

no bibi fire we are not currently developing an iOS jailbreak for the version 18.2

vivid dew
#

i'm developing leviathan 3 for ios 18.2

#

release date this june

harsh junco
#

no bibi fire we are not currently developing an iOS jailbreak for the version 18.2

stone veldt
harsh junco
rose notch
#

srry he just bothered me in incase you missed it or whatever

cloud yacht
#

Mods give that white name orange name thanks

stone veldt
magic hazel
#

@radiant idol am i linking correctly

radiant idol
#

no

#

get rid of the ldflags

#

NotificationGlow2_LIBRARIES = gcuniversal

magic hazel
#

says it doesn

#

exist

#

which it doesnt

#

only lgcuniversal does

radiant idol
#

you did something wrong then

#

idk

magic hazel
#

it worked

#

lemme test it

#

bruh

#

the colour picker still doesn't work

#

😭

#

idk what i'm doing wrong

#

its just a blank screen

#

is my plist setup correctly

#
            <string>PSLinkCell</string>
            <key>cellClass</key>
            <string>GcColorPickerCell</string>
            <key>label</key>
            <string>Your Color Label</string>
            <key>defaults</key>
            <string>com.jwi.NotificationGlow2Prefs</string>
            <key>key</key>
            <string>YourColor</string>
            <key>supportsAlpha</key>
            <true/>
            <key>safeOnDismiss</key>
            <true/>
            <key>fallback</key>
            <string>ffffffff</string>
            <key>style</key>
            <integer>1</integer>```
radiant idol
#

wdym by "doesnt work"

magic hazel
#

ill send a scren cap

radiant idol
#

yeah idk

radiant idol
#

try #ffffff or something

magic hazel
#

same thing

radiant idol
#

L

magic hazel
magic hazel
#

any example tweaks

radiant idol
magic hazel
visual meadow
#

does this color with the music

#

no

#

bruh\

radiant idol
#

no but you could certainly make it do that

visual meadow
#

yeah ik

#

i tried but it didnt work well

#

maybe i can base on urs

radiant idol
#

also this

magic hazel
#

I’ll look

#

I’m confused tho

#

Might need to learn more obj c

orchid fulcrum
acoustic imp
magic hazel
acoustic imp
magic hazel
acoustic imp
#

like make files/plist files

magic hazel
#

the tweak is completely diff

acoustic imp
#

ur having issues in prefs

magic hazel
#

but

#

yes

acoustic imp
#

so look in prefs not the tweak part?

magic hazel
#

wait wait wait wait wait

#

wait

#

hold on

acoustic imp
#

exmple of the plis plist <dict> <key>cell</key> <string>PSLinkCell</string> <key>cellClass</key> <string>GcColorPickerCell</string> <key>label</key> <string>Color</string> <key>defaults</key> <string>com.teslaman3092.popoutbuttonsprefs</string> <key>key</key> <string>globalBorderColor</string> <key>supportsAlpha</key> <true/> <key>safeOnDismiss</key> <true/> <key>fallback</key> <string>5C5C5CFF</string> <key>style</key> <integer>1</integer> <key>PostNotification</key> <string>com.teslaman3092.popoutbuttonsprefs-updated</string> </dict>

magic hazel
#

do i need to include the tweak library

#

in the prefs makefile

acoustic imp
#

yes

#
TARGET := iphone:clang:latest:13.0

include $(THEOS)/makefiles/common.mk

BUNDLE_NAME = popoutbuttonsprefs

popoutbuttonsprefs_FILES = POBRootListController.m
popoutbuttonsprefs_FRAMEWORKS = UIKit
popoutbuttonsprefs_PRIVATE_FRAMEWORKS = Preferences
popoutbuttonsprefs_INSTALL_PATH = /Library/PreferenceBundles
popoutbuttonsprefs_CFLAGS = -fobjc-arc
popoutbuttonsprefs_LIBRARIES = gcuniversal

include $(THEOS_MAKE_PATH)/bundle.mk```
#

mine

#

was that the issue?

magic hazel
#
THEOS_PACKAGE_SCHEME=rootless

include $(THEOS)/makefiles/common.mk

BUNDLE_NAME = NotificationGlow2Prefs

NotificationGlow2Prefs_FILES = WXMRootListController.m
NotificationGlow2Prefs_FRAMEWORKS = UIKit
NotificationGlow2Prefs_PRIVATE_FRAMEWORKS = Preferences
NotificationGlow2Prefs_INSTALL_PATH = /Library/PreferenceBundles
NotificationGlow2Prefs_CFLAGS = -fobjc-arc
NotificationGlow2Prefs_LIBRARIES = gcuniversal

include $(THEOS_MAKE_PATH)/bundle.mk```
#

like so?

acoustic imp
#

why are you sending the debs ?

acoustic imp
magic hazel
#

so i can install on my device

#

i delete the old one most of teh time

acoustic imp
#

make do THEOS_DEVICE_IP=urDeviceIP

magic hazel
#

dont say use ssh because ssh refuses to work on my device

acoustic imp
#

u have to change the like config

#

or allow root signin

magic hazel
#

didnt fix it btw

acoustic imp
#

how so

magic hazel
#

its literally the same result

#

lmao

acoustic imp
#

?

#

like what does it error to?

magic hazel
#

there is no error

acoustic imp
#

just never accepts ur psw ?

magic hazel
#

no

#

im talking about the tweak

acoustic imp
#

oh.

#

did u kill the prefs app and re open it after install?

magic hazel
#

i resprung lmao

#

same resuly

acoustic imp
#

well not all reprings kill apps but ok

magic hazel
#

i killed it

acoustic imp
#

hold on leme boot up my test device

magic hazel
#

same result

acoustic imp
#

ik

magic hazel
#

aight

#

lemme send the repo too

#

maybe im doin smthing wrong elsewhere

acoustic imp
#

no need

#

il use the deb u sent

magic hazel
#

what you're gonna decompile it?

acoustic imp
#

ita gotta JB tho one sec

#

btw remove this from ur pref make file, un-needed

magic hazel
#

I’d rather just run make package

acoustic imp
#

just use the up arrow instead of re typing it ?

magic hazel
#

I switch devices

acoustic imp
#

?, ones rootless one rootfull ?

#

still use up arrow ?

#

also why two ?

#

tweak make file

TARGET := iphone:clang:16.5:14.0
INSTALL_TARGET_PROCESSES = SpringBoard
# THEOS_PACKAGE_SCHEME=rootless

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = NotificationGlow2
NotificationGlow2_FILES = Tweak.x
NotificationGlow2_CFLAGS = -fobjc-arc 
NotificationGlow2_LIBRARIES = gcuniversal

include $(THEOS_MAKE_PATH)/tweak.mk
SUBPROJECTS += NotificationGlow2Prefs
include $(THEOS_MAKE_PATH)/aggregate.mk
#

prefs make file

TARGET := iphone:clang:16.5:14.0
THEOS_PACKAGE_SCHEME=rootless

include $(THEOS)/makefiles/common.mk

BUNDLE_NAME = NotificationGlow2Prefs

NotificationGlow2Prefs_FILES = WXMRootListController.m
NotificationGlow2Prefs_FRAMEWORKS = UIKit
NotificationGlow2Prefs_PRIVATE_FRAMEWORKS = Preferences
NotificationGlow2Prefs_INSTALL_PATH = /Library/PreferenceBundles
NotificationGlow2Prefs_CFLAGS = -fobjc-arc
NotificationGlow2Prefs_LIBRARIES = gcuniversal

include $(THEOS_MAKE_PATH)/bundle.mk
#

@magic hazel ^

#

also please just do make do THEOS_DEVICE_IP=deviceIP THEOS_PACKAGE_SCHEME=rootless

radiant idol
#

maybe not those older ones

#

but newer ones I do

acoustic imp
magic hazel
magic hazel
#

In either of them

#

I can’t tell

acoustic imp
#

just removed un-needed thing in the main make file, maybe fixed it there and added the 16.5 in the target thing

magic hazel
#

I’m running iOS 15

acoustic imp
#

doesnt matter rly, just for sdk stuff

#

it throws me an erroe in prefs if not

magic hazel
#

okay

#

lemme install theos and the library

#

oh

#

i have to rebuild the toolchain

#

breh

magic hazel
#

but i doubt it will work

acoustic imp
#

r u using mac os ?

magic hazel
#

No

#

libfakeroot: connect: Permission denied
make: *** [/home/jwalr/theos/makefiles/package/deb.mk:70: internal-package] Error 141

#

wtf

#

why is there a permission erro

#

oh right

#

same thign as last time

#

where was that

#

fixed it

#

oh btw it says connection refused

#

lmao

#

unsurprising

#

hopefully it works

#

it worked

#

lmao

#

so which change actually fixed it

#

is the question

#

yooo

#

changing the colour works too

#

it actually applies

#

lets gooo

#

time to setup a repo

#

does anyone have an open source repo?

#

😭

#

it wont work

#

it says it can't find the release file

#

i don't understand

#

what did i do wrong

#

OMG I FIXED IT

#

yoooo

#

i have a working repo now

#

what does the "real" part mean here

<dict>
    <key>cell</key>
    <string>PSSliderCell</string>
    <key>default</key>
    <real>66</real>
    <key>min</key>
    <integer>0</integer>
    <key>max</key>
    <integer>50</integer>
</dict>```
torn oriole
#

It's a value of real type

#

Which is also technically a float

magic hazel
#

i see

#

why not just use float then

#

i doubt you're gonna use imaginary numbers

torn oriole
#

Probably isn't a type that applies to plists maybe

magic hazel
#

ah i see

torn oriole
#

I think real type is a more generic way of referring to it

magic hazel
#

so then why

#

for min and max

#

is it an integer

#

surely this will throw an error

torn oriole
#

Idk

#

Probably some casting logic in the tweak

#

If it works it works

magic hazel
#

ig so

#

using repo to push changes is slightly slower than just using discord but eh

#

dammit it broke

#
<dict>
            <key>cell</key>
            <string>PSSliderCell</string>
            <key>label</key>
            <string>Glow Radius</string>
            <key>key</key>
            <string>glowRadius</key>
            <key>default</key>
            <real>10</real>
            <key>min</key>
            <integer>0</integer>
            <key>max</key>
            <integer>20</integer>
        </dict>```
#
static void preferencesChanged() {
    NSUserDefaults *prefs = [[NSUserDefaults alloc] initWithSuiteName:@"com.jwi.NotificationGlow2Prefs"];
    enableGlow = [prefs objectForKey:@"enableGlow"] ? [prefs boolForKey:@"enableGlow"] : YES;
    glowRadius = [prefs objectForKey:@"glowRadius"] ? [prefs floatForKey:@"glowRadius"] : 10; 
}```
#

apparently i just cannot give it a key

#

so

#

i have absolutely no clue how to retrieve a value from it

magic hazel
#

god this is annoying

#

just having a key there makes it not work but i cant get a value without a key

magic hazel
#

i fixed it!

acoustic imp
magic hazel
magic hazel
#

im cooking rn

magic hazel
#

alr ive made the package even better now

#

it has a glow radius and opacity slider

#

thinking of what else i can implement

rare schooner
#

v78 = objc_retainAutoreleasedReturnValue(
+[NSNumber numberWithBool:](
&OBJC_CLASS___NSNumber,
"numberWithBool:",
+AppsFlyerUtils isWifiAvailable));
-[AppsFlyerDictionary setParameter:forKey:](v7, "setParameter:forKey:", v78, CFSTR("wifi"));
objc_release(v78);
if ( -AppsFlyerLib VPNCollectionEnabled )
{
v79 = objc_retainAutoreleasedReturnValue(
+[NSNumber numberWithBool:](
&OBJC_CLASS___NSNumber,
"numberWithBool:",
+AppsFlyerUtils isVPNConnected));
-[AppsFlyerDictionary setParameter:forKey:](v7, "setParameter:forKey:", v79, CFSTR("ivc"));
objc_release(v79);
}


based on this code i found in Pseudocode-A in IDA PRO, can i make the app see i have vpn off with something like :

%hook AppsFlyerUtils

  • (BOOL)isVPNConnected {
    return NO;VPN status
    }

%end

vivid dew
#

maybe :3

magic hazel
#

uh

#

its a bit laggy

#

idk why tho

#

why does this cause a safe mode reboot


@implementation NCNotificationViewController
- (void)addGlowEffect {
    if (!self.notificationView) {
        self.notificationView = [[UIView alloc] initWithFrame:self.view.bounds];
        self.notificationView.backgroundColor = [UIColor clearColor];
        self.notificationView.layer.cornerRadius = 20.0f;
        self.notificationView.layer.shadowOpacity = 0.7f;
        self.notificationView.layer.shadowRadius = 10.0f;
        self.notificationView.layer.shadowOffset = CGSizeZero;
        [self.view insertSubview:self.notificationView atIndex:0];
    }
}
@end```
magic hazel
#

probably

#

im probably going to end up making a 3rd version of it

acoustic imp
#

Send the log…

magic hazel
#

I can't

#

Not only can I not access the device but I also don't know where the log would be

acoustic imp
#

how is it crashing if u cant access the device ??

magic hazel
#

im in class now

acoustic imp
#

oh

#

well im going to bed so 👋

harsh junco
worn briar
#

Meighler goes one day without using the term obfuscate challenge (difficulty: impossible)

serene hawk
# magic hazel why does this cause a safe mode reboot ```objc @implementation NCNotificationV...

i'd suggest moving this into the hook and only declaring the method in the interface, so

@interface NCNotificationViewController : UIViewController
- (void)addGlowEffect;
@end

%hook NCNotificationViewController
// … rest of your code

%new
- (void)addGlowEffect {
    if (!self.notificationView) {
        self.notificationView = [[UIView alloc] initWithFrame:self.view.bounds];
        self.notificationView.backgroundColor = [UIColor clearColor];
        self.notificationView.layer.cornerRadius = 20.0f;
        self.notificationView.layer.shadowOpacity = 0.7f;
        self.notificationView.layer.shadowRadius = 10.0f;
        self.notificationView.layer.shadowOffset = CGSizeZero;
        [self.view insertSubview:self.notificationView atIndex:0];
    }
}
%end```
cloud yacht
cedar stag
slim bramble
#

🗣️ 🔥

magic hazel
#

And I reverted to that now

cedar stag
wooden yarrow
#

any devs know why i can't inject into nsurlsessiond with a regular tweak filter (either nsurlsessiond in Filter.Executables or com.apple.nsurlsessiond in Filter.Bundles for good measure) but i can do it fine with frida

steady nest
#

what jailbreak

robust radish
#

your tweakloader may exclude it

rare schooner
#

how can i make a .dylib have all the neccesarry info from the .deb , so i can use the tweak just by injecting the .dylib with sideloadly ?

cloud yacht
wooden yarrow
#

but libhooker using odysseyra1n

steady nest
#

yeah libhooker blacklists it

#

it would crash a lot

wooden yarrow
#

interesting

steady nest
#

reddit moment

wooden yarrow
#

it does work when i inject to it using frida though so

steady nest
#

lol literally mentions reddit

wooden yarrow
#

i do wish there were explicit bypasses to these

steady nest
#

if you can set dyld_insert_libraries, probably?

naive kraken
#

back in my days I was using libsyringe to inject it manually

kind herald
#

libneedle

#

libheroin

cloud yacht
#

the tweak would be libheroin

#

as it's being injected by libsyring

rare schooner
#

hey guys. whats the default hook i need to make for apps to see my VPN as off ? i see all reputable tweak makers have this but i want to do it myself, but for some reason, all hooks chat gpt or claude give me, are useless and apps still see vpn as on. im sure there is a super simple and basic hook i need to do but i dont find it

cloud yacht
#

idk how to but since it's probabaly a public api. just google how to see if the vpn is off, then figure out which function is used to check and hook it

magic hazel
visual meadow
rare schooner
#

i made a tweak that makes apps see my VPN as off by hooking CFNetworkCopySystemProxySettings . It works good on my iph X ios 16.7.10 with palera.

My question is how can i turn the .deb into a .dylib that works when injected with sideloadly in a app, on a non jb phone ?
for other tweaks, i just got the dylib and injected it, and they worked. but with this tweak, it causes the app to not load while having vpn connected, but when vpn is disconnected, the app works good

acoustic imp
visual meadow
#

im trying to figure out why it doesnt work for a little bit after respring

acoustic imp
#

is this spotify

visual meadow
#

it does it for any app

acoustic imp
#

o

visual meadow
#

i think its just the way im getting artwork

#

is there any good way

#

to get

#

artwork pictures

#

like what method should i be hooking

acoustic imp
#

the good way is thru thoes like music funcs

#

one sec there sm tweak

#

its that like windows10 LS one

#
- (void)setNowPlayingInfo:(id)arg1 { // set now playing info

    %orig;

    MRMediaRemoteGetNowPlayingInfo(dispatch_get_main_queue(), ^(CFDictionaryRef information) {
        if (information) {
            NSDictionary* dict = (__bridge NSDictionary *)information;

            if (dict) {
                if (dict[(__bridge NSString *)kMRMediaRemoteNowPlayingInfoArtworkData]) {
                    UIImage* artwork = [UIImage imageWithData:[dict objectForKey:(__bridge NSString*)kMRMediaRemoteNowPlayingInfoArtworkData]];
                    if (artworkTransitionSwitch) {
                        [UIView transitionWithView:[coverSheetView diaryArtworkView] duration:0.2 options:UIViewAnimationOptionTransitionCrossDissolve animations:^{
                            [[coverSheetView diaryArtworkView] setImage:artwork];
                        } completion:nil];
                    } else {
                        [[coverSheetView diaryArtworkView] setImage:artwork];
                    }
                    if (adaptiveMediaPlayerBackgroundSwitch) [[coverSheetView diaryPlayerView] setBackgroundColor:[libKitten backgroundColor:artwork]];
                }
                if (dict[(__bridge NSString *)kMRMediaRemoteNowPlayingInfoTitle]) [[coverSheetView diarySongTitleLabel] setText:[NSString stringWithFormat:@"%@", [dict objectForKey:(__bridge NSString*)kMRMediaRemoteNowPlayingInfoTitle]]];
                if (dict[(__bridge NSString *)kMRMediaRemoteNowPlayingInfoArtist])[[coverSheetView diaryArtistLabel] setText:[NSString stringWithFormat:@"%@", [dict objectForKey:(__bridge NSString*)kMRMediaRemoteNowPlayingInfoArtist]]];

                [[coverSheetView diaryPlayerView] setHidden:NO];
            }
        } else {
            [[coverSheetView diaryPlayerView] setHidden:YES];
        }
        [[NSNotificationCenter defaultCenter] postNotificationName:@"diaryUpdateNotificationList" object:nil];
      });
    
}``` @visual meadow
#

jus shave off wtv u need

visual meadow
#

ughhhhhhhhhhh thats the sammmee code im using

acoustic imp
#

oh.

visual meadow
#
%hook SBMediaController

-(void)setNowPlayingInfo:(id)arg1 {
    %orig;
    MRMediaRemoteGetNowPlayingInfo(dispatch_get_main_queue(), ^(CFDictionaryRef information) {
        NSDictionary *dict = (__bridge NSDictionary *)(information);
        if(!dict) return;

        NSData *artworkData = [dict objectForKey:(__bridge NSString *)kMRMediaRemoteNowPlayingInfoArtworkData];
        __block UIImage *artwork = [UIImage imageWithData:artworkData];
        [UIView animateWithDuration:0.3 animations:^{
            velvetArtworkBackground.backgroundColor = [artwork velvetAverageColor];
        }];
    });
}
%end```
acoustic imp
#

u could do some frickery like checking if the song changed then only updating the image then

acoustic imp
visual meadow
#
#import "Headers.h"
#import "MediaPlayer.h"
#import "VelvetPrefs.h"
#import "ColorSupport.h"



@interface CSActivityItemContentView : UIView
@end

UIView *velvetArtworkBackground;


%hook CSActivityItemContentView

- (void)didMoveToWindow {
    %orig;
    static bool once = NO;
    if (once == NO) {
        once = YES;
        velvetArtworkBackground = self;
    }
}
%end

%hook SBMediaController

-(void)setNowPlayingInfo:(id)arg1 {
    %orig;
    MRMediaRemoteGetNowPlayingInfo(dispatch_get_main_queue(), ^(CFDictionaryRef information) {
        NSDictionary *dict = (__bridge NSDictionary *)(information);
        if(!dict) return;

        NSData *artworkData = [dict objectForKey:(__bridge NSString *)kMRMediaRemoteNowPlayingInfoArtworkData];
        __block UIImage *artwork = [UIImage imageWithData:artworkData];
        [UIView animateWithDuration:0.3 animations:^{
            velvetArtworkBackground.backgroundColor = [artwork velvetAverageColor];
        }];
    });
}
%end

%ctor {
    preferences = [VelvetPrefs sharedInstance];

    if ([preferences boolForKey:@"enableMediaplayer"]) {
        %init;
    }
}```
Basically its a super trimmed down version of velvets thing
#

But trimmed and highly modified

rare schooner
#

can someone ping the command for theos channel ?

#

i cant find it

acoustic imp
#

the link is on theri website...

magic hazel
#

how do i build for rootful with a command

#

Gonna make a 3rd notification tweaking tool

#

gotta learn a decent amount more about obj c tho

#

i want this one to be a bit larger

#

I have a cool name for it

#

inspired by turdus

visual meadow
#

@acoustic imp

#

bro

#

this is all i needed

#
%hook MRUNowPlayingContainerView

- (void)layoutSubviews {
    %orig;
    velvetArtworkBackground = self.superview;
}

%end

%hook MRUArtworkView
-(void)setArtworkImage:(UIImage *)artwork {
    %orig;
    [UIView animateWithDuration:0.3 animations:^{
        velvetArtworkBackground.backgroundColor = [artwork velvetAverageColor];
    }];
}
%end```
acoustic imp
#

i was gonna recomend that but i thought it was bad, this is also how i did it in 16p tho

#
- (void)layoutSubviews {
    %orig;
    velvetArtworkBackground = self.superview;
}``` ![woeis](https://cdn.discordapp.com/emojis/696454260212105267.webp?size=128 "woeis")
#

only thing is

#

u gonna have to handle nil some times, also that get spammed a bunch

#

what i did for the spamming, was just store a UIImage var and compare it with it, if its not the same then update/animate

#

~~%prop time TrollFront ~~

visual meadow
#

what about that lol

granite frigate
#

did u just skid velvet src

#

🔥

#

eta tweak

#

thanks bbg

visual meadow
#

Now its basically not velvets source anymore besides the average color thing

manic forum
#

layoutSubviews hook 🔥 🔥

rare schooner
#

someone please tell me why the app doesnt have internet connection (iph XR 18.4) , when using a app i sideloadled, the app was previously injected with a dylib of a tweak that returns VPN status as off.

The thing is other 2 dylibs dont cause the app to not have internet, on the same iph XRios 18.4. only that one.

i also changed the tweak so it doesnt hook system level stuff so it causes problems, it just hooks apps api, not system level.

what could the issue be? if anyone can help i would appreciate it so much!

if you have no idea, at least tell me how you would make a tweak->dylib that you would inject with sideloadly in a normal app, and cause that app on a non jb ios 18 , to see ur vpn as off, thanks again!! 🙂

vivid dew
#

idk

#

i feel like your hook just isn't properly written

rare schooner
#

so ?

acoustic imp
#

Hook like did add subview on the superview

visual meadow
harsh junco
radiant idol
wooden yarrow
#

because nsurlsessiond and backupd are only alive for as long as they're needed

visual meadow
#

when i restart music

#

like when the widget disappears

#

it no longer changes color

#

I need something that gets called every single time it reappears

radiant idol
#

yeah idk

visual meadow
#

the best one i have is layoutSubviews

#

ok this works

visual meadow
# radiant idol yeah idk
%hook MRUNowPlayingView

- (void)didMoveToSuperview {
    %orig;
    velvetArtworkBackground = self;
}

%end```
#

my bad 🙏

radiant idol
#

W

visual meadow
#

hooking it on the actual view i change the color on works

#

now i need to figure out the botched animation shit

naive kraken
wooden yarrow
naive kraken
wooden yarrow
#

oh

naive kraken
#

there is multiple things I did

#

like for instance I developed a system where it will auto detect if a dylib is not injected

#

and stop everything else from doing is thing if one hook is not active

#

and then I added a fallback case for taurine where it spawned libsyringe with the path on the cfprefsd pid

#

and return success instead if it worked

#

but the thing is there was a second thing I had to do too on taurine that I don't fully remember

wooden yarrow
#

the things i have to do to simply mimick libhooker

magic hazel
#

what does viewforpreview and superview do

frail cedar
magic hazel
#

no

#

ofc not

frail cedar
#

.

magic hazel
#

i was advised specifically not to learn shit beforehand "part of the fun"

frail cedar
#

ok well you should maybe learn things during but anyway

#

uikit works by layering views

magic hazel
#

oh i know that part

frail cedar
#

there's more that goes into it which i won't explain just yet

#

but as a basic

#

every ios app starts off with a root UIView and everything else is layered over that

#

a UIButton is a subclass of a UIView, UISlider, UITextField etc etc

#

you can layer more views on top of views! so you can put a UIScrollView on the root view

magic hazel
#

Yeah i got that much

frail cedar
#

then some UIButtons in the UIScrollView

magic hazel
#

i do that in my notification tweak

frail cedar
#

so, from the perspective of the UIScrollView:

  • the UIButtons are subviews
  • the root view is the superview
magic hazel
#

got it

frail cedar
#

Views that are layered in front/on top of your view are subviews, ones layered behind/in back of your view are superviews

#

It's same terminology as subclasses/superclasses

magic hazel
#

got it

frail cedar
#

viewForPreview is i think related to xcode preview stuff

#

not sure

magic hazel
#

lmao

frail cedar
#

I don't bother with xcode previews too slow

magic hazel
#

alr

#

i dont use xcode

frail cedar
#

Fascinating

magic hazel
frail cedar
#

layoutSubviews moment

magic hazel
#

if i hook into that

#

it'll cause way too much lag

frail cedar
#

yeah cause layoutSubviews is called all the damn time

magic hazel
#

i know

#

so i dont use it

frail cedar
#

see if you can hook into the init function or smth idk

#

One of my tweaks reads a plist then does a bunch of time zone math every time the time updates my status bar i do not care abt optimization

magic hazel
#

idk what that is

frail cedar
#

a plist?

magic hazel
#

no

#

obv i know

#

what a plist is

#

idk what the init function is

#

well

#

ive tried viewdidappear

#

but it does nothing

frail cedar
#

try viewDidLoad

magic hazel
#

idk why viewdidload is causing lag

#

im literally using viewdidload

frail cedar
magic hazel
#

what else can i call

frail cedar
#

dunno i don't do uikit tweaks

#

i am happy with stock ios

magic hazel
#

what if i ran all the code in viewdidlayoutsubviews

frail cedar
#

Try it and see

magic hazel
#

more lag

#

so much more lag

#

somehow velvet2 gets away with running their shit in layout subviews

frail cedar
#

maybe it's an issue with your code then

#

not the hooked function

magic hazel
#

nah

#

it snot

#

ive just checked

#

and velvet uses nearly identical code

frail cedar
#

nearly

magic hazel
#

variable changes and whatnot

#

its basically identical

frail cedar
#

Dunno then

#

Skill issue?

harsh junco
#

in clang you can pass --sysroot/-isysroot/-isystem

#

gcc also has sysroot iirc

#

You can always do -I

#

@frail crater have you considered migrating that gentoo thing to llvm? I already built applellvm19troll

manic forum
#

This function does not change the value of tex itself, hence it still points to the same (now invalid) location.

wooden yarrow
#

it's only passed a pointer value so it cant actually modify the pointer itself

manic forum
wooden yarrow
manic forum
wooden yarrow
light owl
manic forum
#

I'm gonna make my own free library called libfree that implements void free(void *&pt) and zeroes pt after freeing

faint timber
manic forum
harsh junco
#

You can supply either arm64 or aarch64

#

aarch64-apple-darwin[darwin ver]

#

Yes, llvm has support for both
ios is in fact, based on darwin

#

send error logs

#

@frail crater ima lowkey try to get that gentoo thing running under llvm

Possibility of bootstrapping via Clang (DARWIN_USE_GCC=0)

#

Sorry for 5 pings

harsh junco
#

I don’t have a mac and vm is gonna be pretty slow :)

#

I guess I’m am either patching gcc and binutils to death or fixing (essentially writing new parts) gentoo scripts

#

You know, gnu stuff seems to be less painful

#

Same

#

Yea im gonna look into bunutils this weekend (gcc and apple cctools don’t really love each other)

#

I’m building on my gnu pc anyways

#

hm

#

gentoo prefix for my iOS device :)

#

yeees :P

#

Since there are arm64 gentoo bins, you could try changing platform values using vtool

harsh junco
#

O, seems like a gcc issue
I really hope that you used ians’s fork, which does fix this?

#

inb4 kill me now x2

#

also c++ > c

orchid fulcrum
harsh junco
#

it had ianis's patchestrol

#

you lowkey missed them

pearl sail
slim bramble
#

fr

wind ravine
#

can u codesign without the name?

#

email is fine

#

nvm needs to be notorized by apple to even sign for it anyway lol

slim bramble
slim bramble
wind ravine
#

they would not notorize nugget lol

slim bramble
#

It’s an automated check

#

As long as it’s not malware they notarize it

cedar stag
#

Yes notarization is dead simple

wind ravine
slim bramble
#

It costs you nothing

#

one command in the terminal

wind ravine
#

How do I code sign windows

faint timber
#

buy a cert

orchid fulcrum
slim bramble
#

Like really you can notarize anything

wind ravine
#

Nugget triggers false positives because of pyinstaller tho

torn oriole
#

Windows defender is a moron anyway

magic hazel
#

And it was in development for years

pallid totem
#

does anyone here want claude ai? i got $15,000 in anthropic api credits and im willing to share an api key that doesnt surpass like max $50 lol

acoustic imp
#

void ai be hitting ig

native dune
#

yes please

pallid totem
magic hazel
#

chatgpt be cutting corners lately i cant lie

tepid olive
#

Claude is the worst one

pallid totem
pallid totem
pallid totem
light owl
#

U are

pallid totem
#

oh ok

#

dms then

light owl
#

Ok send

#

I got message requests

pallid totem
frank fossil
#

Application violated contract by causing UIApplicationMain() to return. This incident will be reported.

pallid totem
#

Application violated contract by causing UIApplicationMain() to return. This incident will be reported.

#

wait

#

fym contract 😭😭😭😭

wind ravine
#

doesnt help that it points to the crypto library as malicious

frail cedar
#

it starts and the runs the app into infinity

#

the app's process can be killed, but that function never returns

#

so if the function returns that violates the contact/means unexpected behavior

wind ravine
#

if it is then its pymobiledevice not nugget

orchid fulcrum
#

Memory patching ret instructions or something ?

trim kiln
harsh junco
#

Like bypassable with <=5 instructions level of weak

reef trail
harsh junco
trim kiln
harsh junco
trim kiln
#

ok

trim kiln
orchid fulcrum
#

does CFBundleGetBundleWithIdentifier return the (apps) main bundle as well ? or is it only for other loaded bundles

acoustic imp
# orchid fulcrum does `CFBundleGetBundleWithIdentifier` return the (apps) main bundle as well ? o...

​The CFBundleGetBundleWithIdentifier function in Core Foundation is designed to retrieve a CFBundleRef corresponding to a specified bundle identifier. This function searches among the bundles that are currently loaded into the application. If the main application bundle has already been loaded, and you provide its bundle identifier to CFBundleGetBundleWithIdentifier, it will return a reference to the main bundle. - gpt from apple dev .com or wtv

manic forum
#

I mostly tested it with Dolphin before I tried it on a real Wii, so

#

But why would you do that

trim kiln
#

there is no publicly available version of Shijima available for the wii at the moment

manic forum
#

and i didn't actually add that feature to shijima-qt yet fr

manic forum
bright lance
#

Chat, i js spent 3 days working on a userscript cuz i was bored right, and it was like a cheat engine userscript kinda like cheat engine js ported to browsers right, bro guess what i js found out, i cant access the memory unless i have an unrestricted browser with absolutely no sandbox. Wtf

#

That stupid bro, anywhooo anyone know a browser that fits this requirment? Becuase im not gon make a whole electron app js to make a cheat engine for browser games

#

Nd im not gon constantly update it every time it breaks through frida so this is the path of least resistance

#

Shi’s over 1,500 lines 😭😭😭

#

1500 lines, 1 class 💀

orchid fulcrum
#

make the browser as well

bright lance
#

#

Anyone here have experience making browsers?

cloud yacht
#

I think chromium browsers can just be passed a flag to disable the sandbox

burnt perch
#

Hi guys

#

Does anybody knows if its possible to vibe code objective c apps ?

#

Or the ai is dumb since the language is old?

orchid fulcrum
#

depends how you define "apps"

#

i imagine it would fail miserably on anything semi-complex, but it is good at overall objc help

burnt perch
#

thanks

rare schooner
#

i recently had to totally reinstall wsl, and now i have issues with the toolchain, can someone give me a link to Apple cross-compiler toolchain ?

orchid fulcrum
#

Do you specifically don't want to use theos ?

bright lance
#

The userscript btw

bright lance
#

So javascript would still be sandboxed by v8

#

I’d need a browser with memory bridges

bright lance
bright lance
# bright lance

Fuck it ima js improve everything wasm related

Fuck ts not gon be a dom cheat engine finna be a wasm cheat engine for newer browser games ykwim

bright lance
#

since ur workin on a new browser any chance u could add some dev/testing flags?

#

R u building from scratch or forking off chromium?

#

Im talkin like no sandbox for javascript runtimes too not just the browser, that way v8 doesn’t isolate stuff

Nd u think it would be possible to add
like memory bridges or shared memory access from userscripts so i can mess w raw memory

#

What exactly do u mean by header browser. like is it just for spoofing headers or u got deeper features in it? R u tryna make it a full on testing sandbox type beat or js lightweight header edit tool yk?

#

Asking cuz im currently otr so im unable to check it out currently

#

Oh wait nvm lemme look

frail cedar
#

No spaces here makes it really hard to read

#

Otherwise big fan

frail cedar
#

I would suggest adding a Raw button to the header view pages

#

so you can view the file itself in web browser, vs requiring a download

manic forum
#

chat can i get shijma to work with 6mb ram in total

cloud yacht
#

that somehow significantly less than the wii has

manic forum
#

i found this out while trying to figure out why my stb_image was failing to load my png, turns out you can't decompress 3mb of pixel data into the heap when you have 6mb of heap in total

cloud yacht
#

I feel like images are going to be the hardest part

manic forum
#

maybe i can run the decompressor/png reader every frame and decompress directly to the framebuffer?

#

the png with all of the sprites is only 200kb so it fits in the memory

#

but idk if that's a good idea

#

and idk if that's even possible with a png

#

also, sidenote, the framebuffer they use has a format of rgba4444

#

at first it seemed stupid but yeah it makes sense now

manic forum
#

the nro i have is around 900kb right now

#

so that's 5mb of available memory

harsh junco
#

@manic forum shijima in assembly

cloud yacht
#

I'm sorry idk what nro is

manic forum
manic forum
#

basically

cloud yacht
#

oh okay

manic forum
#

the code

cloud yacht
#

what does it stand for?

manic forum
#

i don't remember

harsh junco
manic forum
cloud yacht
#

but not all at once?

manic forum
#

i just checked, upx is only really useful to reduce size during transit, not execution

manic forum
cloud yacht
#

home made compression?

manic forum
#

and i don't think it'd even work

#

on the switch

cloud yacht
#

or I guess can youy load stuff from disk on the fly?

manic forum
manic forum
#

could work

cloud yacht
#

I mean you could decompress the png store the result then unload the png decompression code

#

I guess it depends if you can use your framebuffer for temporary memory or if that risks drawing corrupt data to the screen

manic forum
cloud yacht
#

yeah I guess just converting it raw to the buffer is probably the best solution

#

idk how much extra memory that uses

#

also it might be worth telling to compiler to optimize for space and see if the binrary can be reduced in size

#

also potentially optimzing the images beforehand

manic forum
harsh junco
#

@manic forum c?

manic forum
manic forum
harsh junco
waxen grove
#

guys how to troubleshoot memleaks

#

all this thing does is play a module, but mem usage keeps rising

tepid olive
#

does anyone know of a C library to parse dylib headers (specifically exports)?

manic forum
orchid fulcrum
#

if i delete the macos sdk from xcode will it give me an option to reinstall, i modified it and want to have the original files again

drifting galleon
#

I’m using it on rootless

tepid olive
harsh junco
frail cedar
#

Get it from a second copy of Xcode

orchid fulcrum
grand holly
#

How does Sideloadly inject frameworks into an app? Does it just add a LC_LOAD_DYLIB entry into the main executable, then codesign?

lapis hazel
#

Does anyone know of a tweak or dylib that hooks into CLLocationManager to spoof GPS within any app it’s injected into? Works with jailbreak or sideloaded

manic forum
manic forum
#

i converted each frame to raw RGBA4444, compressed them with zlib deflate and put them all in one file (alongside their widths and heights as metadata)

#

on each frame i decompress the required image directly to the framebuffer

#

i'm pretty sure this would be completely unusable with more than one shimeji on screen

#

but i probably don't have enough memory for that anyway

harsh junco
manic forum
#

?

#

i am NOT using an sd card as swap

#

also this is a nintendo switch not a wii

#

the wii one is separate

harsh junco
#

oh

manic forum
#

the thing has 4gb of memory but they limited overlay developers to 6mb

harsh junco
#

tr

manic forum
#

yes

pallid totem
#

thats only like 6 million (prob more) characters only

manic forum
#

hold on i'll find the line that limits it to 6mb

harsh junco
#

Can’t you like

#

Extend the limit

pallid totem
#

yea

harsh junco
#

You are working with jailbroken consoles after all

manic forum
#

i could

#

probably

harsh junco
#

but?

manic forum
#

but they probably limit it to 6mb for a reason

#

idk i never tried

harsh junco
#

Then try it??????

manic forum
#

but this is funnier

manic forum
twilit jungle
granite frigate
#

@twilit jungle happy birthday big man

twilit jungle
manic forum
granite frigate
#

BAN

harsh junco
#

?

acoustic imp
#

@thin valley petition for me to regain delete perms 🙏

thin valley
#

Why were they removed?

acoustic imp
#

bc i was trolling maxine, with deleting reactions, ig it wasnt funny idk, nooka removed them iirc

#

idk if theres sm like thing i gota do 🤷‍♂️?

thin valley
#

Should be good now. Obviously don’t do again

acoustic imp
#

alr, thx

manic forum
#

@harsh junco could you not ruin the chain, thanks

harsh junco
#

literally 1984

acoustic imp
harsh junco
#

Some people, when confronted with a problem, think
“I know, I'll use regular expressions.” Now they have two problems.

native dune
#

nerd

harsh junco
inner falcon
#

o

pallid totem
#

spent 5 mins on just clicking

old niche
#

suuuuuuuper late reply, but I finally got around to picking this project up again and gdb-remote was exactly the step I was missing!

As I also noticed with IDA's debugger, the debugger actually starts suspended in dyld instead of the main app but nothing I can't work around

sonic totem
#

Set a breakpoint at _main and continue is usually what I do

#

Or whatever the entrypoint is for an app, idr

orchid fulcrum
#

how can i make it like that

old niche
#

happens when I launch suspended from pymobiledevice3

#

pymobiledevice3 developer dvt launch [bundle id] --suspended

#

tried to break _start but I don't think that's a real symbol. I don't wanna have to read LC_MAIN at runtime to find the entry 😭

orchid fulcrum
old niche
#

I think _main was stripped in this binary. IDA doesn't see it anyway. Wonder if I can be cheeky and break in UIApplicationMain instead

sonic totem
old niche
#

yea that might also work

slim bramble
#

It’s a flag of the process command

old niche
#

i'll give it a shot but wont that also just stop in dyld_start?

slim bramble
#

Oh mb it’s stop at entry

#

Not break at entry

old niche
#

my lldb doesn't really like either (I can't use process launch because i'm not jailbroken)

#

I can get the slide with p/x (uint64_t)_dyld_get_image_vmaddr_slide(0) but when I apply the slide to my address it doesn't seem to work. I think my IDA database got corrupted at some point because a lot of the addresses don't seem to line up properly anymore so I'm gonna reload from scratch

#

yea my address was totally wrong lol. explains why i've been bashing my head for hours today

orchid fulcrum
old niche
#

yea just pymobiledevice3

#

the steps in that repo seem to match the process I was doing anyway

orchid fulcrum
old niche
#

for which part?

orchid fulcrum
#

setting up the debugserver part

old niche
#

(in an admin window) pymobiledevice3 remote tunneld
(in a non-admin window)
pymobiledevice3 mounter auto-mount
pymobiledevice3 developer debugserver start-server
pymobiledevice3 developer dvt launch [bundle id] --suspended

#

I am on Windows. It's prob the same for macOS and Linux but not tested

orchid fulcrum
#

right, thanks. just wanted to make sure if it was the same thing with the command used on repo (it was copy paste from somewhere else and idrk pm3 lol)

wind ravine
#

how do i decompile swift?

faint timber
wind ravine
#

binary ninja does not seem up for the task

slim bramble
#

Unless you wanna lose braincells till you don’t have any left

wind ravine
#

ae i wanna figure out the api calls for posterboard

#

it uses a private api to set wallpapers, i think any app might be able to call it and set it

wind ravine
#

has anyone worked with bsservice connections?

#

i have the service idk what to do with it

#

tried this but it doesnt call the function

wind ravine
#

how do i do that on an unjailbroken deivce

pearl sail
#

Cry

#

Then cry more

tepid olive
#

in this example it's _main, could've been different on ur app

twilit jungle
torn oriole
#

What a chain to follow

dense lily
#

Sir you have too much time in your hands

harsh junco
wooden yarrow
dense lily
reef trail
slim bramble
twilit jungle
#

And make it a dangling pointer

slim bramble
#

fr

frank fossil
slim bramble
frank fossil
#

both use ios_system, maybe LibTerm is also vulnerable?

ocean raptor
#

It’s not doing WASM or something like that?