#development

1 messages ยท Page 48 of 1

gaunt mesa
#

Good morning developers

vivid dew
#

gm developer

late ridge
#

intjsunbathe gm

vale magnet
faint timber
#

Just ignore the error

#

It was extracted correctly

vale magnet
faint timber
vale magnet
faint timber
#

Not really

#

I was only talking to Tesla

vale magnet
#

Aw shit my bad

faint timber
#

Hence the reply to his message

acoustic imp
hasty ruin
acoustic imp
#

and idk as well what is chsh

#

i wish theos would just work๐Ÿ˜ญ

acoustic imp
faint timber
# acoustic imp idk, what path to use/put, theos, Xcode, idk
echo -n "/opt/procursus/bin\n/opt/procursus/libexec/gnubin\n" | sudo tee /etc/paths1 && cat /etc/paths | sudo tee -a /etc/paths1 && sudo mv /etc/paths{1,}
echo -n "export PROCURSUS=/opt/procursus\nexport PATH=${PROCURSUS}/bin:${PROCURSUS}/libexec/gnubin:${PATH}\n" | tee -a ~/.zshrc && source ~/.zshrc

# REOPEN TERMINAL

sudo apt update

sudo apt dist-upgrade
acoustic imp
acoustic imp
# acoustic imp i asuming i jus need to install java and i will be good?

jb@kasoms-Mac ~ % echo -n "/opt/procursus/bin\n/opt/procursus/libexec/gnubin\n" | sudo tee /etc/paths1 && cat /etc/paths | sudo tee -a /etc/paths1 && sudo mv /etc/paths{1,}
echo -n "export PROCURSUS=/opt/procursus\nexport PATH=${PROCURSUS}/bin:${PROCURSUS}/libexec/gnubin:${PATH}\n" | tee -a ~/.zshrc && source ~/.zshrc
Password:
/opt/procursus/bin
/opt/procursus/libexec/gnubin
/usr/local/bin
/System/Cryptexes/App/usr/bin
/usr/bin
/bin
/usr/sbin
/sbin
export PROCURSUS=/opt/procursus
export PATH=/bin:/libexec/gnubin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
jb@kasoms-Mac ~ % sudo apt update
The operation couldnโ€™t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.

jb@kasoms-Mac ~ % exit
Connection to 192.168.126.134 closed.
PS C:\Users\compu> ssh jb@192.168.126.134
Password:
Last login: Sat May 6 19:06:01 2023 from 192.168.126.1
jb@kasoms-Mac ~ % sudo apt update
Password:
The operation couldnโ€™t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.

jb@kasoms-Mac ~ %

vivid dew
#

this mf has java sudo

faint timber
#

seems the tar actually failed

acoustic imp
faint timber
#

sudo gtar xpkf bootstrap.tar.zst -C /

#

check /opt/procursus/bin/apt exists

#

after

acoustic imp
#

nope

faint timber
#

are you sure you specificed the correct bootstrap file

acoustic imp
faint timber
#

yes it also depends which mac

acoustic imp
#

its a VM so x86

faint timber
#

so amd

acoustic imp
#

yea, that what i did, i dont have arm

faint timber
#

not arm

acoustic imp
#

yea, ik M1 M2

faint timber
#

sudo gtar xvpkf bootstrap.tar.zst -C /

faint timber
acoustic imp
acoustic imp
faint timber
acoustic imp
#

iv done that

faint timber
#

no you didn't ^

#

its also not a dir

#

its a binary

#

hence bin

#

why did you cd

acoustic imp
faint timber
#

what does it output

acoustic imp
acoustic imp
faint timber
#

you didn't type v tho

acoustic imp
#

jb@kasoms-Mac Downloads % cd /opt/procursus/bin/apt
cd: not a directory: /opt/procursus/bin/apt
jb@kasoms-Mac Downloads %

faint timber
#

why are you cding into a binary after I already said it wasn't a dir and not to do so

acoustic imp
faint timber
#

improve listening skills

acoustic imp
#

after adding v to the xv...

faint timber
#

why did it not work before

#

wth

#

now reopen term

acoustic imp
#

apt all good

acoustic imp
#

i still need java?

faint timber
#

not at all

#

ls -lath /opt/procursus/bin/apt

acoustic imp
faint timber
#

cat /etc/paths
cat ~/.zshrc

acoustic imp
faint timber
#

ssh might be using the wrong shell

acoustic imp
#

k

faint timber
#

just run zsh

#

then try apt stuff

acoustic imp
#

oh, i jus ran it in reg mac os term, is that ok?

#

still

faint timber
#

ls -lath /var/root/

acoustic imp
faint timber
#

sudo

acoustic imp
#

total 0

faint timber
#

sudo cp -a ~/.zshrc /var/root/

#

then try apt

acoustic imp
#

same java thing error

faint timber
#

at this point reboot the vm

acoustic imp
#

k

timid furnace
#

bruh

acoustic imp
#

also this ventura install is a beta, hence why i was trying to update it

faint timber
#

ah

#

just edit the rc file

#

change it to the correct one

#

PATH=${PROCURSUS}/bin:${PROCURSUS}/libexec/gnubin:${PATH}

acoustic imp
faint timber
#

no

#

edit the file

acoustic imp
#

?

faint timber
#

what

#

bro

acoustic imp
#

to edit it

faint timber
#

I said edit the rc file

#

PATH isn't a file

#

PATH is what you are setting in the rc file

acoustic imp
#

k, wheres the rc file

#

sry idk

faint timber
#

the only rc file we've referrenced all of today...

restive ether
#

zshrc

#

bashrc

#

fishrc

primal nest
faint timber
restive ether
#

dashrc (does dash have a rc?)

primal nest
#

bashrc

#

<33

primal nest
#

youre an adminastrator

rain falcon
#

@primal perch yo code a better gear ratio for my CVT

restive ether
#

printf 'export PATH="/opt/procursus/bin:/opt/procursus/sbin:/opt/procursus/games:$PATH"\nexport CPATH="$CPATH:/opt/procursus/include"\nexport LIBRARY_PATH="$LIBRARY_PATH:/opt/procursus/lib"\n' | sudo tee -a /etc/zshenv /etc/profile
export PATH="/opt/procursus/bin:/opt/procursus/sbin:/opt/procursus/games:$PATH"
export CPATH="$CPATH:/opt/procursus/include"
export LIBRARY_PATH="$LIBRARY_PATH:/opt/procursus/lib"

acoustic imp
faint timber
restive ether
#

idk i didnโ€™t read anything thatโ€™s just from our instructions

#

i donโ€™t know specifically what youโ€™re seeking to accomplish

acoustic imp
#

good?

restive ether
#

yeah thatโ€™s fine besides the sandbox warning

#

thatโ€™s annoying but it doesnโ€™t really matter

acoustic imp
#

k

#

@faint timber so the BS should be installed now, theos will work, or is there another thing i need to do like restart theos/xcode or sm

#

BS-boot strap*

faint timber
#

install theos-dependencies meta package

#

Idk if it exists on Mac

acoustic imp
faint timber
#

yes apt install

acoustic imp
#

they dont exsist

#

all good then?

restive ether
#

you just tried to queue like three packages that donโ€™t exist

acoustic imp
#

ah

faint timber
#

I said it was a meta package bro

#

Not install what I said

restive ether
#

just rip off the list from the theos github or something

#

i donโ€™t even know if that theos meta package exist on macos tbh

faint timber
#

Probably not but it was worth a try

acoustic imp
#

i jsu ran ... install theos-dependencies

#

it installed something

faint timber
#

So it does exist

#

Now follow the theos.dev Mac guide

acoustic imp
hasty ruin
#

The one which says mac

acoustic imp
hasty ruin
#

Yes

primal perch
hasty ruin
hasty ruin
acoustic imp
#

this?? bc it doesnt work

hasty ruin
#

(They wrote it 5 mins ago)

acoustic imp
#

this right ?

faint timber
#

you literally already installed procursus

acoustic imp
#

so i need to reinstall theos?

faint timber
#

you don't have theos

#

run the install script

acoustic imp
#

oh...

hasty ruin
#

you installed its dependencies

acoustic imp
#

so doing all of what i/you did deleted it?

faint timber
#

huh? you installed it before?

acoustic imp
#

yea?

#

it just stoped working

faint timber
#

it can't hurt to run install again

acoustic imp
#

i think it was capt that helped me install ti caue i didnt have some like file, u could probly search for it

#

but il runt the script

faint timber
#

anything capt is grain of salt /s

acoustic imp
#

k

#

@faint timber still same issue

#

nvm

#

it was jus being slow

faint timber
#

...

primal perch
hasty ruin
#

true!

acoustic imp
#

to make this rootless it would need to be /var/jb.... right?

restive ether
#

assuming there isnโ€™t more hard coded paths that should be enough

#

and dependencies

acoustic imp
faint timber
#

better to just add when running make

#

append the make command call

tepid olive
faint timber
#

stop hardcoding you fucking asshole

#

cfstrings or die

acoustic imp
#

i would but idk, im jus trying to make rootfull tweak work on rootless, i dont know C ๐Ÿ˜ญ๐Ÿ˜ญ

#

curently trying to make latchkey rootless

faint timber
#

alexia just told you

acoustic imp
#

yea, il try but theres multiple harcoded paths

#

i wana get it compiled first then i do that

#

chat-gpt is not helping๐Ÿ˜ญ

acoustic imp
#

how do i fix this

tepid olive
acoustic imp
tepid olive
#

$THEOS/bin/update-theos or something like that iirc

acoustic imp
tepid olive
#

hmm, what if you do:

cd $THEOS
git pull
git submodule update --init --recursive
#

oh wait this is not the vendor lib dir, i think it's fine to ignore then, just means you don't have any locally installed rootless libs yet

acoustic imp
tepid olive
#

yea just ignore it if it compiles fine

acoustic imp
#

it compiles fine, show up in stettings it just it doesnt work

tepid olive
acoustic imp
#

worked on xina

tepid olive
#

how do i link a deb file in theos

cold basin
#

hi

harsh junco
#

hai

tepid olive
cold basin
#

hi friends, help me make sure that I have dopamine support in my ted menu

tepid olive
#

Read the rules, no cheating

cold basin
#

?

#

wtf

harsh junco
harsh junco
cold basin
#

And I didn't understand what my vein is?

tepid olive
cold basin
#

I use it for myself !

harsh junco
cold basin
harsh junco
#

Also whatโ€™s your problem exactly

indigo peak
harsh junco
#

cheating != piracy

#

Cheating is dumb

#

Piracy is illegal (unless is Adobe ofc troll )

coral gazelle
#

Does anyone know the reason(s) why the Cheyote jailbreak was cancelled?

harsh junco
limpid star
ocean raptor
#

Wtf

#

When did this come out

tepid olive
wheat grotto
#

and of course thereโ€™s this mf

ocean raptor
#

Sorry, that was me

faint timber
#

I agree with that message except for the last line

#

ain't no one want that mf to come back

tepid olive
faint timber
#

We didnโ€™t reply because the question doesnโ€™t make sense

tepid olive
#

it does

#

How do i link a deb

#

what do i need to do

ocean raptor
#

ln -s? trolllaugh

faint timber
#

its a deb file linking doesn't make sense in relation to a deb file ("a debian archive")

slow plover
#

petition to rename .deb to .debarc

#

or even better, debarch

#

LMAOOOO

gentle grove
#

sorry cryptic obviously you're wrong and the question does make sense

slow plover
gentle grove
restive ether
slow plover
#

also because I use ar-

ocean raptor
#

Use dpkg-deb

#

Like a normal person

rapid saffron
# acoustic imp yep, thru sileo

did you ever figure this out? im also trying to update a tweak for rootless, compiles and installs fine but it just doesn't run

gentle grove
sterile root
#

useless = true check

#

just use if(human.hasConsent){

#

๐Ÿค“

rapid saffron
# sterile root useless = true check

The joke is that its human.hasConsent = true NOT human.hasConsent == true, its saying that a rapist is first forcing consent to true before checking it, making it always true even if it wasn't.

sterile root
#

ah fuck

#

im stupid

rapid saffron
#

naw u good, its dumb that a language even allows that

sterile root
#

theres lots of stupid shit languages allow

#

especially js

#

but ig talking about js gets you a warning in this server ๐Ÿ˜‚

ocean raptor
#

Anyways

#

/purge 12

#

;purge 13

restive ether
#

you thought

ocean raptor
#

.purge 15

#

How

restive ether
#

you donโ€™t

ocean raptor
#

!purge 17

vivid dew
#

!purge 18

restive ether
#

hello this is Sarah from the Conservative Party of Canada

tepid olive
vivid dew
#

heyy (with rizz)

rapid saffron
tepid olive
#
if human.hasConsent := True:

but actually this won't even work bc attribute assignment is not supported with the walrus operator

vivid dew
#

pirated from go

acoustic imp
rapid saffron
acoustic imp
rapid saffron
acoustic imp
rapid saffron
#

no errors, installed fine and says is installed

acoustic imp
rapid saffron
#

does uYou add this functionality? I thought it was just a youtube tweak

rapid saffron
#

I want this to work for all PIP players

acoustic imp
sterile root
#

Also youtube reborn (uyou crashes for many people it seems)

acoustic imp
#

works great for me

sterile root
#

I see people saying that about uyou

acoustic imp
#

has never crashed sense TS was out

sterile root
#

including me lol

rapid saffron
#

Right but does it enable scaling the PIP window for like chrome and netflix also?

sterile root
#

yea uyou just doesnt work for me

acoustic imp
sterile root
#

from repo

#

not sideloaded

acoustic imp
#

well thats probly the problem just install it through TS

sterile root
#

yea but found youtube reborn so cba

rapid saffron
#

uYou did not work for Youtube or other PIP players unfortunately

#

does anyone have any debug code that I could put in the %ctor hook to see if it is actually ever injecting into the springboard

acoustic imp
rapid saffron
acoustic imp
#

do u have yotube installed?

rapid saffron
#

just doesn't enable free movement of PIP, it installs fine

sterile root
#

that version doesnt seem stable

acoustic imp
rapid saffron
#

why would I do that if the tweak doesnt do what i need it too

acoustic imp
#

it literally does

#

i said it does

sterile root
#

because it might not work correctly through sileo

rapid saffron
#

Its installed and the pip still snaps to the sides of the screen

#

Itโ€™s installed fine

acoustic imp
rapid saffron
#

I want to put the player in the middle of the screen and have it stay there

#

like what FreePIP does

acoustic imp
#

ahh, why would u want that?, but its alreayd converted on another repo but i cant share

sterile root
#

you could try to derootify FreePIP?

rapid saffron
#

i havent, where can i get derootify

acoustic imp
rapid saffron
#

I wanted to try and build it myself just for the fun, but at this point i just want it working

#

sweat! yes thats what i want

sterile root
#

theres a guide to derootify in comments

#

@rapid saffron

hexed knot
ocean raptor
hexed knot
#

i dont like hoickey

ocean raptor
hexed knot
#

im from chicago

ocean raptor
#

Panthers in 5 ๐Ÿ™๐Ÿ™๐Ÿ™๐Ÿ™

hexed knot
#

we do not care abt hockey

ocean raptor
#

Bulls didn't even make it to the playoffs, so L

#

Heat in 6

drifting dust
#

@naive kraken suggestion for Dopamine:
since youโ€™re already tracking the success rate, you could consider introducing opt-in analytics to track if future changes bring an improvement or not?

naive kraken
#

would require a server and we'd have to legally comply with like a gazillion things

#

doesn't sound fun

#

Also it's very unlikely for there to be any updates that affect the success rate

drifting dust
#

either Iโ€™m on a total streak or bad luck or the latest update of ellekit/dopamine/both regressed my success rate to the point of 0/10 (and counting)

drifting dust
# naive kraken doesn't sound fun

and about legality I see your point, GDPR is harsh, iirc the key points are

  • Opt-in
  • Possibility of erasing user data on request
  • Possibility of downloading said data
naive kraken
drifting dust
#

bad luck I guess

#

0/12 by now

radiant idol
#

@hasty ruin ||malware||

#

WHOA

hasty ruin
radiant idol
#

you're getting canceled tonight

hasty ruin
radiant idol
#

brb gonna write an article about icraze piracy

hasty ruin
#

afraid of the ++ operator

radiant idol
#

true

hasty ruin
#

i still cant believe swift deleted that

radiant idol
#

swift moment

hasty ruin
radiant idol
#

swift isn't very swift with its changes

hasty ruin
#

no increment operator megamindgif

radiant idol
primal perch
primal perch
#

+=1 mfs

hasty ruin
primal perch
#

๐Ÿ˜‚

hasty ruin
#

๐Ÿ˜‚

tepid olive
wind ravine
#

swift++

radiant idol
#

swift--

primal perch
#

swift--

gentle grove
#

imagine having a long dash instead of --

ocean raptor
#

--

gentle grove
#

just turn off that setting ๐Ÿ˜ญ

#

when have you ever wanted to actually type a long em dash

ocean raptor
#

Y'all are just bad

gentle grove
#

you might have it disabled

#

like a sane person

gentle grove
#

might?

ocean raptor
#

Definitely

gentle grove
cloud yacht
#

Ok so I had my icon as Icon: file:///Library/PreferenceBundles/TimeJumpPrefs.bundle/Icon@3x.png in my control but this doesn't work with the tweak built for rootless. How would I go about making it so I don't have to change this depending on whether or not I build for rootless?

lime pivot
cloud yacht
#

I have my own repo

#

I guess I could host the icon on my repo

faint timber
#

its a better practice to host

#

because not having an icon until you install the package is a bit counter-intuitive

harsh junco
#

swift+-

mellow zephyr
#

How to install the tweak file with sileo ?

cold basin
grim sparrow
harsh junco
primal perch
cold basin
#

?

primal perch
#

gets rid of ur windows watermark

#

i donno what the pictures asking its just bugging me

cold basin
#

help to connect rootless.h room in the menu

tepid olive
vivid dew
#

โ€”

wheat grotto
harsh junco
wheat grotto
#

id say the same

#

tho i know nothing about this shi

harsh junco
tepid olive
wheat grotto
lime pivot
#

this can't be right. is it really this ugly to do objc runtime stuff in Swift?

#

I must be missing some cleaner way to do this

hasty ruin
#

Question of the decade

mellow zephyr
#

How to code rootless tweaks

#

and how to install them in sileo

#

pls

peak hornet
#

Hey where would be a good place to ask about stuff like issue with this home made tamarin cable I made?

lime pivot
nimble parcel
mellow zephyr
#

How to install compiled tweaks with sileo

#

I don't have any personal repo

#

or is it needed ?

harsh junco
#

and install

mellow zephyr
#

ok

harsh junco
#

Itโ€™s just a dummy deb

dim coyote
#

ah ok

harsh junco
#

yโ€™all calm down

dim coyote
#

?

harsh junco
#

nvm

faint timber
mellow zephyr
#

and it isn't a .deb file

#

I doesn't have any file extension

#

cuz I'm making it rootless

harsh junco
restive ether
#

those two statements literally have nothing to do with each other

faint timber
#

^

mellow zephyr
#

pls

#

how to install the tweak

#

it's not showing me share to sileo

tepid olive
# cold basin

try changing the control file to say just iphoneos-arm, theos should automatically change to iphoneos-arm64 on make clean package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless

cold basin
#

?

sterile root
#

How big of a role do dependencies play in tweak development?

flint fox
#

@serene hawk What changes did the most recent update 1.1.2 bring to Anouk?

serene hawk
flint fox
limpid star
#

there are somewhat common dependencies like alderis and rocketbootstrap but it just depends on what you want to do

sterile root
#

for really simple tweaks just to get started

cloud yacht
#

I mean at minimum you need a tweak system (ellekit/libhooker/substitute/substrait). Usually, whatever your using to build tweaks handles dealing with this for you. For you local machine, theos and luz are a couple build systems that get things done. Checkout #development message

sterile root
#

tweak dev is OOP? wtf

radiant idol
unkempt raft
#

i got featured in Orion source code, massive Kabir W catJam

unkempt raft
primal perch
harsh junco
nimble parcel
#

we are ALL the Orion source code on this blessed day

mellow zephyr
#

How to make rootless tweaks

#

I have rootless setup, but I got an error while installing in sileo

#

Eroor: depends mobilesubstrate:iphoneos-arm

#

...

harsh junco
mellow zephyr
#

Not working

lime pivot
primal perch
rocky token
zenith hatch
#

pointers

rocky token
#

But arrays arenโ€™t pointers in C

frank fossil
#

Performance HUD seen on internal devices

misty cradle
tepid olive
harsh junco
harsh junco
frank fossil
# harsh junco (I really want this)

The piece of code above is all what you need. If you use rootful jailbreak you may also add them into backboarddโ€™s launchdaemon and reload backboardd
CA_PERF_HUD_LEVEL represents different levels: (3 = Full)

harsh junco
frank fossil
harsh junco
tepid olive
#

how do i get the dylib of a deb

steady nest
# tepid olive how do i get the dylib of a deb

A .deb file is a package format used by Debian and its derivatives such as Ubuntu. It is primarily used to distribute and install software on these operating systems.

A .dylib file, on the other hand, is a dynamic library file used on macOS.

Assuming that you want to extract a dynamic library file (.dylib) from a Debian package (.deb), you can use the dpkg-deb command-line tool to extract the contents of the package, and then locate the .dylib file within the extracted files.

Here are the steps to extract a .deb package and locate the .dylib file:

Open a terminal window on your macOS system.

Navigate to the directory where the .deb file is located using the cd command.

Use the following command to extract the contents of the .deb file:

php
Copy code
dpkg-deb -x <deb-file-name>.deb <output-directory>
Replace <deb-file-name>.deb with the actual name of the .deb file, and <output-directory> with the directory where you want to extract the files.

Once the extraction is complete, navigate to the extracted directory using the cd command.

Use the find command to search for the .dylib file:

arduino
Copy code
find . -name "*.dylib"
This command will search for all files with a .dylib extension within the current directory and its subdirectories.

If the .dylib file is found, you can copy it to a different directory using the cp command.

For example, to copy the .dylib file to the /usr/local/lib/ directory, use the following command:

bash
Copy code
sudo cp <dylib-file-path> /usr/local/lib/
Replace <dylib-file-path> with the actual path of the .dylib file.

Note that not all .deb packages may contain a .dylib file, and the file may be located in different directories within the extracted package contents. The find command can help you locate the file if it is present.

tepid olive
#

chatgpt moment

steady nest
robust radish
#

ar -x deb.deb

steady nest
#

it was chatgpt generated sorry

#

just a nice way to tell you to use google

tepid olive
wheat grotto
native dune
restive ether
tepid olive
#

im trying for ellekit since you guys said i cant link deb

#

@tepid olive Iโ€™m gonna send you a built dylib that can use MSHookFunction

#

Tonight

faint timber
robust radish
#

boo

tepid olive
#

Just link this dylib and use MSHookFunction

tepid olive
#

anyone knows how to compile an xcode project from linux? i know theos and stuff but idk how to get it working

indigo peak
#

you canโ€™t, you need Xcode installed to do that which you canโ€™t install on Linux

tepid olive
#

alright so im getting two answers, which one do i listen to?

#

also its a game engine

tepid olive
#

swiftc clang and ld?

#

idk if its too complicated for theos to manage

ocean raptor
#

Uses storyboards

#

You have to use Xcode

robust radish
#

wyd

hasty ruin
gentle grove
vale oxide
#

where are the hooks for uikit elements in messages?

tepid olive
#

jailed right

celest star
#

Does anyone know if we could inject code into SpringBoard in rootless env?

lime pivot
#

yes, this has been working in Dopamine and palerain 2.x

celest star
#

@lime pivot that's great!

vale oxide
#

Nice to meet you CKUITheme

#

Now what is that

#

Oh cool

#

This looks very helpful

#

Ty

tepid olive
#

make sure to check for NULL in MSHookFunction, certain functions canโ€™t be hooked with orig

tepid olive
# tepid olive yes

Will it automatically use your version of mshookfunction, when i add the dylib to ldflags?

tepid olive
# tepid olive yes

so i just do ldflags = -lellekit and then it will work when using mshookfunction in the tweak.xm

tepid olive
#

You can also do it easily with dlsym

#

Make sure you bundle the dylib in the jailed app

tepid olive
#

i dont get it

#

Idc then do something else

timid furnace
#

gm

#

so i've asked you this before but i forgot what you said so i'll ask you it again

#

what's the best way to modify a root-owned file from an unsandboxed app

#

so far i've been doing helper tool but apparently that breaks on fast devices

#

oh no i asked you months ago

#

if you're busy dw i'll just find it again

#

no iOS

#

unsandboxed app = Preferences

#

yea

#

but even still

#

i was using NSTask

#

apparently that's too slow on modern devices

#

but the problem is NSTask is too slow

hasty ruin
#

capt mode

timid furnace
#

idk but if i replace the call with return false my UI stops fucking dying

#

hm

#

but that means i would have to get the specifier from my completion handler and then update it from there right

hasty ruin
#

(Or youโ€™re using swift ui)

timid furnace
#

hm

#

for the set function that would be easy

#

as it's just a return void

#

but the get function i actually have to return something

#

do i just unconditionally return false and then update it in my completion handler

hasty ruin
#

(Or zefram is pinning the cpu at 100%)

timid furnace
#

me when the apple preference is stored in /var/root

#

sad

#
    <key>com.apple.private.persona.read</key>
    <key>com.apple.private.persona.write</key>
    <key>com.apple.private.personas.propagate</key>
    <key>com.apple.usermanagerd.persona.background</key>
    <key>com.apple.usermanagerd.persona.create</key>
    <key>com.apple.usermanagerd.persona.delete</key>
    <key>com.apple.usermanagerd.persona.fetch</key>
    <key>com.apple.usermanagerd.persona.fetchbundle</key>
    <key>com.apple.usermanagerd.persona.setbundle</key>
#

so rip

gentle grove
#

bro

#

somehow this IP is so abusive it managed to get banned by fail2ban for 15.69 million years

robust radish
#

fail2ban default behaviors are sus. when I was running ghostbin fail2ban db would grow like 10gb every day

gentle grove
#

it got unbanned from restarts of fail2ban

#

and every time it gets unbanned it immediately started attacking again

#

so it kept doubling the ban time

#

ending up at 8246337208320 minutes

#

Then it reset back to 30 and idk why

gentle grove
#

banned 39 times fr

robust radish
#

if a single IP is hitting that hard I block it in Cloudflare

gentle grove
#

So cursed

#

I cnat block specific things in hetzner firrwall

#

only allow

#

Oh maybe I can make a second firewall

vale oxide
robust radish
#

no love for cloudflare?

tepid olive
gentle grove
#

what are you talking about

gentle grove
shy veldt
#

Hey

vale oxide
shy veldt
#

Hey, so Iโ€™m re creating Artsy (even tho it is not going to be named Artsy 2) from scratch and I have came a long way with this tweak.

Itโ€™s a fun and sometimes frustrating project, but I think I need your help in this topic.

So - until now, I checked the tweak elements with Apple Music, like - I did my testing using Apple Music.

Everything is working ok and everything is coloring on the fly and most importantly it goes back to stick color once the music stops / killed.

Today I downloaded Spotify to check that it is compatible with my tweak, but I didnโ€™t knew that MPMusicPlayerControllerPlaybackStateDidChangeNotification observer is only logging Apple Music changes, so when I stop the music the colors are not returning to stock colors.

So.. anyone maybe can guide me in the right direction?

Would really love some help

timid furnace
#

@grave sparrow what about IPC to springboard

#

scam

#

IPC to cfprefsd trolley

#

i wanted to reverse cfprefsd to see what this access token thing is

#

but it seems to be all in CoreFoundation trol

#

temporarily rejecting read in blah from process 446 (dahliahelper) because an access token is needed

#

(running as mobile, no setuid)

ocean raptor
#

@grave sparrow where is the source for syscall()? I can only find __syscall in xnu/libsyscal/custom/__syscall.s

topaz yew
#

who has experience hooking launchd

#

im trying to hook posix_spawnp with fishhook and an injected library but it just causes the system to lock up

steady nest
#

because posix_spawnp is already being hooked system-wide

topaz yew
#

trying to hook posix_spawn it doesn't do anything

#

i can share my code,,

topaz yew
#

then again, idk if that means anything

timid furnace
#

you can definitely hook launchd with fishhook

#

ellekit does it

#

on macOS

topaz yew
#

yeah thats what i thought, im sure im making a small error but i just can't figure it out what it is

topaz yew
#
(includes)

static int (*spawn_orig)(pid_t * __restrict pid, const char * __restrict file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]);
static int (*spawnp_orig)(pid_t * __restrict pid, const char * __restrict file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]);

int spawn_replacement(bool p, pid_t * __restrict pid, const char * __restrict file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict])
{
    int ret = 0;
    {
        if (p)
        {
            ret = spawnp_orig(pid, file, file_actions, attrp, argv, envp);
        } else
        {
            ret = spawn_orig(pid, file, file_actions, attrp, argv, envp);
        }
    }
    return ret;
}


int posix_spawn_replacement(pid_t * __restrict pid, const char * __restrict file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict])
{
    int ret = spawn_replacement(false, pid, file, file_actions, attrp, argv, envp);
    return ret;
}

int posix_spawnp_replacement(pid_t * __restrict pid, const char * __restrict file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict])
{
    int ret = spawn_replacement(true, pid, file, file_actions, attrp, argv, envp);
    return ret;
}

__attribute__((constructor))
static void initializer(void)
{
    rebind_symbols
    (
        (struct rebinding[1])
        {
            /*{"posix_spawn", (void *)posix_spawn_replacement, (void **)&spawn_orig}*/
            {"posix_spawnp", (void *)posix_spawnp_replacement, (void **)&spawnp_orig}
        }, 1
    );
}

#

i've commented out the posix_spawn part

acoustic imp
#

@faint timber remember you helped me install the procurs BS, and we/u did something special because i was on a mac os beta. If i figure out how to update it, would i need to change anything?

pale spear
#

Any help with this?

.dylib not valid: 0xe8008029: The code signature version is no longer supported.

#

When injecting tweak

faint timber
#

Uhh sign the dylib then?

pale spear
#

I tried using still stuck at 20400....investigating

timid furnace
#

how to actually set the switch cell as on or not

faint timber
pale spear
#

yes good call!

vale oxide
#

Is there a tutorial for preference loader anywhere?

faint timber
#

theos gen

vale oxide
#

โ€ฆ

#

Wat

vale oxide
faint timber
#

its a theos template

vale oxide
hasty ruin
#

preference bundle modern

vale oxide
#

Wat

#

You realize i have no idea what Iโ€™m doing

faint timber
#

you realize that there's a guide

vale oxide
#

?

faint timber
#

theos install and how to

#

theos.dev

vale oxide
#

Oh i see

timid furnace
#
The Apple Wiki

PreferenceLoader is an open-source MobileSubstrate based utility that allows developers to add entries to the Settings application, similar to the Settings bundles that AppStore apps use.
The approach PreferenceLoader takes is different from other approaches in that the Settings-iPhone.plist and Settings-iPod.plist files are not modified on disk...

wheat grotto
#

Can someone ELI5 what the next() express.js middleware is ?

#

Theres req, res and next iirc, req is the request itself, res is the response if im correct but what the fuck is next

hasty ruin
#

The next() function is a function in the Express router that, when invoked, executes the next middleware in the middleware stack. If the current middleware function does not end the request-response cycle, it must call next() to pass control to the next middleware function. Otherwise, the request will be left hanging.

wheat grotto
#

and that means fr

lime pivot
#

those are middleware

#

your own methods you implement are themselves also middleware

#

you might also see there's a sort of final error handler middleware, depending which template you used

#

that only gets invoked if you call next() either without args, or with an error object passed in

#

so you can think of that as the final middleware if you don't handle the request (eg res.render() or res.end()) in one of your other middleware

#

basically the request goes down the chain from the first to last middleware registered, and is expected to either stop in one of those middleware where the request is fully handled, or in the error handler

#

and next() is how you continue down the chain

wheat grotto
#

Okay, thatโ€™s a much better explanation for my 3 brain cells to handle, thanks a lot.

rotund hull
#

Is there some app I can run to sideload apps now that I have a developer account?
Like alt store but for a year instead of 7 days

rocky token
#

Does alt store affect how long apps are signed?

tepid olive
#

does ellekit dylib work without headers?

rotund hull
rocky token
rotund hull
lime pivot
#

use Sideloadly, AltStore still (applerollingeyes) has the bug where it only uses the personal team even if you have a paid one

rotund hull
#

but sideloadly is scary and closed source lmao

#

SideStore seems cool

#

nevermind!

ocean raptor
#

Real ones use supercharge

rotund hull
#

Okay after I hosted my own provision it seems to work

lime pivot
#

yeah annoyingly these apps are designed for personal accounts still so they'll revoke your iOS Development certs

rotund hull
#

scary

rotund hull
lime pivot
#

oh, no you're fine

#

it just doesn't send an email for free accounts, for paid it does

rotund hull
#

I see

rotund hull
tepid olive
#

is there any header in ellekit i need to include?

vale oxide
#

with this plist


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>entry</key>
    <dict>
        <key>cell</key>
        <string>PSSwitchCell</string>
        <key>defaults</key>
        <string>com.zanehelton.redrectangle</string>
        <key>label</key>
        <string>RedRectangle</string>
        <key>key</key>
        <string>enabled</string>
        <key>default</key>
        <true/>
        <key>icon</key>
        <string>/Applications/Preferences.app/icon-table@2x.png</string>
        <key>PostNotification</key>
        <string>com.zanehelton.redrectangle/preferences.changed</string>
    </dict>
</dict>
</plist>

what code do i use to make a hook โ€œgoโ€ when its on and not go when its off

#

%hook CSCoverSheetViewController
- (void) viewDidLoad {
    %orig;

    UIView *redRectangle = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 200, 200)];
    [redRectangle setBackgroundColor:[UIColor redColor]];
    [self.view addSubview:redRectangle];
}
%end
hasty ruin
#

Watch zaneโ€™s video on preferences

vale oxide
hasty ruin
#

Zane Helton

#

Dude that made redrectangle

vale oxide
#

o

#

its a 31 minuet video on preferences dead

twilit jungle
#

Its either that or spend hours looking through docs trying to figure it out for yourself

tepid olive
misty cradle
twilit jungle
timid furnace
#

@grave sparrow thx for the caching idea

#

works

timid furnace
tepid olive
timid furnace
#

generally you use ellekit by using the substrate bindings

#

are you using theos

tepid olive
#

yes

timid furnace
#

theos's default generator is substrate

#

so you're fine

tepid olive
#

the creator gave me an ellekit dylib to link

#

i just added -lellekit to the makefile

timid furnace
#

uh

#

why tho

#

are you building a tweak

tepid olive
timid furnace
#

ok that makes more sense

tepid olive
timid furnace
#

did it even build

tepid olive
#

i just added -lellekit and then used MSHookFunction

timid furnace
#

if you add -lellekit you also have to add -L<path to ellekit>

tepid olive
timid furnace
#
  • you also have to inject ellekit, not just the tweak
tepid olive
timid furnace
#

sure

#

make sure you're inserting ellekit into the app too

tepid olive
#

i did

#

ill inject it now too

timid furnace
#

there's probably load path bullshit but idk how it interacts with injecting the tweak into an app

timid furnace
#

send the crash

tepid olive
#

no log

#

just crash

#

instant crash after opening app

timid furnace
#

and there's no crash log in analytics data?

tepid olive
timid furnace
#

Settings -> Privacy -> Analytics and Improvements -> Analytics Data

tepid olive
#

what will it be called

timid furnace
#

the name of the app

tepid olive
timid furnace
#

send it...

tepid olive
timid furnace
#

this ellekit is built for macOS

tepid olive
#

with mshookfunction for jailed

tepid olive
#

i thought i built it for iOS

#

oops

#

give me a second

rotund jackal
#

is there any way to log system-wide usage of libcurl?

tepid olive
acoustic imp
#

help? SSH VScode connecting error?

#

trying to ssh to a Mac OS vm running in qemu with guest port 22 forwarded to 5555 host port, ssh is working just not with vs code ig

acoustic imp
wheat grotto
#

Whats the difference between a token and a refresh token ? Im tryna create an auth system in Nuxt right now and ive got registering to work, my login endpoint also seems to work and even saving the token in local storage works, but still, whenever i reload the page, its gone.

Heres the auth part from my nuxt.config.js

auth: {
    strategies: {
      local: {
        //scheme: "refresh",
        token: {
          property: "token",
          global: true,
          required: true,
          type: "Bearer"
        },
        user: {
          property: "user",
          autoFetch: true
        },
        //refreshToken: {
        //  property: "refresh_token",
        //  data: "refresh_token",
        //},
        endpoints: {
          login: { url: "/api/auth/login", method: "post" },
          //refresh: { url: "/api/auth/refresh", method: "post" },
          logout: false,
          user: { url: "/api/auth/user", method: "get" }
        }
      }
    }
#

Found this on a random github repo with 9 stars, so trill

#

Obviously i had to adapt it a bit. Dudes using Postgres with Sequelize / MongoDB and im using MySQL with Prisma, but everything should be the same except for the ORM changes

#

Right after login:

#

after page reload

tepid olive
wheat grotto
#

So i guess that is not my issue here..

#

Vue dev tools even shows that i am authenticated, but it still clears that out after a reload

#

and after going back to the home page its back to this

#

I tried setting maxAge, based on a few github issues i tried setting propertyName to false and what not, but these didnt help.

vivid dew
#

are you loading the token from local storage?

pale spear
#

Anyone successfully hook an app store app with ellekit + dopamine - i don't think it is working (at least with latest Theos)

vale oxide
#

how do i respring in obj-c

#

rootless

#

so

#

dopamine/xina

#

how do i do either of those?

#

i just started

#

there are no resources anywhere for questions but this server shrug

#

why are things in []

#

but some arenโ€™t?

#

im going to go learn obj-c

#

wait you have to declare what functions are going to return

#

wat

#

@hasty ruin this is gonna suck, but it will be worth it

#

in python u dont ๐Ÿ˜ฆ

#

def whatever():

#

return 1

night rover
vale oxide
#

whitespace

vale oxide
hasty ruin
vale oxide
#

ew

#
    myFraction = [[Fraction alloc] init];
#

does this initialize the function?

#

like

#

f = func()

#

in python?

#

wait what is the difference between a interface and implementation

#

ohhh

#

makes sence

#

ok

#

thats stupid

#

why doesnt the definition declare at the same time

vivid dew
#

ronald

#

@grave sparrow

vale oxide
#

memory management ew

#

what if i want the output of something to be a string or a int

radiant idol
#

or if you're a monster you could do x.new

vale oxide
#

a function

vale oxide
lethal kayak
#

you mean the return type?

radiant idol
#
- (RET_TYPE)methodName {
  return x;
}
#

RET_TYPE can be whatever

#

int, NSString *, etc

vale oxide
#

LMAO

#

i havent even learnt strings yet

radiant idol
#

yes

#

its cursed as hell

#

since it's technically a class property

#

well now you have

lethal kayak
#

objc unironically sucks

radiant idol
#

UIView *view = UIView.new;

#

๐Ÿคข

vale oxide
#

also mac sucks ass

lethal kayak
#

it really isn't

radiant idol
#

objc is great

#

EXCEPT

vale oxide
#

EXCEPT

lethal kayak
#

objc is great except the whole language

radiant idol
#

for string manipulation and JSON parsing

radiant idol
vale oxide
#

i like that stuf

hasty ruin
#

json is fine

radiant idol
#

eh

hasty ruin
#

NSJSONSerialization

lethal kayak
#

it's just a really annoying language syntax and it's unintuitive

radiant idol
#

how have they not made a simple concat thing in there

vale oxide
hasty ruin
#

being unique doesnt make it objectively bad

lethal kayak
#

compared to other languages it's not

#

it's not bad because it's unique it's bad because it's bad

radiant idol
#

in one of my tweaks I got so pissed off at the strings because I manipulated them a lot that I made a macro for concatination:

#define strct(str1, str2, ...) \
    [@[ str1, str2, ##__VA_ARGS__] componentsJoinedByString:@""]
vale oxide
lethal kayak
#

nobody wants to type brackets over and over again

radiant idol
#

i mean it works

lethal kayak
radiant idol
#

yea

#

but with NSStrings

vale oxide
#

One important point to make here: if you only have one statement after the if(), you can just leave it like it is above. But if you have more than one statement after the if(), you must enclose them within braces:

hasty ruin
#

other languages: ()
needs a shift key

objc: []
no shift key needed

easier

lethal kayak
#

tfw a superset of the language makes strings worse

#

somehow

hasty ruin
radiant idol
#

most langs have that

vale oxide
#

why

radiant idol
#

idk

#

I use {} always

vale oxide
#

so

radiant idol
#

L

vale oxide
#

โ€ฆ

radiant idol
#

goofy

#

goofy lang

vale oxide
#

no its very simple

pale spear
vale oxide
#

and good for everything

lethal kayak
#

i prefer c++ to objc unironically

vale oxide
#

except apple development

lethal kayak
vale oxide
radiant idol
lethal kayak
#

it's definitely not good for everything

#

lol

#

no language is good for everything

vale oxide
lethal kayak
#

game programming for example

radiant idol
#

std::get_out_of_here_pls

lethal kayak
#

graphics programming

#

anything that requires high performance or manual management of computer memory

radiant idol
#

std::cpp_sucks_balls

vale oxide
#

panda3d

#

py game

lethal kayak
#

yea no shit libraries exist

#

that doesnt mean it's good for game programming

hasty ruin
#

i'm a game dev and have never heard those first two

lethal kayak
#

it's cool to make simple games with

#

when you're starting off

hasty ruin
#

python is not good for games

#

it is so slow

lethal kayak
#

but any game that you actually want some type of performance out of you wont get it

lethal kayak
vale oxide
#

fair

hasty ruin
lethal kayak
#

python is useful for AI because it's easy to manipulate data in

#

and then you just send it to the GPU for all the heavy processing

vale oxide
hasty ruin
#

elvis operator is based

vale oxide
#

wait there are 105 parts

#

shit

hasty ruin
vale oxide
#

that makes sence in the cause sense of sence

lethal kayak
#

every language is annoying except for C

cloud yacht
hasty ruin
#

no

#

C is a different language

#

@radiant idol i hate that you're right about .new

#

why have you done this to me

cloud yacht
#

Imma use this in all my code from now on

#

but only randmly

#

like same codebase has all three mehtods

#

wait

hasty ruin
cloud yacht
#

does class.alloc.init work?

cloud yacht
#

or even wrose [class alloc].init and [class.alloc init]

radiant idol
#

AAAA

vale oxide
radiant idol
#

NSString *string = [NSString initWithString:@":trolled:"];

lethal kayak
#

nextstep string

radiant idol
#

good and readable codeโ„ข

radiant idol
hasty ruin
#

genuine question @radiant idol

radiant idol
#

what

hasty ruin
#

why are you the way you are

radiant idol
#

because why shouldn't i be

hasty ruin
#

i dont like it

radiant idol
#

well that's your fault

#

you're the one drinking copium bottles every day

hasty ruin
radiant idol
#

nah

#

true

cloud yacht
radiant idol
#
๐Ÿ™ˆ๐Ÿต*๐Ÿ™‰๐Ÿ™Š = ๐Ÿ™ˆ๐Ÿต.new;
๐Ÿ™Š = ๐Ÿ™ˆ๐Ÿต๐Ÿ™Š;
๐Ÿ™Š๐Ÿ˜Š๐Ÿ™‰ = ^(๐Ÿต *๐Ÿ’) {
    ๐Ÿ’.โ˜ ๏ธ๐Ÿ‘ป = ๐Ÿ’.๐Ÿ™‰โ˜ ๏ธ;
};

๐Ÿต๐Ÿ™Š๐Ÿ™‰๐Ÿ’๐Ÿ™ˆ๐Ÿต๐Ÿ™Š(๐Ÿ™ˆ๐Ÿต๐Ÿ™Š);

@interface ๐Ÿต : NSObject
@property (nonatomic, strong) NSString *๐Ÿ™‰โ˜ ๏ธ;
@end

@implementation ๐Ÿต
@end

@hasty ruin

hasty ruin
#

๐Ÿ’€

vale oxide
hasty ruin
radiant idol
#

like you had it to begin with

hasty ruin
#
UIView*myView=UIView.new;
myView.frame=CGRectMake(0,0,100,100);myView.backgroundColor=[UIColor redColor];[myView addSubview:UIView.alloc.initWithFrame(CGRectMake(10,10,80,80))];
for(int i=0;i<10;i++){
UIButton*btn=UIButton.new;btn.frame=CGRectMake(i*10,50,10,10);
[btn setTitle:[NSString stringWithFormat:@"%d",i]forState:UIControlStateNormal];
[btn addTarget:self action:@selector(buttonPressed:)forControlEvents:UIControlEventTouchUpInside];[myView addSubview:btn];
}
int myInt=5 + 0 + 1 - 1;
radiant idol
#

i hate it

#
#import <Foundation/Foundation.h>

@interface WackyClass : NSObject {
    NSString *mY_StrinG;
}

@property (nonatomic, strong) NSString *anotherString;

- (voiiiiiiid)doSomethingWacky:(NSString *)paraaam;
@end

@implementation WackyClass

- (voiiiiiiid)doSomethingWacky:(NSString *)paraaam {
    seeeeeeelf.anotherString = paraaam;
    [[seeeelf setmY_StrinG:paraaam] printSomething:seeeeeeelf.anotherString];
}

- (voiiiiiiid)printSomething:(NSString *)text {
    NSLog(@"Printing: %@", text);
}

@end

int main(int argc, const char *** argv[]) {
    @autoreleasepool {
        WackyClass *wackyObj = [WackyClass.alloc init];
        [wackyObj doSomethingWacky:@"Wackiness overload!"];
    }
    return 0;
}
cloud yacht
#

Oh yeah I don't have a formatter

hasty ruin
#

-(oneway void)

radiant idol
hasty ruin
#

bool

#

BOOL

vale oxide
#

why is BOOL in caps

#

but int isnโ€™t

radiant idol
#

because BOOL is just an int

#

technically

hasty ruin
radiant idol
#

but a bool is just an int

#

0 or 1