#development

1 messages · Page 161 of 1

primal perch
#

100 bro

faint timber
#

good choice unless we have covid 2

#

think bro would die in office

hexed knot
#

6 years of work experience with qualifications and im a Bakery Stocker

#

Not even the Baker

#

Just the Stocker

#

That shit just pissed me off im getting a beer

faint timber
#

mad annoying drink to that

restive ether
#

the job market is cooked

sterile field
#

Just realized this is jb dev not tweak dev…

indigo peak
#

what

#

this is tweak dev

sterile field
#

How can I call a method in another app? Im using orion and targeting ios 16+. Im trying to add another button to _UICalloutBar (which is the generic system copy/paste/select menu) with functionality from another app.

sterile field
hexed knot
#

I literally have cooking and baking experience

#

Been working that basically forever

ashen birch
#

not reading that essay

#

don’t use zefram 🙏🙏

native orbit
#

mach_msg on top tho

acoustic imp
#

@radiant idol what was that thing u told bibi ab not running drm on like the main thread or sm

radiant idol
acoustic imp
#

ok so dont do that

radiant idol
#

yes

acoustic imp
# radiant idol yes

and doing this does that? objc dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ (DRMcall/code) }

radiant idol
#

yes

acoustic imp
#

ok, bc he has it like the UIAlerts are ran on on the main thread and that like that, is it needed to have the alerts on the main thread? (bibi asleep rn)

hasty ruin
#

all UI shit needs to be on the main thread yes

pearl sail
#

Stop posting yourself

#

also sugmai

icy escarp
#

how do i get dyld shared cache dylibs plzzz

#

will it work on windows

#

does it need an ipsw?

#

how do i get that

#

i have ipsw installed

faint stag
icy escarp
#

a big ole dmg file?

primal perch
#

gorn

torn cloud
#

with signal? troll

#

true

sonic totem
torn cloud
torn cloud
#

let me ask my boss

sonic totem
#

I think it only supports A9

torn cloud
sterile field
#

Reverso Context

#

Btw does anyone know of any open source Orion tweaks i could look at to learn?

#

Very limited amount on github

serene hawk
sterile field
#

Ur the man

wheat grotto
#

Is there a way to capture network traffic on a jailbroken iPhone ? Or even better - do that for a specific app ?

#

IOS 16.0.2 if that helps

serene hawk
wheat grotto
#

Flex ?

#

Thats still a thing ?

serene hawk
wheat grotto
#

Didn’t capture anything

#

Not in this app at least

serene hawk
#

Which app particularly

wheat grotto
#

Our capitals public transport ticket app. It just looks garbage and I wanted to see if there’s a way to maybe exploit it.

#

Cause I doubt it’s secure under the hood

wheat grotto
#

or wireshark on mac, connect iphone to mac, listen that way

#

tho that is mitm

serene hawk
serene hawk
timid furnace
#

note that this is half broken for me

#

be careful

#

it kept stalling daemons and i had to boot into palera1n safe mode to get rid of it

serene hawk
#

lol really? worked fine for me on dopamine, just spinlocked more often bc of this ig

sterile field
#

Jesus i underestimated how damn tedious it is to hook functions in private apps…

serene hawk
reef trail
sterile field
#

make spm for setting up theos isnt doing anything for me... anyone get it to work that can help?

tepid olive
#

I'm trying to finish up rewriting the tweak I made in swift in obj-c and this is the last function I have to rewrite

-(void)setTextColor:(NSString *)textColor {
    if (isDateLabel([text containsString:""] )) {
        setTextColor("yellow");
    } else {
        setTextColor(textColor);
    }
}```

I'm attemping to change the color of the status bar
#

Here is the entire project

-(void)setText:(NSString *)text {
     if ([text containsString:@":"] ){
    NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
    dateFormatter.dateStyle = NSDateFormatterMediumStyle;
    dateFormatter.timeStyle = NSDateFormatterNoStyle;
    
    NSDate *date = [NSDate date];
    
    // US English Locale (en_US)
    dateFormatter.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];

    %orig([dateFormatter stringFromDate:date]); //Today's date
    } else {
    %orig;
    }
}


-(void)setTextColor:(NSString *)textColor {
    if (isDateLabel([textColor containsString:@""] )) {
        setTextColor("yellow");
    } else {
        setTextColor(textColor);
    }
}```
worthy mulch
#

What's the current state of Asahi?
I found a ***really *** good deal on a M2 air on FB marketplace, but macOS infuriates me, but I'd also like to be able to build iOS apps without doing gymnastics to get stuff built. Also, battery life seems like it would be nice to have.

Would you consider Asahi daily-drivable?

#

tbh, I just need the jetBrains stuff, a terminal, firefox, and notepad++ for 90% of what I do, so I guess that if those are reliable, i'll be good to go

primal perch
#

pretty good for the most part, driver is missing hardware video decoding/encoding but they do have opengl 3.1 compliance, for 2d shit like that y ou should be pretty well off

#

not ideal but you decide if thats worthy of being dailyable

worthy mulch
#

that sounds relatively workable for most tasks

#

and there's always the option of pulling out my gaming laptop if I need to do something that isn't supported on asahi

orchid fulcrum
#

How can i "diff" xnu/ios versions

#

Like is the xnu on github from the latest ios ?

#

And how can i access older versions

#

Sorry for stupid ass questions google is useless

#

@sonic totem i saw u commented something like u noticed differences in coretrust while "diffing" thats pretty much what i want to do too

sonic totem
#

Just compare before and after

#

And see what changed

queen ruin
#

It’s pretty simple so it should be clear what’s happening

cloud yacht
placid kraken
#

oh wait nvm

#

that takes in an nsstring i see

tepid olive
#

Yeah

#

I’m taking a break for now to get some homework done cause i skipped all my classes today

#

I’m gonna look through some open source stuff to try and find a solution

slim bramble
#

ewwww

tepid olive
#

uhm so guys

#

is it possible to force link with a dylib that doesn't have an arm64e slice

visual meadow
#

What if you just hex edit the start to switch to arm64e

tepid olive
#

well I need both

#

oh wait

#

duplicate file

#

edit

#

merge

visual meadow
#

Yeah

indigo peak
tepid olive
#

yeah but ld refuses to link

#

building for iOS-arm64e but attempting to link with file built for iOS-arm64

#

lol

#

yup @visual meadow that worked thanks

sterile field
#

ok im failing to even setup the theos/orion swift toolchain. after following all the isntructions, I keep getting error while loading shared libraries: libFoundation.so: cannot open shared object file: No such file or directory. make spm is also failing.

#

im using Ubuntu 20.04 WSL

#

is there a docker container for this?

#

setting up sourcekit-lsp also seems to fail, but im guessing that has to do with the toolchain problems

#

@indigo peak I see you use wsl. how did you get around this?

lean ermine
#
    #endif``` this line is the only thing that has stopped freepip from working on rootless ios 16 💀
native orbit
#

why is installing ruby on mac so awful woeis

primal perch
queen ruin
# slim bramble Sw*ft

I know it’s gross but it’s really the best choice for me so I’m happy with it, despite the consequences

hasty ruin
queen ruin
lean ermine
#

its literally a free open source tweak

#

dont understand why he even put that in there lol

queen ruin
hasty ruin
#

Filter bypass via image

lean ermine
#

fake news

torn cloud
#

anyone know why i get Implicit declaration of function 'host_get_special_port' is invalid in C99 when i've included <mach/mach_host.h>?

#

i think some of my header files are corrupted

#

bruh

#

downloading Apple's header files manually does not help

steady nest
#

#include <mach/mach.h>

torn cloud
#

thanks

slim bramble
#

Hey @slender glade, can you please tell me how I can hide the border like you do with your tweak

#

💀 nvm I figured out :

- (void)setSeparatorStyle:(UITableViewCellSeparatorStyle)style {
    [super setSeparatorStyle:UITableViewCellSeparatorStyleNone];
}

- (void)setBackgroundColor:(UIColor *)color {
    [super setBackgroundColor:[UIColor clearColor]];
}```
#

@radiant idol if you want to add this to onesettings

hasty ruin
slim bramble
tepid olive
#

holy shit it works

slim bramble
cloud yacht
#

tbh I'd rather write tweaks in lua than swift

#

lua is kinda fun

tepid olive
#

it isn't even that bad lol

#
local objc = require'objc'
table.insert(objc.frameworkSearchPaths,"/var/jb/Library/Frameworks/%s.framework/%s")
table.insert(objc.frameworkSearchPaths,"%s")
local ffi = require'ffi'
objc.loadFramework'CydiaSubstrate'
ffi.cdef[[
    void NSLog(void *format);
]]
---@type ffi.cdata*
local ogviewdidload

---viewDidLoad hook.
---@param _self ffi.cdata*
---@param _cmd ffi.cdata*
local hook = function(_self,_cmd)
    ogviewdidload(_self,_cmd)
    print("Hello from Lua Hook lol!")
end
function Initme()
    print("Oh hello again!")
    ogviewdidload = objc.MSHookMessageEx("SBHomeScreenViewController","viewDidLoad",hook);
end
#

much less cursed than the zig one I tried

slim bramble
#

I'm sure you'll like this

hasty ruin
#

I do not like that

tepid olive
#

too bad

cloud yacht
#

tbh make it something like flex 3 where its a simple to use system to find and hook apps and boom you'll have something neat

tepid olive
#

I'm using it to make a full blown tweak

#

the reason I'm using lua though

native orbit
#

make a tweak in haskell

tepid olive
#

is because once you obfuscate it, it's super fucking hard to reverse engineer

indigo peak
#

how mfs feel after not using logos

tepid olive
#

fr

indigo peak
#

wsg

native orbit
#

i just made my own with some C macro hell so it doesn't need theos lol

#

it not nah

tepid olive
#

there is a tiny bit of objc necessary for this tho

native orbit
#

but it gets the job done

indigo peak
#

fym

tepid olive
#
#include <Foundation/Foundation.h>
#include <Foundation/NSObjCRuntime.h>
#include <luajit-2.1/lauxlib.h>
#include <luajit-2.1/lualib.h>
#include <luajit-2.1/luajit.h>
#include <string.h>
#include "../init.h"
#include "../main.h"
int loader(lua_State *state) {
    const char *name = lua_tostring(state, 1);
    NSLog(@"Hello again! %@",@(name));
    if(strcmp(name,"objc") == 0) {
        luaL_loadbuffer(state, luaJIT_BC_initobf, luaJIT_BC_initobf_SIZE, name);
        return 1;
    }
    return 0;
}
int custom_print(lua_State *L) {
    int nargs = lua_gettop(L);
    for(int i = 1; i <= nargs; i++) {
        if(lua_isstring(L, i)) {
            const char *str = lua_tostring(L,i);
            NSLog(@"%@",@(str));
        }
    }
    return 0;
}
__attribute__((constructor)) static void init() {
    NSLog(@"Hello!");
    lua_State *L = lua_open();
    luaL_openlibs(L);
    luaopen_ffi(L);
    luaopen_bit(L);
    lua_getglobal(L, "package");
    lua_getfield(L, -1, "loaders");
    const size_t length = lua_objlen(L, -1);
    lua_pushcfunction(L, loader);
    lua_rawseti(L, -2,length + 1);
    lua_pop(L,2);
    lua_pushcfunction(L, custom_print);
    lua_setglobal(L, "print");
    luaL_loadbuffer(L, luaJIT_BC_mainobf, luaJIT_BC_mainobf_SIZE, "main");
    if(lua_pcall(L, 0, 0, 0) != 0) {
        NSLog(@"Oops. %@",@(lua_tostring(L, -1)));
        return;
    }
    lua_getglobal(L, "Initme");
    if(lua_pcall(L, 0, 0, 0) != 0) {
        NSLog(@"Initme Oops. %@",@(lua_tostring(L, -1)));
    }
}
indigo peak
#

i forgot ab that 😭

#

0x197627ae0

#

dont midn that

tepid olive
#

real

#

oh btw this is just as fast as normal C because it uses JIT :3

slim bramble
indigo peak
#

the "locals" all watch it on tv

#

no one actually goes to see it lmao

hasty ruin
#

objective-cs

indigo peak
#

no

tepid olive
#

objective csharp already exists buddy

#

Xamarin

#

has anyone used pymobiledevice3 on linux?

radiant idol
indigo peak
#

@grave sparrow whats the best way to check if an addr is inside a macho

radiant idol
#

why are you not just using logos

indigo peak
#

idk if that makes sense

tepid olive
indigo peak
tepid olive
#

i hate logos

indigo peak
#

but i wasnt sure

tepid olive
#

it's dumb

#

shouldn't exist

#

same goes for objc

#

should've never existed

#

same goes for swift

#

also should've never existed

indigo peak
#

the main image

tepid olive
#

DRM

radiant idol
#

"real reason"

#

drm sucks

#

I WAS RIGHT FOR ONCE

#

OH MY GOODNESS

indigo peak
#

yeah

native orbit
#

what yall do to check if a addr is valid or not

tepid olive
native orbit
tepid olive
#

well I mean I guess if your language has try catch

native orbit
#

mach_vm_read troll

tepid olive
#

right

primal perch
#

if (ptr)

#

🔥

tepid olive
#

lol

#

^^^

#

you should know it's valid

#

or you shouldn't really be using pointers much at all

#

but meh

radiant idol
#

or you're trying to hook a cursed app

#

cough cough

native orbit
radiant idol
#

what do you know, i'm so right

native orbit
#

swifts fault

radiant idol
#

as always

tepid olive
#

pointers in a language = undefined behaviour

#

not much you can do about that

primal perch
#

only if skill issue

indigo peak
#

fr

native orbit
#

undefined behavior = fun

tepid olive
#

true

indigo peak
tepid olive
#
if(*(0xDEADBEEF)) {
   unreachable;
}
indigo peak
#

i love how the last 9 pins in this channel are just fucking around 😭

native orbit
#

orange name moment

tepid olive
#

wen eta sora orange name

indigo peak
indigo peak
native orbit
#

lower case gang

tepid olive
indigo peak
#

no it can be capitalized

#

however

#

lowercase hex >>

native orbit
#

snake case the only valid way as well

tepid olive
#

no the intended way is capitalized

radiant idol
#

0xdeadbeef

indigo peak
tepid olive
#

because the x is on the same level as the number

indigo peak
#

thats a letter

#

not a number

tepid olive
#

I wonder if anyone has made intentionally crashing code with 0xDEADBEEF but 0xDEADBEEF actually had something lmao

indigo peak
tepid olive
tepid olive
#

damn

native orbit
#

revolut jumped to the mach header magic once cuz its shit jb detection

tepid olive
tepid olive
#

anyways I should work more on my tweak

#

but I also dun feel like it

#

the ghost

primal perch
#

balls reference !!

queen ruin
#

icraze you can’t delete your unmannered messages like that

hasty ruin
#

What

#

Oh

#

I was censored

sterile field
#

Swift is failing for me now:
$ lldb --repl=-disable-objc-interop --one-line-before-file 'log enable lldb host'

lldb             shlib dir -> /home/doot/theos/toolchain/linux/iphone/usr/lib/
lldb             HostInfo::ComputePathRelativeToLibrary() attempting to derive the path /bin relative to liblldb install path: /home/doot/theos/toolchain/linux/iphone/usr/lib
lldb             HostInfo::ComputePathRelativeToLibrary() derived the path as: /home/doot/theos/toolchain/linux/iphone/usr/bin
lldb             support exe dir -> /home/doot/theos/toolchain/linux/iphone/usr/bin/
lldb             Process::ReadModuleFromMemory reading [vdso] binary from memory
lldb             DefaultComputeSwiftResourceDir: Setting SwiftResourceDir to "/home/doot/theos/toolchain/linux/iphone/usr/lib/swift", verify = true
lldb             swift dir -> '/home/doot/theos/toolchain/linux/iphone/usr/lib/swift/'
lldb             DefaultComputeClangResourceDir: Setting ClangResourceDir to "/home/doot/theos/toolchain/linux/iphone/usr/lib/clang/10.0.0", verify = true
lldb             GetClangResourceDir() => '/home/doot/theos/toolchain/linux/iphone/usr/lib/clang/10.0.0'
error: Could not construct an expression context for the REPL.swift toolchain```

and so is swift-package:

```/home/doot/testproject: error: manifest parse error(s):
<unknown>:0: error: unable to load standard library for target 'x86_64-unknown-linux-gnu'```
queen ruin
sterile field
#

has anyone figured out Theos on WSL2?

sterile field
#

dude i literally followed the bash script line by line to make sure everything was working right

hasty ruin
#

use objc and it’ll work

#

trust

primal perch
#

real

sterile field
#

read every mention of WSL and theos from the past 3 years... Im 5 more minutes away from animorphing into terry davis

slim bramble
sterile field
tepid olive
#

anyone use pymobiledevice3

digital pawn
#

I have plenty experience in game hacking using C and I want to make some custom code run each time my iphone is started, where do I learn? Never done iOS development or tweaking before.

lean ermine
#

what ios are you on

digital pawn
#

16.6

lean ermine
#

what device

digital pawn
#

oh, an iPhone 13

lean ermine
#

you are unable to jailbreak rn unfortunately but you can have options for tweak injection, you sort of technically have the ability to run custom code each time your phone is started

#

what is your goal

digital pawn
#

I wanted to send some data over cellular network (never public wifi) to a server i have set up at home, and maybe have a popup like a notification or similar telling me what it sent

lean ermine
#

first you'll want to install trollstore if you haven't already

digital pawn
#

If it is less janky, I could settle with the code running each unlock/each time the screen lights up after unlock. Otherwise, what do i test this code on after i modify it? A virtual machine? Feels like running buggy code on boot is a recipe for a bricked phone

granite frigate
#

you’re right it is. but anyway this “untether” runs after first unlock so it isn’t that bad

kind herald
#

Wow, by following the revolutionary tweak development guide by NightwindDev, I can finally start creating my own tweak

timid furnace
#

@slim bramble @acoustic imp To finalize your developer status please click the following reaction

kind herald
#

what if a non-developer reacts

timid furnace
#

doesnt matter

kind herald
#

alright there

#

do I get developer role

timid furnace
#

no

acoustic imp
#

i got kicked fr

lean ermine
#

i got dev role!!! (i'm colorblind)

queen ruin
torn oriole
#

(user removed from channel)

cloud yacht
#

I have white name

#

Tbh I thought you already had dev role

#

Congrats

indigo peak
#

i love how when ida comes across a block when generating pseudo-code ida just shits itself 😭

#

just pretends the block doesnt exist in the psuedo-code

#

i love trying to understand how blocks work on the asm level and the only thing i can find are articles in 100% chinese

#

at first i was like

#

oh i found chinese stackoverflow

#

that HAS to be a translation error

#

theres no way thats what its meant to be

#

im too scared to click it on my uni's wifi 💀

#

im kinda understanding asm more (no im not)

#
str x8, [SP,#0x40+var_40]

; var_XY = -0x40
; sp = -0x70

; -0x70 + 0x40 + (-0x40) = -0x70
#

i dont actually understand the point of that

#
#

i think im good on understanding how blocks work for now

#

tbh

wooden yarrow
#

and it is quite literally just chatting

#

seems like a tl error to me

#

wikipedia doesn't even show the definition as that

granite frigate
#

oops

sonic totem
#

It runs AFU after the patch

#

But only when fast path signed

slender glade
torn cloud
golden horizon
#

needs ida pro for mac :/

hasty ruin
#

buy it

slim bramble
#

I’ll be able to correct it myself

acoustic imp
#

Why is your name not orange?

hasty ruin
grave orchid
slim bramble
#

Or Alfie

sonic totem
#

?

slim bramble
#

I’ve recruited you to delete any 16Player slander

#

Hi

sonic totem
#

Can any SwiftUI devs help me please

hasty ruin
#

It’s one of the rules

hasty ruin
slim bramble
#

I can help tho

sonic totem
#

I want to make it so that the button expands into the larger rectangle

slim bramble
sonic totem
#

atm the button shrinks and then the rectangle appears

#

But I want it to expand directly from the button

slim bramble
hasty ruin
slim bramble
hasty ruin
#

One too many my friend

slim bramble
#

As I have made a project in SwiftUI

#

@hasty ruin don’t you dare tell me storyboard is better than SwiftUI

slim bramble
hasty ruin
#

programmatic uikit

#

like god intended

slim bramble
#

What if I archive my project

#

Can I get access to ONO again

hasty ruin
#

Must be deleted

slim bramble
#

Wtf

#

FurryCraze

lyric heron
#

can i get acess

slim bramble
hasty ruin
#

Censorship.

lyric heron
#

i have orange role

hasty ruin
slim bramble
lyric heron
#

pls give acwss

slim bramble
#

@hasty ruin I’m not nebula smh

acoustic imp
crisp frost
#

We all love ONO

lyric heron
#

i break 0 as well

#

why am I not allowed in ☹️

acoustic imp
#

No orange

lyric heron
#

i am orange

#

just a different kind

acoustic imp
#

Ur pink

lyric heron
#

are u being racist

#

i identify as orange

crisp frost
#

U are not orange

#

You are pinkish

lyric heron
#

racism

#

i identify as orange

acoustic imp
#

No

lyric heron
#

im gonna crack 16 player

#

☹️

slim bramble
hasty ruin
slim bramble
lyric heron
#

ong

slim bramble
#

I must agree

crisp frost
lyric heron
hasty ruin
#

I wrote my drm whilst waiting for cheyote bc I couldn’t make any actual tweaks

crisp frost
#

Man

lyric heron
#

how do you bypass icraze drm

hasty ruin
#

buy the tweak on havoc

slim bramble
crisp frost
hasty ruin
#

or compile from source with DRM=0

lyric heron
#

can I have source

hasty ruin
#

nah

lyric heron
#

why

#

i own the tweak

slim bramble
crisp frost
#

if icraze gives me source ill give him mineekinternal.7z

hasty ruin
lyric heron
#

is it orange people foolproof

crisp frost
#

Huh

slim bramble
crisp frost
#

I got pinged.

lyric heron
crisp frost
#

What did icraze say

slim bramble
slim bramble
crisp frost
#

Man

lyric heron
#

oh

crisp frost
#

icRaze this is not ono please keep out of development

lyric heron
#

does that mean yes

slim bramble
lyric heron
#

damn

hasty ruin
lyric heron
#

thank god im on ios 16

hasty ruin
#

remain safe

lyric heron
slim bramble
#

@hasty ruin can’t provide proofs PointAndLaugh

hasty ruin
lyric heron
#

@hasty ruin can I have drm sneak peak

slim bramble
slim bramble
lyric heron
#

show

slim bramble
lyric heron
#

or i dont believe you

slim bramble
lyric heron
#

@hasty ruin im leaking kexploit for ios 17 if you show me

crisp frost
#

Im leaking mineekshell

radiant idol
#

Hello people

crisp frost
#

Hello nightwind

#

Eveningbreeze

hasty ruin
lyric heron
hasty ruin
#

dm

queen ruin
slim bramble
queen ruin
#

No idea what you mean

#

queen ruin
strong arrow
#

Hi all, i'm alooking for tweak dev (paid job)

#

dm me if interested

radiant idol
slim bramble
frail cedar
#

i don't do dm though

queen ruin
#

I know when it’s coming

tepid olive
#

hm

slim bramble
slim bramble
#

Was hard to notice

tepid olive
queen ruin
slim bramble
queen ruin
tepid olive
queen ruin
#

Am

hasty ruin
slim bramble
hasty ruin
slim bramble
queen ruin
slim bramble
#

Thanks again for all you help @hasty ruin

tepid olive
queen ruin
tepid olive
#

it uses LuaJIT which in some cases is faster than native C

queen ruin
#

90% drm, 10% tweak

slim bramble
tepid olive
#

there's no drm yet lmao

slim bramble
#

In like 3 weeks

#

Or just small changes

hasty ruin
queen ruin
tepid olive
slim bramble
hasty ruin
slim bramble
#

So I spent the little time I had for the drm

queen ruin
slim bramble
queen ruin
hasty ruin
#

Fr

slim bramble
#

I finish school at 6pm daily

tepid olive
slim bramble
#

Start at 9am

#

I have hw to do

#

Exams every 2 weeks

#

Do your really think I have the time

tepid olive
#

icraze see if you can deobfuscate it, if you can you get a prize

young meteor
queen ruin
#

Exams all the time

slim bramble
tepid olive
#

oh and I've already tested for performance impacts

#

there is none

slim bramble
#

I’ve realised also I spent prob more time chatting here than actually making the drm

tepid olive
#

I'll show you the C code

slim bramble
#

Oh wait

tepid olive
#

but I won't do more

slim bramble
#

I forgot about that @queen ruin

#

Watch

tepid olive
#

C code is nothing important lol

slim bramble
queen ruin
slim bramble
queen ruin
#

Did you just communist china me

tepid olive
#
#include <Foundation/Foundation.h>
#include <Foundation/NSObjCRuntime.h>
#include <luajit-2.1/lauxlib.h>
#include <luajit-2.1/lualib.h>
#include <luajit-2.1/luajit.h>
#include <string.h>
#include "../init.h"
#include "../main.h"
#include "../json.h"
#include "../weatherhandler.h" 
#include <libroot.h>
int loader(lua_State *state) {
    const char *name = lua_tostring(state, 1);
    NSLog(@"Hello again! %@",@(name));
    if(strcmp(name,"objc.src") == 0) {
        luaL_loadbuffer(state, luaJIT_BC_initobf, luaJIT_BC_initobf_SIZE, name);
        return 1;
    } else if(strcmp(name, "json") == 0) {
        luaL_loadbuffer(state, luaJIT_BC_jsonobf, luaJIT_BC_jsonobf_SIZE, name);
        return 1;
    } else if (strcmp(name,"weatherhandler") == 0) {
        luaL_loadbuffer(state, luaJIT_BC_weatherhandler, luaJIT_BC_weatherhandler_SIZE, name);
        return 1;
    }
    return 0;
}
int custom_print(lua_State *L) {
    int nargs = lua_gettop(L);
    for(int i = 1; i <= nargs; i++) {
        if(lua_isstring(L, i)) {
            const char *str = lua_tostring(L,i);
            NSLog(@"%@",@(str));
        }
    }
    return 0;
}
__attribute__((constructor)) static void init() {
    NSLog(@"Hello!");
    lua_State *L = lua_open();
    luaL_openlibs(L);
    luaopen_ffi(L);
    luaopen_bit(L);
    lua_getglobal(L, "package");
    lua_getfield(L, -1, "loaders");
    const size_t length = lua_objlen(L, -1);
    lua_pushcfunction(L, loader);
    lua_rawseti(L, -2,length + 1);
    lua_pop(L,2);
    lua_pushstring(L, libroot_dyn_get_root_prefix());
    lua_setglobal(L, "root");
    lua_pushcfunction(L, custom_print);
    lua_setglobal(L, "print");
    luaL_loadbuffer(L, luaJIT_BC_mainobf, luaJIT_BC_mainobf_SIZE, "main");
    if(lua_pcall(L, 0, 0, 0) != 0) {
        NSLog(@"Oops. %@",@(lua_tostring(L, -1)));
        return;
    }
    lua_getglobal(L, "Initme");
    if(lua_pcall(L, 0, 0, 0) != 0) {
        NSLog(@"Initme Oops. %@",@(lua_tostring(L, -1)));
    }
}
#

C code

slim bramble
queen ruin
#

I’m cracking 16Player now

slim bramble
queen ruin
#

That’s the only way to even the balances

slim bramble
#

🤓

tepid olive
#

will show nothing more

young meteor
#

can't crack what doesn't exist

slim bramble
queen ruin
#

Player-16

slim bramble
tepid olive
#

If anyone even ever manages to interpret my tweak, I'll be geniunely surprised

tepid olive
slim bramble
sterile field
#

so I tried setting up Theos on proper Ubuntu and still no dice

tepid olive
#

I won't show you the actual code though because then that defeats the point of the obfuscation

#

lol

sterile field
#

in VScode when I link to the swift executable, do I link to the one in the toolchain downloaded w theos?

tepid olive
#

the obfuscation is also to hide my paid API key for openweathermap

slim bramble
#

@tepid olive How goofed is lua for tweaks

tepid olive
#

not bad at all

queen ruin
slim bramble
#

Oh fr forgot about that

#

😭

tepid olive
#

I'll show you the main.lua file because there isn't much important there

slim bramble
#

I wonder why

tepid olive
#

it's only initalization

#
local objc = require'objc.src'
table.insert(objc.searchpaths,"/var/jb/Library/Frameworks/")
local ffi = require'ffi'
local weatherhandler = require'weatherhandler'
objc.load'Foundation'
objc.load'CydiaSubstrate'
ffi.cdef[[
    void NSLog(void *format);
]]
---@type ffi.cdata*
local ogviewdidload

---viewDidLoad hook.
---@param _self ffi.cdata*
---@param _cmd ffi.cdata*
local hook = function(_self,_cmd)
    ogviewdidload(_self,_cmd)
    print("Hello from Lua Hook lol!")
    local ret
    local thepcall,err = pcall(function()
        ret = weatherhandler.UIImageForCurrentWeather()
    end)
    if thepcall then
    print(tostring(ret.id))
    print(tostring(ret.image))
    else 
        print("error ocurred!")
        if err then
            print(tostring(err))
        end
    end 
end
function Initme()
    print("Oh hello again!")
    local objcstr = objc.toobj('ABC')
    print(objc.tolua(objcstr))
    ogviewdidload = objc.MSHookMessageEx("SBHomeScreenViewController","viewDidLoad",hook);
end
slim bramble
#

@sterile field iirc swift is goofed on Linux

queen ruin
#

Or you can get an external one

#

either works

tepid olive
#

I will not show you weatherhandler though lol

queen ruin
slim bramble
sterile field
#

but I cant setup Sourcekit-LSP?

tepid olive
queen ruin
tepid olive
#

weatherhandler has my API key

slim bramble
tepid olive
#

if you can get the API key from it

#

then I congratulate you

tepid olive
queen ruin
#

One problem with Orion tweaks on linux is that they don't work on iphoneXs+ rootless even with oldabi installed

slim bramble
queen ruin
#

You have to compile with github actions

tepid olive
#

I'll also send you the compiled version

#

good luck

sterile field
#

I have both the official swift 5.3.2 and the one installed in the theos ditro

sterile field
sterile field
#

so mac is the only way?

tepid olive
#

oh wait weatherhandler isn't obfuscated atm

#

lmao

queen ruin
slim bramble
#

Send a deb

sterile field
#

oh no fucking way...

queen ruin
slim bramble
sterile field
queen ruin
#

I could help you more when i get home, don't have access to pc rn

queen ruin
slim bramble
sterile field
queen ruin
#

I still don't getit

#

ohhhh

#

github actions credits

sterile field
#

there is no libFoundation file among the ones installed in the Theos toolchain

queen ruin
queen ruin
queen ruin
#

I personally use an external one

sterile field
#

okay, i tried an external one, ran Swift test but now its just saying that it's failing to build the Foundation and Orion module

#

which version of swift are you using?

queen ruin
#

I remember luki fixed that issue by reinstalling theos

#

If you send the specific errors screenshots then I and other people could help a lot more

icy escarp
#

maybe this is a really bad idea but how do i hook dyld4::Loader::hasExportedSymbol in the dyld binary

#

i cant seem to dlsym that, or the mangled names

slim bramble
#

@queen ruin

queen ruin
#

Oh

queen ruin
#

!?!?!

#

@slim bramble respond before redditting

icy escarp
#

but it would be sick

#

is it really really hard?

icy escarp
sterile field
#

the toolchain included in theos is wrong, so you need to get a very specific one like this:

curl -sL https://github.com/kabiroberai/swift-toolchain-linux/releases/download/v2.3.0/swift-5.8-ubuntu20.04.tar.xz | tar -xJvf - -C $THEOS/toolchain/```
hasty ruin
#

Swift lol

queen ruin
sterile field
#

If you are trying to get Theos or Orion working on WSL/Ubuntu/Linux with Sourcekit-LSP and building working, these are the steps:

  1. apt install bash curl sudo
    2)``` bash -c "$(curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)"
3)  ```rm -rf $THEOS/toolchain/*
curl -sL https://github.com/kabiroberai/swift-toolchain-linux/releases/download/v2.3.0/swift-5.8-ubuntu20.04.tar.xz | tar -xJvf - -C $THEOS/toolchain/```
4)  Go into VSCode, install the Official Swift extension, setthe Absolute path as Theos/toolchain/.../bin/

5) restart VSCode
6) ```make commands``` ('make spm' is WRONG. do not use it)
sterile field
#

such a fucking hassle for no reason... save the next shmuck some hairpulling

tepid olive
# placid kraken just use objc

objc is too easy to hook and override behavior, it is quite difficult to do that with lua, especially after all the obfuscation

placid kraken
#

why would you make it harder for yourself lol

tepid olive
#

It’s not harder

timid garden
timid garden
#

This only shows up in the expanded view right?

serene hawk
#

yes

timid garden
#

Your are awesome. Thank you very much

tepid olive
#

Wait I just had a lightbulb

lean ermine
#

@void heron this is fantastic

#

seriously great work

indigo peak
#

thanks man

indigo peak
#

nooooo

lean ermine
#

is that the site ppl use

#

ive been using limneos

radiant idol
#

I use it a lot

lean ermine
#

neat

#

limneos is the one that pops up on google so i didnt know that existed lol

weary heath
faint stag
cloud yacht
weary heath
faint stag
#

also swift classes are mangled anyway so that also wouldn't work even if it was one

weary heath
#

thanks

placid kraken
#

im thinking of writing a functional language with similar syntax to objc

#

opinions???

// example syntax
import elle@io;
import elle@int@{random};

int32 main() {
    int32 res = [doSomething 3]; // returns a random number between 0 and 10 multiplied by 3
    [printMessage msg:[res toString]];
}

int32 doSomething(int32 multiplier[_]) {
    ret [random between:0 and:10 included:true] * multiplier;
}

void printMessage(string message[msg]) {
    [print msg];
}
cloud yacht
#

just use objc

placid kraken
cloud yacht
#

ok then

placid kraken
#

i think i would benefit a lot from writing my own language lmfao

#

it would be entirely functional

#

garbage collected

#

or

faint stag
placid kraken
faint stag
#

i mean sure

placid kraken
#

my intentions are to write it in rust to compile to beam vm bytecode

#

but yeah i get what you mean lol

#

this is like v0 syntax

#

it’ll probably change a lot

#

i still don’t know if bracket syntax is even good when it’s not a class

#

here’s to a 179th project im working on concurrently

cloud yacht
#

imma be honest I don't like the [doSomething 3];

placid kraken
#

yeah exactly me neither

#

but i want positional arguments because sometimes keyword arguments suck

#

so maybe bracket syntax isn’t the way to go

tepid olive
tepid olive
#

do it like this

#

where keyword arguments is optional

placid kraken
#

im getting rid of bracket syntax

tepid olive
#

are you gonna do it like how C# does it?

#

(please say yes)

placid kraken
#

yeah

tepid olive
#

nice

placid kraken
#

i interated on it a bit

// semicolons are enforced. 
// even though backticks with %{} are required for string interpolation, single quotes are recommended for strings without interpolation.

// in an import statement, it follows a lib:file@{method1, method2...} format;
require elle:io;
require elle:int@{random};

// use expose to export functions so they can be imported by other files
// you must expose the main function for it to be runnable
expose op main() {
    int32 resWith3 = randomWithMultiplier(3); // returns a random number between 0 and 10 multiplied by 3
    int32 resWith16 = randomWithMultiplier(multiplier: 16); // returns a random number between 0 and 10 multiplied by 16
    printMessage(`First result is %{resWith3} and second is %{resWith16}`);

    int32? maybeRes = randomWithPossibleError();

    if (maybeRes) {
        // in this scope, maybeRes is just int32 not int32?
        printMessage(`Result is %{maybeRes}`);
    } else {
        printMessage('Oh no! We failed.');
    }
}

op randomWithMultiplier(int32 multiplier) => int32 {
    // if a function uses keyword arguments they must *all* be keyword arguments
    // use the ret keyword to return from the operation
    ret random(between: 0, and: 10, included: true) * multiplier;
}

// operations can either return a value or void.
// `nil` is the undefined/null value
// use the ? at the end of the return type to denote that the function can return nil
op randomWithPossibleError() => int32? {
    int32 result = random(0, 5, true);

    // match keyword works very similar to other languages
    ret match result {
        3 -> nil;
        val -> val;
    }
}

// no return argument needed if function returns void
// note that this is ONLY if the function returns void
op printMessage(string message) {
    io::print(message);
}
#

actually i can improve the match

#

can probably just work like that

placid kraken
#

does anyone know a high quality hex edtor for mac

tepid olive
#

I'm not even joking it's really good

placid kraken
#

hmm i guess ill just stick to xxd

tepid olive
#

oh, you don't like it?

placid kraken
#

i would rather not use browser-based solutions lol

tepid olive
#

fair enough

cloud yacht
timid furnace
#

I LOVE HEX FIEND

#

*mostly love

#

i wish they had template-defined coloring

cloud yacht
#

I feel like capt has a hex editor and its either some tool he really likes, or like zeframhex

timid furnace
#

its so good

placid kraken
#

this is clearly better guys idk what you mean

placid kraken
timid furnace
#

it should

placid kraken
#

it looks promising

timid furnace
placid kraken
#

hmmm ok

timid furnace
#

the templates are in tcl, but it's not horrible to pick up

placid kraken
#

will try soon

timid furnace
#

but if you really want the overkill software, you want 010 Editor (paid)

placid kraken
#

i dont need overkill software i need to reverse engineer what erlang files compile into

placid kraken
#

compiled into beam

visual meadow
#

hex fiend is top tier bro

faint timber
timid furnace
#

uhhh the address where the cursor is at? i usually just manually type it in

#

it's displayed on the bottom

#

you can click to switch it to hex

indigo peak
primal perch
#

capt on the schizo rant

#

nah

#

earn ur degree

#

fapt kink

placid kraken
#

real lexer

turns

int32 variableName = 32;
string test = 'hello world';

into

Type("int32")
Identifier("variableName")
Equals
Integer(32)
ExprEnd
Type("string")
Identifier("test")
Equals
Literal("hello world")
ExprEnd
faint timber
timid furnace
#

Yea

#

could probably open an issue for it

#

or PR

slender glade
visual meadow
#

Anyone know how to change the ios 16 clock font

radiant idol
visual meadow
#

Thanks

placid kraken
slender glade
visual meadow
radiant idol
#

idk figure that one out chief

visual meadow
#

alr lol

primal perch
#

👍

primal perch
#

mashallah

placid kraken
#

ok that kinda spams chat

#

1 sec

#

i think youll be interested in specifically this part

// This is a character because it's a single quote.
printMessage('a');
printMessage("Oh no! We failed.");
Comment(" This is a character because it's a single quote.")
Identifier("printMessage")
LeftParen
CharLiteral('a')
RightParen
Semicolon
Identifier("printMessage")
LeftParen
StringLiteral("Oh no! We failed.")
RightParen
Semicolon
indigo peak
placid kraken
#

the lexer is only 250 lines which is quite compact

#

considering it consumes all of these tokens already

#[derive(Debug, PartialEq)]
pub enum Token {
    Require,
    Expose,
    Op,
    Type(String),
    Identifier(String),
    IntegerLiteral(i32),
    CharLiteral(char),
    StringLiteral(String),
    InterpolatedLiteral(String),
    Comment(String),
    Colon,
    At,
    LeftParen,
    RightParen,
    LeftBrace,
    RightBrace,
    Comma,
    Equal,
    Arrow,
    Semicolon,
    If,
    Else,
    Match,
    Ret,
    Question,
    Multiply,
    Divide,
    Add,
    Subtract,
}
primal perch
#

rust

placid kraken
#

yes rust

#

would you rather i do it in js? and make the compiler take 50 years?

#

or in python? and it takes 10000 years?

#

or in c? and it leaks memory in 18 places in 10 lines of code?

primal perch
#

i got no beef with rust really i just like shitting on it

#

for almost every use case in 2024 its better than or c++

torn cloud
#

because of that reason

primal perch
#

fr

placid kraken
#

lmao i totally wouldve written this in typescript if i had the ability to make it fast

primal perch
#

just dont drop the ball with c

placid kraken
#

unforuntately ts sucks for performance

primal perch
#

👍

placid kraken
#

so rust it is

torn cloud
#

i love memory leakage

placid kraken
#

omg true

torn cloud
#

based

primal perch
#

i bet zefram has like 20 leaks

placid kraken
#

if i ever want to make a quick prototype for coding problem ill just write it all in assembly

primal perch
#

send proof

placid kraken
#

why didnt i think of that smh

primal perch
#

send valgrind

placid kraken
#

it doesnt exist

primal perch
#

real

placid kraken
#

malloc(0)

#

free(1024)

primal perch
#

does it cover every potential code path

placid kraken
#

wtf even is zefram is it a jailbreak

primal perch
#

proof

torn cloud
#

capt how did zefram get leaked in the first place

primal perch
#

zefram.tar.gz

torn cloud
#

then why do the gifs exist

primal perch
#

267K

torn cloud
#

I’m not talking about the actual source code

primal perch
torn cloud
#

I’m talking about the leaked images

placid kraken
torn cloud
placid kraken
#

how else

primal perch
#

.tar.zst enjoyers

torn cloud
#

also why is there a gif of zefram working on iOS

#

I thought it was macOS tweak injection

primal perch
#

brew install zstd

torn cloud
#

zest

primal perch
#

zex

torn cloud
#

don’t you need krw for springboard tweak injection on iOS though

#

private?

placid kraken
#

$ brew install zefram-stable

‼️ Package not found! Did you mean: zefram-173-memory-leak-build-oops?

torn cloud
#

o

placid kraken
#

tbh zefram would be a cask right

primal perch
#

captinc jerking himself off over something no other human being has seen

placid kraken
#

sounds too complicated

#

make it simpler

visual meadow
indigo peak
#

I have code for it, but I’m not home rn

visual meadow
#

Ok

indigo peak
#

@placid kraken want me to send you what I have so far for enmity custom fonts

#

I had it like 90% done like 2021

#

but I just like

#

Scratched it idk why

#

I’m actually pretty sure I finished it but I never pushed it or smth

placid kraken
#

lol sure i guess, although i think eternal already did it for ios

indigo peak
#

I don’t remember if I sent it over or not honestly

primal perch
#

yeah he sent me a vid once

#

ok meat

torn cloud
indigo peak
primal perch
#

not really

#

maybe 4

torn cloud
#

why are we still talking about capt's penis

indigo peak
#

not the only thing that’s 4 relating to his cock

placid kraken
primal perch
#

🤨

indigo peak
faint stag
torn cloud
placid kraken
#
if (bool) {}
switch (variable) {}

OR

if bool {}
switch variable {}
#

which one wins in this case

#

i prefer with ()

radiant idol
#

()

placid kraken
#

either way

#
require elle:io;

expose op main() {
    io:print("Hello World from Elle!");
}
``` this now tokenizes properly
#
Require
Identifier("elle")
Colon
Identifier("io")
Semicolon
Expose
Operation
Identifier("main")
LeftParentheis
RightParenthesis
LeftCurlyBrace
Identifier("io")
Colon
Identifier("print")
LeftParentheis
StringLiteral("Hello World from Elle!")
RightParenthesis
Semicolon
RightCurlyBrace
#

next, parser

radiant idol
#

you are strange

placid kraken
#

in what way

radiant idol
#

all ways

sonic totem
#

Thanks Nightwind

torn cloud
#

good evening

placid kraken
#

parser working wooo

#

only for require statements so far

#

but

#
require elle:io;
require elle:int@{module};
#
Expected Identifier("Library name"), found Identifier("elle")
√ Expected Colon, found ColonExpected Identifier("Module name"), found Identifier("io")
√ Expected Semicolon, found SemicolonExpected Identifier("Library name"), found Identifier("elle")
√ Expected Colon, found ColonExpected Identifier("Module name"), found Identifier("int")
√ Expected LeftCurlyBrace, found LeftCurlyBraceExpected Identifier(""), found Identifier("module")
√ Expected RightCurlyBrace, found RightCurlyBraceExpected Semicolon, found Semicolon
primal perch
#

😄

placid kraken
#

if i mess up the syntax on purpose and make it like

require elle::io;
require elle:int@{module};
#

it breaks

Expected Identifier("Library name"), found Identifier("elle")
√ Expected Colon, found Colon
thread 'main' panicked at src/parser.rs:36:13:

Expected Identifier("Module name"), found Colon

Token Stack:

[Require, Identifier("elle"), Colon, Colon, Identifier("io"), Semicolon, Require, Identifier("elle"), Colon, Identifier("int"), AtMark, LeftCurlyBrace, Identifier("module"), RightCurlyBrace, Semicolon, Expose, Operation, Identifier("main"), LeftParentheis, RightParenthesis, LeftCurlyBrace, Identifier("io"), Colon, Identifier("print"), LeftParentheis, StringLiteral("Hello World from Elle!"), RightParenthesis, Semicolon, RightCurlyBrace]
tepid olive
#

@placid kraken how tf are you writing this so fast lmao

torn cloud
#

fr

#

hi capt

#

hows your penis

tepid olive
#

what\

torn cloud
tepid olive
#

oh

#

why

torn cloud
torn cloud
torn cloud
tepid olive
#

what lmao

torn cloud
#

also completely unrelated but i made this poo

#
The Apple Wiki

SPTM (Secure Page Table Monitor) is a vital hardware feature found in Apple's A15 and later processors, revolutionizing memory management and access control in iOS 17 onwards. It replaces the conventional Page Protection Layer (PPL) with a more robust approach to system security.
SPTM operates within the Guest Level 1 (GL1) or Guest Level 2 (GL2...

#

i cant write for shit

#

this is probably full of mistakes

#

bros not even denying it

tepid olive
#

lmfao

acoustic imp
torn cloud
#

wen eta

acoustic imp
torn cloud
#

lol

acoustic imp
#

(Zefram bootloop gif)

torn cloud
#

stop flexing

#

you have a tiny penis

#

and a wiener

acoustic imp
#

Poor capt

acoustic imp
#

Question, how do u get an SS like this, Mac OS thing ?

acoustic imp
#

It’s like got a drop shadow and like not to the edges of the image

torn cloud
#

can confirm zefram put my mac into internet recovery

#

and panic looped

hasty ruin
acoustic imp
#

Oh, I’m windows user

torn cloud
hexed knot
faint lionBOT
#

@hasty ruin, have a look at this funny meme! LOL!

icraze

piss

hexed knot
#

3 more months until i get an M3 mba

torn cloud
#

piss

hasty ruin
torn cloud
#

sleep

acoustic imp
#

Same price thishowitis

hexed knot
#

No that shits eol soon

acoustic imp
#

W, maybe I can get one cheap

hasty ruin
#

bruh this is gonna save me like 400gb of writes

#

ugh why ctrl tho

#

thats so shit

acoustic imp
#

Yo estoy pobre

torn cloud
hasty ruin
#

should be shift opt cmd

#

ctrl sucks on mac

acoustic imp
torn cloud
hexed knot
#

Ok

torn cloud
acoustic imp
hexed knot
#

(not capt)

torn cloud
#

capt should just sell zefram

#

instant 500k

#

then do it

hexed knot
#

Macbook screen protector

torn cloud
#

why would you get a screen protector for a macbook

#

liquid retina displays are fragile asf

tepid olive
#

What is zefram?

hexed knot
#

A dream

torn cloud
#

private

hexed knot
#

Capt the type of guy to report his net worth as 500k bc of zefram

torn cloud
#

probably because you're the only person that has it

torn cloud
#

anyway time to sleep

#

@hasty ruin do the same trol

hexed knot
#

Ok

acoustic imp
#

Exactly

tepid olive
#

I just saw it was mentioned

tepid olive
#

Why would I need tweaks on my Mac

#

So true

torn oriole
#

Excellent

tepid olive
#

I am kind of intriuged. What's the price

#

Just to download it

#

Unfortunate

torn oriole
#

K

#

Where zeframctltroll