#development

1 messages · Page 452 of 1

tepid olive
#

Just install substitute if you hate lh that much

restive ether
#

oh

#

you weren’t talking to me

tepid olive
#

True

restive ether
#

what’s wrong with LH

tepid olive
#

Thought u still hated LH

#

Idk i remember tale saying it never worked

gaunt mesa
#

idc about LH

#

i'm willing to try again

#

and waste an hour

primal perch
#

LH is horrible

restive ether
#

lol someone told me substitute dies after injecting more than 3 dylibs

primal perch
#

daddy saurik didnt make it so its bad

gaunt mesa
tepid olive
#

This is too true

restive ether
#

stupid fucking cat

tepid olive
gaunt mesa
#

nah @tepid olive i just haven't used a procursus strapped jailbreak cuz i'm lazy

#

i have a test device on taurine

tepid olive
#

Same man

gaunt mesa
#

but that's not usable

tepid olive
#

I just dont jailbreak cuz im lazy usually

tepid olive
gaunt mesa
#

i don't jailbreak my main anyways

restive ether
#

oh wait

tepid olive
#

I do now

restive ether
#

i have doas installed

tepid olive
#

I like programming on the go

restive ether
#

forgot about that

gaunt mesa
#

i just ssh into my VM

tepid olive
#

ok fish works now i guess

#

shoutout whoever did whatever to fix it

restive ether
gaunt mesa
#

fuck society

gaunt mesa
#

im playing call of duty tonight

restive ether
#

i used it before this update too and it worked fine

tepid olive
restive ether
#

so i think you just suck

tepid olive
gaunt mesa
primal perch
restive ether
#

waiting for da newterm 3.0

tepid olive
gaunt mesa
#

i'll take another shot at procursus strap when 14.4 jailbreak comes out

restive ether
#

don’t use newterm(3) it’s buggy and unusable, i don’t even know why you can download it

restive ether
#

wait

gaunt mesa
#

someone tell me how libhooker

restive ether
#

oh

gaunt mesa
#

how to fix

restive ether
#

never mind

gaunt mesa
#

sudo /etc/rc.d/libhooker

restive ether
#

i realized nekofetch is on pro but i’m not installing 20 depends

gaunt mesa
#

uhhfetch

tepid olive
#

I like libhooker. Its got a cute little icon

restive ether
#

thanks alpha

tepid olive
#

Alphas designs are great

#

No joke

gaunt mesa
#

honestly my perception of libhooker wouldn't have sucked if it worked for me first try

tepid olive
#

One of my fav designers in this community

primal perch
#

lh injects into apps way faster ive found

restive ether
gaunt mesa
#

maybe if it was open sourced troll

tepid olive
#

I want the dyld3 in LH >:^|

gaunt mesa
#

just cuz saurik doesn't open source substrate doesn't mean we have to stoop to his level

restive ether
gaunt mesa
#

nothing happens in this shitthole community

tepid olive
restive ether
#

nothing happens because we spent the last decade being ok with shitty standards

tepid olive
restive ether
#

like repos weren’t even that secure until like 2-3 years ago lol

gaunt mesa
#

i'm in hayden's server

restive ether
#

i mean even now the ability for the user to confirm it is, lacking

#

like not being able to see the scripts

#

i think all package managers should allow you to view that kinda stuff

next wadi
#

ame

tepid olive
#

Gonna see on sileo if i can add Installed Files support even without having the package installed

next wadi
#

taurine has been installing sileo for 3m now monka

tepid olive
#

Just need the Contents file

next wadi
#

data.tar.gz

steady nest
tepid olive
next wadi
#

ayo???

tepid olive
#

U already KNOW

next wadi
#

havent seen that one yet

restive ether
next wadi
#

data.tar.deez.nuts

tepid olive
#

Its cute and special

next wadi
#

its been

#

5m now

steady nest
restive ether
#

that was just an example

tepid olive
restive ether
#

there’s a lot of other details to talk about

steady nest
#

I don't disagree in making them safer btw

tepid olive
#

How hard is it to add more secure hashing to your repo? Literally an apt upgrade or brew upgrade away

gaunt mesa
#

lol

steady nest
#

those little steps are always nice

#

but stopping stuff like the mainrepo shit, how would we do it?

restive ether
#

allowing this community to get as closed source as it is was obviously a big mistake

restive ether
tepid olive
#

I agree with that, education issue

restive ether
#

if you wanna pirate be ready to expect consequences ngl

#

like you got it for free bro they gotta make something off that someway

gaunt mesa
#

how about

#

all of the developers

steady nest
#

they don't in cracked games for example

gaunt mesa
#

send cracks of their paid stuff to mainrepo

#

and bundle ridiculous malware in it

#

that'll educate the 9 year olds fast

#

make it jumpscare u at 2 in the morning

restive ether
#

i feel like someone did

gaunt mesa
#

idk

restive ether
#

sounds like a limneos move

#

except with a bootloop

steady nest
tepid olive
#

Unironically this

gaunt mesa
restive ether
#

that’s why i think muirey’s done a good job

gaunt mesa
#

and stop using it

tepid olive
restive ether
#

his drm is just like

#

hey dumbass

#

you’re a pirate

#

here’s a song

steady nest
#

that's one tweak

gaunt mesa
#

muirey's drm violates dynastics and chariz's terms

restive ether
gaunt mesa
#

it's considered malicious

restive ether
#

packix moment

steady nest
#

do you think the virus stuff they got had much impact?

#

I don't think so

restive ether
#

no because their users are stupid and think devs lie to scare them

#

which fair okay

gaunt mesa
#

users are stupid in general

restive ether
#

but when reputable security sources who have no play are like

tepid olive
#

I am going to release a rootkit on packix under an alt

restive ether
#

“lol this is literally malware”

gaunt mesa
#

they somehow find the most obscure bugs

restive ether
#

then you’re just an idiot

gaunt mesa
#

and then complain about it

#

and then i can't even reproduce this shit

tepid olive
restive ether
tepid olive
gaunt mesa
#

"lyricify viewcontroller turned pure white"

#

like how tf

restive ether
#

i mean all pirate repos have malware essentially

#

intentionally adding shit to the host file

tepid olive
#

another playthru lessgooooo

restive ether
#

such a good album

tepid olive
#

my shit

#

ok thats it

#

openjdk update time maybe

#

depends on how sad i get looking at it

restive ether
#

The patches are horribly ugly, pay no mind.

TODO: Try and get libjsound working.

tepid olive
#

the comments of a desperate man

restive ether
#

down bad

steady nest
#

what java does to a man

restive ether
#

going to add a shell written in JS

tepid olive
#

remove this mans push access immediately

primal perch
#

i too love using a terminal built on web technologies

#

@restive ether unfortunately i think he missed

restive ether
#

32 bit

primal perch
#

and 300mb

restive ether
#

is the app in electron lol

primal perch
#

yea lmfao

restive ether
#

L

#

honestly not surprising

primal perch
#

i think spotify even is too

#

maybe not tho

tepid olive
#

loading music from ram improves sound quality

restive ether
#

the introduction of electron was the biggest mistake in development history

tepid olive
#

random access music, duh

restive ether
primal perch
#

why

tepid olive
#

windows 8

primal perch
#

yeah lets have there be a 1 second delay from when you start teh command

#

so it can load the js runtime

restive ether
#

sounds good

#

how about this

primal perch
#

thats just bash but new™️

restive ether
#

go shell go shell

primal perch
#

ncow ncow

restive ether
#

oh

primal perch
#

lmfao

restive ether
#

nothing came up when i typed that

#

but ok discord

primal perch
tepid olive
primal perch
#

true bro

gaunt mesa
#

bash but new?

#

nash

tepid olive
#

nbash

primal perch
#

nbash

#

nbash

tepid olive
#

new Shell

#

nsh

#

not a bad name

#

so

#

i just went to google "rediff" to see if there was a magic tool to take old diffs and make them work with changed code

#

and safari was genius and autolinked me to the exact thing i needed

gentle grove
#

ZSH

#

me when p10k not on iOS

primal perch
#

safari on ios chad

#

safari on macos virgin

halcyon vault
#

what does this mean?

#

is it line 13

#

nvm i got

#

whats the syntax for commenting in makefile?

pearl sail
#

this is a comment

gentle grove
#

Rolex your name is commented out

restive ether
#

and p10k needs /dev/fd

gentle grove
#

oh is that what it is

#

is that like the <() bashism stuff

#

need a solution

#

idc about the fonts

restive ether
#

i think the biggest issue i had wast the fd part

#

still needs a patch

gentle grove
#

yeah that would be an issue

#

iPhone:~ mobile% cat <(ls) <(ls a)
cat: /dev/fd/11: No such file or directory
cat: /dev/fd/12: No such file or directory

#

chopped off to hide my irl name

halcyon vault
#

wait

#

yeah i dont get this

#

its telling me to put theos_device_ip in my environement, when i did

primal perch
#

try export THEOS_DEVICE_IP = ...

#

idk almost anything about bash except ik it works

halcyon vault
#

ayy that worked

#

it was THEOS_DEVICE_IP=... tho, no spaces

#

does that mean i dont need it in the makefile now?

gaunt mesa
#

u gotta export it in ur zprofile

#

or whatever

halcyon vault
#

echo "export THEOS_DEVICE_IP=192.168.1.79" >> ~/.profile

#

like that?

lime pivot
#

loool I didn’t realise it recorded system audio

#

pls fix

next wadi
#

agree

primal perch
#

there you are

tepid olive
#

See Live Cricket Scores 😍

lime pivot
primal perch
#

NUL

lime pivot
#

ok I fixed the layout problem now

tepid olive
#

naño

lime pivot
#

turns out I was dumb and ignoring NULs

#

you're actually meant to insert a space where there's a NUL apparently

primal perch
#

yea true

#

big sur is clean af

lime pivot
#

oh and I want to point out with literally zero effort NewTerm renders the SF Symbols in my prompt correctly unlike a certain popular macOS terminal emulator

primal perch
#

too bad my mini 2011 has a gpu thats too old

#

with patches my highest is catalina

lime pivot
#

TBF I saw the iTerm2 guy discussing unicode rendering problems with the gnome-terminal guys and they're all like 🤷‍♀️ idk what to do about it

#

notice how iTerm just randomly decides some emoji are the wrong width

gleaming wave
#

I'm getting posix_spawn(): 85: Bad executable (or shared library) after replacing a system daemon with a fake signed binary

#

anyone know what would be causing it to not run?

#

(tether booting)

lime pivot
#

why would you do that?

gleaming wave
#

ios 8, I need to way to load launchdaemons after boot

#

etasonjb symlinks javascriptcore binary to rtbuddyd

#

i'm just trying to replace it with a normal binary since kernel has already been patched from the tethered boot

tepid olive
primal perch
#

use Terminal.app

tepid olive
lime pivot
lime pivot
#

gonna release 3.0 beta 1 soonish with the caveat that it doesn't have scrollback yet

tepid olive
#

thats a big good and a big woe

#

excited

lime pivot
#

I think SwiftTerm dude just forgot to mark the scrollback buffer as public, that should be the only issue

#

hopefully

primal perch
#

nice now iterm 2 looks just like terminal

lime pivot
#

I can't pull lines out of the buffer to render cause only the code inside the SwiftTerm module can

primal perch
#

i only bothered bc i think someone said it uses gpu accleration

tepid olive
#

sixel support intjpray

lime pivot
#

I'm also going to support iTerm proprietary escapes

#

there's the one that highlights your terminal prompt and shows either blue or red depending on command return value

#

and imgcat which is the most useless yet most fun demo

tepid olive
#

i love sixel kirb please do that

lime pivot
#

and more usefully it2dl/it2ul to transfer files via shell escapes

#

so you can quickly push/pull files without having to go to another tab and run scp or whatever

tepid olive
#

true

lime pivot
#

one day this will work lmao

primal perch
#

you should rewrite newterm in java that would be way more modern and supported

lime pivot
#

if I had admin here that message would be a bannable offence

primal perch
#

alright fine.. how about this new language called rust i assume youve heard of it

#

/s of course

tepid olive
#

rust is now banned

primal perch
lime pivot
#

man I don't know what tf is happening with xcode lately

#

it takes like 20 secs for NewTerm to actually launch in the simulator for some reason

tepid olive
#

are rust devs even in demand or is it still just c

lime pivot
#

and xcode also beachballs at complete random

primal perch
#

isnt c still in relatively small demand compared to c++ tho

lime pivot
#

last resort is I just say fuck it and reboot, and upgrade to 11.2 while I'm at it since I've put it off long enough

tepid olive
#

true

primal perch
#

bc every mfer wants c++ for their amalgamation of a shitty program

#

and no embedded

tepid olive
#

i want ur mom for my amalgamation of a sex life

primal perch
tepid olive
primal perch
tepid olive
#

steve jobs would be so proud, iphones have java 17 before debian does

lime pivot
#

woes are

primal perch
lime pivot
#

mac app

primal perch
#

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: @rpath/NewTermCommon.framework/Versions/A/NewTermCommon
Referenced from: /Volumes/VOLUME/*/NewTerm.app/Contents/MacOS/NewTerm
Reason: image not found

#

rip

lime pivot
#

boo

#

I got that too

#

apple wyd

#

yeah for some reason the rpaths has @executable_path/Frameworks for iOS but not @executable_path/../Frameworks for macOS 🤷‍♀️

primal perch
#

L

lime pivot
#

well it's not even managing to exec a shell in a release build so damn, oh well

next wadi
#

Æ

lime pivot
#

gotta keep working on it i guess

#

agreed

next wadi
next wadi
lime pivot
#

ayo

primal perch
lime pivot
#

wonder why it has the shell prompt in the title, yet the terminal window is totally empty

upbeat wyvern
#

it's not empty, you just can't see it troll

misty cradle
#

bingner using troll emote

#

true

faint timber
#

who ping

zenith hatch
#

anyone know where to find preference bundles to theme the icons?

tepid olive
#

11.2 works with it but not 11.2.1, and 11.2 is gone from Apple servers

lime pivot
#

ha

#

what in tf is apple doing with firmware

#

it's not like they're strapped for cash and have to conserve their akamai CDN costs

#

actually I'm surprised they didn't start purging old firmware back when they accidentally turned file listings on for a few days and leaked a stack of internal firmware shit. wonder what made them change their mind on that

#

including watch ipsws you can restore using iBus

lime pivot
zenith hatch
zenith hatch
lime pivot
#

/System/Library/PreferenceBundles

zenith hatch
#

thanks

#

again

lime pivot
#

same place just with /System

#

they will be in Assets.car files

zenith hatch
#

gotcha

lime pivot
tepid olive
#

i’m talking about Intel, didn't know you were on M1

lime pivot
#

oh, well damn my intel macbook is on 11.2.2

#

looks like I'm never unplugging my test phone from the charger then lmao

tepid olive
#

but i've been stuck for months with a broken checkra1n, got used to booting Ubuntu on my iMac fr

lime pivot
#

I'm gonna have to walk to the other side of the house to run it on my linux pc then lmao

tepid olive
#

11.2 is gone, impossible to find atm

lime pivot
#

god, apple is the worst

#

why this all of a sudden

tepid olive
#

i tried everything but they DMCA every mirror

#

11.1 works but it's a pain to downgrade sadly

#

they have this really strange thing where you can downgrade your install but Safari still wants 11.2, and won't open

lime pivot
#

why refuse to host it but also not allow anyone else to host it, come on

#

I still have a flash drive with a copy of 11.1 at least

#

has patches to boot on my 2013 iMac but pretty sure they're harmless, it's just setting a boot-arg

tepid olive
#

mhm, 2013 macs can run it fine but apparently it's a bad idea for it to be official lol

#

my method for downgrading is basically make a new snapshot, install 11.1 on it, then boot 11.1 and migrate from the other partition

lime pivot
#

2013 and 2014 iMac hardware is near identical, slightly spec bump'd CPU and GPU became AMD, and I'm expecting 2014 to be dropped this or next year

#

if 2014 MacBook Pro 15" is dropped, I suspect macOS 12 will be the first to not ship with Nvidia drivers

tepid olive
#

I wonder how long Intel support will be there after they drop the Intel macs

lime pivot
#

and I feel like they'll make changes to fully remove Nvidia from the OS that may work if you paste in the 11.0 kexts, but breaks Metal or something like that

tepid olive
#

on 10.14 you could use the Nvidia 10xx drivers but only for screen resolution fixing, they didn't allow acceleration so it might be something similar

lime pivot
#

they're getting more ruthless about forcing out old hardware/software it seems, dropping the 2014 MBP lets them kill almost all Macs 2009 - 2014 from ever getting the latest macOS again

#

guess that kinda happens when you have to rebuild stuff like your driver model for an entire new platform

#

the Intel platform it's like they did most of the work around 2005-2008 and then only made minor tweaks from there, drivers probably mostly written by Intel for them

#

this transition they're more involved all over the OS, throwing out and replacing stuff they don't like any more like kexts, adding iOS-like sealed system volume, etc

#

so hopefully it'll settle down in a few years I guess but I can only see it getting more grim for Intel Macs very quickly

#

especially making it near-impossible to hack the latest macOS onto unsupported Macs

tepid olive
#

It'll definitely get pretty bad in 3-4 years, I was considering going to the M1 Air earlier this year but didn't want to to lose the touchbar, now i do lol

lime pivot
#

I think we'll run into a lot of trouble when the T1 Macs are discontinued

#

can't wait for that (not)

#

T2 especially will be bad considering how much of the machine is managed by this proprietary chip

tepid olive
#

at least on T2 there's a working checkm8 implementation

zenith hatch
#

electcock recock

plain sedge
#

i know it wasn't used in anything but evasi0n6

tepid olive
#

lol nice trick

#

that isn't even valid on Linux because commands in shebangs can only take one argument

plain sedge
#

good thing iOS isn't Linux!

#

that's a really fucking good trick

modern comet
#

If I wanted to get started into learning to create a ios expoit even for an older version of ios where would i start, what would i need to learn.....

twilit jungle
#

Basic exploiting techniques and iOS internals

modern comet
#

ok

modern comet
#

ok, thank you

serene hawk
#

why do i keep getting this error while compiling a tweak? error: unknown type name 'NSString'
inline bool GetPrefBool (NSString *key)

modern comet
#

Seems like an issue with defining the type of data that 'NSString' is being stored as. But don't take my word for it.

serene hawk
#

ohhh okeyy thanks hmm

#

just forgot to include foundation.h oops

wicked summit
#

why tf is netflix Argo.app

restive ether
#

argo

gleaming wave
#

prob the codename for the tvOS build

wicked summit
#

"Swift is the worst language ever" -pwn20wnd circa 2 years ago

surreal mountain
#

is he wrong

restive ether
restive ether
gentle grove
restive ether
#

troll

gentle grove
#

pwn is a troll true

restive ether
#

woman.

wicked summit
#

ok so basically

#

how can we pass swift functions to MSHookMessageEx

gentle grove
#

True

serene hawk
#

reading opa334's ccsupport guide but in theos i cant find a iphone/control_center_module-11up option. how do i create a toggle for control center nowadays?

tepid olive
restive ether
#

classic pwn

subtle grail
#

then you can see how to do it yourself

tepid olive
#

Speaking of top, fuck cocoatop

restive ether
#

htop troll

tepid olive
#

htop is pog but not on my phone screen

tepid olive
#

nice, rotating the screen in NewTerm crashes it

#

Need an ipad for htop

wicked summit
#
func replacement() {}
func orig() {}
MSHookMessageEx(objc_getClass("Class"), Selector(("method")), replacement, orig)
tepid olive
#

Id say

twilit jungle
tepid olive
misty cradle
#

HSWidgets 14 coming soon [PAID]

#

all dgh0st layout system code removed

#

all widgets are moved to ios 14!!

wicked summit
#

Cum 14 coming soon [PAID]

twilit jungle
wicked summit
#

hey girl, are you duetexpertd? because you keep exceeding memory limits with how much im thinking about you

misty cradle
#

hey girl, are you corespeechd? because you keep exceeding memory limits with how much you talk, so stfu

dawn dome
#

can all three of

#

if, else if, and else

#

be used all together

#

in swift

twilit jungle
dawn dome
#

frfr

#

like

twilit jungle
#

What is considered together? and why would that be different for swift vs any other language?

dawn dome
#

if smthin {
somethin
}
else if smthin {
smthin
}

#

else {
smthin
}

#

like this

twilit jungle
#

thats how you are suppose to use them

dawn dome
#

oh

#

thanks

tepid olive
twilit jungle
#

true

dawn dome
#

alright

grim sparrow
#

tbh I think it's kinda telling you what to do

weary heath
#

chmod 777 moment

rough hemlock
#

Your right lol

#

Had to give it perms with filza

#

Ty

wicked summit
#

that moment when code just

#

works

primal perch
#

happens all the time in C

wicked summit
#

what's more annoying is knowing i have a lot more to do

#

and have to clean up a lot

primal perch
#

where the code is simple and clear

wicked summit
primal perch
wicked summit
#

C code simple and clear

twilit jungle
#

Imagine not writing perfect code all the time

wicked summit
#
void *(*(* char **uhh idk))

or something

primal perch
#

void *(*cum)(void *);

#

yea i give up i’m on mobile

#

anyhoo

wicked summit
#
int main() {
    exit(0);
}
#

i did it

#

i coded C

#

doesns't return from main though

primal perch
wicked summit
#

😈

#
int main() {
    return 0;
}

v2.0 - Improve efficiency and make more lightweight and dynamic

#

that moment when swift verbosity

func main() -> Int

vs.

int main()
twilit jungle
primal perch
#

yea theres no need for that extra boilerplate

wicked summit
plain sedge
#

just ran limera1n from my Wii

wicked summit
#

that's actually sick though

plain sedge
#

im actually sick in the head

dawn dome
#

what is the difference

#

between if/if else

#

and switch statments

plain sedge
#

switch statements looks prettier

#

if else compares boolean values, while switch statements compare actual values, i think

dawn dome
#

so with if else youd need to use ==

#

while switch statements use =?

plain sedge
#

no

primal perch
#

a switch case gets compiled into a jump table and if else is just comparisons

#

you can use either for all your favorite comparisons

plain sedge
#

mental illness

wicked summit
dawn dome
#

so i can use the and the code would result in the same result?

twilit jungle
wicked summit
#
switch (bruh) {
case 1:
    // stuff
    break;
case 2:
    // stuff
    break;
case 3:
    // stuff
    break;
default:
    // stuff
    break;
}
if (bruh == 1) {
    // stuff
} else if (bruh == 2) {
    // stuff
} else if (bruh == 3) {
    // stuff
} else {
    // stuff
}
primal perch
#

theyre functionally the same but when you're doing 4 or more checks then use a switch/case

twilit jungle
#

Thats optomized uhh

subtle grail
#

one thing to note is that switch statements can only compare primitives

#

so if you want to compare an NSString using -isEqualToString: you need to use an if/else anyway

twilit jungle
#

Thats language specific

#

but true

subtle grail
#

also

#

don't forget to break your switches

lethal ice
#

true

#

love debugging for hours because it just went to the next case

primal perch
#

its both -O0

lethal ice
#

if numbers are in a row in a switch it makes a jump table

#

unoptimized

#

the website doesn't load for me so i'm assuming that's what it is

twilit jungle
#

Yeah but that switch one is literally optimized because the numbers are adjacent

lethal ice
#

yea

primal perch
#

ok yea i meant for stuff like that

twilit jungle
lethal ice
#

gm

primal perch
#

either way the comparison was meant to highlight that they arent the same and id still put the tldr at using switch/case when 4+

twilit jungle
#

true

primal perch
lethal ice
primal perch
#

:nwoe:

#

i think imma go get a hot pocket

lethal ice
#

alabama style?

primal perch
#

@lethal ice true

twilit jungle
lethal ice
#

wtf

dawn dome
#

so basically

#

both are the same but switch statements

#

are cleaner to read

upbeat wyvern
#

not really

#

they both get you to the same end point, but switch statements are much more efficient

#

if you have a chain of 100 if/else statements to get tot he last entry it has to do 100 comparison operations

#

if you have a switch of 100 cases, it is the same number of operations to get to any of them

dawn dome
#

ah, so when doing something large, switch statements are preferred?

upbeat wyvern
#

if you're choosing more than one result from the value of a single variable, use a switch

twilit jungle
#

Thats only true if the 100 cases are adjacent numbers

upbeat wyvern
#

if you're comparing a bunch of variables, use an if

primal perch
upbeat wyvern
twilit jungle
gaunt mesa
upbeat wyvern
vivid tusk
#

Does anyone know a simple way to see what files an app/tweak/process is accessing? (Kinda like strace or process explorer on linux or windows) I tried to run frida but it's causing kernel panics. Any alternatives? CLI is fine.

subtle grail
#

hook open

vivid tusk
#

How?

#

Will I need to write a tweak for this?

subtle grail
#

yes

#

although there's probably a better way to do it

vivid tusk
#

like wait for frida to be fixed by people smarter than me

#

no

#

I just want to see what files an app is opening

#

because it has data stored somewhere but I don't know where

#

and I want to find out

#

nope

#

sideloaded

#

no comment

#

ok there's also an appstore app I want to do this with

#

ios 12 shortcuts

#

(I'm on iOS 12.5.1 jb'd with Chimera btw)

ashen birch
#

@tepid olive gm king, do you know how i can stop and start a discord bot (stopping via await (client/bot).logout())

vivid tusk
#

I know, for both apps I've looked through their data directories and didn't find anything

#

so I want to do something strace style and see what they are opening

#

I've checked all of those

#

oh, would flex work

#

to hook open

#

ok

silver rampart
#

working on getting the wiki back online

#

"unscheduled emergency maintenance" aka dhowett shut off the server for some reason without giving me a heads up

#

not really how i wanted that announcement to go

#

not really

wicked summit
#

is there a cli tool to send nsdistributednotifications

#

or must i make it

#

i shall make it

#

no it's very easy

#

take in argument

#

nsdistribute post the mf

silver rampart
#

uh

#

nsnotifications require being in the same process, no?

#

oh nsdist

#

nvm

wicked summit
#

why tho

#

nslog

#

rlog

twilit jungle
#

Pretty sure that exist

#

Yes

#

I don't remember the name, just remembering seeing it.

primal perch
#

Foundation/DispatchQueue.cpp

wicked summit
#

if you actually want to code something useful

#

code a rejection to acceptance letter converter

#

ivies in 45 mins

#

oh

#

well i don't think it's out cuz someone woulda texted me

#

how many do u have, i have 1 today

ashen birch
#

this may be my greatest shitpost ever

primal perch
#

Stop writing unsafe code. Learn rust today!

#

paid for by the rust foundation

wicked summit
#

a full commitments what i'm thinking of

#

you wouldn't get this from any other guy

silver rampart
ashen birch
#

they're all A12 keys too troll

wicked summit
#

i cracked it, i have Xenon without paying for it

#

yes

#

cracked

silver rampart
#

saurikIT irc network is gone

#

Fs in the chat rn

gentle grove
#

g

#

Did Mc

lofty echo
#

Is it possible to overload some PSSpecifier methods ?

#

Let’s say I want to make a library to add keys to a PSSpecifier, would it be possible without the user needing to call a categorie method ?

#

Don’t know if I’m making sense

silver rampart
#

describe the end product here

lofty echo
#

overloading is when you create multiple methods of the same name to allow different entries into a method
Yeah, not what I meant

silver rampart
#

you're describing what you're going to try, but what are you hoping to accomplish, first

lofty echo
#

Ok so basically, I was thinking of making a little lib to simply allow devs to use SFSymbols as a iconImage for they PSSpecifier

#

Like this

silver rampart
#

does psspecifier allow you to specify a UIImage

#

[UIImage systemImageNamed:@"multiply.circle.fill"];

lofty echo
#

From .plist yes, but you cannot use UIImage systemNamed or any other method, only a local icon stored in your ressources

silver rampart
#

there should be an integrated method of doing it

#

let me look

lofty echo
#

I was looking for something like this, where the dict could also take weight, scale etc properties

#

Im talking .plist only, I can do it manually ofc

#

So rn to achieve this what im doing is

lime pivot
#

oh now that would be really cool

lofty echo
# lofty echo So rn to achieve this what im doing is

I made a categorie like

@implementation PSListController (iconImageSystem)

- (void)specifiersWithIconImageSystem:(NSArray *)specifiers {

for (PSSpecifier *specifier in specifiers) {

    [self specifier:specifier setIconImageSystem:[specifier propertyForKey:@"iconImageSystem"] forKey:@"iconImage"];
    [self specifier:specifier setIconImageSystem:[specifier propertyForKey:@"leftImageSystem"] forKey:@"leftImage"];
    [self specifier:specifier setIconImageSystem:[specifier propertyForKey:@"rightImageSystem"] forKey:@"rightImage"];
    }
}

but it require the dev to call this method, probably in (id)specifiers

lofty echo
#

I've read it's a bad practice to override method from a categorie

#

I could also make my own implementation of PSListController that would simply override loadSpecifiersFromPlistName:target but my goal is to allow dev to do it symply, so forcing them to use the custom PSListController is undesired

#

Thats my whole implementation of the categorie


@implementation PSListController (iconImageSystem)

- (void)specifiersIconImageSystem {
  [self specifiersWithIconImageSystem:_specifiers];
}

- (void)specifiersIDsWithIconImageSystem:(NSArray *)specifiersIDs {
  [self specifiersWithIconImageSystem:[self specifiersForIDs:specifiersIDs]];
}

- (void)specifiersWithIconImageSystem:(NSArray *)specifiers {

  for (PSSpecifier *specifier in specifiers) {

    [self specifier:specifier setIconImageSystem:[specifier propertyForKey:@"iconImageSystem"] forKey:@"iconImage"];
    [self specifier:specifier setIconImageSystem:[specifier propertyForKey:@"leftImageSystem"] forKey:@"leftImage"];
    [self specifier:specifier setIconImageSystem:[specifier propertyForKey:@"rightImageSystem"] forKey:@"rightImage"];
  }
}

- (void)specifier:(PSSpecifier *)specifier setIconImageSystem:(NSDictionary *)iconImageSystem forKey:(NSString *)key {
  if (specifier && iconImageSystem && key)
    [specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"]
    withConfiguration:[UIImageSymbolConfiguration
    configurationWithPointSize:([[iconImageSystem objectForKey:@"pointSize"] floatValue] ?: 20.0)
    weight:([[iconImageSystem objectForKey:@"weight"] integerValue] ?: 4)
    scale:([[iconImageSystem objectForKey:@"scale"] integerValue] ?: 2)]] forKey:key];
}

@end
#

Then dev can do for example


- (id)specifiers {

  if (!_specifiers) {
        
  _specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];

  [self specifiersIDsWithIconImageSystem:@[@"sfSymbolsLink", @"modulesLink", @"respringButton", @"resetButton",  @"contributorsLink", @"gitHubLink", @"payPalLink"]];
  }

  return _specifiers;
}
#

When overriding category, there's no %orig or [super] method that I can call to keep the normal behavior isn't it ?

lime pivot
lofty echo
#

A hook feel a little bit unnecessary for that doesn't it ? idk

tepid olive
#

Everybody here ready for thor 2?

lofty echo
#

Hmm true true

lofty echo
twilit jungle
#

and what about preferences that dynamically create specifiers?

lofty echo
#

So the hook would look like something like this ?

- (NSMutableArray *)loadSpecifiersFromPlistName:(NSString *)name target:(PSListController *)target {
  NSMutableArray *specifiers = %orig;

  for (specifier in specifiers) {
    if ([specifier objectForKey:@"iconImageSystem"])
      [specifier setProperty:[...] forKey:@"iconImage"];
  }
    if ([specifier objectForKey:@"leftImageSystem"])
      [specifier setProperty:[...] forKey:@"leftImage"];
  }
    if ([specifier objectForKey:@"rightImageSystem"])
      [specifier setProperty:[...] forKey:@"rightImage"];
  }
}
lofty echo
#

Just like the hook would do

stuck cliff
#

do i need a mac for tweak design

#

or can i use linux or windows

tepid olive
#

linux works

stuck cliff
#

ok good

#

and can i use swift

#

or has to be objective-c

west grove
#

sjrug

stuck cliff
#

im sorry im new

lime pivot
#

there’s nothing to be sorry about

stuck cliff
#

oh

#

ok

#

i thought he was annoyed

#

but is it possible?

#

using swift i mean

lime pivot
#

I think swift toolchain works on linux, never tested it myself

stuck cliff
#

whats toolchain

#

sorry if im dumb

#

would it be easier to do in swift or objective c

tepid olive
#

Crkatri’s linux toolchain has swift 5.3 in it

lime pivot
#

toolchain is a bunch of tools you use to compile code for a particular language and OS

stuck cliff
#

ok

lime pivot
#

every OS has a toolchain

stuck cliff
#

ohh

#

ok

lime pivot
stuck cliff
#

so should i use obj c or swift

#

for ease starting out

tepid olive
#

Swift is for Gs and objc is for nerds

lime pivot
#

lmao

stuck cliff
#

so swift?

lime pivot
#

what are you trying to work on?

stuck cliff
#

i heard swift is like python

tepid olive
#

Itll be easier for a beginner but maybe not for tweaking

primal perch
#

what about twerking

stuck cliff
#

idk for now i was just gonna make a app that shows a image

#

just to get started

tepid olive
#

Swift would be good for u then

stuck cliff
#

ok

#

thanks

tepid olive
#

Yw

upbeat wyvern
#

swift is exactly like twerking

tepid olive
#

Hot if a good looking chick does it?

upbeat wyvern
#

More like “makes you think you look cool whilst you are looking like an idiot”

tepid olive
#

Let me offer you a counterpoint: rust

primal perch
#

understandable

primal perch
#

although i dont really have anything against it

silver rampart
#

swift is just 'apple shoved this in my face and said its good so its good, right?'

tepid olive
#

Its the users man

#

The users

primal perch
#

if it gets people to use it instead of using slower languages then its a win imo

silver rampart
#

rust users == arch users

primal perch
#

yea

silver rampart
#

== rick and morty viewers

#

yes we know you use rust

lime pivot
silver rampart
#

yes we know its so perfect

lime pivot
#

SwiftUI though oh my god

tepid olive
#

Same with golang users to a lesser extent. Like what the fuck is happening over there

lime pivot
#

what a disaster

silver rampart
#

please stop telling us you use rust

lime pivot
#

and that’s never going to be open source

primal perch
#

i need to copy some memory guys im going to try to do it in C, where it's unsafe

lime pivot
#

so good luck fixing its problems yourself

primal perch
#

Segmentation fault 11

#

shit guess we need rust

tepid olive
silver rampart
#

i know they exist, obviously

#

but have you ever met one?

#

where are they?

tepid olive
#

TRUE

#

Too true

primal perch
#

yea true

lime pivot
silver rampart
tepid olive
#

Sad

silver rampart
#

^ this tool is an essential

#

download it rn

lime pivot
#

and I have doubts Apple would want to provide the infrastructure for SwiftUI to be ported to other OSes

silver rampart
#

it is so great

#

like if you're doing anything with iphones

tepid olive
lime pivot
#

you can build your own SwiftUI replacement, but it’s clearly tricky by how complex it is

tepid olive
lime pivot
#

wtf

primal perch
#

thatd be great though because the existing cross platform ui options arent great

#

with varying reasons for each

lime pivot
#

yeah Swift itself is good for cross platform, that’s something Lattner really wanted and he got his wish

primal perch
#

Qt like works but does anyone really enjoy using it

lime pivot
#

even though I’ve seen nobody use it on Windows and everyone including IBM gave up on Swift on the server

tepid olive
#

Sad

#

Swift interpreter troll

#

Swift scripts

lime pivot
tepid olive
#

oh word??

#

hes got quite a resumé then

tepid olive
#

lol

primal perch
#

and what about arch linux have you guys heard of it its so good i love being a slave to my computer and configuring files all day

silver rampart
#

arch is a great OS for people who like OSes

#

macos/windows is great for people who have jobs

#

and like doing work

tepid olive
#

i had a friend recently get into linux, starts with arch, gets good, gets depressed because of the time it took him to do things, and now uses debian

silver rampart
#

ubuntu is fine

#

use dpkg then

primal perch
tepid olive
primal perch
#

hi

#

true

silver rampart
#

u cant be out here complaining about apt

#

use centos for a week

primal perch
#

dont forget the windows package manager

tepid olive
#

yo FUCK centos lol

silver rampart
#

i use centos for servers

#

i wont argue its good

#

i just use it

tepid olive
#

why

primal perch
#

yea thats the joke

silver rampart
#

because i've always used it

primal perch
#

@lethal ice

#

f

lethal ice
#

gm

primal perch
#

theres chocolatey ig havent used it much

lethal ice
#

scuse me

silver rampart
#

choco is fine

primal perch
#

yea resistance kills you

silver rampart
#

choco doesn't work too well on arm windows

#

not much works well on arm windows though

primal perch
#

amps

lethal ice
#

bruh why would u say ohms

#

the more ohms the less power

primal perch
#

scoobs meth and electric

lethal ice
#

cap

primal perch
#

$SME

#

scoobs meth and electric

#

well and weed

#

meth weed and electric

lethal ice
#

weed true

primal perch
#

RBLX

lethal ice
#

weed

stuck cliff
#

does theos installer support odyssey

#

or should i use theos installer2

lofty echo
#

Hmm not sure about that, when you create PSSpecifier dynamically, you set properties like @"iconImage" after the init, nothing to do with the init directly

silver rampart
#

did you guys verify that PSSpecifier doesn't natively support that

#

i still doubt it doesn't

lofty echo
#

My case were only .plist specific since when it's done programaticaly, you can just set the property

stuck cliff
#

can someone help please

#

im new to development

primal perch
#

the real answer is to install it on your computer

lofty echo
primal perch
#

but to answer ur question no idk

#

it probably works fine regardless of jb

stuck cliff
#

oh ok

primal perch
#

yea

lofty echo
stuck cliff
#

how do i install it on my pc

primal perch
silver rampart
#

@grave sparrow have at it

chilly gulch
#

Hi

silver rampart
#

i just might know of the existence of that site

#

there is a chance

lofty echo
silver rampart
#

its nice to have

#

no dmca yet

#

which is nice

primal perch
#

libsystem_pthread.dylib.dylib

lofty echo
#

I've used your dylib and made some re to successfully port SFSymbols from iOS 14 to 13 Krit btw, huge thx for your work

silver rampart
#

i just took the filename the dyld_shared_cache assigned to the libraries compressed inside it and added .dylib to the end

silver rampart
#

if u wanna write a script to fix it and send it i will run it

#

/dsc/ is just nginx autoindex

#

there's no actual webpage there its just a raw list of files in that folder

#

why hook

primal perch
#

if so then it would just be some ifs over that shit but i cba'd

silver rampart
primal perch
#

fair

silver rampart
#

mach headers are there tho

#

but that's overcomplicating it

primal perch
#

it would be doing it right in the first place

#

but after the fact yea its a waste

silver rampart
#

the tool i used wasn't built to batch export

lofty echo
#

Hmm so hooking that, I could use the normal key iconImage and if it's not found in the bundle, I fallback to systemImageNamed ?

silver rampart
#

and it took some advanced hacked in multithreading bs to make it take less than a year to do

#

why are you hooking anything

#

extend the preferencebundle object and reimplement the method

#

that's, what cephei does

#

you just use HBPreferences instead

primal perch
#

no wonder it bootlooped me

silver rampart
#

why hook it

primal perch
#

horrible tweak

lofty echo
#

That mean Ill need to also hook setupLeftImageWithBundle and setupRightImageWithBundle which are slider's specific properties, at this point, having the dev to call one of my categorie method would be easier

wicked summit
#

are you hooking in your preferences?

silver rampart
#

huh?

#

make a new class

#

this is how we write prefs already

#

is literally overwriting -(id)specifiers to load our custom preference bundle

wicked summit
#

preferences is normal swift/objc code there is never a reason to hook

silver rampart
#

^

#

even if you're changing logic as a library, just make a new class

#

and MyNewClass : <whatevertheoldoneis>

pearl sail
#

Hello krit

silver rampart
#

and then people using your library SomeTweakPrefs : MyNewClass

primal perch
#

PSListController being the old one

silver rampart
#

even the hackiest most horrible stuff i've done doesn't drag substrate into prefs, lets not give anyone the idea that should be done ever

primal perch
#

well, not your own

silver rampart
primal perch
#

i wish i could say the same

#

every time i touch one i get "Error loading preference bundle"

silver rampart
#

my condolences

#

the trick is to not write tweaks

primal perch
#

and then i spend 3 days fixing the issue

silver rampart
#

its nice over here in java land

primal perch
#

only for it to be unknown and copying the files again fixes it

silver rampart
#

also if you ever think this communtiy is bad

#

forge modding community

#

holy shit

primal perch
#

have you heard of fabric? its so much better and ....

wicked summit
#

PSListController? swiftui prefs 🤤

silver rampart
#

the forge official discord people made me cry over asking a question

#

(issue was windows line endings)

primal perch
#

rust, arch, opencore and fabric all have the same energy

#

that energy being this

silver rampart
lofty echo
#

@silver rampart maybe you can try to have a full view on what I'm talking about
In .plist, dev can set their cell, and add icons to it with

<key>icon</key>
<string>GitHub</string>

This will look for an .png/.jpeg in my resource folder with the said name.
What I want is to be able to use [UIImage systemNamed] icons inside the .plist, to allow dev to easily set SFSymbols as icon for a PSSpecifier.
So I made a categorie of PSListController, and implemented a method that look for this key (as an example)

<key>iconImageSystem</key>
<dict>
  <key>name</key>                
  <string>chevron.left.slash.chevron.right</string>
  <key>scale</key>
  <integer>1</integer>
</dict>

and then dev call my method in (id)specifiers, my method will look for this property and use those value to set the correct SFSymbols with the correct UISymbolConfiguration
That require the dev to call one of my method, so my first question was: is there a better way to do this, something like overriding PSSpecifier for it to do that itself

primal perch
#

opencore is but all the people pushing it expect you to just rip out your entire setup just to have better™️ patches

silver rampart
#

no need to have them call any method

primal perch
#

thankfully i dont have to deal with that shit anymore since i got my mac mini on the cheap

#

2011 one for 50$

#

put +8gb of ram in and an ssd for a grand total of 130

silver rampart
#

here's what you should do @lofty echo:
1 Go into one of your tweaks that has prefs
2 implement the logic you want there
3 Create a new folder outside of that tweak
4 Copy your preference .m file from the tweak into that folder
5 rename the class, and rename the file to something else

#

and then remove the stuff specific to that tweak, and then probably upload it on github and post it in this channel so someone can fix it

twilit jungle
lofty echo
silver rampart
#

making a pref lib is a bit more complex than a my-first-tweak, might be worth just adding the functionality to Cephei and PRing it

lofty echo
#

So instead of telling user of my lib to call one of my method, I should tell em to use MyCustomClass instead of PSListController ?

silver rampart
#

yes

#

that'll actually be problematic if they use cephei

#

hm

twilit jungle
lofty echo
#

Im using Cephei, and calling method from the lib don't cause any problem

#

But yeah forcing them to use a custom class instead of PSListController would

silver rampart
#

this is why i like java

twilit jungle
lofty echo
#

I... will keep it like that I believe..

silver rampart
#

the way you're doing it now isn't the ideal way

#

but i dont like the idea of hooking it

lofty echo
#

From a dev/user perspective, it will be more convenient to call a lib method than replacing all PSListController with a custom class tho

lofty echo
#

rn im not hooking anything

silver rampart
#

instead of editing one line you're editing a different line

primal perch
#
void dghost_should_talk() {
    static const char *messages[] = {":uhh:", ":bruh_l:", ":fr:", "true"};
    int random = arc4random_uniform(sizeof(messages)/sizeof(messages[0]) - 1);

    const char *str = messages[random];
    puts(str);
}
#

@twilit jungle

twilit jungle
#

true

primal perch
#

true

silver rampart
#

only no effort way to do it for the user is by hooking

lofty echo
silver rampart
#

i mean what i'd do is just PR it into cephei honestly

#

but what you're doing now also works

#

up to what you want to do personally at that point

#

¯_(ツ)_/¯

lofty echo
#

PR it into Cephei
Where Cephei override loadSpecifierFromPlistName ?

#

Could be an option too indeed.. User that don't use Cephei would be left over tho'

#

Ill see

silver rampart
lofty echo
#

Could do both, separate lib for user that don't use Cephei, and adding it to Cephei to do it for you if u use it

#

Ill keep it as it is for now, will look for making a PR later, as Kirb seemed to enjoy the idea of that

#

Thx for the kind advice 😄 Time to sleep for me now

silver rampart
lofty echo
#

Yup, looks like it

silver rampart
#

perfect

lofty echo
#

Ill see what Kirb think about that tomorrow, thanks 🙏

silver rampart
#

Enabled usercss

#

also, reason i rejoined this server for a few minutes:
I apparently run the wiki now, so if you need anything related to it, @ me on twitter, or message me on discord

#

hopefully we'll be able to make some positive changes regarding appearance, outdated pages, etc as time goes on

hushed urchin
#

Looking for a dev for hire. If interested please dm me.

silver rampart
#

nobody in this server writes code good enough to warrant pay please look elsewhere

primal perch
#

@twilit jungle troll

twilit jungle
primal perch
#

how good is your coworkers' code would you say

twilit jungle
#

I don't prefer their placement of { but they write great code with pretty nice performance.

primal perch
lethal ice
#

true weed

hushed urchin
tepid olive
lethal ice
#

it's all just people asking for things they cant have, or things that are way underpriced

primal perch
#

[$10] android on ios 14

#

with full gpu accleration

lethal ice
#

then the doable projects are taken by meblackhat within 33 seconds of posting

tepid olive
#

Hey can i boot windows on macos 11?

lethal ice
#

ok but when fermi