#development
1 messages ยท Page 48 of 1
gm developer
gm
@raven maple hey sir sorry for pinging you
How can i use ur script https://github.com/miticollo/frida-ios-dump#usage
On dopamine
Cuz i cannot connect as a root now and when i tried to connect as a mobile user i got permission denied
Okay thanks for let me know
Huh?
I will ignore the permission denied errors
Aw shit my bad
Hence the reply to his message
ok, then is there anything elts i need to do to get the BS installed?
PATH
And chsh
idk, what path to use/put, theos, Xcode, idk
and idk as well what is chsh
i wish theos would just work๐ญ
Also wtf Mac OS
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
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 ~ %
this mf has java sudo
seems the tar actually failed
oh, is it caue i did the like zstd thing befor?
are you sure you specificed the correct bootstrap file
i was supose to download the one that had the .tar.zst right ?
yes it also depends which mac
its a VM so x86
so amd
yea, that what i did, i dont have arm
not arm
yea, ik M1 M2
sudo gtar xvpkf bootstrap.tar.zst -C /
try verbose
like boot the mac into verbose mode? (idk what verbose is)
this is SSH btw
no... read the command take a hint
like no v in the xvpkf
iv done that
ik ik i ran agian still no luck
what does it output
i mean if it egsisted it cd would work right?
same thing
you didn't type v tho
jb@kasoms-Mac Downloads % cd /opt/procursus/bin/apt
cd: not a directory: /opt/procursus/bin/apt
jb@kasoms-Mac Downloads %
why are you cding into a binary after I already said it wasn't a dir and not to do so
it worked i think now
ohh
improve listening skills
after adding v to the xv...
apt all good
cat /etc/paths
cat ~/.zshrc
ssh might be using the wrong shell
k
ls -lath /var/root/
perm denied
sudo
same java thing error
at this point reboot the vm
k
also this ventura install is a beta, hence why i was trying to update it
ah
just edit the rc file
change it to the correct one
PATH=${PROCURSUS}/bin:${PROCURSUS}/libexec/gnubin:${PATH}
i can jus copy paste i term ?
i can just sudo nano PATH=${PROCURSUS}/bin:${PROCURSUS}/libexec/gnubin:${PATH}
?
to edit it
I said edit the rc file
PATH isn't a file
PATH is what you are setting in the rc file
the only rc file we've referrenced all of today...

can you not read?
dashrc (does dash have a rc?)
@primal perch yo code a better gear ratio for my CVT
like this?
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"
this is what the entire file should be ? jus delete what there and paste this
Yes
idk i didnโt read anything thatโs just from our instructions
i donโt know specifically what youโre seeking to accomplish
yeah thatโs fine besides the sandbox warning
thatโs annoying but it doesnโt really matter
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*
jus cp paste into term>?
yes apt install
you just tried to queue like three packages that donโt exist
ah
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
Probably not but it was worth a try
which?
for instalation???
Yes


Swift devs when they need to read their own code
this?? bc it doesnt work
(They wrote it 5 mins ago)
you literally already installed procursus
so i need to reinstall theos?
oh...
you installed its dependencies
so doing all of what i/you did deleted it?
huh? you installed it before?
it can't hurt to run install again
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
anything capt is grain of salt /s
...
fr
true!
to make this rootless it would need to be /var/jb.... right?
assuming there isnโt more hard coded paths that should be enough
and dependencies
ok, and do the preferances make files need to have the 'THEOS_PACKAGE_SCHEME=rootless' in them?
instead of @"/var/jb/Library/..." do #include <rootless.h> and ROOT_PATH_NS(@"/Library/...") if you want to support rootful as well
i would but idk, im jus trying to make rootfull tweak work on rootless, i dont know C ๐ญ๐ญ
curently trying to make latchkey rootless
alexia just told you
yea, il try but theres multiple harcoded paths
i wana get it compiled first then i do that
chat-gpt is not helping๐ญ
how do i fix this
update theos
i jus run the install script?
$THEOS/bin/update-theos or something like that iirc
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
yea just ignore it if it compiles fine
oh ok
it jus doesnt work, not my tweak trying to convert one
it compiles fine, show up in stettings it just it doesnt work
hmm, did you respring
how do i link a deb file in theos
hi
hai
hi do you know how to do this
hi friends, help me make sure that I have dopamine support in my ted menu
bro
Read the rules, no cheating
Read da rules #rules-and-info
Is cheating actually = piracy?
And I didn't understand what my vein is?
not sure but cheating isnt allowed on dc either
I use it for myself !
#rules-and-info message
Read in-depth piracy anyway
friend can you please
Heโs not a single person here
Also whatโs your problem exactly

Does anyone know the reason(s) why the Cheyote jailbreak was cancelled?
Read coolstarโs blog
Around this time last year (in March 2022) I had updated my main iPhone to iOS 15.1, hoping to make a jailbreak for it. I fully expected to be gone from the scene after iOS 15.1, but knew full well tโฆ
it says april 4th
I agree with that message except for the last line
ain't no one want that mf to come back
how
We didnโt reply because the question doesnโt make sense
its a deb file linking doesn't make sense in relation to a deb file ("a debian archive")
don't tempt me
I don't get it
debian archive
also because I use ar-
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
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.
naw u good, its dumb that a language even allows that
theres lots of stupid shit languages allow
especially js
but ig talking about js gets you a warning in this server ๐
That's literally allowed in like every single language
Anyways
/purge 12
;purge 13
you thought
you donโt
!purge 17
!purge 18
hello this is Sarah from the Conservative Party of Canada
not in python unless you use special syntax
heyy (with rizz)
its not in rust which was the only language I had open when i typed that
if human.hasConsent := True:
but actually this won't even work bc attribute assignment is not supported with the walrus operator
pirated from go
no sadly, what tweak are your trying to convert. what im thinking is that if it doesnt work with derootifyer script it wount work with doing what me and you are trying to do
Its FreePIP, all I did was add THEOS_PACKAGE_SCHEME=rootless to the Makefile
oh well that wount work probly, if the tweak has hard coded paths it wount work, but id the tweak install for you, and btw i think its already converted to rootless
There aren't any hard coded paths, and why wouldn't it work?
did it actully install tho, like no errors when installing thru sileo
hmm, idk but there is a working one or you could just use uYou
does uYou add this functionality? I thought it was just a youtube tweak
uYou has PiP for me
I want this to work for all PIP players
yea it does that and alot more
Also youtube reborn (uyou crashes for many people it seems)
whos many ppl?
works great for me
I see people saying that about uyou
has never crashed sense TS was out
including me lol
Right but does it enable scaling the PIP window for like chrome and netflix also?
yea
yea uyou just doesnt work for me
u installed right version?
well thats probly the problem just install it through TS
yea but found youtube reborn so cba
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
just install uYou throuhg TS???
I installed it thu silio
do u have yotube installed?
just doesn't enable free movement of PIP, it installs fine
that version doesnt seem stable
!!!!!!
why would I do that if the tweak doesnt do what i need it too
because it might not work correctly through sileo
Its installed and the pip still snaps to the sides of the screen
Itโs installed fine
@rapid saffron
Yeah see how it still snaps to the sides of the screen???
I want to put the player in the middle of the screen and have it stay there
like what FreePIP does
ahh, why would u want that?, but its alreayd converted on another repo but i cant share
you could try to derootify FreePIP?
i havent, where can i get derootify

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
theres a guide to derootify in comments
@rapid saffron
lmao what
FLA - 1
TOR - 1
i dont like hoickey
Extreme L
im from chicago
Panthers in 5 ๐๐๐๐
we do not care abt hockey
@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?
no
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
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)
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
yeah there were no changes that could affect it except for the added delay

you're getting canceled tonight
the bot must be a swift dev
brb gonna write an article about icraze piracy
afraid of the ++ operator
true
i still cant believe swift deleted that
swift moment

swift isn't very swift with its changes
no increment operator 
@unkempt raft


๐
๐
u can add it back its just ugly and useless
swift++
swift--
swift--
imagine having a long dash instead of --
--
just turn off that setting ๐ญ
when have you ever wanted to actually type a long em dash
never
might?
Definitely
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?
this isn't really answering your actual question, but if you release it on Chariz or I'm assuming Havoc, they replace the icon with a http url anyway
its a better practice to host
because not having an icon until you install the package is a bit counter-intuitive
swift+-
How to install the tweak file with sileo ?
?
gets rid of ur windows watermark
i donno what the pictures asking its just bugging me
help to connect rootless.h room in the menu
i do sometimes, but you can just long press the dash to get those
friend help
โ
I think he's having some trouble adapting his "whatever" to rootless or something idk

wrong architecture, show your control file
oh i didnt even notice that
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
โWhy is this swift code ugly?โ
Question of the decade
Hey where would be a good place to ask about stuff like issue with this home made tamarin cable I made?
Getting this same issues and I checked evvvvery single pin and remapped everything super careful like https://github.com/stacksmashing/openocd/issues/1
I should have considered you already solved this lol. thanks
looking back i feel like the API could definitely be nicer but at least you get (relatively) strong type safety โ tbh iโd recommend a bridging header as your first resort
How to install compiled tweaks with sileo
I don't have any personal repo
or is it needed ?
Share deb with sileo
and install
ok
Itโs just a dummy deb
ah ok
yโall calm down
?
nvm

I don't have sileo here
and it isn't a .deb file
I doesn't have any file extension
cuz I'm making it rootless

those two statements literally have nothing to do with each other
^
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
and the files are rootless.h? it is necessary to connect to kitimemori
?
How big of a role do dependencies play in tweak development?
@serene hawk What changes did the most recent update 1.1.2 bring to Anouk?
it injects into mobileslideshow again instead of photosuicore
Awesome, thank you
i mean, same as any other code project i guess
there are somewhat common dependencies like alderis and rocketbootstrap but it just depends on what you want to do
for really simple tweaks just to get started
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
ah, thx!
tweak dev is OOP? wtf
yeah
i got featured in Orion source code, massive Kabir W 
icraze's couch reveal

You are the Orion source code /ns
we are ALL the Orion source code on this blessed day
How to make rootless tweaks
I have rootless setup, but I got an error while installing in sileo
Eroor: depends mobilesubstrate:iphoneos-arm
...
Look up
Not working
ahem I don't see a kirb protocol
I donโt get it
pointers
But arrays arenโt pointers in C
Performance HUD seen on internal devices
wowzers
gm kabir
you need to build with make clean package THEOS_PACKAGE_SCHEME=rootless
Lest go
(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)
ah thx then
Should I add rootless.h ?
It doesn't depend on path so not needed I guess
Thx Iโll try
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.
chatgpt moment
i aint reading that
aint using your head either
ar -x deb.deb
oh so you DID end up reading it
it was chatgpt generated sorry
just a nice way to tell you to use google
i ask here for direct answers, otherwise i google but it doesnt tell me the right things
icraze reveal
that will definitely work
cringe :(
gave error no tar file or something
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
Agreed
boo
anyone knows how to compile an xcode project from linux? i know theos and stuff but idk how to get it working
you canโt, you need Xcode installed to do that which you canโt install on Linux
swiftc, clang, ld
alright so im getting two answers, which one do i listen to?
also its a game engine
if you wanna put in effort you can use mine
swiftc clang and ld?
idk if its too complicated for theos to manage
wyd
tryna do image segmentation with DeepLabV3
fun fact: git used curl before curl used git but both git's use of curl and curl's use of git have improved curl ... and I like to think that git's use of curl helps to make it a solid product.
565
where are the hooks for uikit elements in messages?
Does anyone know if we could inject code into SpringBoard in rootless env?
yes, this has been working in Dopamine and palerain 2.x
@lime pivot that's great!
yes
make sure to check for NULL in MSHookFunction, certain functions canโt be hooked with orig
Will it automatically use your version of mshookfunction, when i add the dylib to ldflags?
yes
so i just do ldflags = -lellekit and then it will work when using mshookfunction in the tweak.xm
Essentially yeah
You can also do it easily with dlsym
Make sure you bundle the dylib in the jailed app
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
capt mode
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
(Or youโre using swift ui)
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
(Or zefram is pinning the cpu at 100%)
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
bro
somehow this IP is so abusive it managed to get banned by fail2ban for 15.69 million years
fail2ban default behaviors are sus. when I was running ghostbin fail2ban db would grow like 10gb every day
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
this is 30 * 2^38
banned 39 times fr
if a single IP is hitting that hard I block it in Cloudflare
So cursed
I cnat block specific things in hetzner firrwall
only allow
Oh maybe I can make a second firewall
i like oneprovider
no love for cloudflare?
hetzner firewall doesn't even allow blocking ipv6 ๐ฟ
what
what are you talking about
no I don't want them, I only use them for DNS because porkbun is shotty
Hey
we have a love hate relationship
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
@grave sparrow what about IPC to springboard
scam
IPC to cfprefsd 
i wanted to reverse cfprefsd to see what this access token thing is
but it seems to be all in CoreFoundation 
temporarily rejecting read in blah from process 446 (dahliahelper) because an access token is needed
(running as mobile, no setuid)
@grave sparrow where is the source for syscall()? I can only find __syscall in xnu/libsyscal/custom/__syscall.s
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
because posix_spawnp is already being hooked system-wide
this is macos with nothing else, not ios
then again, idk if that means anything
yeah thats what i thought, im sure im making a small error but i just can't figure it out what it is
(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
@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?
Any help with this?
.dylib not valid: 0xe8008029: The code signature version is no longer supported.
When injecting tweak
Uhh sign the dylib then?
I tried using still stuck at 20400....investigating
@grave sparrow i cannot figure out how to do this
how to actually set the switch cell as on or not
Sign with procursus ldid
yes good call!
Is there a tutorial for preference loader anywhere?
theos gen
Whaza wherezat howzat
its a theos template
Where do it get it? (Wherezat)
you realize that there's a guide
Oh i see
This document provides the specification of the dictionaries that specify the layout of an iOS preference pane. These can be supplied statically via .plist files or dynamically via the _specifiers ivar in a subclass of PSViewController.
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...
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
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.
and that means 
if you look at the file where you call express() and configure the server, there's a bunch of app.use() calls
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
Okay, thatโs a much better explanation for my 3 brain cells to handle, thanks a lot.
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
Does alt store affect how long apps are signed?
does ellekit dylib work without headers?
alt store signs them with your personal cert, which makes apps expire after 7 days
And if you use your dev account, wouldn't the cert be good for a year?
altstore still uses the personal team :(
use Sideloadly, AltStore still (
) has the bug where it only uses the personal team even if you have a paid one
Real ones use supercharge
yeah annoyingly these apps are designed for personal accounts still so they'll revoke your iOS Development certs
scary
I thought i got banned by apple
I see
it also creates identifiers automatically in my dev account, is that something to worry about?
no that's also normal
is there any header in ellekit i need to include?
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
who is zane
Its either that or spend hours looking through docs trying to figure it out for yourself
did this not make any sense either?
its time for you to remaster his videos ๐ฏ

have you never made a tweak
@grave sparrow thx for the caching idea
works
this is a legitimate question i'm trying to gauge how much knowledge you have
i did but i never used ellekit
yes
yes i want to hook on jailed
ok that makes more sense
so did i do everything right? As the app crashes on load
did it even build
i just added -lellekit and then used MSHookFunction
if you add -lellekit you also have to add -L<path to ellekit>
The tweak did
- you also have to inject ellekit, not just the tweak
i did its -L. Or something
there's probably load path bullshit but idk how it interacts with injecting the tweak into an app
still crashes
send the crash
and there's no crash log in analytics data?
wheres that
Settings -> Privacy -> Analytics and Improvements -> Analytics Data
what will it be called
the name of the app
There is, it says missing library, macOs need ios and something with faulty thread
send it...
this ellekit is built for macOS
How do i get the ios version dylib
with mshookfunction for jailed
is there any way to log system-wide usage of libcurl?
@tepid olive
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
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 
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
not familiar with the specific framework but generally a refresh token is used to get a refreshed auth token without reauthenticating from scratch
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.
are you loading the token from local storage?
Anyone successfully hook an app store app with ellekit + dopamine - i don't think it is working (at least with latest Theos)
Yes it works
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 
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
python ๐
whitespace
๐

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
or if you're a monster you could do x.new
a function
this is a dumb language
you mean the return type?
- (RET_TYPE)methodName {
return x;
}
RET_TYPE can be whatever
int, NSString *, etc
yes
its cursed as hell
since it's technically a class property
well now you have
objc unironically sucks
well icraze gaslit me into not liking swift so here i am
also mac sucks ass
it really isn't
EXCEPT
objc is great except the whole language
for string manipulation and JSON parsing
WHY is it so complicated
eh
NSJSONSerialization
it's just a really annoying language syntax and it's unintuitive
how have they not made a simple concat thing in there
you can say that again
imo it's very intuitive once you actually learn it
being unique doesnt make it objectively bad
compared to other languages it's not
it's not bad because it's unique it's bad because it's bad
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:@""]
yeah i can see that as im going thru the tutorial
nobody wants to type brackets over and over again

i mean it works
so a similar syntax to C string concatenation
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:

other languages: ()
needs a shift key
objc: []
no shift key needed
easier

yeah that's normal
most langs have that
why
L
โฆ
no its very simple
Ellekit isnโt injecting for me with Theos, do you have a makefile you can share?
and good for everything
i prefer c++ to objc unironically
except apple development


you're a monster.
like what
game programming for example
std::get_out_of_here_pls
graphics programming
anything that requires high performance or manual management of computer memory
std::cpp_sucks_balls
like ai??? HMMMMMM
but any game that you actually want some type of performance out of you wont get it
different workload than games
fair
wait till he finds the ternary operator
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
wat wazat
elvis operator is based
elvis
valueThatMayBeNull ?: fallback
ternary
trueOrFalse ? valueIfTrue : valueIfFalse
that makes sence in the cause sense of sence
every language is annoying except for C
but does it make it Objectively c?
no
C is a different language

@radiant idol i hate that you're right about .new
why have you done this to me
Imma use this in all my code from now on
but only randmly
like same codebase has all three mehtods
wait
does class.alloc.init work?
or even wrose [class alloc].init and [class.alloc init]
AAAA
ima use that
NSString *string = [NSString initWithString:@":trolled:"];
nextstep string
good and readable codeโข

genuine question @radiant idol
what
why are you the way you are
because why shouldn't i be
i dont like it


๐๐ต*๐๐ = ๐๐ต.new;
๐ = ๐๐ต๐;
๐๐๐ = ^(๐ต *๐) {
๐.โ ๏ธ๐ป = ๐.๐โ ๏ธ;
};
๐ต๐๐๐๐๐ต๐(๐๐ต๐);
@interface ๐ต : NSObject
@property (nonatomic, strong) NSString *๐โ ๏ธ;
@end
@implementation ๐ต
@end
@hasty ruin
no
๐
use gpt4all
opinions on this?
uninstalling onesettings
like you had it to begin with
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;
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;
}
Oh yeah I don't have a formatter
-(oneway void)

BOOL is a bool usually




