#development
1 messages Ā· Page 164 of 1
i thought it was something new
it's all paper
cs exams are gonna be on computer in a few years
thank god
L
I am using c++
i mean im aiming for cambridge or oxford, i doubt theyre gonna make me write my computer science assignments on paper imho
i bet your hand starts hurting when you write cpp code on paper
yeah idk abt the british
same thing goes for writing rust code on paper lmao
all this just to get user input
pub fn input() -> String {
let mut input = String::new();
let result = match std::io::stdin().read_line(&mut input) {
Ok(_) => input.to_string().trim().to_string(),
Err(error) => {
if error.kind() == std::io::ErrorKind::UnexpectedEof {
std::process::exit(0);
} else {
panic!("Failed to read your input! D: ({})", error);
}
}
};
result
}
Yeah, but some teachers have all the boilerplate and I just fill in a couple functions and its not that bad
writing rust code on paper is sending a message abt ur sexuality
that shit is a STATEMENT
not just some code
lol
i wrote specifically this code on paper to make a point
pub fn input() -> String {
let mut input = String::new();
let result = match std::io::stdin().read_line(&mut input) {
Ok(_) => input.to_string().trim().to_string(),
Err(error) => {
if error.kind() == std::io::ErrorKind::UnexpectedEof {
std::process::exit(0);
} else {
panic!("Failed to read your input! D: ({})", error);
}
}
};
result
}
fn main() {
let user_input = input().parse::<i64>().unwrap();
let mut i = 0;
loop {
if i >= user_input {
break;
}
i += 1;
println!("{} squared is {}", i, i * i);
}
}
my friend wrote the same thing-ish in an interpreted online language which interprets to js and runs in the browser
in my implementation, if you pass it 70000 it finishes within about 2 seconds
just start writing x86 opcodes on the next test
in theirs, it took the entire lesson (50 mins) and the output only reached 40k lmfao
what
specifically https://www.examreferencelanguage.co.uk/
nah what is this
our exam reference language is C++
bruh you got to learn a new language to take exams
and specifically this code
user_input = int(input(""))
for i = 1 to user_input
print(i, i * i)
next i
this is basically the code they wrote
this is it in rust
There is a small time delay in loops to prevent accidental infinite loops hanging (can be turned off)
oh real
have they not heard of spawning a worker process
this is supposed to be pseudocode
intepreted as js and ran in the browser
so no
because the standard is they start at 0
so it follows the standard
am I tripping or is that a mix of python and lua
having this mindset is a skill issue
at some point it won't matter
š https://neetcode.io/ - A better way to prepare for Coding Interviews
š§āš¼ LinkedIn: https://www.linkedin.com/in/navdeep-singh-3aaa14161/
š¦ Twitter: https://twitter.com/neetcode1
ā BLIND-75 PLAYLIST: https://www.youtube.com/watch?v=KLlXCFG5TnA&list=PLot-Xpze53ldVwtstag2TL4HQhAnC8ATf
#neetcode #leetcode #python
my point still stands, after about a minute its still going
you dont
you can write in this OR any high level language you know
no x86 assembly WAAAAH
š
"high level"
yes
says the most fucking low level language you can possibly get to other than writing the bits by hand
I mean I don't mind new languages, but having a languge soley for writing exams seems silly
no x86 assembly
because it's HIGH LEVEL
sure it's silly but it's not a burden at all

me when no orthogonality
I guess
also any languge?
like if I wrote my own language could i use it?
i would make exams be written in qbe IL
function s $add3(s %a, ...) {
@start
%ap =l alloc8 32
vastart %ap
%r =s call $vadd(s %a, l %ap)
ret %r
}
function s $vadd(s %a, l %ap) {
@start
%b =s vaarg %ap
%c =s vaarg %ap
%d =s add %a, %b
%e =s add %d, %c
ret %e
}
JVM bytecode
i mean as long as the examiners can see what youre trying to do clearly then yes
.
LMAO
NO I HAD REPLY
what did you say
either way this is like a generalized assembly pretty much
its like as close to assembly as possible without being assembly
wtf is filtered
because asm has so many small differences between architectures
what
ah yes my favourite piracy tool
"hate speech"
"hate speech"
r and arch btw are filtered
i have some hate speech for arch users
yeah arch btw bc when the "(eye) use arch btw" tweak came out mfs would [just spam in #general
I use an arch distrbox cause I got tired of fixing my system
and then it got unfiltered
and then i made a tweak that allowed you to add any message you want as a suffix to discord messages
and it got refiltered š
LMFAO
@sonic totem do u actually watn me to look at your ui shit
If you think you can fix it
Wait
Let me make a demo app that PoCs the issue
shword
LMAO SOMEONE MADE A PLUGIN FOR THAT TOO
for enmity
lol i know but this can be done via js
just put a button on the screen that says click me
you can patch the before of setting the text input's value and return a new parameter
there was a plugin that replaced every message you send with š
that was fun
Apologies for responding so late. I was able to get it to compile into a deb, but I donāt have the private frameworks in my make file. When installing the deb it doesnāt show in Sileo after I respring and I have no preferences for it in settings. Iām currently away from my computer though cause I was at the rec. I can dm my make file in a bit once Iām out of a meeting unless you prefer I send it here
@indigo peak the issue is that it doesnāt always scroll to the last log, as shown below
If anyone manages to solve this you get your name in TrollInstallerX credits :P
resolving references are a task done by the compiler
@indigo peak !
youre the one who glazes zefram every chance you get
ill look later, im ab to leave
The temptation to just remake this in uikit
I don't use UIKit
change from ScrollView and ForEach to List

I can't programmatically scroll without ScrollView, no?
I (painfully) do this instead
What are you reversing ?
Wow that looks like my code
Enjoyer?
Nah, I figured it out
Let me test firstā¦
just wanted to save u from looking into it
troll
EW
every mf that takes a python script and calls a binary of a python module inside of it instead of using the api is NASTY
Why did they import pymobiledevice š
fr it doesn't even get used
also side note i've been playing with a similar idea
but for some reason whenever i attach to an app's process with lldb it crashes
do you have any knowledge on JIT enabling or nah
it is on macOS loser
meant to reply to this
discord kinda just
didn't
:/
i got a fire project name for a jit enabler i gotta put it to use
:/
!
nope!
"goon_squad"
is anyone in this chat on macos 14.3 arm64
hell no
hell no
hell no
what did i do man i just need appinstalld binary
i dont feel like downloading entire macos ipsw
partialzip
Ok let me just downgrade to ventura on my 2023 macbook pro
you might as well download the entire ipsw
hell no
fr
ur a little late
you guys are saying im using sonoma, i cannot downgrade below sonoma
wasn't there someone in hack different that did some partialzip dmg extraction shit
ur a little sped
oh true this aint a kcache lmao
my bad
not complete i think
only losers need an ipsw just for rootfs dmg
wha
cool kids use literally anything else
For real!
for real 
sonomaers
please guys i dont feel like patching installd more because they added another check in 14.4
wdbremoveapplimit is fucked
it doesnt work right anymore
shouldn't have downloaded sonoma
troll
fr
I HACANT
average sonoma user
IT CAME WITH SONOMA
L
what macbook did you have again i don't recall
2023 MACBOOK PRO
2023 MACBOOK PRO
2023 MACBOOK PRO2023 MACBOOK PRO
2023 MACBOOK PRO
2023 MACBOOK PRO
i have a 2023 M2 Apple Macbook Airā¢ļø and it came with Ventura
you donāt want that garbage fr
I sold mine to my friend
sonoma works fine for me
only good 2023 mbp are the black ones
real
ok whitename
I just figured out alfie's problem for u, u should be thanking me mister
Guys what laptop does Nathan have btw?
sonoma works great for me (i literally only use my macbook headless)
no idea dude
swift ui problem
honestly yeah itās fine by now
We will see when I test 
but shitting on new macos is fun
partially the issue
fr
@sonic totem hello alfie
we're keeping the spirit of capt alive
what macos version are you operating
the proof is in the pudding
14.0
so based
holy shit ios 17 jailbreak leaked
But will it work for TIX āļø
@summer thistle if you get in TIX credits you can get dev role ā¼ļøā¼ļø
zefram 17 demo (he bootlooped immediately after this video)
What's it do?
Heās only a whitename, itās fine š
u asked to fix the demo code, which is what I did
Yes he bootlooped his mac from the simulator unfortnate
True
add me to TIX and I will fix it for u then
zefram malware is truly a curse
ab
me betting on swift's downfall:
And you can see my cursed async swift
Yes
yes please
c++23
I love cursed code
c++die
TIX release s0n btw once i get 16.6.x working
@grave sparrow please sell me zefram code, free of charge
I wouldn't know any better cuz im a whitename anyways
C++ deserves to die and rot in hell
In TrollInstallerX-v1 I randomly had some moment staring at sourcelocationās Swift and just deleted the project
Out of pure rage
why is that?
it's bad
I want to pin this
but its not terrible
mf forgets he has the ability to
idk man
i know
class::thing
i didnt want to mess upo the pins
kinda weird
use m1staware
facts
i ported shit to macos
alfie has risen from the dead
we support m1staware
c++ goes hard
Tell us what youāre making sir 
You should tell @visual meadow fr
we support m1staware alfieware and opaware
trollinstallationx idk
what about soraware
Everyone already knows smh
No the other thing
Pirated OneSettings
Well they donāt know about the other thing @radiant idol
m1staware on top (my malware is too slow because python it'll never affect anybody)
idrc
Real
what about whitenameware tho?
So tell them
No !
macos
just open the dmg and grab it
does anyone have
cope seethe etc
I think u meant yes then forgot to type what your working on
I dont feel like download entire dmg/ipsw
https://github.com/jonahnm/Telescope soraware
no, but the internet does
fine i will download 14gb ipsw

hhhhh
im using aria2
aria2c headass
fuck that
w
least should be 2.5Gbe
i would get 111mb/s if i used pc
iterm ftw
its expensive for the gigabit adapters
I don't even know what the purpose of lua is
I use it for making tweaks
heh

works perfectly fine as luaJIT is just as fast as C in this application
I should probably try to compile this for ios https://nelua.io
Minimal, simple, efficient, statically typed, compiled, meta programmable, safe and extensible systems programming language with a Lua flavor.
itās great for a language embedded in an app or something, <250KB implementation
but I'm too lazy
(it's also just more fun to write than objc imo)
š½šš
ok guys i have figured out the appinstalld problem
gmod and roblox
as in patching a function to return 0
-[MIInstallableBundle _setLaunchWarningDataWithError:]
Close to my 0day installd bug
Do you mind iCraze
Cool
Oh yeah definitely
My friend still wants that btw
Which friend
irl one
he just wants trollstore lol
hes in this server
I dont have a 17.0 device
lol
The iphone 12 i bootlooped while trying to find an install method on 17
that was my only 17.0 device
@tepid olive prove to them that you are my friend in which who wants trollstore on your phone
I donāt think thatās a real person
I would in fact like trollstore
But Iām on 17.0
ok bro
no, really?
Pretty sure yes
Maybe it prints āInstallā or something iirc
If I had TS I would not be using my enterprise cert

šš š·šš
Oh I believe he exists
But still
I get asked for installation method every single week
Be the change you want to see ā¼ļø
eta 17.0??!
DMs
š
im going to have to look through that list of
daemons that can write to var
i gues
too much work
I already have a way to write to bundles now i just need to write to /var
I thought thatās how you bootlooped
yes because i fucked the path up
if you dont fuck it up you dont bootloop
if folder does not exist you bootloop because some engineer at apple is
mentally unfit
I have trollstore and am on iOS 17.0
No itās not
Replace youself > ask user to reboot > open from app switcher
You still have to sideload
2024 for sure... im manifesting it 
enterprise cert
Iāll find something dw
Yes Cook
And post it in #1215081181729521714
No Don't Cook
š
#Unkown
Imagine not being in that channel š„
because you wont invite me
(Thereās like six people)
imagine not adding me to the channel
may i ask whom
Itās not the channel you think it is lmfao

staturnz is one

uh actually its 9 
ICraze is not one
It will be 8 soon
"hello aaron can you make me a thread"
forged from the ashes
You simplify it too much
Staturnz knows how hard I fought for it
"yes here you go"
fr it took months of hard work and dedication
30 minutes
30 weeks
Worth it in the end just for me to continuously bang my head into a wall over SwiftUI ā¼ļø
apple definitely the type of company to fuck it up a third time fr
uikit on top once again
Just don't acknowledge its existence, easy
Rewrite the UI then
I am begging you
I am sick of it
make a pwa 
i could cook
Need a WebKit bug then
go ahead
I write the haxx and not the pretty UI
they could especially with them adding the weird sideloading
Why do you think TrollStore has the UI it does 
Nah itās unlikely
everyone is locking into garctic phone maybe i should join
trollstore style ui would lowkey work out
just pray to steve jobs and sacrifice an s24 ultra for it
Nah I need my installer to be the best one
It must have the best UI and the best UX
must be on top fr
Thatās why I wonāt release it with this crappy log window
ios log windows bring back painful memories
Imagine being able to install TrollStore in less than 1.5 seconds but the UI doesnāt work 100%
speaking of that installer
Awful
have you gotten 16.5.1-16.6.1 worked out lol
Yeah should do
for a15-a16/a12-a16
aaron joined earlier and everyone left
Iāll figure something out
getting log window to autoscroll correctly is pain
actually š
yes š„
My working idea is just to 0day a PAC and PPL bypass
ok have a greart luck
Already got one of them š§
congration
lemme dm u the 0day pac rq
You havenāt purchased TrollInstallerX Premium
Alfieware
Download
You can only run the exploits, TrollStore wonāt actually install
monthly subscription trollstore installer
Everyone says ucred is PPLed but why not just⦠write to it anyway

Maybe I just donāt drop 16.6.x support
Too much work
TrollinstalerX 99 usd p/mo
just like its taking months for me to become an orangename
still a mystery fr
Not if he gets into TIX credits š„
Alfie, u told me u were going to bed over an hour ago
Withename dev
Yeah ik man
mfw i get only 4 hours of sleep each day except weekends
I need 10h tonight so I can finish TIX tomorrow
Bruh, 10h, thats like 2 nights worth of sleep for me
idk how im able to work a 14 hour shift then code for like 6 hours after
a 14 hour shift then coding for 6 is crazy
do it daily almost 
fr
we out here
š¤
can you server deafen nightwind in the vc for like 20 seconds
cheers boss
just make it a cli
Darn he went to sleep
I think I fixed his log issue?
do I need a specific entitlement to run a .sh script from an app using posix_spawn? it works fine when invoked manually via the cmd line
how u calling the sh file?
strerror prints File exists
sh -c "sh file here"
a slightly modified version of it
yes but why does it work on my mac
sandbox lets your access that file, right?
I mean I ran a fileExistsAtPath check and it was fine
so I think yes
but it doesn't matter, I can put any ents I need
mac moment ig
yes
alright
args and sh file all in that one string
call zsh
also manually doing this works as well
ok
wait
I feel like it's a ents issue
why are you passing sh as an arg
isnt that how ur supposed to do it
hm
wait what is the error its throwing?
"File exists"
from what
is that from your script?
oops
print the error code
chmod +x
that error code makes more sense
actually i am not sure
it works when manually invoking it via the cmd line tho
that's the thing
ls -l on the script
call zsh
I am
-rw-r--r-- 1 root wheel 4235 Mar 27 22:38
it doesnt have x
but why does it work with the regular cmd line
let me try chmod'ing it
same thing
are you root?
for chmod
I manually set it to 777 via Filza to try
-rwxrwxrwx 1 root wheel 4235 Mar 27 22:38
chmod() the file before you run posix spawn
that's what I was going to do but I wanted to try and see if worked if I manually chmod'dded it first
app
chmod'dded
hm
still doesn't work with this?
entitlements
nope
hm
make another sh file that just runs echo hi
point it to that, see what happens
if it errors still, it's something with invoking the script, if it doesn't error, there's an issue in the script itself
I'll do this first and then I'll try what statur was saying
Nightwind

what is the script?
rune drm crack
modified version of rootless-repack.sh
set -x```
have fun
current one on the repo or diff?
current one on repo
(set -e = stop on error, set -x = print every command before executing)
well I added some rpaths but otherwise yes
maybe cant access the deb path form the script?
is there a way to print to syslog from an sh script by the way so I can see the issues in idevicesyslog
aw
ok no that's too much work
can pipe the posix spawn output and print it with syslog()
I have my own logging function, I just need to see how to pipe posix_spawn output
sent current posix_spawn stuff
https://github.com/opa334/TrollStore/blob/976f3596d5f1d52522df3e4aa17cf7a2ac3e4edc/Shared/TSUtil.m#L88 (scroll a bit down)
ok quick question
say i allocate memory in my objc class
what method should i free it in
dealloc prob
how are u allocating it
malloc
free
-[NSObject dealloc]!!
yw
š„ŗš„ŗ
Which flex loader are you using





what perms is the path supposed to have
root:wheel 755 probably
but it does have those perms ā¹ļø
anyone know?
root wheel 0644
oh right 755 is insecure mb
read pinpal's theme guide tbh
nothing there saying about it :(
@native orbit @timid furnace
seems like the script is failing here:
if [ -z "$1" ] || ! file "$1" | grep -q "Debian binary package" ; then
echo "[RootlessPatcherUtilities] Usage: $0 [/path/to/deb]"
exit 1;
fi
š¤
oh he doesn't go into detail about it, mb
ill try it hold on, same with clock right?
im doing it through snowboard, its the same right?
"Operation not permitted" 
yeah
just means you don't have read perms maybe?
just use [ -r ]
to test read?
wdym
if [ -r file]
oh
returns true if it exists and you have read perms
@faint stag font size of 0 will make it just disappear correct?
hopefully
see the weird thing is that the script runs fine if I run it manually instead of posix_spawn'ing it via the app
#!/bin/sh
set -x
set -e
LDID="ldid -Hsha256"
if [ -r "$1" ] ; then
echo "[RootlessPatcherUtilities] Usage: $0 [/path/to/deb]"
exit 1;
fi
echo "[RootlessPatcherUtilities] Creating workspace!"
this also says "Operation not permitted"
then it means the app is getting denied somewhere
if it was sandbox, os log should report it
should I look for the app's bin's name in oslog?
or would that be in the kernel or something
either pid or binary iirc
would the clock have the same issue? since it's also got the analog time on it?
uh
clock uses images
you can just use an empty png maybe
System Policy: RootlessPatcherv(27392) deny(1) file-read-data /private/var/mobile/Containers/Data/Application/A79E15B4-9CC2-4E98-B51A-54819F45451D/Library/Saved Application State/com.nightwind.rootlesspatcherv2.savedState/KnownSceneSessions/data.data
I see this
but I don't think it's related
these are the ents I have
it looks like its in springboard
oh system policy
apple silicon is uhh
i dunno if it's the same entitlement then
well this is on iOS
Nightwind asking for help 
Skill issue
guess they changed it at some point
used to actually just say sandbox
Is your patcher going to be open source ?
wait
but this file is in the apps own container
is an entitlement breaking something?
yes
W
@faint stag ^
Bro is gonna port every tweaks to rootless
does it work on every tweak. Like whatever opa said in that one tweet about balls
I'm not sure. The .sh script is in /var/jb/Library/Application Support/RootlessPatcherUtilities/repack-rootless.sh and the .deb file that i'm trying to run it on is in /var/jb/var/mobile/.RootlessPatcher/<deb>
well it works on a lot of tweaks that don't work with Derootifier
It will not work on obfuscated tweaks
Oh W
Do u need the skip-library-validation ent?
i cant wait for it to release!
Is that even an ent ?
yes
I know that was a iOS 15 banned ent thatās why Iām asking
well
i guess it would make sense if you had the app test reads for dirs unless you implemented a file picker/sharing
Also do you plan on making a write up about your patcher ?
I tested to make sure both things exist via fileExistsAtPath:isDirectory:
I mean sure why not I guess
Donāt do it just for me lol
Try removing that ent out of curiosity nightwind and see if that makes any difference
you can check if files exist without being able to read them
at least through objc
Alright I will in a bit
Hmm what should I use then? the āaccessā C func?
Question is will it ever be released š
Cuz I had issues before with trying to use that ent, like before opa even knew it was banned
@placid krakenbtw did u finish the operator precedence thing
i dont understand if sptm is a replacement or addition to ppl in ios 17 a15+
Like are ppl bypasses irrevelant for a15+ on new ios versions
Useless entitlement
Doesnāt actually skip library validation
lol
Thatās why Iām recommending removing it lol
yeah same issue
Still not needed
I think what i'm gonna do is pipe stdout and stderr to my log to see what it shows
PPL doesnāt exist anymore on SPTM versions
I've been avoiding this because it looks like a pain to implement but
I see thanks.
Depends on the root cause issue
Dopamine 2.0 bypass would probably be able to bypass SPTM, Fugu15 one probably wouldnāt
nightwind patcher getting public? 
go away dings
no
Itās complaining about not being able to locate grep and file
yes which sounds pretty bad
@radiant idol Do you perhaps have cynder's header server files downloaded ?
no
Echo out the PATH variable and see what it says
sure
Starting to think DTCalabro may have developed at some point 
U donāt say
no way

@summer thistle canāt try your fix because Xcode nuked every single one of my SDKs and wonāt let me redownload šš
Why are my calendar fonts still showing on my theme?
<key>CalendarIconDateSettings</key>
<dict>
<key>FontSize</key>
<integer>0</integer>
<key>ShadowBlurRadius</key>
<integer>0</integer>
<key>ShadowColor</key>
<string>#cecece</string>
<key>ShadowXoffset</key>
<real>0.0</real>
<key>ShadowYoffset</key>
<real>0.0</real>
<key>TextColor</key>
<string>#242424</string>
<key>TextYoffset</key>
<real>0.0</real>
</dict>
<key>CalendarIconDaySettings</key>
<dict>
<key>FontSize</key>
<integer>0</integer>
<key>ShadowBlurRadius</key>
<integer>2</integer>
<key>ShadowColor</key>
<string>#a72424</string>
<key>ShadowXoffset</key>
<real>0.0</real>
<key>ShadowYoffset</key>
<real>0.0</real>
<key>TextColor</key>
<string>#ffffff</string>
</dict>```
Share it with me, Iāll try it for u then
Share what
TIX
"/usr/bin:/bin:/usr/sbin:/sbin" 
these don't exist on rootless do they

that's interesting
Smh
Thatās part of the issue then
Rejailbreak and retry
bro what
ok hm so I need to pass in the proper path I guess
Try setting it to bash instead of sh
Derootifier does pass it in but it's sw*ft and it doesn't even use posix_spawn
but it works when triggered manually
thats the thing

this is how Derootifier does it
@odd ridge you're a dev ?
But why does it have to set it anyways, shouldnāt it be set already?
I thought you were nightwind's alt
i am making a theme lol
wouldnt call myself a dev
Oh ok I thought you were just nightwind's alt
Nightwind run PATH in terminal
I'm not sure, but I do know that /usr/bin doesn't exist in rootless
lmao
What
bro what
/usr/local/sbin:/var/jb/usr/local/sbin:/usr/local/bin:/var/jb/usr/local/bin:/usr/sbin:/var/jb/usr/sbin:/usr/bin:/var/jb/usr/bin:/sbin:/var/jb/sbin:/bin:/var/jb/bin:/usr/bin/X11:/var/jb/usr/bin/X11:/usr/games:/var/jb/usr/games
any ideas on a fix tho?
Ummm, ackshually, it does exist
Told you
So just copy that
Was gonna say the same 
I.. don't think that's unversal across all phones lol
hm
PATH must be redefined in your wrapper app
Great minds think alike
I do NOT think alike to whitenames
time to google how to pass in the PATH to posix_spawn
U told me that u see me as an orangename last night
Or this morning I should say
Cuz it was like 1 am or something
Zero recollection
add to envp and pass that
Yeah itās just an env car
var
š
please die
wait
ā¹ļø
I drove my env car to school today
Itās broken just like nightwindās
no no
thats what Im passing in atm
itās a posix spawn arg
Idk, I canāt help u cuz I only call posix spawn in languages other than swift
Bro photshopped this
im
not
writing
swift
ā¹ļø
Oh, my bad, I saw the Derootifier one and thought u were too


