#development
1 messages · Page 303 of 1
can't even remember how it works
@tepid olive wait with your old code, if you remove everything and do a NSLog with Hello world
does that work?
1 sec
what distro
i have the perfect analogy now
using arch is like buying a windows arm laptop
not for people who prefer when things work
Lol
i told myself i was gonna be down for writing some drivers for this bad boy
well
Lenovo won't release the drivers and my OS just bricked itself entirely :)
yeah my options are buy another one and copy the FS or install linux
Ubuntu or arch are the best tbh
literally bricked its windows install within 24 hours
@half walrus return it 
no
i bought it to suffer
i will suffer

Lmao
🆒

debian 
🆒
:niceballs: :catlick:

.
ew apple pc hardware

I have to use ubuntu for this
so I can get a working OS
bc it's the only one with minimal support for anything on this SoC
Run lldb, wait for segfaul then run backtrace @tepid olive
i'd like to eventually get it to run arch
why do people come to my ads and say: i found another ad for X euro
simply bc the process of getting it to boot on this weird ass soc is going to be the same regardless of distro
the price for it is already low af and they want me to even go lower 
Lmao you reselling consoles or something?
I also need to email qualcomm lol
Oh I thought you were one of those kids who was buying 85 ps5s just to resell
or try n find one of their snapdragon engineers on twitter
on the otherhand i did buy 3 ps5 yes @tepid olive
one for myself, one for uncle
and one i am left to think of what to do with it
so I can maybe get some help w/ drivers
Email the ps5 to me
500$ + shipping
I’ll take care of it


i did put it up for sale, for 450
which is 30$ more than i bought it for
and first guy came and bid 505 
i literally don't know why people are paying 800+ for a console
literally double the money
now theres a bidding war on each ad
so many scalpers here
nfr
ok it was good to speak to everyone here today. Stay safe and take care
time is running out
Wtf he’s taking off into the sky
can't push it underground
time is running out
@lethal ice true
can't stop the screaming now
can't stop the screaming now
@lethal ice true
true

why is this song so good
yea true
he's on linux compiling objc for gnustep

idk if he has llvm

he's using gdb to compile so probably not
nfr
jynx with the valuable contributions
gcc*
gdb should come with whatever that is
proud to admit i have no idea what gcc actually is bc on darwin machines and in llvm it just symlinks gcc to llvm lol
is this what ur segfault looks like
u hit enter and then it crashes?
yeah ok so why did it let that compile in the first place without -w
this is what should've happened when you compiled
did you get that warning on compilation
lovely
can you link me the gnustep github or w/e so i can go file an issue about that or look into why that is
bc ur gonna hit issues like that a lot if you aren't getting any warnings
try gcc -o main main.m -I /usr/include/GNUstep/ -Werror -lobjc -std=c11 -lgnustep-base -fconstant-string-class=NSConstantString && ./main
gcc -o main main.m -I /usr/include/GNUstep/ -Werror -Wall -lobjc -std=c11 -lgnustep-base -fconstant-string-class=NSConstantString
ok gorgeous
do u know how to fix it now
no
scanf("%d", times); is wrong
expects argument of type ‘int *’
it wants a pointer to an int
so scanf("%d", ×);
-Werror makes your compiler treat warnings as errors
-Wall enables most (not all, lmfao) warnings
^
when i'm doing a code marathon i like to use -w
which can be great when you need an app to run despite having some massive issues
It's a pointer to times
say we have int times = 2
cpu is (oversimplifying) going to say a certain 8 bits of ram have the value 2 and it's gonna refer to that ram as times
× doesn't have the value 2, it gives the location of times in memory
scanf wants you to give it the location of the variable and not its value, bc scanf is going to write a value to it
without the &, what you were writing was basically scanf("%d", 2) (pretend you'd done int times = 2; when declaring it)
is there another programming language you're more familiar with
any other languages
yeah C is a bit of a different mindset
bc it makes good sense if you understand how C gets directly compiled to CPU instructions
ok good then lol
and when you declare a function of your own and want a pointer, you’d do it like
well, one sec
@lapis vessel the bug you found a while ago is in AppleAstrisGpioProbe right? finally had some free time to start working on this. we discussed the bug around a month ago
like
int myFunc(int * thePointer, int value){
}
i actually forgot the syntax to operate on that variable :)
int myFunc(int * thePointer, int value){
*thePointer = value;
return *thePointer;
}
then calling myFunc(&someInteger, 40) would set the value of someInteger to 40 (and also return 40)
@icy cloud yeah, sorry I haven't made a short writeup yet
and if i’m wrong someone please yell because i avoid pointers like the plague
@lapis vessel all good. im trying to write this w/o looking at a blog post just for practice. i havent touched iokit stuff yet and may need some help with the ool message stuff when i get there.
i looked into oob_events as a reference for some of the mach port stuff
i need to learn mach ports
do_ool_port_kalloc has what you need for the port array
in terms of exploitation i know what I need to know except for mach ports and familiarity with IOKit structures
(kinda the few most important things for kernel exploits afaik)
mach_port_t do_ool_port_kalloc(mach_port_t dest, mach_port_t target_port,uint32_t port_count,uint32_t send_count)
In terms of vulnerability finding I think it's most important to know what data you can control, and what atomicity measures they have in place to prevent race conditions
would dest be mach_task_self()?
I want a good race condition bug
They've always seemed the most fun and imaginative to me
so im hooking a swift class, and therefore the compiler has no idea what class what im hooking is (compiler says object of type '__unsafe_unretained id const'). I want to call methods specific to this class, so what would the best option here be? Would doing something like defining a macro for a casted version of self be the best option? If not, what would?
Find one bro
Yes bro
pure swift?
me?
yes u
which class is this
#define kSongCellClass @"MusicApplication.SongCell"
yes i use a macro for that, cause i do NSClassFromString
you are doing the %init(classname = nsclass) approach for hooking right
yes
ok
// Hooking swift is hard
%init(SongCell = NSClassFromString(kSongselfClass));```
did you interface this classname with : UICollectionViewCell
so #define kCastedSelf (Balls *)self
its objc, swift and js
i got so tired that at some point i decided to just hook %UIViewController and uh check the other vc
what view controller
dont remember
but after that never touched music app again
and possibly my worst code ever


@half walrus read this
i was just gonna yell if it wasn't
The -shouldBeHooked is a method I add to make sure the class is being used where I want it to be before I actually modify it
bc that's also a lazy fix people do for problematic headers
Lol
damn it apple music subscription
how is it this time of the month already
if I have the memory address of an nsmallocblock is there a way for me to disassemble whatever's inside it w/ lldb?
not familiar with them
no idea
tried to do that a few months ago
never got around to finding a solution

didn't u say u barely used lldb
and now the question is off screen
burrito why you anime pfp now
you were like one of the only dudes to do selfie pfp too

krit does not understand what NSMallocBlocks are as it turns out
wtf kritanta is speaking in the 3rd person
Man has gone crazy to be speaking in the 3rd person
what do the voices say @half walrus
lmao
a small thing on a long list


he is everyone
mfers always watching like
and everywhere


he is looking at


pp


bitch you're about 3 months late

i converted
i am now [redacted]
tf u mean
i am now dead in skywars
because this kid decided to commit suicide to kill me
agreed
hentai

gm development
i need to run a method when a file is added to a directory
and keep that file path
do i do that
this will be done on a daemon on macos fyi
fr
There is probably a script event for it
New document.
fr
_ _
@tepid olive
google is your friend, never forget
how do people find methods to hook for tweaks?
frida-trace is nice
lul
wtf thats alot
ok even if people can see all methods to hook how do they know what does what

common sense
the names are somewhat straight foreword
Limeneos shit
Limneos
You don’t need 100 days to learn swift lmaooo
If you know other languages it’s like 5 days 
fair
the 100 days are mostly learning about building apps
the first 20 days are enough to learn swift if not building apps
ur gonna have to fill me back in on what u were trying i help too many people here
i'm always awake tho
TRUE
ah yes bc python 2 got deleted from existence when it was discontinued as well
i'm assuming they're not going to actually manually de-activate flash support in every program that runs it
u can say boomer here its ok



True
i cant let one bouncing yellow face ruin it for the other moving emotesi like :c
if u hover over them they move
my friend asked me to proofread their essay for philosophy and i'm waiting on IDA so i have the time rn
did that but it's still goin
so now i'm just reworking the entire thing
stg i've put more effort into this than I did the entirety of HS/college
wouldn't know it from how i talk here but i used to be very ocd about my writing structure/grammatical guidelines
i say shit like this but i still can't spell necessary 6/10 times
lol, it's refreshing having someone who can talk amidst all the
hooking swift is hard














hey y’all
something
is wrong with this screenshot
I don’t buy it
it’s using the 4s aspect ratio













EthanRDoesThonk

the number of bars is controlled by the OS now
as of iOS 13
It’s entirely software
I’m not even kidding it’s a core animation archive
I mean I could be wrong
@half walrus u alive
Linear exists
bruh why you keep pinging krit lol
he pinged me
lul
Bro are you alive man @late ridge


it triggers me that those two emojis don't line up perfectly
waht in the fuck
fr bird


@stuck pier i already responded to u the first time u asked that
hi
im here
is this illegal? #251043252046659586 message
if so lmk so i can delete this emssage and not get warned
idk
oh the hackintosh stuff
1 sec
when u ping someone twice and then dont respond when they ask u a question there


kritcord
Kritcord
dm


:watchdogd: :IOWatchdog: :thermalmonitord: :backboardd: :kirb:
watchdog timeout kernel panics go brrr

Hola
my favorite
Corellium reportedly found a way to disable it on iOS
🤨
unfortunately i’m not exactly jumping to start sharing reverse engineering of their security stack
is that with checkm8 or on every device
watchdog timeouts?
yeah
they just reversed
and threw a file on the OS to disable them

or something similar
lord why am I dumb
wasn't clicking for the better part of 20 minutes that there's no way to pull any real struct info from a dylib afaik
however the objc runtimes makes getting it less impossible
Nah but you can figure out the size of the struct and the types inside them by looking at how its being used.
absolutely yeah, that's what i'm having to do now
this is the context i'm looking at them for
so i'm just wanting to pull as much info from the objc runtime as possible to make doing that a lot easier w/ flex
flex won't be able to get names of the fields but the type of the argument/return types is stored in the runtime.
another thing it can do is "inheritance"
i have one struct which objc specifies somehow(??) that it's composed of 4 of another springboardhome custom struct
Not really, unless the entire dylib is parsed for the usages to then be able to find the common usage name. And even then its going to be wrong 30% of the times.
I think I am John Cena
Doing that on the go isn't really practical.
Cuz it looks like I am invisible
hm
Yup I am John Cena!
there's a discussion going on about C structs rn and it's a dev channel which for once is somehow on topic
another thing it can do is "inheritance"
i have one struct which objc specifies somehow(??) that it's composed of 4 of another springboardhome custom struct
Thats not exactly inheritance, thats composition unless that second comment wasn't meant to be related to the first.
yeah see I know you're right here, I'm just trying to think of some way it could be handled here
That should be possible, I'd say thats a bug if its not already doing that.
which may end up being a button with a "this will lock the main thread for several seconds" warning
CGRect is example of that working
while i'd say that Flex i believe has custom support for that

it does not currently and clicking one crashes the process afaik right now
let me double check what the exact trigger for that is
alright yeah, editing view crashes it
i'm assuming just because struct editing as it stands needs to be manually written in some form for every single struct
lol the flex bug that lead to homeplus existing
regression bc i remember this on old flex when ios 13 dropped
Well, it can be automated to some degree. It can allow user to select the type (for primitives) based on the size of the field and then allow user to input value corresponding to that. But thats a lot of work.
allowing me to just edit the raw hex form of the struct object(?) would be cool for this
lol imagine being able to define struct parameters in FlEx
That could be one way of doing it, but then you have to keep in mind the endianness and I can imagine that being very confusing for lot of people.
for sure, i'd say keep it simple and uneditable for ones that aren't officially wrapped by apple
maybe something at the bottom or something in the "tab" bar below search that lets you edit
this is useless and confusing to 90% of devs (maybe that’s too harsh idk) here as it stands so
click a method with return type SBHIconGridSizeClassSizes
get an NSValue object w/o indication its wrapping raw struct data
mistakenly think the method returns some form of NSValue and try to hook it and create one
Thats true.
lol

What does objCType return for that instance?
it's a struct
no pointer
i just missed that valuable piece of information when I first clicked it
and when I hit 'call' and it shot me an NSValue i assumed it logically returned an NSValue, then
Right, I am just trying to understand why that information isn't displayed in the description
if you hop in Heap -> SBIconListFlowExtendedLayout, then slide all the way over to the SBIconListGridLayout tab, you'll see a ton of examples
apple went nuts with structs for icon handling
finally doing layout right 

oh and just on that note
-()description for the object that uses a custom struct seems to usually have enough logic to figure out the structure if u decompile
Probably. But anytime a struct is passed in or used as a return value, its type encoding should be part of the signature (which is what FLEX should be using).
Wait so is the description what has the field names or struct names?
no, it doesn't, and i misunderstood something you asked earlier
objCType on the NSValue it kicks back has the struct info
well, for the one composed of other structs at least
Right thats how you can get the size of the structs and its fields.
does {SBHIconGridSize=SS} tell me anything useful beyond the name?
The S represents an unsigned short
👏
I had no idea structs got encoded within the runtime so thoroughly given they're still C structs
and afaik there after compile time glhf
Well yeah but my guess would be because of objc_msgSend. It probably needs it to store off something properly at runtime.
yeah it makes sense it'd need wrapped for objc
so knowing that's just 4 sets of short;short structs makes more sense now
I think the 0200 instead of 0002 representing 2 threw me off there before
Jiang Yang clutch god





allah is with you @vivid dew
:frbounce: :frbouncefast: :frbounce:
:frbouncefast: :frbounce: :frbouncefast:
:frbounce: :frbouncefast: :frbounce:
How

oh sheet I need this but for wakatime
I knew there'd be a way to pull these stats with applescript
true
gm
gm
man it really kinda feels like they maybe did steal from velox
thought, rich presence tweak for ios
bc i remember this exact bug in velox lmfao
lol
after my experiences I don't think I'll be trusting anyone working with me on something ever again 😬
i’ll work with people again, just those i really trust lol
except under contract arrangement but that means spending money and dammit I don't have infinite money
nfc fuckery is gonna be 100% me
@half walrus why is dragon installing my .xm file

name: TweakName
icmd: killall -9 SpringBoard
all:
targetvers: 13.0
archs:
- arm64
- arm64e
TweakName:
type: tweak
logos_files: "Tweak.xm"
ExternalWidgetExample:
dir: Widget
type: bundle
files:
- ExternalWidgetExample.m
frameworks:
- UIKit
- Foundation
install_location: "/Library/Multipla/Widgets"```
this is the staging folder wtf
bruh
i dont even have preferences
wait 
when i manually rm -rf .dragon its less fucked
i ran dragon clean 
now all is good, but the executable is not in the bundl
guess i fucked up dragon again
i do
the executable is not in the bundle
if i wanted a resource only bundle, i would have specified that
bc u manually specified the location as outside of the bundle
the executable and Info.plist should be in the same directory, no?
you're telling me that install_location doesnt move the entire bundle?
the bundle should be like
Name.bundle
- Info.plist
- Executable
ok i see the issue, that’s weird
wait maybe it’s not weird
try adding /ExternalWidgetExample.bundle to end of the install location
Oh, there is now
name: TweakName
icmd: killall -9 SpringBoard
all:
targetvers: 13.0
archs:
- arm64
- arm64e
TweakName:
type: tweak
logos_files: "Tweak.xm"
ExternalWidgetExample:
dir: Widget
type: bundle
files:
- ExternalWidgetExample.m
frameworks:
- UIKit
- Foundation
install_location: /Library/Multipla/Widgets/ExternalWidgetExample.bundle/
yep that one’s me one sec
if i remove the ExternalWidgetExample.bundle/ at the end the executable is still outside the bundle
Alright, leave that off
i see the update
i fixed the double-folder issue and removed the need to add the ExternalWidgetExample.bundle at the end as it was broken
not broken
thanks, so now i can just do /Library/Multipla/Widgets?
it was a code mistake god i’m tired
need to rename it from install_location eventually
maybe just location?
really should just actually scrap the whole abstraction layer
@glass reef ret.update({key: ret[NINJA_KEYS[key]] for key in NINJA_KEYS})
sir
what
why?
1: it’s internally referred to as location
2: easier to type
rn it gets manually converted to the other variable name
ah
difference between studio.h and foundation.h?
theyre entirely different?
Well for starters one is called studio and one is called foundation
Pretty critical difference right there
studio? or stdio?
stdio = standard i/o
Well for starters one is called stdio and one is called foundation
anyways when i install llvm clang 11 the command is clang-11 and not clang. How do I make the command clang?
This deserves a pin
lmao wtf
did i write that?
then polish your google skills as a sidenote, asking is fine but the stdio vs foundation was a pretty unqualified question. stdio has the clue in the name and it’s something you can google in regards to C programming to understand why you need that particular header, foundation is kinda like a wrapper for the fancypants NS*.h stuff so it’s accessible to you
@high river
even if pinned it won’t stop people from bashing in with their spoons in hand ready to be fed information instead of honing their researching skills
wait do these new inline replies ping the person you are replying to?
which is inadvertently a depressing fact lmao
you can toggle to ping or not, like in this example

alright someone make a lit irc client, we need to bring it back bois
irccord 
True
gm
gm
gm
hi
wait why were you banned? I've been away from this server for the past couple months
i exploited janet the bot multiple times
oh and also aaron doesn't like minesweeper
I never did that
hi
does anyone feel like helping me with som driver/kext issues on a macos installer?
(:
@vivid dew hi im your biggest fan also a tier 3 sub
:Ð

@manic forum welcome back sir

@surreal mountain gm
gm <@&355177983398641674>
After 7 months, apple product security replied to me about an inquiry I completely forgot about
@manic forum ayeeeee
wb
u have been missed
alright time to probably call lenovo and see if i can get em to just send me an iso
dumb mandatory 'recovery media creator' doesn't actually work, it just replaces ur desktop background with a lenovo branded one and crashes and i wish that was a joke
FINALLY

I found this patched kext by some random mf on the interwebs and i changed some network settings in the terminal
internet has been granted to my installer

@stuck pier
u pinged me twice for support w/ your ethernet kext and then didn't respond when i asked u a question about it
oh u got it working lol
yea basically
there was only 1 other post on the whole internet where someone hackintoshed big sur with my motherboard
and i saw the name of the kext they used
but i never scrolled down in the comments
someone had asked how they got it working and ye
victory
universal hackintosh experience pretty much
in my situation this just happened to be coolstar
imagine my disbelief seeing his name pop up on some random forum with a full list of literally everything I needed to do to get it 100% working lol
ahh you're shitting me, DRM-protected windows recovery media and the DRM is broken
😂
.
.
Fuq ye
some of those comments are quite stupid
@Jerusalem_Post @AaronReich This type of article is certainly setting the stage for the Antichrist to explain away millions of Christians disappearing in the Rapture as “alien abductions”.
this thread is just
.
I AM BACK
BURRIT0Z IS BACK

Took long enough
True
Change in pfp changes my personality

catgirls ftw
wonder what mine says
I wonder what mine says 
used to have details then i went with a polarized monochrome blue one
now it's black/grey

says ur a weeb
Non Christmas version 
anime pfp
IKR
if someone has a furry pfp are they a furry
yes
My default branch is uwu 
exactly
BACK TO THE BASICS
so anime pfp individuals are weebs



yesn't
^

least it's not a memoji pfp
Imagine being comfortable enough to have your face as your pfp
Yes because I have nothing to hide
i can still have respect for ppl with anime pfps
@twilit jungle stop lurking
memoji pfps don't deserve rights
what was that related to
lol
cringe chris when he was immature talking abuut yiff vs hentai
Do I have respect from krit

lol
yeah my opinion there hasn't changed
Oh no
oh gosh
LMFAO
that was what i said that in response to 
fair enough
ok d gh0st
Does it say to
for now i have this class i made called eventMonitor so if a left click or a right click is made outside of my view itll dismiss itself
i have to crack my laptop's broken drm yay
but it dismisses itself when i try to use my file picker
should gotten an armbook

speaking of its actually been well
besides discord freezing eevery few hours
YOU HAVE MONEY WE GET IT
and thinkorswim stability being utter shit
rather buy an acer laptop than an apple one
true
windows update broke miniport drivers
which the recovery partition apparently depended on
L
arm windows
it was bricked within 24 hours of starting it up
Quiprr I am so sorry
For [redacted] we need an are you sure button to stop that

It’s a ghost
alien chin lookin ass
if apple drops an M1 mac pro w/ egpu support i'd buy it whenever intel gets fully dropped from macos updates
other than that why tf would u buy a mac
a laptop?
desktops are great
I mean
depends on use case
ive used a desktop for the last 3 years
I use both
that's like comparing a phone to a pc lol
lol
how
why would you buy a PC its not like it can make phone calls or play fortnite mobile
so limiting
the use case is completely different
cant run my laptop at 80C or shove 32 gigs of ram and run 4 VMs on it
the 0.1% uses a pc for that


that only 0.1% does anything on their pc besides web browsing
might as well buy a chromebook for that
^
btw if you remove it because of 0.1% you'd also lose the custom servers that these web servers are running on so web browsing will also go down.
what
are u even thinking about what you're saying
if we're going for broad generalizations, the majority of PCs on the market are wired via ethernet in corporate networks and used for MS office related crap and boring desk job work
zoom on chromeOS sucks
^^^
it's bad for school
What about gramps?
Who would pay £1000 on a Chrome book
kids r just salty it does nothing else
they can't even handle having zoom and one chrome tab open at the same time and they freak the fuck out and boot you out of the meeting
ive been in a school system for the past 8 years with a chromebook/google ecosystem
often times
isn't that a cheap hardware issue tho lol
yes
yeah
exactly
but it kind of comes with chromebooks because they are generally cheap hardware
like macs
the old windows laptops they used to give out never did shit like that
@half walrus the only issue is cheaping out backfired for school from home
when your school provided laptop can’t properly handle the software it needs at home that becomes an issue lol
google is the only thing that comes close to it
I still get a better experience on macos than anyone here with official hardware
fr
it sucks for kids who dont have any other computers
ok
Not surprised
macs arent cheap
they are pretty overpriced
i got the lowest possible m1 model mba
the bluetooth on my hackintosh is fucked up
that was shit wording but
people say m1 has bluetooth issues but mine has actually been fine
used it all day today
they've repeatedly shown they're incompetent when it comes to producing a laptop that lasts longer than a year
how?
like my airpods will literally connect when i open the case and then disconnect when i put them in my ears

butterfly keyboards?
hinge/casing issues?
Mine are fine
they've had fab issues w/ the boards in the past
the only problem ive ever had with a mac
long ass list
is gpu shitting the bed after 8 years
I’ve had my mba for 5 years now, sure it runs like shit, but it has no hardware issues
Everything works
honestly when the macbook air first became a thing it was crazy for portability
it still is imo
Other companies use plastic casing
ok?
Which are obviously going to be lighter
apple does have build quality
ex: hp spectre

My friend has a spectre
how heavy is the m1
how heavy is it
It feels like if you press the keyboard too hard you will literally snap it
fanless is cool
how much does it weigh
3 cums
that's the macbook pro
been using it all day including on the charger and it hasnt heated
do that but to ~/.zprofile
air is 2.8 pounds
not ~/.profile
barely a difference 
fully metal casing laptop i just got is 4
pro is slightly thicker near the trackpad
it doesnt slim as it goes towards its just constant
The air is 1.29kg
just feels like when it comes to laptops every other manufacturer is still 6 years ahead of apple
ok but when are they making a computer i can use in the shower
or in a jacuzzi
iphone 7 and higher
laptop

thought it was the 6s
is it?
oh never mind that has a headphone jack
use .zshrc
so yeah it’s the 7
not anything else
oh yeah
my X can be in 1m of water for 30 mins
my zshrc sets up theme and stuff
i still feel like it would fuck it up if i used it in the shower
and my zprofile sources my .aliases and .exports
i still don’t know what the different rc and profile are
there was a chart
bashrc is sourced on every start in interactive mode
when it's not acting as a login shell
oh
no @restive ether
bash_profile is only when it's started as an interactive login shell or noninteractive login
Uh oh
for most uses you should probably use bashrc








oh my bad























