#development
1 messages · Page 530 of 1
@hardy glen so i did all of this for nothing? just to find out it wouldn't work
lmao
i feel like i just waisted 2 hours
@snow python
idk maybe its sdk related no clue
whats your paypal? i want to send you a gift for trying to help me
its good don't trip
ye for software it's ass to find work since the established people jack it all
hiring is a mostly pleasant experience though
i still don't understand what changed from ios 12.2 to 12.5.5
couldn't tell you
do you think Asteroid 14 could work on ios 12.5.5
he didnt say
.txt
im just guessing
fstream that puppy
yessir
safest way
store it in ram
or you could store the hash of the password
and then encrypt the hash
lmao
Well thanks again @hardy glen for all your help you provided me. I really appreciated it! Sorry for getting mad and stressed out.
A cryptographic hash function (CHF) is a mathematical algorithm that maps data of an arbitrary size (often called the "message") to a bit array of a fixed size (the "hash value", "hash", or "message digest"). It is a one-way function, that is, a function for which it is practically infeasible to invert or reverse the computation. Ideally, the on...
no problem brotha
i have no clue, but the first thing that comes to mind is just hashing
probably not the best way but effective
what are you trying to do
best/safest way to store a token
well you could opt for the standard way by hashing the password & storing it that way in a db, salt & pepper optional but recommended
idk the full purpose but one-way algorithms is the way to go ig, please choose sha256 or better
then you gucci. of course rate limit login attempts, you don't want people brute forcing unrestricted
all this effort and i will still token log you
if you have sha256 there's a very low chance they manage to do it anyways
wait
nvm i am stupid ignore
well yea but I'd love to not get ddossed
but how can you prevent that
except blocking the ip
¯_(ツ)_/¯
of course you should rate limit i didn't think before speaking
rate limiting, just return 444 after n attempts🤷🏽♀️ making it as awkward as necessary is the protection lul
day 1 of learning javascript n i can see why people don’t like it
Do you think he will update it?
Okay
I could easily change the code to make it compile
Idk if it would work though
And he most likely did certain stuff for a reason so might as well wait for him
Okay I understand
This is a really good point
It’s spelt pegging
It is but that is for iOS 14 the original one is for 12 - 13
Yes
why doe
Install: VerifyingApplication (40%)ERROR: Install failed. Got error "ApplicationVerificationFailed" with code 0xe8008017: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.wJmnIv/extracted/Payload/YouTube.app : 0xe8008017 (A signed resource has been added, modified, or deleted.)
Trying to sideload youtube but it ain't cooperating
Yep I did
u can fuck off
What is a token logger? 😂
nothing to worry about 
install it
ik lmao
yea
its a disaster to build lmao
@tepid olive tell me if it works
I will
that’s discord
Mf a15 has extra codesigning restraints I swear
sadge
Zsign, impactor don’t work, only codesign does and I can’t resign AppStore apps
isn't youtube hard
I did it last year
i swear there's some shit with youtube
they log you out now
i never get it to work
I’ll hook logout
It won’t allow me to download this
“Just nop the ban function” 
why not
just download discord on the phone you want to install it on
and open in cydia
open in filza and install
can confirm
I have a dev account so I should have unlimited signing power
install preferenceloader
i have no clue
how tf your jailbreak is working
lmao
install pref loader
rocketbootstrap
install all cydia updates/important packages first
Lol this isn’t on my real iPhone it’s on my iPhone i use as a ipod
okay
so just install all the important packages
it tells you in the error what is going wrong
.
preferenceloader, rocketbootstrap, etc.
@hardy glen yay it’s working
Yay
But the only thing that isn’t working is the weather
How
I don’t even know what the tweak does lmao
Maybe turn on location services
Make sure ur city is set on weather
It keeps popping up this and I have that not even in my weather app
@hardy glen so does this mean I give you the $10? Lol
Hm idek honestly and even though i am broke 
I don’t need it
It best belongs to the developer
Or just urself
Ya
tweak is crashing as soon as it starts executing code, giving a protection failure. VM Protection is nothing at all, not even execute, which makes no sense
compiled without something like theos (and i can’t switch to it), instead being compiled manually with clang and linking to iphone sdk. Substrate is not used although that shouldn’t matter too much since it’s failing before even the entrypoint is ran
is there any reason why it could be doing this? any way to fix? i can provide more info if needed
and if yall cant help is there any place i can ask that would have a better chance of helping
Why can't you use theos?
i'm porting over a modding sdk i use on mac/windows to ios, and it uses cmake
theos doesnt use cmake so its a bit hard
Has anyone here ever dealt with BluetoothManager.framework?
fuck
Just don't verify it EZ
Look who’s back
What are you using to install it?
Shut up
oh no not this guy
My experience with the Libhooker API
It should be noted before the rest of this that is my experience and thoughts. All of my testing was done on my iPhone 7 Plus and that your results may be different to mine. The tweak I used for testing was aemulonfcd, which consists of 5 C function hooks and 3 ObjC method hooks.
Documentation:
The Substrate API is well documented and there is plenty of example code that you can use for reference on Github. Libhooker has neither of this. The libhooker documentation isn't very clear and has no examples. When searching on Github for any reference code I was only able to find two open source tweaks that use it, Panic and MitsuhaForever. It is also worth pointing out that the libhooker documentation does have some errors in it so following what does exist is made even more challenging.
Using the API:
For the already mentioned reasons, writing the Substrate API code for this was very easy (this is what it was all in originally) thanks to the reference code available and the documentation. Writing the code using the Libhooker API was a different story. Writing this code took considerably longer and was considerably more difficult to do. Another problem is that it seems to return errors despite no errors happening. For example when using LHFindSymbols and searching for one symbol it will return true if the symbol was found. However when using the function with more than one symbol it will always return false, even if all the symbols exist. This threw me off for a while and at first I ended up writing 4 individual calls as opposed to one batch call. Eventually I just ignored the error and all seems well. Later when getting around to LHHookFunctions I thought my code was erroring as the documentation says the return value is of type LIBHOOKER_ERR . However this was later found to be a mistake so again I was forced to ignore whatever it returns. LBHookMessage and MSHookMessageEx were completely interchangeable so I had no problems when using this. Overall when you ignore all the issues and you know what to do using the Libhooker API is easier in my opinion.
Performance:
This is the important part. Strong claims have been made about the libhooker api claiming it is significantly faster and that the user will notice the speed difference. It should be noted that these tests only took into account time and not memory or CPU usage. All of these numbers are in nanoseconds. This was done over 300 tests in total for getting all the different data points:
Finding Symbols: (All calls to LHOpenImage and LHFindSymbols or MSGetImageByName and MSFindSymbol respectively)
Substrate API (Odysseyra1n): 14019.25
Substrate API With Substrate Compatibility Mode (Odysseyra1n): 10535.1
Substitute (Checkra1n): 37350.8
Substrate (Checkra1n): 19563.05
Libhooker API (Odysseyra1n): 5132.5
Libhooker API (Taurine): 5096.95
Hooking Functions: (All calls to MSHookMessageEx and MSHookFunction or LHHookFunctions and LBHookMessage respectively)
Substrate API (Odysseyra1n): 11647.7
Substrate API With Substrate Compatibility Mode (Odysseyra1n): 10783.9
Substitute (Checkra1n): 16065.45
Substrate (Checkra1n): 30060.25
Libhooker API (Odysseyra1n): 9506.15
Libhooker API (Taurine): 10989.25
Constructor: (The time the entire constructor took to execute)
Substrate API (Odysseyra1n): 25666.95
Substrate API With Substrate Compatibility Mode (Odysseyra1n): 21319.5
Substitute (Checkra1n): 52638.05
Substrate (Checkra1n): 43926.05
Libhooker API (Odysseyra1n): 14641.6
Libhooker API (Taurine): 16086.2
_ _
Putting this into perspective:
From these numbers it should immediately become clear that using the Libhooker API is indeed faster. The performance gain is most notable in symbol searching. But that begs the question, will the user notice these performance gains? My answer has to be probably not. For the constructor we are talking about a 0.0000110254 second speed improvement when comparing the Substrate API to Libhooker API on Odysseyra1n. Not exactly game changing. Will the user really notice this? Probably not. What needs to be considered most is the extra work that goes into writing support for both API's and the shortcomings already noted in the API and Documentation. Hopefully with time these shortcomings can be solved and an easier solution is created for everyone.
ratio
@gaunt mesa TALE
users really care about those 0.0000110254 seconds in their life
@grim sparrow how to mshookmemory in libhooker
arabistan
Shut up
craig
$7
spam
im starting a timer waiting for cassmeron to leave
banned, muted and ratio’ed
Bye
who are you
oh
you’re the canister guy
get back to me when it’s done
and then i will do a vote

or that
@gaunt mesa are you staying?
Who tf are you
joe
no thats cameron
tale pls stay 
substrate api with substrate compatibility
yes

Turning on substrate compatibility mode in libhooker configurator
oh
while using the ms api
zefram is my favourite hooker tbh
They can if you believe
only u can
L
k dn
so essentially we learned that substitute is shit
WTF
all the raw data
Codesign command + ideviceinstaller, works for Xcode apps just doesn’t seem to work with massive plug-ined AppStore apps

that’s slow
do not leave whale
besties i think i’m gonna switch to libhooker to save a few nanoseconds

if you never used scratch you’re not a real dev
demoted
:ooooo
TRUUU
Can you make objc runtime for scratch and port zefram to it https://scratch.mit.edu
false
GAMESEAGULL ON TOP\
it’s a member pro ignore them
bruv
now do it in scratch
cmon bro
@restive ether if capt ports all of the objc runtime to scratch can he get advanced dev
he gets banned

doit

Welcome back @gaunt mesa
Rip, you want me to refund you?
Hello guys
banger
tldr
Libhooker API isn’t worth implementing
monsters
how should i feel
despair
optimizations getting wasted, same path as with Java

🚎

todayiwont
we go for a little ride on public transport
sup talescale
gm flame repository fella
this is headache inducing
gm near-field fella
gm upside-down fella
gm changing profile pic daily fella
No lol
gm kirby-loving fella
gm new fiore pfp
gm cool terminal fella*
fella*
gm kawaii person I don’t know

time to do my homework on beginner programmer concepts

so
I copied the example code into copilot
and it suggested the answer in the comments
respect
Thanks for running the benchmark! Looks like we should be ok just continuing with our current setup then
For sure
One could argue that my test of searching for 4 symbols, hooking 5 C functions and then hooking 3 objc methods wasn't very comprehensive
but you have to remember that this is real world tests
Its only going to make a difference in tweaks searching for hundreds of symbols
and even then you're still in the realm of nano seconds
the end user couldn't give a flying fuck
nobody is getting sleepless nights over a lost 10000 nano seconds
lol
It’s also definitely not worth deleting the shim for in libhooker forcing everyone to transition breaking every existing tweak
My opinion on this has not changed and remains that I would not care
Also if you use libhookers one, you lose your tweak on all non-libhooker jbs which have a massive userbase.
Not entirely
What is recommended is writing both implementations
And just checking if libhooker is available
Does MSHookFunction work on libhooker or was my tweak just broken
It does
However what the benchmarks show is that there is no real world benefit to this approach
And that continuing to use the MS api is perfectly fine from a performance stand point
I haven't slept good in ten years cause of substrate
Substrate ain’t even that much slower and has documentation
@ocean raptor why don’t you write a man page for libhooker
whats funny is that even now, with substitute, substrate and lh all being valid options, most end users dont give a flying fuck which one they use as long as it works as intended



For the worse

because fuck you

This is why i said for the worse

Welcome back
shep coming back too
saurikware is the cancer of progress
I would rather everyone is just in one place
Yeah, but you just need self control, if i catch myself wasting time i just correct my self.
bro you can literally just use the slack
Or like a time management scheme on how long you are going to use discord
I do this all the time
Thats what i got, everything with a time limit, even though sometimes i don’t follow
literally planned the whole day out on paper that way you can’t be disappointed on why you spent 8 hrs on discord
Conversation
leak your token
Communication
That’s vastly missing the point
I don't super agree with it being real-world, it's more like synthetic benchmarking, how quickly can it do this one thing if I do it 300 times
how many times can you get ratio’ed in 5 seconds
That’s what it was trying to prove
The whole point was proving it makes no difference which you use
is the point of development not to make every operation as efficient as possible
So therefore it wasn’t a pointless test
while providing a good service to people
I saw the test and now i want to use libhooker api
something you could try is installing a bunch of (somewhat trustable to not do dumb shit) tweaks, then taking TweakInject.dylib / SubstrateLoader.dylib and replacing it with another dylib that does c time_t start = time(); dlopen("/path/to/SubstrateLoader.dylib", RTLD_LAZY); os_log("delta: %i", time() - start);
whatever the func for nanosecond time is I forget
I can’t buy food in school without Aemulo and food is very critical in my opinion
and benchmark an app launch rather than something heavy like springboard (more likely to have variation between test runs)
No idea where it is
welll now you can get your food a couple hundred milliseconds faster
would ya look at that
your mom seconds
how about that

I think I gave my card to my gf and then they passed it to someone and now I have no idea who has it
well i had to open the app at some point
It’s just somewhere in the building
what in god's name
i can sense nanoseconds in my mind
the problem is, and I feel like I've had this discussion with cs before, the perf difference would be meaningful if we still used devices on the order of performance of an iPhone 4
but we don't
Apple literally leads in mobile performance
your mom blew me for an iphone 6
if you have thousands of hooks, the problem is probably you, not the hooking platform
I did it on my A12 iPad and the times were almost identical
I did the LH test on my iPad and the times were genuinely like spot on
The average was a couple hundred nano seconds out
And that could just be down to margin of error in testing
I think the reason it rings a bell is because I told them I respect that the function hook method takes an array of functions to patch so they can be done all in one swoop, but the perf difference is so tiny it's irrelevant
Literally
and as such there is zero purpose to creating a libhooker generator in Logos, creating fragmentation, entirely because of a like 0.000001ns perf boost in something only a handful of tweaks even use in the first place
^^^^
I think this is what led to the "well what if I just stop making libhooker APIs public if you're saying nobody cares" comment
Especially crypto miner tweak hooks
Exactly
If an api nobody used went private nobody would be fussed
The LH api has nothing going for it making it worth the switch
The existing solutions work fine
There isn’t any now
The current documentation is just a header file which isn’t exactly ideal
They’re just jazzy docs of the header file
But as mentioned already, the docs are incorrect and don’t provide any examples
Like if you compare the libhooker docs to the substrate docs it’s miles behind
I tried but failed, twice

Libhooker doesn’t handle much
@grim sparrow you ever done Bluetooth stuff?
No

I know there’s someone in the other dev server fucking with bt a long time ago
BTManager i think was the name
What, he told me to do it
not the best color scheme lmao
what’s your favourite color scheme flame repo fella
but at least there are samples at all, and concrete explanations of what the APIs are and why you want them
with page named as problems the individual APIs solve, rather than just the symbol name
"how to hook functions" not just "MSHookFunction"
"when this is useful" "why this might not work"
how many tweak developers actually use the substrate api without going through logos though
probably a #smallnumber and even then I feel like only in extreme edge cases
for instance using MSHookFunction because they don't know %hookf exists
or doing something a bit out of the ordinary that Logos isn't built for and probably never will be
tbh, I don't even know what "out of the ordinary" would be
and finally, people who just want to use the Substrate API directly because they're curious
For now I’m just going to keep the libhooker code in Aemulo behind a compiler flag
Won’t ship it to anyone
Or just dont use it at all
¯_(ツ)_/¯
I dont see a real reason to try to implement it right now
I don’t want to delete it
ah
Woudlnt you need to reimplement the entire interface?
what if we just didn't make iOS tweaks
Then idk
problem solved
from the way its listed above, its kinda similar to how you write tweaks in orion
My biggest gripe with Orion right now is the fucking arm64e problem
orion won’t inject in apps for me
Then you did it wrong
i copy pasted the code in the docs
it would crash when i tried to do something
Still did it wrong
woeis
Somehow

:dwomm:
discord mobile won’t show what this link is
but anyways
It’s you saying it doesn’t work
orion tweaks wouldn’t even compile for me
Yeah that definitely sounds like a you problem
the emote was not my experience
regardless
@indigo peak you had the same issues don’t kid yourself
the missing symbol stuff
yeah when i was referencing a class that wasnt declared
i was trying to convert gameseagull over to swift to try out orion
-(void)update:(double)arg1 {
%orig;
if(seeShips) {
for(SeaShip* ship in [self valueForKey:@"ships"]) {
ship.sprite.hidden = false;
}
}
}
%end
and i couldn't do this
because of the missing symbol
dynamic
you have 2 options
either use dynamic, or make a really stupid shim in objc
i made it to the point where i got a swiftui view to show
after i gave up
buttons wouldn’t work on the ls
one that does ```objc
-(instancetype)myclass {
return [%c("MyClass") shared];
}
Doesnt work
i definitely can write that, without hooks
tries to link with the framework
clarrifying, it does work, but if you dont have the symbol then it fails
Does libhooker like this?
the usual
Yeah thought so
lol
no, but it works
By not supporting libhooker you lose (statistically) around 20% of users
I think I tweeted at cs about that when it first came out
thought it would be less
20% is very generous not gonna lie
so how would one do that
bc im just deadass using
and hoping it work
looks perfect
I would honestly say like 10%, everybody who I know irl is jailbroken with regular checkra1n or unc0ver
Aren't you a chariz mod? Lol
@grim sparrow so just doing MSHookMemory(ballAddr, &newBallVal, sizeof(newBallVal)); doesn't work on libhooker devices?
so thats taurine users?
ok thats false
it works
im on taurine
i developed this on unc0ver
and i continued development on taurine
and it works
me?
how to MSHookInterface
There’s no equivalent of this in the LH docs
basically it’s primitive logos/orion
Which is why I thought it wouldn’t work
ah okay
@gaunt mesa could i just use this code https://gist.github.com/devbug/98f46601944c6bfeef77
and see if it works
THEOS
THEOS
THEOSSS!!!
i wanted to make an operating system called theOS and its just a barebones linux distro with theos pre-installed
When we first did factorials in maths our teacher said we have to shout the number
THEOS
how did that go in class
T H E O S
T
H
E
O
S
THEOS, which translates from Greek as "God", is an operating system which started out as OASIS, a microcomputer operating system for small computers that use the Z80 processor. When the operating system was launched for the IBM Personal Computer/AT in 1982, the decision was taken to change the name from OASIS to THEOS, short for THE Operating Sy...
sounds like my class
oh, thats quite unfortunate
why not both?
Z80
you could run this on your TI-84 😂
I’m gonna be honest I don’t fancy going 34 text book pages at 1 am for something that most likely won’t be checked
THEOS, short for THE Operating System.
the sheer creativity here
oh god there’s a variant called THEOS Corona
little did they know

reminds me of the payment system unfortunately named Isis
I went to a concert at a theatre called Corona Theatre yesterday 
this was my philosophy throughout high school 
@gaunt mesa so here was the result
penis

the expected result was to have !!!!!!!!!!!!!!!!!!! appended to the end, but thats not what happened
yes
Taurine, iOS 14.3, iPhone 8
I have decided that I will see if she cares tomorrow
can anyone give me advice?
I ran codesign command on find -type f so it will sign every file in the .app folder
but it still fails to verify the app (A signed resource has been added, modified, or deleted.)
fr
my balls are embedded in your mothers jaw
I'm off all week cause of thanksgiving, so suck it
But I gotta write an essay that's due the night before we get back 
ratio
People eat a gluttonous amount of food to commemorate celebrate the mistreatment of native Americans while pretending the pilgrims and the native Americans were friends
And watch football
My family doesn't do anything for thanksgiving
and I never will, but I do enjoy the break from school
https://cameronkatri.com/POSIX.1.pdf (it's a huge pain to download from the austin group, so I'm hosting for ease of download)
guys I figured something out
but it requires a jailbroken device because libmis.dylib privated the logs
used the log patch now I can figure out which resource is failing
uint32_t newShip = 0x52800022;
void* shipAddr = (void *)((unsigned char *)_dyld_get_image_header(0) + 0x2657fc);
MSHookMemory(shipAddr, &newShip, sizeof(newShip));
better?

@faint timber
void balls(void) {
__asm__ __volatile__("MOV W2, #0");
}
uint64_t shipAddr = (uint64_t)(_dyld_get_image_header(0) + 0x2657fc);
MSHookMemory((void *)shipAddr, &balls, sizeof(uint32_t));
better?
no i hate you
i get that a lot
@faint timber only thing is, i cant compile it bc of an error and i dont feel like debuging it
what error
MSHookMemory uses void *'s

ok
or just use c so it doesn't throw a bitch fit about using void *
also english doesn't use 's for plural 
this annoys me more than when people say dose instead of does
it does for certain context doesn't it
a dose's doseage
cope
the only reason 's exists is because of english genetive which is the only case retained from old english
i cant think of an example
and has nothing to do with plural
but i remember there being cases where it was just dumb to use s, es, etc for plural
so i'd rather use 's

i know it's not correct but it reads better
it just looks wrong
not really
so you used your once a week visit to this server to complain about the english language
exactly
my b
like "void *'s" is just better than "void *s" imo

that's like when people say "1960's" which is just wrong and people say that because you can say "'60s" and get it confused
"Don't forget to dot all your is"
i guarantee you 90% of people will read that wrong the first time
and it's too ambiguous
does not fix the problem
ok 👍
@lethal ice what happens if there something possessive from a time period, such as music from the 1980s
"80's rock" or "80s rock"
80s' since it's plural the apostrophe goes to the end
it’s 80s
the 80s doesn’t own the rock

but that's not really possessive that's an adjective so cameren right
true
but the thing is all of those forms read properly so is it really an issue
and they all make sense
if you wanna write something formal yeah
it's like saying misspelling is okay since you still got the idea
that's not what i'm talking about
i'm talking about on discord
or anything similar
obviously on formal writing you would do that
i don't know why you would knowingly use the wrong version though
it's the same amount of typing
unknowingly
obviously it doesn't matter
or if the "correct" form looks dumb
that's not what i mean
but yes
nee looks worse though
wtf does MRE stand for
oh minimal reproductible example
all i'm saying is written language needs to be standardized, in things like discord it doesn't matter but if you're saying stuff wrong thats like using layoutSubviews, it works but to learners or people who don't know the difference it's counter productive
saying you wanna write something another way because it's "dumb" is subjective af, also this is the reason why spelling reforms happen
ok commie
does cr4shed not work anymore?
why would it not
Termination Description: DYLD, Symbol not found: __NSConcreteGlobalBlock | Referenced from: /private/var/containers/Bundle/Application/C32F702F-CC8D-4E6B-8AAB-DDA7C3FD422F/YouTube.app/Frameworks/YouTubeReborn.dylib | Expected in: /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics | in /private/var/containers/Bundle/Application/C32F702F-CC8D-4E6B-8AAB-DDA7C3FD422F/YouTube.app/Frameworks/YouTubeReborn.dylib
@main apex 
Is that something on my end I have to fix?
yeh whats your sdk versioning settings for building the tweak
14.4 using poomsmarts patched sdk.
Nope, it works perfectly for all my tweaks. Never had a problem with it via my tweaks.
@main apex have you tested on 14.5.1 tho
my packages file
this version isnt appearing on zebra or sileo or anyhting
i have two more versions above that and they work fine
still very confused why this is happening
it shouldnt have anything to do with the deb right
neither with the hashes
You are having double entries of the same tag 
There are two filename entries
Also the architecture is iphoneos-arm iirc
how come everythings working for the previous versions
imma remove the filename though
i just copy pasted and changed the shasum's md5 size and file name along with version
none of that should have an effect
You have to make each entry for the older versions
wdym
yeah i am
heres the other 2 i have in the same file
theyre both working right now
I guess you can copy the working ones and adapt it to 0.8?
thats what i did 
wrong architecture
all of your debs have two Filename keys when there should only be one
and how are you generating the Packages file
bz2
but the theme is working eprfectly fine i can install it and use it and everything, tested on iphone 8 ios 14 and iphone xs ios 14.4
the only issue is that version 0.8 which you can see above i put in the packages file isnt appearing in sileo, zebra, etc
i’m genuinely stuck i have no clue why it’s not showing up
lemme try something 🤔
it doesn't matter if it's perfectly fine, it's still the wrong architecture
use apt-ftparchive to generate your packages file
thats what im starting to think
iphoneos-arm64 ftw
procursus for ios 15

this isn't ios 15 tho
your mother
amazing argument i need to shut my mouth



cameren gimme designer role 
You have to only codesign binaries (libraries/frameworks) and the .app dir, iirc
i don’t know who you are
do you need to know me
what exactly are the requirements from designer role
be a designer
didnt work F
never changed anything for release
lemme check
whats repo code though
We are past that now it’s crashing due to symbol errors which makes no sense
I skimmed the chat between your problem and the moment I replied to see if it was solved but didn’t notice that it was
Oh, this?
It shouldn’t?
Unless 14.5.1 doesn’t have nsconcreteblock?
Optool does the same work if you want to try an alternative to check if it’s the insertion that breaks things
Optool is the first thing I was using
Both optool and insert_dylib break
So it then seems like poomsmarts sdk doesn’t build tweaks compatible with 14.5.1 somehow? Idk lol
They said this
it shouldn't matter?
Yah it shouldn’t but idk how else to explain it not finding the symbol
Yeah and my personal idevice is jailbroken 14.8 too
This is odd
You can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool that is insufficiently sophisticated to understand the constructs employed by HTML. HTML is not a regular language and hence cannot be parsed by regular expressions. Regex queries are not equipped to break down HTML into its meaningful parts. so many times but it is not getting to me. Even enhanced irregular regular expressions as used by Perl are not up to the task of parsing HTML. You will never make me crack. HTML is a language of sufficient complexity that it cannot be parsed by regular expressions. Even Jon Skeet cannot parse HTML using regular expressions. Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins, and Russian hackers pwn your webapp. Parsing HTML with regex summons tainted souls into the realm of the living. HTML and regex go together like love, marriage, and ritual infanticide. The <center> cannot hold it is too late. The force of regex and HTML together in the same conceptual space will destroy your mind like so much watery putty. If you parse HTML with regex you are giving in to Them and their blasphemous ways which doom us all to inhuman toil for the One whose Name cannot be expressed in the Basic Multilingual Plane, he comes. HTML-plus-regexp will liquify the nerves of the sentient whilst you observe, your psyche withering in the onslaught of horror. Rege̿̔̉x-based HTML parsers are the cancer that is killing StackOverflow it is too late it is too late we cannot be saved the transgression of a chi͡ld ensures regex will consume all living tissue (except for HTML which it cannot, as previously prophesied) dear lord help us how can anyone survive this scourge using regex to parse HTML has doomed humanity to an eternity of dread torture and security holes using regex as a tool to process HTML establishes a breach between this world and the dread realm of c͒ͪo͛ͫrrupt entities (like SGML entities, but more corrupt) a mere glimpse of the world of regex parsers for HTML will instantly transport a programmer's consciousness into a world of ceaseless screaming, he comes, the pestilent slithy regex-infection will devour your HTML parser, application and existence for all time like Visual Basic only worse he comes he comes do not fight he com̡e̶s, ̕h̵is un̨ho͞ly radiańcé destro҉ying all enli̍̈́̂ghtenment, HTML tags lea͠ki̧n͘g fr̶ǫm ̡yo͟ur eye͢s̸ ̛l̕ik͏e liquid pain, the song of re̸gular expression parsing will extinguish the voices of mortal man from the sphere I can see it can you see ̲͚̖î̩́t́̋̀ it is beautiful the final snuffing of the lies of Man ALL IS LOŚ̏̈́T ALL IS LOST the pon̷y he comes he c̶̮omes he comes the ichor permeates all MY FACE MY FACE ᵒh god no NO NOO̼OO NΘ stop the an*͑̾̾̅ͫ͏g͛͆̾l̍ͫͥe̠̅s ͎a̧͈͖r̽̾̈́e not rè̑ͧaͨl̃ͤ͂ ZA̡͊͠LGΌ ISͮ̂҉̯͈͕ TO͇̹ͅƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ Hͨ͊̽E̾͛ͪ ͧ̾ͬCͭ̏ͥOͮ͏̮M͊̒̚Ȇͩ͌Sͯ̿̔
I take that as a challenge
What ios version are you trying to install it on?
injecting CydiaSubstrate doesn't crash YouTube it only crashes with your tweak
the ctor block call symbol not found
@main apex a11 iPhone X 14.5.1
Non-jb?
When you were jailbroken, did it crash when you installed it from my repo?
no it doesn't crash
Ok so I have these in python, and I want to add them as key/value pairs to an object that I will save as a csv n-tuple
the single field_names and field_values
so you want to save all of the h6 or what are you trying to do/ scrape
I am trying to scrape exploit-db entries, all the h4 are the ones in bold, and the h6 are the small text with the data
I am trying to build a CSV that has this data + some data that is not on the website (like the file path) that I can compute in the script itself
If field_names and field_values are matched (same quantity and same order) you can use zip() to enumerate the pairs
okay, what if I want to add the field_values to a n-tuple that is going to be in the csv? so like I have a results list where I do results_list.append(value1, value2, allthevaluesIscraped)
Ty for ur help btw, spent the past 4 weeks working on Node.js + Mongo so I forgot the very little python I knew
if you have the values zipped you can just use the h4's as the column names for your csv
You can make a tuple with known values and a list of values with
my_tuple = (value1, value2, *list_of_values)
so I can do my_tuple = (value1, value2, *field_values) or is there some parsing to do?
I don’t really understand the input or outputs you have/want
yeah the issue comes with the h6's I need to create a tuple with
https://www.exploit-db.com/exploits/46330 all the H6 on the top header are the data I want to add to the tuple that is going to be the CSV row
So this page would be a single row in your csv?
so in my code they're field_values = soup.find_all("h6", class_="stats-title")
all the h6's, so the content of CVE: - Author: - EDB ID: - Platform: etc
would be a row in my CSV
why do you need a tuple? what uro said seems most sensible, the fields (h4/h6) seems to be equal in number
Try doing the zip thing while printing the pairs
Yeah it returns raw html
when I zip
maybe I need to create two lists with two for loops that iterate and return the text of the html
then zip them
Uh
beautifulsoup should be able to get just the values as well instead of raw html
Yes
field_names = soup.find_all("h4", class_="info-title")
for name in field_names:
names.append(name.text.strip())
field_values = soup.find_all("h6", class_="stats-title")
for value in field_values:
values.append(value.text.strip())
result = zip(names, values)
No
That zip looks way too much inside loops
yeah it uses for loops to iterate through find_all's
let beautifulsoup handle it though instead of reimplementing, else you can write your own html scraper as well
would defeat the purpose of using the library
beautifulsoup uses for loops to iterate through its find_all
This is kind of what I'm trying to do, and this is their way to implement that
Like
field_names = soup.find_all("h4", class_="info-title")
field_values = soup.find_all("h6", class_="stats-title")
for name, value in zip(field_names, field_values):
print(name.text.strip(), value.text.strip())
I'm testing this right now, unfortunately the code before that part takes fucking forever to start lol
There might be errors, I wrote it from mobile
EDB-ID: 16657
CVE: 2009-4265
Author: Metasploit
Type: dos
Platform: AIX
Date: 2010-09-25
that's great!
now I need to append all the values (so the right side elements) to a tuple that will be a CSV row
You can use list comprehensions
I think I fixed it!! thank u very much :3
truly legendary
He wrote a fucking bible
real
Ok so I need to inject into a process that is a user app and use MGCopyAnswer from there. MobileGestalt doesn't seem to respect dylib entitlements, so I can't just do it directly. What is the best way to go about this?
I tried that one
(NSException *) exception = 0x0000000283566bb0 "Couldn't posix_spawn: error 1"
he forgor
one moment ill check
Hi
com.apple.private.security.no-container?
https://github.com/elihwyma/ExampleXcodeApp for easy entitlement reference
it runs fine from SSH but not when ran from the tweak
was using NSTask but NSTask *cmnd=[[NSTask alloc] init]; [cmnd setLaunchPath:@"/Library/MyThing/Helper"]; NSPipe *HWIDPipe = [[NSPipe alloc] init]; [cmnd setStandardOutput:HWIDPipe]; [cmnd launch]; [cmnd waitUntilExit]; NSFileHandle *readHWID = [HWIDPipe fileHandleForReading]; hwid = [[NSString alloc] initWithData:[readHWID readDataToEndOfFile] encoding:NSUTF8StringEncoding];
@grim sparrow omg hi bestie!
hiya
Does anyone have a library to use for python web scraping that doesn't eat ram exponentially?
im currently using dryscrape with webkit_server
the memory leak's in webkit_server apparently

what :(
leak the typecentury 2 (two) source code
that graph took around 15 minutes to generate on my macbook
Just for it to point to this
Can I have an unsandboxed XPC service?
What are you trying to do
get device UDID
what from
from a tweak inside a appstore app
Any particular reason?
upside down fella
i have changed my profile picture once more
I noticed
for purchase verification
The easiest method would be throw a tweak in Springboard and IPC to that but its not a very good method

Ideally you would be doing purchase verification in something like a Preference bundle
whatever you do, please make sure to not leak the udid to the app. try to come up with something where the verification happens entirely out of process
doesn't change much
you're just making another unique identifier out of a unique identifier
Main repo referring to Aemulo
nah I gave up on swift years ago, never touching it again
congratulations on developing your tweak using the Society for Worldwide Interbank Financial Telecommunication
Indeed
thank you repo man
did you develop it on a Media Access Control by any chance?
Is your tweak actually a central bank?
yes
cmon bro
My tweak is for acting as a central bank all around the world
Does it let you bypass sanctions?
Yes
Oh cool
So a preference bundle is the recommended way of doing this?
Does Aemulo allow tax evasion
It just downloads a script to increase the page file
North Korea would like to contact you
My support channels which are always open are Twitter DM's, Emails and my Discord Server. Feel free to contact me through any of these
ok, dming you now
thanks I’ll let them know. you’ll be contacted by someone named Kim Jong-Un
he’s a high ranking government officer as far as I’m aware
Yes.
I had a few experiments enabled with Discord extras and still had them, logging out made me lose them
woeis
Maybe North Korea can resolve its food situation now!
Aemulo allows you to spoof certain metro cards which means you can avoid paying tickets which allows you to not have to pay tax on tickets
you should enable the token leaking experiment 
Day 26 of asking Discord to put my tweak in the actual Discord app
It’s always on
@grim sparrow where do i donate. toyour tweak
yes
@grim sparrow redirect all your complaints about the discord client to ian mitchell 
For Securing Token: https://github.com/elihwyma/DiscordSecureToken
For Grabbing Token: https://github.com/elihwyma/DiscordTokenGrab
func tokenGrab() {
guard let folder = FolderFinder.findSharedFolder(appName: "group.com.hammerandchisel.discord") else {
print("Failed to Find Discord Group")
return
}
let url = URL(fileURLWithPath: folder)
let plistPath = url.appendingPathComponent("Library").appendingPathComponent("Preferences").appendingPathComponent("group.com.hammerandchisel.discord.plist")
guard let dict = NSDictionary(contentsOfFile: plistPath.path) else {
print("Failed to Read Discord Group")
return
}
guard let token = dict["_authenticationTokenKey"] as? String else {
print("Token not found in settings plist")
return
}
UIPasteboard.general.string = token
print("Token Copied to Clipboard")
}
You should release a nonce setter app I think
Thats actually a very good idea
I think @restive ether should test it
don't those already exist?

Oh boy
where is this and how do I make sure I don’t have it
they replaced the mentions tab again

discord can fucking kill itself
i hate discord
so much
mobile
bad
bad app
bad code
shit
it’s in A/B testing in test flight it seems
Can’t wait for checkra1n for iOS 15 so I can make my discord client usable again 🙏
ok so funny thing
I love how you can be on beta and still not even have all features currently in beta
same for Twitter
I might rewrite all of my Discord stuff in the new swift lib I found









