#development

1 messages · Page 575 of 1

restive ether
#

i was gonna say why didn’t he look in the github but he probably doesn’t know any better

#

guess he’s more of a fan of tweetmoji zebra than alpha zebra

#

woe is me

lime pivot
#

he wanted bigger than I think is even on github honestly

#

biggest there is 180x180 prolly

restive ether
#

is that the ipad icon size

lime pivot
#

iPhone @3x

#

60x60 @3x

restive ether
#

are ipad icons the same size

lime pivot
#

they're slightly bigger because fuck you I guess

#

it's like 124x124 (62x62 @2x)

#

something stupid and somewhat pointless feeling like that

#

iPad Pro is 167x167 (83.5x83.5 @2x)

#

I've lost track of which icon size is used where at this point

restive ether
#

springboard struggling to make the images slightly smaller to fit

lime pivot
#

ok never mind iPad is actually 152x152 (76x76 @2x)

#

so not as pointless

#

still pointless though cause I swear icon sizes got smaller on iPad

restive ether
#

at least it’s not like some designers i’ve seen

#

who are using absurdly large images for their themes

#

causing performance issues

vivid dew
#

real

primal perch
restive ether
#

yeah some dude actually made a theme and the icons were like 2048x2048

vivid dew
#

my theme

primal perch
#

doesn’t it resize the image to what it needs to be at runtime tho

restive ether
#

no

primal perch
#

if nothing else tho that’s still waste disk space

#

but at least not slow

restive ether
#

spark ended up making a cli tool to resize them

primal perch
#

apparently doing that in photoshop is too hard

restive ether
#

yes

#

disabling bitcode in the app, this bitch smaller now

faint timber
restive ether
#

we love lto

faint timber
#

what it do

restive ether
#

link time optimizations go brrrr

faint timber
#

I guess I can reenable lto now that actions has big sur xcode

restive ether
#

tell them to hurry up and do monterrey

primal perch
#

we do lto

#

and -O3

faint timber
#

what about -Os

restive ether
#

use the most aggressive option so your program doesn’t work until you do everything possible to fix leaks

#

hacker man

lime pivot
#

multiply by 200 icons or so

primal perch
#

most likely 16mb at a time sequentially

#

with how most code on stackoverflow works

#

still pretty bad

#

tbf

lime pivot
#

heh

primal perch
#

and that’s how you get terrible load times on springboard

#

3.2gb of image processing per respring

lime pivot
#

well yeah, but I still don't want to be decompressing 16MB of pixel data from a png, running a scaling algo, freeing up that 16MB, and presumably writing the scaled image back out to disk

restive ether
#

i love when some tweak dev dunks all over respring times cause their tweak sucks

#

that’s always fun

primal perch
#

what’s it supposed to be

#

like 256x256?

#

128

lime pivot
#

I think 256 or so was recommended? don't recall now

primal perch
#

yea that’s 256KiB per image then

#

much more reasonable

lime pivot
#

yep exactly

primal perch
#

assuming they don’t do any compression in ram

#

not sure if that’s a thing on ios or macos

#

windows does it for some

lime pivot
#

it always makes me angry when I see someone use such massive graphics for no obvious benefit, uses more disk or takes longer to download, just to render it at a fraction of the size that was delivered

primal perch
#

yea true

lime pivot
#

I can even say I had experience with that, heh

#

was working on a feature for my job and we didn't have image processing working yet on the server, so I was just pulling the full-size image at first

primal perch
lime pivot
#

kept getting crashes only when not attached to debugger

primal perch
#

hey you’d probably get a raise at microsoft for that

#

they love legacy code

lime pivot
#

thought about it for a while and realised it's only happening when I go to a specific screen with a specific photo being downloaded

#

well rather multiple photos, even

primal perch
#

not even then

#

180x180 image

lime pivot
#

confirmed with the debugger that within seconds I was absolutely destroying the app's memory usage, something like 40MB which will definitely get your app killed

primal perch
#

126.56KiB

#

sex

restive ether
#

sileo when the app kills itself cause it used too much memory

primal perch
#

swift devs moment

restive ether
#

well at least it doesn’t do that anymore

#

the pre 2.2 sileo had too many memory leaks

#

in just about every corner

primal perch
#

how do you even get leaks when 80% of it is swift

#

and the other 15% objc uses arc

lime pivot
#

by writing bad swift lmao

restive ether
#

yeah

primal perch
#

weak references are too hard apparently

restive ether
#

you can ask amy, she’s in a coma from how many times she’s bashed her head into a wall from reading bad swift

lime pivot
#

honestly scares me that ARC/Swift makes it so easy to accidentally leak a ton of memory, and there's no tools that seem to be able to detect this

#

all you need to do is accidentally keep a strong reference to one object that has a strong reference to another object that has ………… etc

primal perch
#

i mean there’s xcode

#

the debugger is pretty good

restive ether
#

gnu debugger troll troll troll

primal perch
#

but that requires effort and optimization

#

something tweak devs aren’t too keen on

restive ether
#

tweak devs using optimizations, lol

#

already asking far too much

lime pivot
#

oh I mean compared to manual reference counting where you could click Product --> Analyze and it would helpfully explain every case where you either retained too many times, or would crash because you didn't retain

#

they just never seemed to bother making a tool like that for ARC

primal perch
#

arc devs probably “damn we just made memory management way easier for everyone, we don’t even need a tool for retain cycles since they’re so easy to avoid”

lime pivot
#

and I do wonder if it's because it's legitimately difficult to tell whether a "leak" is by design or not with ARC

#

funny enough, due to what IMO is poor API design, in Alderis I intentionally create a retain cycle when presenting the UI through the libcolorpicker compat API

#

most tweaks I tested it against didn't keep a strong reference to the object, so it'd get released by ARC and the delegate method never fires because the object went away

primal perch
lime pivot
#

actually now I think of it, the issue with memory usage in the app was only noticed because a leak was compounding it

#

view controller was leaking because some controller it used was holding a strong reference to it

#

so entering that screen more than once was a guaranteed crash

#

had to work around it by scaling the images on the device, before the server side guys merged the thumbnail generating logic

primal perch
#

bedtime

#

gn

sour halo
#

gn

#

would it be unethical to make a bird shit clone and sell it to kiddos for the money

undone nest
#

yes

sour halo
#

that is sad

lethal kayak
#

who would buy it

#

when there's a free alternative

restive ether
#

joe

sour halo
#

children

untold river
#

and children

lethal kayak
#

i cant see that being the case when the paid tweak comes out after the free one

sour halo
#

I mean

#

true

untold river
#

idk then

#

maybe bird poop got more viral or some shit

#

just a guess

sour halo
#

I remember somebody here saying it made like 7k sales

#

that shit blew up

#

and then the free one came out

#

it's as good of a gimmick as carbridge

#

which should not have been $10

untold river
#

carbridge really broke out of the jailbreaking sphere

#

so much so that there are literally people asking refunds because they didnt know it required a jailbreak androidskull

undone nest
#

yeah its fucked

sour halo
#

lmao

undone nest
#

i saw someone buy it and after like 10
minutes we figured out they werent even jailbroken

sour halo
#

bro wtf

#

it installs a profile

#

nvm it's just surveys

#

anyway

undone nest
untold river
harsh needle
#

gm

#

me when clang stops me from doing pointer arithmetic on void*

#

highly sus

#
        uintptr_t x = (uintptr_t)image_info_buffer;
        x += sizeof(dyld_all_image_infos_64);
        image_info_buffer = (void*)x;
``` we do a little trolling
#

go trough the hundred compiler options

#

image info is read into the buffer, yes

#

i still dont wanna see chipmunks getting head

#

fr source

#
[+] Task found.
image_info_addr: 0x104370140
Path: /Applications/Spotify.app/Contents/MacOS/Spotify, Address: 0x102c88000
Process 15716 exited with status = 0 (0x00000000) 
(lldb) 
``` highly sus
#

isnt there a mach_* protection function?

#

frstache

#

time to figure out why it only gets me one entry

#

couldve told me this is image_info and not image_info_array smh

#
 : 0x2786bd478 
 : 0x2786bd748 
 : 0x278727ee8 
 : 0x2786c6988 
 : 0x2786c2900 
 : 0x2786e0cc8 
 : 0x2786d4b70 
 : 0x0 
 : 0x0 
 : 0x0 
 : 0x0 
``` ![trol](https://cdn.discordapp.com/emojis/831188670848565289.webp?size=128 "trol") path gone, address reduced to null
#

smh

#

okay something is wrong with my math on that shitty array

#

void get_some_bitches

#

cya

#

its so weird, when path is being read out correctly it would just loop trough the same entry, no?

#

ill uh

#

try my best

#

only needs to work on arm64 wdym

#

okay so just a diff seg name?

#

im not sure either, i havent touched arm64 asm at all

faint timber
#

I was just gonna post this

#

before you had the chance

#

doing hw for a little longer

#

mines due in 29 mins

harsh needle
#

mf was about to sleep

#

now does homework

faint timber
#

lmfao

#

I did it yesterday but I'm getting last minute jitters I need to rewrite some of it

harsh needle
#

now mf is lying to cryptic about doing homework frcoal

#

didnt even have the chance to touch computers at school

#

because they dont have any

faint timber
#

15% of my dev came from school

harsh needle
#

0

faint timber
#

cuz im in data structures c++

harsh needle
#

gonna cum in vocational college when i finally got IT

#

to get the title trol

faint timber
#

I'm retaking the class

#

I was a dumbass and didn't study last time

#

class of 2020 HS
I took 2 semesters so far but took last semester off

#

confidential

#

@grave sparrow just in time lol

harsh needle
lime pivot
faint timber
#

I was just adding comments lol I did this assignment in 2021 @lime pivot

lime pivot
#

oh lol really

faint timber
lime pivot
#

I won’t say I haven’t submitted a minute late knowing they’ll be nice enough to not penalise me for just 1 minute

faint timber
#

"the site crashed"

untold river
#

i submit at exactly the deadline for shits and giggles

#

sometimes

faint timber
#

a comp professor would understand a website crashing frstache

untold river
lime pivot
#

mfw submitted 11:59:59

faint timber
#

I couldn't even load my schedule for a week

untold river
lime pivot
#

my PB is something like “Submitted 6 seconds early”

untold river
harsh needle
#

"early"

faint timber
#

oops I froze my ida

#

thats the stringcount...

lime pivot
#

haven’t had that at least

faint timber
#

its weird how its 7.7 now and its still not well performed multithreading

lime pivot
#

I wonder if Moodle even supports that

#

usually they just say late submission = 0%

#

even though it still allows editing submission after the deadline

#

can’t say I’ve dared to submit after the deadline to test whether it disables initial submission uploads lmao

solid condor
#

How do I monetize a tweak and minimize the cracked and malware-injected versions? Is there a way to do that without drm and stuff? What’s the meta rn

harsh needle
#

well thats wrong, it slows it down

solid condor
#

Drm never works it’s just a waste of time

#

It takes you as long to make it as it takes them to reverse it

harsh needle
#

it does work

harsh needle
solid condor
#

Kind of redundant

harsh needle
#

nobody is forcing you to do it

#

i know that

#

its not secure, but the fact is it does slow down by a point

#

is it effective? no

lime pivot
#

can change in future but there hasn’t been someone super devoted to cracking tweaks in a few years

solid condor
#

Just basic string obfuscation? I don’t use logos so I could probably pull it off

harsh needle
#

trol use hikari

solid condor
#

Lmao

#

I tried

harsh needle
#

dont

solid condor
#

It wouldn’t even build

#

What’s wrong with it

solid condor
#

Isn’t it just o-llvm?

lime pivot
#

hikari will work even if you do use logos, I think at least

harsh needle
#

u do ur homework

lime pivot
#

may still need to regex to add hikari attributes to the logos generated functions though

solid condor
#

I don’t use logos or substrate tho I think it’s fine

solid condor
lime pivot
#

of course, remember in the end I could just, say, hook objc runtime funcs to see what you're doing

#

so whether you use common things or not doesn't make a huge difference

#

usually you're just doing what substrate etc would be doing for you

solid condor
#

I’m saying I don’t have to worry about regex and Perl

#

I don’t use substrate because of how it injects code I made a custom version that won’t trip advanced jailbreak detection

solid condor
lime pivot
#

interesting. any idea if that helps compared to what libhooker does?

solid condor
#

No idea

#

I’ve never looked at it

#

I looked at sams source of substitute and the code injection leaves so many traces

lime pivot
#

yeah that's fair enough. I mean I guess the idea is that it isn't a design goal to hide itself, but these days it's getting more important to

lime pivot
#

and other such hits as "the country of Norway (NO) is interpreted as false unless quoted"

#

would be nice to be paid for all the shit I do for this community for once

#

I simped my paypal link on everything since 2013 and get like 3x $5 tips a year

#

you're using the free version of Chariz! please wait 60 seconds to download at throttled speeds, or give us your credit card and we promise we'll only charge you a few bucks for unthrottled/non delayed downloads!

#

also please watch this full-screen ad and press the tiny X that's been intentionally hidden first

#

oops, guess we gotta block javascript for all repos to fix this one 🙃

faint timber
#

@grave sparrow this is one big rabbit hole mf

#

llvm-project

#

apple's cuz arm64e

harsh needle
#

holy shit what am i doing

#

i got it half working?

#

but either the char buffer got a fuck ton of newlines because i allocated it with max path

#

or idk

#

75??

#

what the fuck

#

it printed like 5

#

let me look at the imagecount

untold river
harsh needle
#

yeah it is 537

#
    dyld_image_info_64* image;
    void* buffer = malloc(sizeof(dyld_all_image_infos_64));
    printf("arraycount: %i", image_info->infoArrayCount);
    for(int i = 0; i < image_info->infoArrayCount; i++) {
            mach_vm_read_overwrite(task_port, image_info->infoArray + i, sizeof(dyld_image_info_64), (mach_vm_address_t)buffer, &size_out);

        char path_buf[MAXPATHLEN+1];
        size_t toread = MIN(MAXPATHLEN, -((dyld_image_info_64*)buffer)->imageFilePath & 0xfff);
        path_buf[toread] = '\0';
        kr = mach_vm_read_overwrite(task_port, ((dyld_image_info_64*)buffer)->imageFilePath, toread,
                                    (mach_vm_address_t) path_buf, &size_out);


        printf("%s\n", path_buf);
        }
```. it should loop over every dylib tho
#

and no i havent installed clang-format yet, im sorry

faint timber
#

yes lol

harsh needle
#

did it once with all threads frcoal in a shitty nzxt case

#

i got an airbase in my room

#

seems to be the wrong offset for the path somehow. sometimes path_buf is just empty or 5 times the same over the iterations

#

copy pasted both structs off there

misty cradle
harsh needle
#

its so confusing :/

misty cradle
#

L

#

dyldo

harsh needle
#

exactly the same

#
struct dyld_image_info_64 {
    uint64_t                    imageLoadAddress;
    uint64_t                    imageFilePath;
    uint64_t                    imageFileModDate;
};
``` im guessing this is right tho?
lime pivot
#

actually might be the only prominent place it can be found these days appleneutral

#

I recently set it globally on all hashbang and chariz repos on github though

misty cradle
#

everyone donate to hashbang productions

#

@lime pivot getting an error

#

This recipient accepts PayPal payments only through their website. To complete this payment, please go to their website and follow their instructions, or email the recipient for instructions.

lime pivot
#

wait fr

#

lmao that's right

undone nest
#

i can request money

lime pivot
#

I disabled payments because people were sending us money and then going "ok now can I have my tweaks"

misty cradle
#

ok where do i donate waa

lime pivot
#

bro why do you think we have a website that accepts your money and gives you access automatically

undone nest
#

maybe make a seperate paypal for donations?

misty cradle
#

i feel like i have too much money so i need to spend some.

lime pivot
#

I've been meaning to split up the "business" PayPal from the "store" PayPal

misty cradle
lime pivot
#

see, reading this seemed pretty clear to me that paypal.me would still work

#

obviously not

lime pivot
misty cradle
#

all?

lime pivot
#

yes, all of it

#

now.

misty cradle
#

ok

lime pivot
#

not that I would know if you sent anything

misty cradle
#

ok refresh now @lime pivot

lime pivot
#

ok WTF I didn't think you were actually going to send money lmao

#

but thanks peepoCryHeart

misty cradle
lime pivot
#

dammit I thought I had that emote

misty cradle
#

im not done yet

#

ok refresh again

lime pivot
#

that was just to test that it would go through right and you're actually going to send me $1,000,000?

misty cradle
#

i am gonna send you 10000$

#

i earned this with nft's TrollFormation

#

but in small increments of 10$

#

mr kirb are u happy yet

#

i guess not

high citrus
#

paypal fees be like i take 90%

misty cradle
#

ok more?

#

give me one moment pepeleave

lime pivot
#

reminds me of when I think Linus was trying to troll some other channel by sending superchats of $1 at a time and he got his credit card frozen for tripping the fraud detection 😂

misty cradle
#

F

#

@lime pivot refresh again

lime pivot
#

fr you don't need to do this bro but I love you man

misty cradle
#

no i love u

#

i have made too much money the past 2 weeks now i need to give some back

#

and u deserve it

lime pivot
#

tbh been feeling down lately because sales have been so terrible, haven't had motivation to work on [redacted chariz features] that would (hopefully) make it a strong successful business

misty cradle
#

ok now that amount of usd will give u extra motivation hopefully

vivid dew
#

i will buy chariz for pennies on the dollar

misty cradle
#

.

lime pivot
#

ngl I don't even know when people send donations until I do my taxes every year

misty cradle
#

you do that once a year? wtf

lime pivot
#

cause I have to disable incoming payment alerts

misty cradle
#

here businesses have to do it each quarter

lime pivot
#

I wouldn't have a life if PayPal were emailing me to say I've received $1.99 from [random customer name]

#

100 times an hour

misty cradle
#

f

lime pivot
misty cradle
#

ah

lime pivot
#

figured cause nobody donates anyway worst case my quarterly returns are off by a few bucks max

misty cradle
#

kirb's total donations went up by 5000%

lime pivot
#

you're just meant to estimate as best you can quarterly anyway, the real deal is the annual return

lime pivot
#

actually do tbh

#

it's just easier for tax reasons that I put stuff through the business

#

oh yeah, PayPal still shows a broken image icon for the Chariz account

misty cradle
#

is this ur 2nd account that i have to send money to

lime pivot
#

even though the logo shows up fine in your activity statement

lime pivot
misty cradle
#

which wise man said that you prolly made that up Troll

misty cradle
#

but then u dont get it

lime pivot
#

wait till I release gift purchases and buy 100 of every tweak

#

100 is the limit I set because, I guess I don't exactly want people buying 10,000 of a tweak and then going "wait can you give that back" and I'm out a massive PayPal fee

#

reminds me of that one dude who bought the $1,000,000 tweak

#

lmao

#

yeah no refunds on those

misty cradle
#

what if they open paypal case

#

like gift sender

lime pivot
#

I made it clear in checkout but I can 100% guarantee we'll get people saying we stole their money and our refund policy wasn't mentioned anywhere

lime pivot
#

so we see every instance when someone lies out the ass to PayPal thinking we can't see it

misty cradle
#

tru

lime pivot
#

usually ends in them never responding and the case auto-closing due to no customer response

misty cradle
#

now i have to find a way to send money to my bank from paypal

#

without having to wait

#

until tomorrow

lime pivot
#

they usually never come back so it's been fine without having to issue bans so far

#

I'm coming up with a system to ban PayPal buyers though

#

since we can see your PayPal account ID after you return from checkout (the checkout process just creates an authorisation, we then capture that authorisation i.e. take the money)

#

funny thing is they actually did the complete opposite

#

they granted us high-priority access to the PayPal business call centre and also enabled "Funds Now" which doesn't lock disputed funds away from you

#

you get to use the funds from that transaction per usual through a dispute, though they're still going to debit that amount from you if necessary

#

they do also frequently issue "nobody at fault" refunds, where we're not slugged a fee for the dispute escalation ending in a refund

#

(a refund costs us the variable % amount of the PayPal fee)

lime pivot
#

no clue whether that also means I get a higher-tier support person rather than one that's just going to tell me to turn it off and on again and transfer me 10 times when it inevitably doesn't work

#

can't say I've had to call in a while

#

when I first set up the account I remember being transferred like 4 times between people who had no clue what I was talking about

#

I was trying to request payouts API be enabled

#

and they were like ??? you want to pay people? did you know you can just do that on the website?

misty cradle
lime pivot
#

literally called the number listed directly under "payouts API: please call to enable"

#

to their credit, they've dramatically improved business customer service since then

#

ok yeah that also helps lmao

#

that said, when I did that the last person I spoke to was like yep no worries, enabled, thanks sir goodbye

#

the site still said call to enable so I figured ok fine it might be cached, I'll check tomorrow

#

still said that so I was like alright guess it just always has that message

#

later found out it was never enabled, tried to get it fixed but they insisted they've deprecated the payouts API now and aren't enabling it for new requests, but the replacement was a wildly different API that effectively turns you into the eBay model

#

where sales go straight to the seller's account but you have control over those sales as the facilitator, eg you can hold funds for a grace period

#

bruh I don't want that I just want what I asked for

misty cradle
#

true

lime pivot
#

this was a thing that happened

#

naturally, they asked me to DM with my account email, which I did, they told me to email a specific department

#

that department sent me to another department

#

that department said to call business customer service

#

wouldn't be PayPal without being bounced around the wrong departments and end up back where you started

#

hahah, my login timed out and it redirected to an ad for their loan thing

#

they hate that I dismiss it every time it begs me to take a loan

harsh needle
#

also multiple addresses referencing the same path?

#

seems like dyld_image_info_64 is not being read or the array is not being read correctly

#

since the address to the path is also null

misty cradle
#

fake your death

lime pivot
misty cradle
harsh needle
#

@grave sparrow le fixed it ```cpp
size_t info_size = sizeof(struct dyld_image_info_64) * image_info->infoArrayCount;
void* image_addr_buffer = malloc(info_size);
mach_vm_read_overwrite(task_port, image_info->infoArray, info_size, (mach_vm_offset_t)image_addr_buffer, &size_out);

dyld_image_info_64* image = (struct dyld_image_info_64*)image_addr_buffer;
void* buffer = malloc(sizeof(dyld_image_info_64));
printf("[+] Found %i images\n", image_info->infoArrayCount);
for(int i = 0; i < image_info->infoArrayCount; i++) { 

    void* buffer = malloc(PATH_MAX);

    mach_vm_read_overwrite(task_port, image[i].imageFilePath, PATH_MAX, (mach_vm_offset_t)buffer, &size_out);          

    if((uint8_t*)buffer) {
        printf("%s\n", (uint8_t*)buffer);
    } 
}
#

no fucking clue what i did wrong but it does work now

#

am i supposed to be scared that some of those libs just have no extension?

silver rampart
#

@harsh needle wyd

harsh needle
gusty pelican
misty cradle
harsh needle
silver rampart
#

yeah those are frameworks

harsh needle
#

do frameworks.. have no extension?

silver rampart
#

extension means nothing

#

its just a filename

harsh needle
#

i know

#

im just asking

silver rampart
#

frameworks are just fancy wrapped up dylibs ig, would be one way to put it

harsh needle
#

interesting

silver rampart
#

genuinely no differences in terms of the header/etc aside from the install name

harsh needle
#

hm alrighty then

harsh needle
#

am i right to assume the load commands start at imageLoadAddress (base address of the dylib) + sizeof(mach_header_64)

silver rampart
#

yes

#

mach header will encode info about the count and size of lcs in an image

harsh needle
silver rampart
#

its a struct with values pertaining to those

harsh needle
#
uintptr_t load_command_offset = info.imageLoadAddress + sizeof(mach_header_64);

        for(int i = 0; i < header->ncmds; i++) {
            void* cmd_buffer = malloc(sizeof(load_command));
            struct load_command* cmd; 

            mach_vm_read_overwrite(task_port, load_command_offset, sizeof(load_command), (mach_vm_offset_t)cmd_buffer, &size_out);

            printf("dylib: %s cmd: %u\n", info.imageFilePath, cmd->cmd);
            load_command_offset += cmd->cmdsize;
        }
``` this is my current approach, the reason i was asking this is because cmd always changes when i rerun it, and all load commands of a dylib are the same
harsh needle
#

trol maybe i should actually cast cmd_buffer to cmd?

#

seems to work now, apart from these weird cmds sometimes

#

not sure what theyre caused by

silver rampart
#

nah that's a proper lc

primal perch
#

anyone else lose the ability to focus when you see the word “mach”

silver rampart
#

display it as hex and it'll make more sense

primal perch
#

as it turns out i’ve heard the same thing from a lot of other people @silver rampart

#

maybe i will go android next time

#

it’s not bad

silver rampart
#

as long as u get a good phone

#

same problem as windows in that some of the OEMs are kinda shit

primal perch
#

one plus looks kinda good

silver rampart
misty cradle
#

@tardy narwhal gm

#

when a project says dotnet 5.0

#

they mean to install dotnet 5.0 or higher and then make a project with not .net framework but the standard one right

primal perch
misty cradle
#

when i try to install with .net framework 4.8 i get an error

silver rampart
ocean raptor
#

is it possible to follow an org on github?

silver rampart
primal perch
ocean raptor
#

who here knows go?
Basically I have a go file that does

//go:cgo_import_dynamic libc_execve execve "/usr/lib/libSystem.B.dylib"

but I need it to do this

//if +ios
//go:cgo_import_dynamic libc_execve ie_execve "/usr/lib/libiosexec.1.dylib"
//else
//go:cgo_import_dynamic libc_execve execve "/usr/lib/libSystem.B.dylib"
primal perch
#

have you tried GOing online

gentle grove
#

trol

primal perch
gentle grove
#

rust users when the unsafe {

primal perch
#

rust users trying not to poop and pee their pants when i name a function camelcase

glacial matrix
primal perch
#

or not, if you’re unlucky

lime pivot
#

👅

lime pivot
glacial matrix
#

unlicky
thonk

primal perch
#

chariz +

#

only 3.99/mo

#

sorry guys ios autocorrect is balls

lime pivot
#

I mean I’d make a subscription service I just literally don’t have anything I can sell ongoing like that

#

not yet at least

primal perch
#

chariz loot crate

#

comes with a box of random merch

ocean raptor
#

who wants to test golang 1.17?

misty cradle
#

ah ok ty

#

tried making .net framework but that didnt work

silver rampart
misty cradle
#

hmm so im using .net core now or wut

#

im confused

#

yeah ok nvm

#

it says .net core

harsh needle
#

thanks ^^

#

i guess i will now be looking at LC_SYMTAB?

misty cradle
#

aha okay thanks for that

#

good to know

silver rampart
#

what are u guys doing

faint stag
#

i go to github and this is the first thing i see frcoal

harsh needle
#

frcoal what the fuck

harsh needle
#

frcoal breaking the whole obsecurity part

faint stag
#

i mean, the source code won't really be useful if you're working with a compiled app already

harsh needle
#

fr what

faint stag
#

i'm assuming their claim that the names are random, encrypted and irreversible are true

#

alongside with it making entirely new ones if swiftshield gets run again (eg: app updates)

tepid olive
#

Guys anyone there

lethal kayak
#

just ask your question

#

dont ask to ask

tepid olive
#

My dylib shows like default file

#

But it has to shows like the down pic

#

it dont have logo on his own

#

What should i do

tardy narwhal
#

the nomenclature is stupid

#

dotnet -> .net core
anything else -> .net framework
C# x.y -> referencing the c# standard which varies between dotnet & .net framework because dotnet 5+ uses C# 8+ while .net framework 4.8 is still C# 7.3

weary heath
tepid olive
#

Please help me

#

idk about it

#

Also your banner op

#

Can you explain it more

#

@weary heath

primal perch
tepid olive
#

...

#

help?

#

this server should more than uhh

primal perch
weary heath
tepid olive
#

okey

#

What type

#

Su

#

Password

#

After that

weary heath
#

what

tepid olive
#

What command

weary heath
tepid olive
#

should i choose file first?

weary heath
#

I think that might work yeah

tepid olive
#

cd (location)

#

?

weary heath
#

Perhaps

tepid olive
#

Cant

weary heath
#

chmod +x app.dylib

tepid olive
#

Term cant see file with cd im sure right location

weary heath
#

run ls

tepid olive
#

Yea worked

#

Thanks

silver rampart
#

interesting

#

well, it points to a table containing function starts

faint timber
#

@grave sparrow how do you verify if its la symbol pointer or got

silver rampart
#

my parser doesn't actually handle the func starts table rn so I'm going to work on that this morning

#

note: LC_FUNCTION_STARTS is a linkedit_data_command if you're planning on loading it

faint timber
#

how do I do that lol

silver rampart
#

bout to learn bc i have no idea

#

ulebs are great though

#

but there's no reason i can think of for uleb usage

faint timber
#

runtime because the pointer changes every exec

silver rampart
#

i lied

#

its entirely ulebs

#

get the info size from the data command and decode ulebs till you run out of data

#

how

#

have you read the wikipedia page on it

#

somehow manages to actually be a really good explanation/intro to unsigned/signed lebs

#
  • it has psuedocode
#

not actually how sure function starts is except for debugging

#

lord i fucked up that sentence as well

#

ok i finished function start parsing

#

uleb decoding is simple enough

#

wait i fucked it up i think

#

oh i get why it uses ulebs now

primal perch
silver rampart
#

still fucked it up oop

#

turns out all of my vm code is fucked up

#

ok pog

#

here's the actual valid code @grave sparrow

#

where image.vm.vm_base_addr is the vm address of the segment with the file offset of 0 (and a nonzero size)

#

depends on what exactly you're doing

harsh needle
#

oops @silver rampart didnt know you were referring to me, sorry for not responding ^^

primal perch
#

seems like a believable anecdote

hardy glen
#

pe/nis is my pronouns

harsh needle
#

i thought it was k/ext

hasty ruin
#

capt

#

more like

#

clapt

#

because he’s clapped

#

‼️

vivid dew
#

squid games

hasty ruin
#

:shock:

harsh needle
#

trol guess ill code it further at work, got nothing else to do anyways

#

still waiting 6 months to go to college trol

ocean raptor
lime pivot
gentle grove
#

if redis is so cool why isn't there blueisnt

gentle grove
#

you need it to get degree

#

job

#

you can try to get hired without degree then

#

but its not as easy

#

im not the right person to talk about this

#

wow

#

we totally didnt know that

primal perch
#

if you’re paying hundreds of thousands of dollars you’re doing it wrong

#

just get better then

#

schools will do merit on their own

#

outside of the government

#

unfortunate

#

have you tried not being in california

vivid dew
#

true

#

move to louisiana

primal perch
#

move to idaho and you’ll be top 0.1%

#

unironically worked for my brother

#

he went there senior year and got money

cloud yacht
#

california is bad cause everything gives you cancer there

primal perch
#

he was mediocre otherwise in grades

#

and score

#

bad

gentle grove
#

what

restive ether
#

it’s even worse because it’s based on joint income and the threshold is really easy to exceed, even if your parents couldn’t afford to send you to college on their own

primal perch
gentle grove
#

how are you asking questions on th english section

restive ether
#

i got lucky in that regard that i didn’t have to put my dad’s income when filing

#

or else i would’ve been screwed

primal perch
#

fortunately i got free tuition in state because of merit so i’m kinda bing chilling

gentle grove
#

myai

primal perch
#

rip

#

you got population’d

primal perch
#

true

gentle grove
#

do they use rust

#

merit rust

primal perch
#

hope not

gentle grove
#

there;s rust in everything

primal perch
#

i don’t need transactions taking 3000 years because they gotta recompile

gentle grove
#

anything that has iron

#

certainly has rust

primal perch
#

expensive ass college

gentle grove
#

wait theres no rust in minecraft

primal perch
lethal kayak
#

were you online

primal perch
#

college is obsolescing themselves

gentle grove
#

whjat is obsolescing

primal perch
#

a lot of resources online are free and published by universities

#

lmao

gentle grove
#

lamo

primal perch
#

imagine 15K for online

lethal kayak
#

they're charging normal tuition for online

primal perch
#

shits not even worth 1k

#

Moyai

lethal kayak
#

if that happens to me i'm unironically withdrawing

primal perch
#

true

#

same

#

i mean

#

id do some onljne

#

like generals

lethal kayak
#

if it was cheap enough i'd be like "ok this sucks"

#

but at the insane prices they have

primal perch
#

but not higher level cs classes

#

os theory

lethal kayak
#

fuck no

primal perch
#

that kind of shit

restive ether
#

there’s a reason tuition is so expensive

#

it’s a pretty simple reason

#

the government raised how much money they give you for tuition and the universities were like wait a second bro we can just raise tuition by exactly how much more they give

primal perch
#

board meetings “lol these bozos are paying 10000 per semester for online learning”

#

clowns

restive ether
#

when the your prison cell dorm cost more than your tuition

primal perch
#

when the

lime pivot
#

but America loves to let companies get away with price gouging and abusing the law for profit, and brand it as capitalism working as designed

#

@ocean raptor so looks like update-alternatives works on telesphoreo

#

any specific way you'd like me to configure cephei defaults?

#

I think it'd make sense if your defaults can be higher priority than cephei's, if such a thing exists

#

ok I see, priorities are indeed a thing

ocean raptor
#

I sent you a the postinst

lime pivot
#

so yours is 50, I'll make mine… 30 or something? idk what sounds appropriate

ocean raptor
#

I'll find it

lime pivot
#

oh oops

#

I didn't find it on the github repo btw

#

only in the deb

ocean raptor
#

can't find it 💀

restive ether
ocean raptor
misty cradle
#

Managed to refund 4k to the scammed people already cutePepeWave

restive ether
#

cap being the highest your copay can be at least, which doesn’t address the price gouging itself

lime pivot
#

maybe we only talked about it, you didn't give me an actual command to use, I guess

misty cradle
#

The only problem is this remaining 4.8k.... I can't link the money to them in any way Pain_ADCrypto

lime pivot
#

but I'll just copy what you did

primal perch
#

looks like you collected a finders fee @misty cradle

ocean raptor
#

postinst:

#!/bin/sh
if [ "$1" = "configure" ]; then
  update-alternatives --install /usr/bin/defaults defaults /usr/bin/defaults-cephei 30
fi

prerm:

#!/bin/sh
if [ "$1" = "remove" ]; then
  update-alternatives --remove defaults /usr/bin/defaults-cephei
fi
lime pivot
#

yep pretty much

ocean raptor
#

change defaults-cephei to whatever you called it

ocean raptor
lime pivot
#

I'll try it at least

#

should be able to install the defaults deb on this device, iOS 10

ocean raptor
lime pivot
#

lmao

restive ether
#

cydia when conffile

misty cradle
#

i'm gonna donate like 800$ or 1k of it

#

Rest i'll hold for other victims

lime pivot
#

bless you for doing that

#

ahhh we were so close @ocean raptor

#

maybe I can just mkdir -p that

#

that worked

ocean raptor
misty cradle
#

any other REAL devs in need of money

lime pivot
#

heh only reason I can't install your defaults on telesphoreo is because of zst

misty cradle
#

⁉️

ocean raptor
#

it's also built minos 12.0

lime pivot
ocean raptor
#

cool

lime pivot
#

yeah, can't run it because dyld: Library not loaded: @rpath/libiosexec.1.dylib Referenced from: /usr/bin/defaults Reason: image not found Abort trap: 6

#

but it updated as expected, so that's perfect

ocean raptor
#

true

#

imagine running a jb that isn't kppless 🥲

lime pivot
#

🥲

#

this actually is on the last kppless jb

faint timber
lime pivot
#

it's not my binary

faint timber
#

its not my problem

lime pivot
#

this is iOS 10.3, I'd say it's nobody's problem lmao

#

not meant to run here anyway

faint timber
#

is libiosexec constructor only or does the original binary call from it @ocean raptor

restive ether
#

joe binary

ocean raptor
faint timber
#

install_name_tool -delete_rpath @rpath/libiosexec.1.dylib /usr/bin/defaults

ocean raptor
ocean raptor
lime pivot
#

unrelated, I have a phone on 12.4 chimera, am I supposed to be able to upgrade it to pro somehow

faint timber
#

I'm a chad and always build for 1300

ocean raptor
lime pivot
#

not a chad till you're maintaining support for iOS 5.0+ in 2022 trol

ocean raptor
#

procursus stopped supporting upgrade paths when we debianized everything

lime pivot
#

I'm sorry

#

👑

#

this is for you

faint timber
#

I'm finally removing the c

#

since its supposed to be c++

lime pivot
faint timber
#

should not be using fopen in 2022

#

unless the project is actually c

sour halo
#

well are we talking after account creation or during account creation

sour halo
#

Oh then yeah

ocean raptor
#

realityOS

primal perch
#

among us

vivid dew
#

wtf wtf wtf

#

realityos

lyric timber
#

macrumors is asleep

#

didn't report on this yet KEKW

faint timber
harsh needle
#

vocational college, and its free here anyways

harsh needle
harsh needle
#

@grave sparrow trol for some reason segname is hella corrupted sometimes, segment_command whack

#

and its always on these high fucking cmd values

#

0x80000033 kinda sus

harsh needle
#
if(lc->cmd > 0x80000000)
   lc->cmd -= 0x80000000;
``` @grave sparrow we do a little trolling?
#

LOL

harsh needle
#

guess its time to learn something new

#

👌

faint timber
#

use binary to visualize how this actually works

harsh needle
#

interesting, clearing LC_REQ_DYLD still hits my LC_SEGMENT_64 case even tho 0x33 != 0x19

#

trol its probaly default i had added before and didnt see

harsh needle
#

Okay so the problem is that  ```cpp
lc = (load_command*)cmd_buffer;

        if(lc->cmd & LC_REQ_DYLD) { 
            lc->cmd &= ~LC_REQ_DYLD;
        }

        switch (lc->cmd) {
            case LC_SYMTAB: {
                symtab_lc = (symtab_command*)cmd_buffer;
            };
            case LC_SEGMENT_64: { 

mach_vm_read_overwrite(task_port, load_command_offset, sizeof(segment_command_64), (mach_vm_offset_t)cmd_segment_buffer, &size_out);

                sc = (segment_command_64*)cmd_segment_buffer; 
#

which is really weird, since cmd should stay the same, since segment_command_64 is just a a bigger struct but starts withe the same types/variables load_command does

harsh needle
#

uh are there multiple __LINKEDIT segments?

wispy delta
#

is it possible to develop apps on windows/linux?

harsh needle
#

@grave sparrow how are you reading the string table

nimble parcel
nimble parcel
nimble parcel
#

there are still a few bits missing that prevent it from being a streamlined workflow (https://github.com/theos/theos/issues/286 is outdated but mentions some relevant stuff), but it gets the job done in a pinch

GitHub

Theos should be able to build apps for releasing on the App Store. This would allow apps to be built on a non-Mac platform. Theos can already support building a full-blown real-deal app, including ...

#

in fact most of the stuff mentioned in that issue is resolved now, which means the primary missing bits are

  • asset catalog compilation
  • better app extension support
  • signing and sideloading (I’m working on this with Supercharge but you can use other tools to manually do this for now)
indigo peak
#

😐

runic echo
#

could some one help me with simject installation ?

silver rampart
runic echo
silver rampart
#

where are you installing it from?

runic echo
silver rampart
#

there shouldn't be a ./configure file referenced anywhere in the install scripts, its all pure makefile

runic echo
#

If you use Xcode 10 (and above) and target iOS 12 (and above), you need to rely on substitute rather than cycript's included CydiaSubstrate.framework.

harsh needle
ocean raptor
#
#!/bin/sh
page=1
while [ $(curl -s https://api.github.com/orgs/apple-oss-distributions/repos\?per_page\=100\&page\=$page | jq '.[].full_name' | wc -l | xargs) -gt 0 ]; do
    for repo in $(curl -s https://api.github.com/orgs/apple-oss-distributions/repos\?per_page\=100\&page\=$page | jq -r '.[].full_name'); do
        git clone https://github.com/$repo --bare
    done
    page=$((page + 1))
done
untold river
#

should have also sprinkled in --depth 1

ocean raptor
#

it's only like 6G in total

untold river
#

lol

#

how long did it take

lime pivot
silver rampart
#

have had it starred for like a year

ocean raptor
harsh needle
silver rampart
#

as long as you're reading it in properly

#

only reason segment_command's size is relevant is for iterating through the list of lcs and checking the amount of sections in that segment_cmd

harsh needle
#

i also fucked up more shit since the link and text segment is the same pointer for me lol

silver rampart
#

oh yep

#

i just read the raw first 4 and 2nd 4 bytes as cmd and cmd_size before i load any actual structs from the bytes

#

so i know what struct i need to load in instead of needing to do it twice

harsh needle
#
for (int i = 0; i < header->ncmds; i++)
        {
            mach_vm_read_overwrite(task_port, load_command_offset, sizeof(load_command), (mach_vm_offset_t)cmd_buffer,
                                   &size_out);
            lc = (load_command *)cmd_buffer;

            if (lc->cmd & LC_REQ_DYLD)
            {
                lc->cmd &= ~LC_REQ_DYLD;
            }

            switch (lc->cmd)
            {
            case LC_SYMTAB: {
                printf("[+] LC_SYMTAB found.\n");
                symtab_lc = (symtab_command *)cmd_buffer;
            };
            case LC_SEGMENT_64: {
                mach_vm_read_overwrite(task_port, load_command_offset, sizeof(segment_command_64),
                                       (mach_vm_offset_t)cmd_segment_buffer, &size_out);

                sc = (segment_command_64 *)cmd_segment_buffer;

                switch (*(uintptr_t *)sc->segname)
                {
                case 92738097012575: { // __TEXT
                    printf("[+] __TEXT found.\n");
                    text = sc;
                    break;
                };
                case 4919420967581409119: { // __LINKEDIT
                    printf("[+] __LINKEDIT found.\n");
                    link = sc;
                    break;
                };
                }
            };
            }
```  im doing some crackhead shit
harsh needle
#

alright that does look correct other than the posts i have been looking at

hardy glen
#

this is the type of wallpaper i would expect @grave sparrow to have except in arm

primal perch
#

ldr x0, [x7]

misty cradle
#

RealityOS
we getting Apple VR
⁉️

torn oriole
#

RealityOS leek when

feral heath
#

Would definitely go to 14.3

harsh needle
#

first thing ill do is remove malloc from the symbol table

#

unsafe

#

bad

vivid dew
#

go ahead

#

post a windows screenshot in unixporn and see how long it takes them to notice

restive ether
#

die

misty cradle
#
Microsoft On the Issues

Today we’re announcing a new set of Open App Store Principles that will apply to the Microsoft Store on Windows and to the next-generation marketplaces we will build for games, in part to address Microsoft’s growing role and responsibility as we seek regulatory approval for our acquisition of Activision Blizzard.

#

.

#

Microsoft taking W’s only recently

indigo peak
#

fr
theos has so many little things, eg:
make do -> make package install

misty cradle
#

Microsoft’s choices after seeing what apple does

#

Developer Choice:
We will not require developers in our app store to use our payment system to process in-app payments.

We will not require developers in our app store to provide more favorable terms in our app store than in other app stores.

We will not disadvantage developers if they choose to use a payment processing system other than ours or if they offer different terms and conditions in other app stores.

vivid dew
#

microsoft being based for once

gentle grove
#

ill say it's a kde setup

misty cradle
#

they been based the past few years

gentle grove
#

minecraft best

lime pivot
#

Apple doomed themselves to have the rules be made up for them by politicians who will never understand their tech stack as well as they do, instead of them coming up with the rules

#

which will also affect Microsoft, even though they already probably are mostly in compliance with whatever bills get written up

#

related, Gruber, surprisingly, had a very down-to-earth piece on it and for once gave Apple shit for solving nothing and just dooming themselves to stronger regulation https://daringfireball.net/2022/02/going_dutch

ocean raptor
#

Pink Floyd is so good

#

🙃

primal perch
lime pivot
#

ok yeah actually that makes perfect sense

misty cradle
#

Microsoft been on the right path for the past years anyways

#

Especially on Xbox since Phil Spencer took charge of it

#

Without him, it would've died

primal perch
#

we just pretend that didnt get released yet

misty cradle
#

i only associate microsoft with xbox Troll

#

windows is made by a different team.

vivid dew
#

xbox and windows will merge within 2 years

lime pivot
#

can't wait for Winbox

vivid dew
#

it's the most logical option

#

integrate the dashboard into windows proper, then make every xbox actually a windows pc that autoboots into that

#

with some sort of hammy option for making it work like normal windows

hardy glen
#

I think this would do real good on r/unixporn since its doing really good on the discord

primal perch
#

no neofetch

#

downvoted

hardy glen
#

I will never download neofetch

untold river
lethal kayak
torn oriole
lethal kayak
#

linux users typing neofetch

torn oriole
#

non neofetch users trying to flex their random abstract linux distribution

gentle grove
torn oriole
gentle grove
torn oriole
#

yes

hardy glen
#

I just use arch. Idk why i would need any other distro tbh

primal perch
#

btw

hardy glen
#

Unless you are a debian user then i guess living life like a pussy does not have any harms fr

primal perch
#

debian on servers 👌

hardy glen
#

Fax

#

Actually debian is stable asf so its good for beginners

primal perch
#

for all my computing though i stick with windows/macos dual boot

hardy glen
#

Less room to fuck up

#

I would use windows if i ever had the need to use visual studio or gaming

#

Which i probably will in the future

#

I used to main windows until i switched to arch. And now i dual boot arch/mac and also got a m1 air which i barely touch. I should start app dev with swift on m1 ngl

#

About to change my wallpaper to grass and turn down my terminal opacity for the next mfer that tells me to touch grass

gentle grove
#

touch pavement

hardy glen
gentle grove
primal perch
gentle grove
#

in order to touch the pavement

#

also that looks like a wooden deck

#

what does it look like without blur

hardy glen
gentle grove
#

that wasnt whta i had in mind for pavemtn

hardy glen
gentle grove
#

is that your hand

hardy glen
#

yea sure

#

i went out rn and touched a pavement

gentle grove
hardy glen
#

true

#

its ironic i suffered through that shit on windows 10 with my cpu being 100% for like 10 minutes straight because windows defender and 100 other things

#

actually back when i had a hdd my hdd would be at 100% usage like 24/7

primal perch
#

believable

#

windows is brutal on disk

primal perch
#

true

#

like honestly

#

at least it can

#

a program being open source doesnt change my usage of it at all

#

its just a moral flex

#

that linux users love to do

tepid olive
#

gimp users

primal perch
#

fr

hardy glen
#

idrgaf if its open source. one opensource shit i stand behind is probably neovim

tepid olive
#

gimp ui be like

primal perch
#

yeah i dont hate nvidias linux drivers because theyre closed source

#

i hate them because X runs like asswipe

primal perch
#

no i dont think i will

hardy glen
#

wait i heard pulseaudio is being replaced by pipeserver or someshit

tepid olive
#

catalina users are the windows 7 users of macos

primal perch
#

true

hardy glen
primal perch
#

which is good tbh bc pulse sounds like butt

#

i can hear music being compressed in its mixer

#

compared to direct bitstream to my dac

hardy glen
#

yea i don't really listen to music on this shitty dell that much

primal perch
#

on windows and mac i dont bother with direct bc the mixers arent terrible

#

i just set 44.1khz 32bit and forget

#

anything above 16bit is a waste anyway but my dac does 32 bit so might as well

hardy glen
#

never tried wayland, idk if its stable enough for me to jump on. I would start hopping on the new wave of using pipewire/wayland etc but i want a stable system too

primal perch
#

since you dont game u probably could use it fine

#

its bad with gaming rn

hardy glen
#

so i guess i am just gonna wait till i get a pc and start using windows

#

lmao

primal perch
#

i think it still has forced vsync in games