#development

1 messages · Page 197 of 1

wooden yarrow
#

Crowdstrike DriverKit, coming to your macOS soon !

grim sparrow
#

Crowd Strike: Global Offensive

placid kraken
grim sparrow
#

just

wooden yarrow
#

lmaoo

grim sparrow
#

not as a driver

placid kraken
#

yeah

grim sparrow
#

they do it as a system extension

wooden yarrow
#

oh

grim sparrow
#

which still runs in ring 0 but doesn't have any hardware backing it

placid kraken
#

im pretty sure you dont even need to disable sip for it right?

grim sparrow
#

but because of apples system extension architecture

#

if crowdstrike crashes

#

macos doesnt

wooden yarrow
#

smh apple preventing employees from getting breaks

placid kraken
#

windows is an operating system built from hacks, patches, bandaids, and nvidia graphics

placid kraken
#

:3

slender glade
#

@grim sparrow do u think Array<Element>.append feels like having someone on top of u like it’s gotta feel sooo good as an element in an array

grim sparrow
#

.

slender glade
grim sparrow
#

god put you in the desert to keep society save from your thoughts

#

hehe

wooden yarrow
slender glade
#

:3

wooden yarrow
#

afterwards you get hydraulic pressed

slender glade
wooden yarrow
#

.

slender glade
solar lagoon
#

Taormina

#

@slender glade Did you go there

slender glade
#

don't tell amy but im supposed to be asleep rn

solar lagoon
slender glade
slender glade
grim sparrow
solar lagoon
#

Show them

faint timber
kind herald
#

Please wai...

acoustic imp
young meteor
#

i just did it on win 10 💀

kind herald
#

macOS only turns my volume down with F11 :/

proud geyser
#

yoo nerds why is swiftui so bad on mac os

#

why is this so ugly on mac

solar lagoon
#

Cos you’re bad at SwiftUI

#

Make buttons borderless

proud geyser
#

looks normal to me on my mobile

hasty ruin
#

unrelated but you should prob move those fields down

kind herald
#

unrelated but you should make rune 2 icraze

hasty ruin
misty cradle
#

Somebody help with dis lldb shit woecry

tepid olive
faint timber
#

guys can I modify readonly props in my tweak?

timid furnace
#

@radiant idol

faint timber
#

Yah probably

wheat grotto
#

I have no idea

faint timber
#

If it doesn’t work I’ll let you know

faint timber
#

wait and also isn't mshookivar c++? my tweak is objc

naive kraken
#

it depends whether it's backed by an ivar or not

misty cradle
#

mane

radiant idol
faint timber
radiant idol
#

wym

#

explain

#

show an example

faint timber
#

error: instance variable '_str' is protected if you write to it obviously

radiant idol
#

MSHookIvar

faint timber
#

just throws variable is set but never used error

radiant idol
#
MSHookIvar<NSString *>(self, "_str") = @"…";
faint timber
#

oh

#

works but yah I also need the readonlys

#

I'll look into it

faint timber
#

can't even get that far

#

if I call new on the class it crashes inside the parent init fumction

faint timber
faint timber
ashen canyon
faint timber
#

apple

misty cradle
#

Im Gonna KIll Myself For Real.

faint timber
#

apple doesn't want you to init this class I don't think

#

but

#

want you to init via a method

#

but I want to bypass this and create an "empty" class instance

#

then hook the ivars accordingly

#

here are the headers

#

it extends lsrecord which is the crashpoint

#

@ashen canyon

ashen canyon
#

yeah i just saw that

#

i accidentally dumped CoreFoundation instead of CoreServices so it took me longer

faint timber
#

no if I change it to nsobject maybe it works

#

no since new will call the parent new no matter what

misty cradle
#

Anyone know what causes this:

zsh: bus error  frida-ps -Uai```
#

Getting bus error on every frida command

faint timber
#

I would check for a crash log file

misty cradle
#

😦

ashen canyon
misty cradle
#

prints out da entire device

#

Lemme go ahead and reinstall frida + tools

#

Nope same shit L

faint timber
#

attach a debugger

solar lagoon
#

@grave sparrow i managed to do swift hooking

#

Was pretty easy in the end

#

idgaf

#

i’ll delete it

#

hru

#

swiftui is mostly inlined so i can’t hook it 😦

#

same

#

swift function resolving

#

Eh I don’t think so

#

Oh wait yeah

#

Ur right

#

But anyway you’ll need a patchfinder no?

#

pretty good

#

yeah

#

did you parse class layout?

torn oriole
#

Zefram moment intjstage

kind herald
#

zefram nintendo ds lite

torn oriole
#

When zefram 3ds

kind herald
#

when I can find my 3DS charger

#

for now zefram on transparent purple nintendo ds lite

solar lagoon
#

@grave sparrow SwiftUI has literally 0 non inlined public apis

#

This is insane

torn oriole
#

You’re saying it wrong

#

It’s pronounced shitui

faint stag
kind herald
#

whar

solar lagoon
#

why do you guys speak weirdly

sonic totem
#

Slowly, but surely, ETA kids are deteriorating their brains…

kind herald
solar lagoon
sonic totem
#

Correct

#

The month and a half break I took improved my concentration and precision

manic forum
#

To anyone who's done a tweak bounty: How do you get paid?

slender glade
manic forum
#

I mean

#

Yeah

#

But how do you get the money?

#

PayPal?

slender glade
tepid olive
faint timber
#

no

tepid olive
#

nfr

proud geyser
#

apparently orion does not work on jailed tweaks

#

whoever said they do was wrong

#

throws a kernal error

torn oriole
#

Kernal

faint timber
#

why did you give entitlements to a framework

proud geyser
torn oriole
#

Sideloadly sign correctly challenge

faint timber
#

you are responsiple for your own frameworks

orchid fulcrum
proud geyser
#

the thing that javascript has ?

orchid fulcrum
#

Yes

proud geyser
#

is there any link for it

orchid fulcrum
#

You need to research for your own ios/device combo. If you don't hook c functions this isn't needed at all though.

granite frigate
#

EKJitlessHook:

orchid fulcrum
placid kraken
#

wonderful

faint timber
#

Bruh for c function hook just patch statically before install

solar lagoon
#

then it’ll work

orchid fulcrum
#

Does anybody know of a discord client with built in flex debug tool

#

I can't inject it myself for the life of me

grim sparrow
reef trail
grim sparrow
#

this seems like a fancy way of saying don't bother

reef trail
reef trail
#

crypto

#

etc

orchid fulcrum
grim sparrow
#

if you want to mess with the ui its easier not to

#

if you want to mess with networking then just open the dev panel on desktop

reef trail
reef trail
grim sparrow
#

oohhhh

orchid fulcrum
#

Yeah i already made something i thought would work but its.. well working too good i would say 💀

grim sparrow
#

lemme guess, you blocked out a react native view

orchid fulcrum
#

Removed rows that had blocked messages

#

💀

frail cedar
orchid fulcrum
#

yeah figured. but type 2 seemed like only blocked messages from my testing with lldb

#

either thats not true or something bigger is wrong here

placid kraken
#

professional rust developer

wooden yarrow
#

: 3

placid kraken
wooden yarrow
#

wtf

placid kraken
#

im just silly

wooden yarrow
#

is this not just .deref

#

.

placid kraken
#

no lol this is in type land

#

types are not directly linked to values

#

1 message hidden from likely spammer. - Show message

reef trail
#

i deleted it

placid kraken
#

i made arrays better

#
long *arr = [MAX_SIGNED_LONG, MIN_SIGNED_LONG, -39];
#

and you can also pass arrays directly as literals

test([MAX_SIGNED_LONG, MIN_SIGNED_LONG, -39]);
#

instead of them having to be assigned to a variable

wooden yarrow
placid kraken
wooden yarrow
#

oh

#

so now it's pseudo python-C

placid kraken
#

and it was also done in the code in a way where you had to do type name[] = to declare an array

#

like you couldnt just do [1] it had to be assigned to something

placid kraken
#

the only downside to this approach is you can no longer specify a size if you dont wanna fill the whole array

#

like before i made it so you can do int arr[100] = {1} and it would make 0th index have 1 and the rest be uninitialized but still allocated

wooden yarrow
#

nooo

placid kraken
#

HELP LMAO

#

because of the way it works an [] now returns a long pointing to the array's start

#

so in theory

#

this is a thing you can do

test([MAX_SIGNED_LONG, MIN_SIGNED_LONG, -39] + 2 * #size(long));
#

this is so fucking cursed

placid kraken
#

IT FUCKING WORKS LMAO

#

fn test(long *val) {
    printf("%ld\n", *val);
}

fn main() {
    long *arr = [MAX_SIGNED_LONG, MIN_SIGNED_LONG, -39];
    test([MAX_SIGNED_LONG, MIN_SIGNED_LONG, -39] + 2 * #size(long));
}
#

least deranged code ever

placid kraken
wooden yarrow
#

.

placid kraken
#

it treats the pointer as just a number

#

although

#

.

wooden yarrow
placid kraken
#

a pointer is just a long internally

#

with extra info

#

i wanna get this to work

test([MAX_SIGNED_LONG, MIN_SIGNED_LONG, -39][2]);
#

because this is actually a useful feature

#

it sorta works but it breaks because of the way its parsed

placid kraken
#

you can do this now!!!!

fn test(long val) {
    printf("%ld", val);
}

fn main() {
    test([MAX_SIGNED_LONG, MIN_SIGNED_LONG, -39][2]);
}
#

yay

cloud yacht
#

Should make it cursed and do [shit].2

placid kraken
#

lmfao rust does that unfortunately

#

in tuples

#
("a", 100).0 // a
#

holy shit this actually just works without me needing to do anything

#

i tried to see what would happen if you try to get the size of length of an array literal

#arrlen([1, 2, 3])
#

.

#

it just works

#
#size([1, 2, 3])
#

genuinely shocked that it simply works with no extra patches necessary

solar lagoon
placid kraken
#

well for starters its a lot worse

#

lmao

#

its missing a bunch of safety checks and a bunch of features

solar lagoon
#

rip i was gonna call a wip jailbreak elle because it matched ellekit

placid kraken
#

elle is the name of quite a few things lmao

solar lagoon
wise spruce
#

hey humans
i need your help

frail cedar
wise spruce
#

MacBook pro M3 8GB RAM
or
MacBook Air M3 16 GB RAM

frail cedar
#

16gb

wise spruce
#

Both are 1600$

frail cedar
#

do not buy 8gb

#

you will regret

#

and suffer

granite frigate
#

call the jb W because it doesn't deserve Ls

wise spruce
frail cedar
granite frigate
#

AS?

frail cedar
#

apple silicon

#

A S

granite frigate
#

ah

wise spruce
#

oh

#

So MacBook air?

frail cedar
#

i have an m1 pro and the fans basically never turn on

wise spruce
#

Will I loose anything other than the fan from the pro?

frail cedar
#

slightly smaller screen

wooden yarrow
#

erm hdmi port

frail cedar
#

well depends on what sizes you want

wise spruce
frail cedar
#

only time they've turned on is when i was compiling llvm

wise spruce
frail cedar
#

yep

wise spruce
#

smoother is better

frail cedar
#

get 16gb

#

slightly slower cpu whatever m3 is still insanely good

wise spruce
frail cedar
#

you will want 16gb i usually hit like 11/16 with just xcode and a sim or two

wise spruce
#

Will looking into MacBook pro M2 pro or Max be better or M3 ?

wise spruce
granite frigate
#

8 will not be enough

frail cedar
#

make sure you get enough storage

wise spruce
granite frigate
#

m2 pro

wise spruce
#

it'll be 200$ more for the m2 pro

pearl sail
granite frigate
#

m2 pro

wise spruce
granite frigate
#

yes

#

well

#

depends

wise spruce
solar lagoon
wise spruce
frail cedar
#

i'm at 700gb/1tb right now

wise spruce
frail cedar
#

yes

wise spruce
#

I think it'll be all apps like VSC xcode ida some appstore apps

wise spruce
frail cedar
#

nothing in specific

wise spruce
#

I thing that's all I'm going to use

frail cedar
#

put those in icloud

wise spruce
#

idk if I'm going to upgrade

#

oh its full

#

not near

#

So also 50gb of icloud drive files 🤡

#

if I get a 1tb ssd for air m3 16gb it'll be 1700 so it's going to be the same price as M2 pro 512 so which one should I get higher storage or better cpu/gpu

harsh junco
#

@worn briar rust book

wise spruce
#

and better cooling more ports ‘1 inch larger screen

#

I'm lost

#

this is the first time for me switching to a Mac

#

also do I need any accessories like the stupid magic mouse or idk anything

worn briar
frail cedar
#

it has a keyboard and trackpad

granite frigate
#

i have never used external accessories w my macbook

#

well other than a tablet for games

worthy mulch
#

is frida being annoying and segfaulting all the time on the latest release for anybody else?
the versions on the palera1n'd 8 (16.7.5, frida v 16.4.7) segfaults, even when I do frida-ps -U
However, my dopamine 13 (16.4.1, frida v 16.3.3) causes a segfault with a connection refused error, then works the second time

the first time I try frida with the 8, it gives the same connection refused error, then the second time, just gives me a segfault

However, I can't ssh into the 13 with inetcat22, but can with the 8

I'm completely stumped

faint timber
frail cedar
#

How would I offset the opening position of an NSWindow? By default they open in kinda the top middle of the screen but I'd like to cascade them based on how many are open

tepid olive
#

Find the position of your last window in your stack and add like 20,20?

frail cedar
#

i call it to be centered (this isn't the main window of the app, the app is mostly menu bar. this is just extra information to do with map views)

#

these windows are not permanent windows, they are meant to be destroyed

#

SO TRUE

proud geyser
#

appkit sucks frr they need to get rid of it

wheat grotto
#

Malware

crisp frost
#

since when is zefram real

wheat grotto
#

Never

placid kraken
#

no way

#

discord is making some crazy deals

frail cedar
proud geyser
#

but fix that aswell

frail cedar
#

LMAO

#

No

#

Swiftui is ok but it's still missing a LOT

proud geyser
#

swift ui better than everything apple has created till now

frail cedar
#

removing appkit skull_gone

frail cedar
#

couldn't get it working well

frail cedar
#

switch to appkit: easy

frail cedar
proud geyser
#

i almost made my whole app in swift ui

frail cedar
#

and appkit is great I love NSMenu and NSMenuItem

proud geyser
frail cedar
frail cedar
proud geyser
#

swift ui sucks on mac no doubt i agree

frail cedar
frail cedar
proud geyser
#

but on ios its the best thing ever

frail cedar
#

it is pretty good NOW

#

it wasn't really usable until ios 16/17

proud geyser
frail cedar
#

no it was not

#

it was called swiftui 1

#

and swiftui 2

#

<- has a swiftui 1 app

proud geyser
#

first gen products always suck

frail cedar
#

it's Bad

proud geyser
#

everybody knows that

frail cedar
#

appkit is great

#

i love appkit

proud geyser
#

ehh its way to complicated i wish you could use swiftui on websites aswell

#

rather than js and css

frail cedar
#

you want

#

html

#

also, "too complicated" no it isn't

#

you make an NSWindow, add an NSViewController, add things to that controller's view

proud geyser
#

well ofc i never tried to and never going to bother with it

frail cedar
#

swiftui is

#

literally

#

uikit/appkit

#

under the hood

#

of course you can

#

a swiftui List is actually a UITableView/NSTableView (13-15) and a UICollectionView/NSCollectionView (16+)

proud geyser
#

well idk about that but it would be painful asff for me to pull that off with uikit and appkit

manic forum
#

(i wouldn't be able to either)

frail cedar
#

a swiftui image? actually a UIImageView or NSImageView

proud geyser
proud geyser
#

like image(uiimage: )

frail cedar
#

because a UIImageView displays a UIImage

#

same for NS (appkit) variants

proud geyser
#

ion apple weird for making diff frameworks for mac and ios

#

why is appkit and uikit 2 diff things

frail cedar
#

they were developed separately

proud geyser
#

this why i hate it

frail cedar
#

and designed for entirely different user interfaces

#

AppKit is not designed for touchscreen

#

UIKit is

proud geyser
#

its literally same thing click is tap and click and hold is holding onto screen

frail cedar
#

Dragging your finger? Multiple touches?

#

Difference between a hover with mouse and a click

proud geyser
#

click hold and drag the cursor

frail cedar
#

UIKit can't have multiple windows

#

AppKit can

proud geyser
#

well i mean ofc it might have been better to separate it back then but i feel like its good enough time for them to merge both apis

frail cedar
#

No

proud geyser
#

its better for cross compatibility

frail cedar
#

That would be a lot of work for no benefit

proud geyser
frail cedar
proud geyser
#

apple apis mess rn imo

frail cedar
#

Some are yes

#

appkit and uikit are some of the best frameworks tho

#

Don't get me started on intents they're so bad

proud geyser
#

app intents ?

#

didn’t they update them in ios 18 got apple intelligence

frail cedar
#

Intents, pre-App Intents (which are still wonk)

#

So everything ios 10-15

#

Awful dogshit zero documentation

proud geyser
#

ahh

frail cedar
#

Good luck everyone

#

Figure it out

proud geyser
#

lmaoo

frail cedar
#

Share sheet? Uhhh here's an enum list

#

what do they mean? have you considered dying

#

NSExtensionActivationRule? it's half documented BY RANDOM FORUM POSTS

proud geyser
#

idk about all that never really tried to mess with appkit lmao

#

only for camera preview layer

frail cedar
#

that's Intents stuff

#

appkit is peak for a menu bar app

#

MenuBarExtra is so annoying

proud geyser
#

still no clue what menu bar you talking about

#

like tabbars ?

#

oh these ?

#

cc controls

frail cedar
#

at the top of the screen

frail cedar
proud geyser
#

cuz thats what it basically is it controls app lol

frail cedar
#

this is the menu bar

frail cedar
#

they are different

proud geyser
#

whats the widget for ram and cpu and uh fan

#

n is one of them tailscale lmao

sonic totem
frail cedar
frail cedar
kind herald
#

runcat better in my opinion it puts a cool cat in your menu bar ..

placid kraken
#

i use runcat

#

i love it

kind herald
granite frigate
hasty ruin
#

People actually listen to OSTs casually? fr

sonic totem
#

What is OST

wooden yarrow
ashen canyon
wooden yarrow
#

at the very least more icons thumbsup

ashen canyon
#

its for anime nerds

wooden yarrow
#

do you listen to them professionally or what

visual meadow
#

Does NSTask work on stock iOS?

#

As in, in an unsandboxed process

#

Im so confused why isnt it working for me then

#

Well tweak settings just isnt working

#

But opa did something in dopamine 2.2 branch that made it work for some reason

#

I cant make a copy of tweak settings
is there a hook i can do

#

it just never spawns

frail cedar
wooden yarrow
#

i quite literally cannot reach some of them unless i quit some menu bar icons

frail cedar
#

yeah i make sure they dont clip under the notch

hasty ruin
sonic totem
#

Hmm

sonic totem
#

Ohhh

#

Original Sound Track

kind herald
visual meadow
#

tweaksettings-utility works correctly

#

idk why

#

something you did in 2.2 fixed it

naive kraken
#

Well I fixed NSTask

#

Kinda

visual meadow
#

Thats probably it

naive kraken
#

Because the new posix_spawn hook is no longer being bypassed by direct branches (like the one in NSTask)

kind herald
#

hit tweak rune still works on dopamine so good jailbreak

orchid fulcrum
#

Is there a way i can call a method on every instance of a class in my tweaks ctor.

naive kraken
#

so if you only interpose posix_spawn then that's probably the issue

drifting dust
#

apollo die for anyone else? i think you have to change the user agent for api requests now. i would do it myself but im having trouble finding what to actually hook lmao

visual meadow
#

@naive kraken im trying to hook posix spawn and use the syscall instead and it just does this, any clue?

(com.creaturecoding.tweaksettings) void HandleExceptions(NSException *__strong) [ERROR Line 19] TweakSettings unhandled exception: Couldn't posix_spawn: error -1

#
return syscall(SYS_posix_spawn, pid, path, file_actions, attrp, argv, envp);```
naive kraken
#

the syscall takes different arguments

#

in fact calling it manually is pretty hard

kind herald
visual meadow
naive kraken
#

these are the arguments the syscall takes

#

you need to pass a desc

#

but it requires a value that might change between iOS versions

visual meadow
drifting dust
#

this is what each request to it returns for me

#

merely changing the UA string to Mozilla/5.0 however fixes that

kind herald
#

ichitaso

shrewd smelt
#

im using that one too i think and it doesn't work

drifting dust
#

i suspect its got something to do with the fact that they screwed over everyone except google for search

shrewd smelt
#

iOS: com.christianselig.Apollo v1.15.11 (by /u/iamthatis)

#

changing this to anything will make it work

drifting dust
#

yep

#

but i dont know what the hell to hook to change the UA lmao

shrewd smelt
#

oh that's the one i m using

wooden yarrow
kind herald
shrewd smelt
#

changing the bundle id apparently works?

kind herald
#

oh I have a custom bundle ID with mine

drifting dust
#

aha that makes sense

kind herald
drifting dust
#

they target banned apollo 1.15.11 LMAOOO

kind herald
#

I am NOT using the stock reddit app warningzoom

drifting dust
#

anyway FLEX crashes, Flex 3 crashes, and i dont know anything else to snoop around in the app's stuff

#

any ideas what to do to change the UA to mozilla/5.0 so they can never ban it

sonic totem
#

Why did you not just send the image…?

wooden yarrow
#

Yu

drifting dust
#

i have it configured to just upload automatically

#

sometimes screenshots are fat as fuck and i used to not have nitro

wooden yarrow
drifting dust
#

this is ishare actually, a macos equivalent kinda

kind herald
#

3rd party screenshot clients sog_ew

drifting dust
#

it actually uses the system implementation

#

just middlewares and adds an uploader

#

and gif recording

#

and such qol stuff

drifting dust
hasty ruin
#

Changing the UA is easy

#

But I think apollo does some stuff to it after

#

And it crashes if you remove the bundle id from the string

#

Tryna debug it but it’s a swift app with stripped symbols trol

shrewd smelt
#

make ApolloPatcherPatcher to change the UA again

drifting dust
#

is there any working class dump tool nowadays

radiant idol
#

classdump-c

#

or dsdump

drifting dust
wooden yarrow
#

is there any working dyld extractor tool nowadays

timid furnace
timid furnace
#

define "working"

#

extracts cleanly for analysis? extracts cleanly for running? etc

wooden yarrow
#

.

wooden yarrow
#

wtf ipsw can do that

#

⁉️

timid furnace
#

yes

wooden yarrow
#

split Extracts all the dylibs using XCode's dsc_extractor

#

.

timid furnace
#

ipsw dyld split for mass split

#

ipsw dyld extract for single extract

#

extract also does fixups iirc

timid furnace
wooden yarrow
#

hm

#

nice

mint leaf
#

I was trying to come up with a solution for Apollo user agent on iOS 12, but I assume modifying the UA without any tweak (eg. replacing it with something more palatable to Reddit with a simple hex editor) isn't going to be that easy

#

I'm using Apollo 1.12.2 on a few older devices but the UA it sends actually contains the '1.12.3' version identifier according to mitmproxy

native orbit
#

ipsw fr can do everything

kind herald
#

Apollo has been working for me but I changed the bundle ID with the modded IPA I made

#

on iOS 17

#

might try changing the bundle ID on iOS 12

torn oriole
#

🔥🔥🔥

mint leaf
#

I'll try to do that right now, do I just have to edit the bundle ID in .com.apple.mobile_container_manager.metadata.plist ?

kind herald
#

doesn't work

mint leaf
#

Nope it crashes unless it's exactly com.christianselig.Apollo

kind herald
#

yeah

#

I'm gonna try editing the bundle ID with sideloadly Kelly_shrug_FB

kind herald
sonic totem
kind herald
#

XR

sonic totem
#

Wow

kind herald
#

unc0ver ☹️

sonic totem
#

Having one that old is crazy

kind herald
#

time to find one on iOS 12.1.2 or older for chimera

drifting dust
#

The only thing I found was the fact that RDOClient (I think that’s what the class is called) has useragent on it, but hooking it and returning something else doesn’t actually change anything

kind herald
#

just change the bundle ID for the app Kelly_shrug_FB

drifting dust
#

Ever

#

Not to mention I’m pretty sure it bricks the safari extension it comes with

#

Anyway JeffreyCA pushed a fix half hour ago

#

Don’t know if they’re here but cheers

kind herald
#

as far as I know

drifting dust
kind herald
#

oh

#

skull

shrewd smelt
#

that extension barely works anyway tbh

pine holly
#

Fortnite is coming to altstore

#

💀

#

Good for him

frail cedar
#

how would i configure this in appkit? i've tried setting NSApplication.shared.mainMenu but it doesn't appear to do anything

frail cedar
#

this would be because i cannot access NSApplication.shared.mainMenu for some reason, it is just nil

#

Ah, you can't have LSUIElement set to true and access the menu bar

#

Oh well

frail cedar
#

why the fuck is 0,0 bottom left corner.

radiant idol
#

appkit?

slender glade
frail cedar
#

but WHY

slender glade
slender glade
frail cedar
#

the NSWindow revolving door is probably the most cursed thing i've ever done

#

it works great though

gentle grove
frail cedar
#

it's just a term for having an array of NSWindows, and then adding/removing them throughout the app's use (cause the NSWindows are just little map views that get created and destroyed at random)

#

can't just have a single NSWindow object because you have to be able to have multiple windows active at once

#

so when a new window is created, it gets added to the array

#

when a window is removed, it gets closed then removed from the array

#

i told you it's cursed

#

but it works

granite frigate
#

how many files are there in Zefram

wooden yarrow
#

bootloop.m

granite frigate
#

crash.swift

manic forum
#

erase_dyld_shared_cache.c

weary heath
#

but the second time it goes through
how are you sideloading the app where this works?

fading shell
#

break_ssv_seal.m

manic forum
#

hcf.S

proud geyser
#

hello people

faint timber
#

hello aspiring dev

kind herald
sonic totem
#

@grave sparrow can you leak directory structure

hasty ruin
kind herald
#
> com.icraze.rune_1.0_iphoneos-arm64e.deb```
#

zefram ds lite

solar lagoon
#

fr?

#

how many loc

sonic totem
#

Interesting

manic forum
orchid fulcrum
#

What does zefram do again ?

clear iron
#

it does shit

orchid fulcrum
#

Makes sense

pearl sail
#

how is x86 injection and hooking or did you not ever implement it

solar lagoon
#

why do you need an instruction parser for every instruction

#

jeez

next zenith
#

my case disowned the right airpod

next zenith
pearl sail
#

x86 is a mess but still widely used so it would be useful for you to implement for the learning experience @grave sparrow

#

Fair

solar lagoon
#

leak it

kind herald
#

zefram-master.zip:

solar lagoon
#

whyyyyyyyyy

#

wait capt does swift runtime store function pointers in memory for a given class

#

genuinely insane how many lines of code you have for something that’s basically on par with ellekits features (i have way less loc)

solar lagoon
#

Like?

wooden yarrow
#

wtf I thought it was supposed to have a stable abi or whatever

kind herald
#

"swift"
"stable"

wooden yarrow
pearl sail
#

exactly

wooden yarrow
#

oh

#

swift made an announcement about having a stable abi though

#

wtf was that about

#

smh

pearl sail
#

swift devs don't know what stable is cause they made swift in the first place

solar lagoon
#

@convention (thin) ezpz

pearl sail
#

Just reverse it and source it under a restrictive license

hasty ruin
placid kraken
#

or put no license at all

#

copyright law my beloved

proud geyser
#

does ipad/maccatalyst have safe edges on screen

#

because in my testing everything is pushed to the most up to and bottom when running the code

solar lagoon
#

you can always cast a function to thin convention

#

i think it generates code that switches conventions before the call

#

maybe you can write shellcode to do it dynamically

#

would be cool

#

it’s one of those partial apply forwarder things

gentle grove
faint timber
#
> Making all for tweak tweak…
==> Preprocessing Tweak.xm…
logos: warnings being treated as errors
Tweak.xm:324: warning: tried to set expression for unknown class or function sub_102EBDC4C in group hooks
make[3]: *** [/Users/cryptic/source/theos/makefiles/instance/rules.mk:413: /Users/cryptic/source/tweak/tweak/.theos/obj/arm64e/Tweak.xm.mm] Error 1
make[2]: *** [/Users/cryptic/source/theos/makefiles/instance/library.mk:52: /Users/cryptic/source/tweak/tweak/.theos/obj/arm64e/tweak.dylib] Error 2
make[2]: *** Waiting for unfinished jobs....
==> Preprocessing Tweak.xm…
logos: warnings being treated as errors
Tweak.xm:324: warning: tried to set expression for unknown class or function sub_102EBDC4C in group hooks
make[3]: *** [/Users/cryptic/source/theos/makefiles/instance/rules.mk:413: /Users/cryptic/source/tweak/tweak/.theos/obj/arm64/Tweak.xm.mm] Error 1
make[2]: *** [/Users/cryptic/source/theos/makefiles/instance/library.mk:52: /Users/cryptic/source/tweak/tweak/.theos/obj/arm64/tweak.dylib] Error 2
make[1]: *** [/Users/cryptic/source/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
make: *** [/Users/cryptic/source/theos/makefiles/master/rules.mk:146: tweak.all.tweak.variables] Error 2
#

anyone know how to c++ hookf like this? I gut errors

hasty ruin
faint timber
placid kraken
#

why are modules so fucking hard to implement

#

im having so many issues with ordering of the imports because its a single pass compiler

#

and also issues where if i import specific functions or symbols it wont work because the said function is referencing other things in the module that werent imported but its so hard to implement a way to track that

#

like

#
// module.elle
use std/io;

pub fn meow() {
    puts("meow!");    
}

pub fn do_meow() {
    meow();
}
// main.elle
use module@{do_meow};

fn main() {
    // this wont work because it cant find `meow` as it isnt imported as a dependency to `do_meow()`
    // how do i even track that `do_meow()` is dependent on `meow`
    do_meow();
}
// main.elle
use module;

fn main() {
    do_meow(); // this now works because its importing everything that is public in `module` including `meow`
}
#

why does it need to be so complicated

#

unless i go through every single identifier statement when parsing and ensuring those are added to some list when importing but the way its done is recursive

gentle grove
#

this sounds like C include's all over again troll

placid kraken
#

nono it works fine if i dont use the @{func1, const2}

#

c doesnt have that so

#

c just imports everything

kind herald
#

meow spotted

gentle grove
native dune
#

python does the whole letting you import 1 function thing

gentle grove
#

and every dependency imports its dependencies, but dependencies have #ifndef catches to stop double-includes

placid kraken
gentle grove
#

but if you put the most basic includes at the top, then the ordering doesnt get fucked up

placid kraken
gentle grove
native dune
#

i was just saying it has that ability

gentle grove
#

python has print() too

native orbit
#

python is also shit

gentle grove
#

i cant explain it all, all i can trust is that i thought it all out in full and figured out whats required troll

native dune
gentle grove
#
#ifndef SMINES_GAME_H
#define SMINES_GAME_H

#include "minefield.h"

#include <stddef.h>
#include <stdint.h>

enum GameState {
#

this works

#

this specific ordering

#

so if you want single pass compiling i think you have to do it in this type of order

#

well if you want true single pass then you have to force the programmer to put it in the right order like c preprocessors do

gentle grove
placid kraken
#

currently the importer does

  1. read the file from the import specified
  2. lex the contents
  3. parse the contents (which also includes recursively checking for more imports because this importing is done at the parsing step)
  4. check that importing is valid (aka the symbol is public, and if the import has functions defined (aka you didnt just import the whole file) it checks that the symbol is actually part of that list (@{symbol1, symbol2})
  5. if importing is valid, then check if a symbol is already defined with that name, if it is then delete it, then insert the new symbol at the 0th index
#

bad but works more or less ok

#

and after all of the imports i add NULL and EOF as global constants

gentle grove
#

maybe you have to keep track of all the symbols used in each function so you can know what you need to import

gentle grove
#

or maybe real compilers just rely on dead code elimination and import the entire thing anyways

placid kraken
native dune
gentle grove
#

so you just include all the includes if you include anything from the file

placid kraken
#

^

#

it recursively imports the includes into the module tree

placid kraken
#

and then the module tree is imported into the root tree at the end

gentle grove
#

you just include all the functions anyways but in parsing, only allow the imported functons to be used otherwise throw an error

placid kraken
#

hmmm sure that works i guess

#

lets do that

gentle grove
#

i am not sure if thats how its done in real compilers but it makes sense to me

placid kraken
#

idk less work for me

placid kraken
#

i got it working

#

through a lot of steps

#
pub external fn malloc(long size) -> long;
pub external fn free(long ptr);
external fn atoi(string str) -> int;
pub external fn atol(string str) -> long;
pub external fn atof(string str) -> double;

pub fn meow(string str) {
    return atoi(str) + 1;
}
``` this is a module
#

it exports meow

#

if i run this code

use std/io;
use std/core@{meow};

fn main() {
    printf("%d\n", meow("100"));
}
#

it works

#

if i try to use atoi instead i get

#

aswell as any other symbol in that file, regardless of it was imported or not

#

fyi its line 20 because i commented out something else lmao

#

i finally have more descriptive errors for the parser and compiler

#

because before it just crashes with an unwrap

gentle grove
placid kraken
#

idk i dont mind it

gentle grove
#

might as well go full java(script) and public external function floor(double x, double y) -> double;

placid kraken
#

public static forward_declared function floor(double_precision_float first_value, double_precision_float second_value) returns double_precision_float;

gentle grove
#

its beautiful

placid kraken
#
transient classification Person {
    extemporize(name : Ligature) {
      aforementioned.name = name;
    }
    -> Integer dependent invariable void async subroutine greet ? (){
        C:\Standard\System\io\format\print\ln("buzz")
    }

}
gentle grove
#

what is transient

placid kraken
gentle grove
#

i have not see nthis before

fading shell
#

Wdym apparently it’s your language

gentle grove
#

what languae is that

placid kraken
fading shell
#

Or is it not

placid kraken
fading shell
#

Lol

#

I thought it was lmao

gentle grove
#

oh i was looking at what transient means in java

placid kraken
gentle grove
#

in java it apparently means dont serialize

placid kraken
#

oop

#

nonfulfillment

#

HELP WHAT IS THIS

#

ITS SELF HOSTED

placid kraken
#

this is a little scary

#

ok it works now tho

#

with the example i had earlier

#

this is a module

use std/io@{printf};

fn meow() {
    printf("meow!");
}

pub fn do_meow() {
    meow();
}
#

this is the front end code

use std/module;

fn main() {
    do_meow();
}
#

it works if i run do_meow()

#

it fails if i run meow()

#

if i make meow() public

use std/io@{printf};

pub fn meow() {
    printf("meow!");
}

pub fn do_meow() {
    meow();
}
#

it works because i imported the whole module

#

however if i import only do_meow()

use std/module@{do_meow};

fn main() {
    meow();
}
#

it now fails again

#

great

#

i did it by giving every funtion and constant a tag for whether theyre imported and whether theyre usable

#

usable being just a basic

fn is_valid_insert_context(
    node_name: String,
    public: bool,
    allow_all: bool,
    functions: Vec<String>,
) -> bool {
    public && (allow_all || functions.contains(&node_name))
}
#

and then imported just for if it isnt defined in the front end code

#

then i just crash if it isnt usable and the symbol isnt imported

#

for constants, function pointers, and function calls

#

in practice thats just

if !usable && !func.unwrap().borrow_mut().imported {
    panic!(
        "{}",
        location.error(format!(
            "Symbol named '{}' was not imported and can't be used",
            name
        ))
    )
}
elder scaffold
#

do_meow

native orbit
#

disable_kpp

clear iron
#

ktrr disable

elder scaffold
#

super easy jailbreak code

do_kexploit();
if (!ktrr) {
    disable_kpp();
} 
else {
    disable_ktrr();
}
do_meow();
reboot_userspace();
lusty jacinth
#

Wen eta kill_ssv

kind herald
#
do_kexploit();
if (!ktrr) {
    disable_kpp();
} 
else {
    disable_ktrr();
}
do_meow();
if (!ssv) {
     do_mrrp();
}
else {
     kill_ssv();
}
do_mrrp();
{
     reboot_userspace();
}
#

had to do that on mobile 👎

torn oriole
#
if (!icraze_drm_pwned) {
  pwn_drm();```
manic forum
#

Dr. iCraze

torn oriole
#

I just realized I didn’t even close the if statement

manic forum
#

I thought that was like "the rest of the l33t h4x are left as an exercise to the reader"

wooden yarrow
placid kraken
#

this is c++ duh

wooden yarrow
placid kraken
#

reboot userspace is a macro for accessing a class destructor obviously

torn oriole
tender imp
faint lionBOT
#
Jumper

Jump into an application straight from the lockscreen.

Author

neoish

Version

3.1.0

Price

$1.99

Repo
Bundle ID

com.tapsharp.jumper

tender imp
#

boo

placid kraken
#

hey guys

#

i got raylib running with elle

#

the ultimate test

#

it was kind of annoying because my DYLD_LIBRARY_PATH wasnt detected when linking in gcc so i had to put the dylibs into /usr/local/lib before linking but it works

wooden yarrow
placid kraken
#

i wanted to just download the dylib and -Lpath-to-raylib-locally but that didnt work because macos couldnt find it

#

and it still didnt find it after adding the path to that env variable so

#
dyld[58745]: Library not loaded: @rpath/libraylib.500.dylib
  Referenced from: <946985F3-FFC4-3066-93B2-11418F522439> ~/Desktop/Projects/elle/dist/window/build
  Reason: tried: '/System/Volumes/Preboot/Cryptexes/OS@rpath/libraylib.500.dylib' (no such file), '/usr/local/lib/libraylib.500.dylib' (no such file), '/usr/lib/libraylib.500.dylib' (no such file, not in dyld cache)
wooden yarrow
#

wtf

wooden yarrow
#

that's what i use to place dylibs in other locations anyways

placid kraken
#

well i tried -Lraylib-5.0_macos/lib as that’s where the lib was

#

it found the .a but couldn’t find the dylib

slim bramble
placid kraken
#

colored square (real)

granite frigate
#

we got text rendering ‼️

crisp frost
waxen prawn
wooden yarrow
crisp frost
placid kraken
wooden yarrow
wooden yarrow
placid kraken
#

:3

wooden yarrow
placid kraken
crisp frost
orchid fulcrum
sonic totem
placid kraken
#

i understand tho lmao

#

actually loading a ttf file looks like a huge pain

#

i saw the sebastian lague video

orchid fulcrum
placid kraken
#

theres so much going on to render some silly text

acoustic imp
visual meadow
#

fully working proper sudo on sero

torn oriole
torn oriole
#

Didn’t even know that was a thing/possibility

visual meadow
#

its on procursus its a pam module

torn oriole
#

O

acoustic imp
visual meadow
#

install libpam-biometrics

#

then

#

add
auth sufficient pam_biometrics.so disableonssh to the top of pam su and sudo file

acoustic imp
#

K

#

Thx

faint timber
#

I’ve had this for years even on my macs super clutch

visual meadow
#

yeah its good on the mac too

gentle grove
#

how do i get this

gentle grove
#

where else is it

#

i better not have to compile it myself

visual meadow
#

Hang on its a stock mac thing

faint timber
gentle grove
#

oh

#

so i just have to add that line

faint timber
#

yes

gentle grove
#

macos is lame it doesnt have sudoedit

visual meadow
#

auth sufficient pam_tid.so disableonssh

#

@gentle grove

#

Add to sudo and su

gentle grove
#

auth sufficient pam_biometrics.so disableonssh

#

oh is it differet

visual meadow
#

Yes

#

Add to top of those files

gentle grove
#

do i need to restart something for it to work

#

now su doesnt work

visual meadow
#

Show the file

gentle grove
#
# su: auth account session

auth sufficient pam_tid.so disableonssh

auth       sufficient     pam_rootok.so 
auth       required       pam_opendirectory.so
account    required       pam_group.so no_warn group=admin,wheel ruser root_only fail_safe
account    required       pam_opendirectory.so no_check_shell
password   required       pam_opendirectory.so
session    required       pam_launchd.so
#

this one is su

#

i didnt want to do both simultaneously

visual meadow
#

What does su do when you run it

gentle grove
#
> su
Password:
su: Sorry
#

thats after typing in my password

#

actually i might have the wrong password

visual meadow
#

Thats root pass

gentle grove
#

but it just asks for the password

visual meadow
#

There is no root password

#

Ohhh

#

Wait

#

That makes sense

#

Add that to sudo file too

#

It probably doesnt work when you use su with root account

gentle grove
#

oh i cant edit the sudo one

visual meadow
#

Wdym

gentle grove
#

its readonly lmao

#

the su one worked

#

what the hell

#

ill try a root shell

visual meadow
gentle grove
#

oh you have to copy and move it back?

visual meadow
#

Macos reverts the files in the folder on updates

gentle grove
#

oh maybe because it doesnt have write perms

#

that explains that part

#

there we go

gentle grove
visual meadow
#

Does it work now tho

gentle grove
#

the feature was so popular that apple just added it lmao

#

yes

faint stag
#

but i use iterm2 smh

#

oh wait it's pam i'm dumb

#

i thought they threw it in as local auth with the terminal or something

visual meadow
faint timber
#

is it just me or did they butcher the iterm2 performance in recent updates

#

it use to run super smooth now lags

lime pivot
gentle grove
#

it's just usually you don't encounter files that don't have any write perms whatsoever

lime pivot
wooden yarrow
gentle grove
gentle grove
gentle grove
wooden yarrow
gentle grove
#

Somethings up

wooden yarrow
#

then it works

gentle grove