#development

1 messages · Page 536 of 1

restive ether
#

if you make one please sign it

hardy glen
#

Yes sir

#

Activision can suck my dick

restive ether
#

very competent dev teams

hardy glen
#

Its smoke with raven, activision and bilzzard

#

Although blizzard already going through it

#

Its crazy all my favorite game franchises are going down hill because of money hungry companies backing them

ocean raptor
#

@lime pivot I got -container working, you can specify a path or a bundle id, do you know how I found the container path for a group?

grim sparrow
#

ok

#

update

#

using the private apis from uikitcore it doesn't work

restive ether
#

man

grim sparrow
#

new plan

indigo peak
misty cradle
grim sparrow
#

@restive ether I have a problem

restive ether
#

moyai

#

what you doing

grim sparrow
#

I don't even know

#

Abusing private apis incorrectly it seems

indigo peak
faint lionBOT
#

Hey @grim sparrow, have a look at this!

support2

Please keep jailbreak and support related questions in #jailbreak or #genius-bar, thank you.

grim sparrow
#

no

#

its a bloo thing

indigo peak
#

:c

grim sparrow
#

you can't limit who can see the commands

indigo peak
#

@grave sparrow
6e 6f 2f 62 69 74 63 68 65 73

#

6f 6e 65 2f 62 69 74 63 68 0d 0a 0d 0a 61 6e 64 20 74 68 61 74 73 20 63 61 6d 27 73 20 6d 6f 6d

high citrus
#

4E6576657220676F6E6E61206769766520796F752075700A4E6576657220676F6E6E61206C657420796F7520646F776E0A4E6576657220676F6E6E612072756E2061726F756E6420616E642064657365727420796F750A4E6576657220676F6E6E61206D616B6520796F75206372790A4E6576657220676F6E6E612073617920676F6F646279650A4E6576657220676F6E6E612074656C6C2061206C696520616E64206875727420796F750A

tepid olive
#

true

indigo peak
#

EXACLTY

#

oh hi

#

how are you

#

"man"

tepid olive
#

your mom

#

nya

#

oh

indigo peak
#

dad?

ocean raptor
#

What's the entitlement that lets me access all app groups

indigo peak
#

com.apple.security.application-groups

grim sparrow
#

just throw in

#

as the group

misty cradle
#

damn thats crazy

restive ether
#

anyways

#

.

faint timber
#

Your mother is a security group

surreal mountain
#

decent app developers PLEASE slide into my dms

#

i beg

grim sparrow
#

Dude just do it yourself

surreal mountain
#

no

#

i dont have time

#

and its not that anymore

#

its something else

grim sparrow
#

What is it now

surreal mountain
#

well kind of

grim sparrow
native dune
#

i slid into something else

grim sparrow
#

Is the payment in monopoly money?

surreal mountain
#

its that but more than just the explorer

#

ill pay you in USD

#

paypal

#

idc

hardy glen
#

What is it

#

And how much

indigo peak
#

get yo designer looking ass outta here

native dune
#

damn..............

surreal mountain
#

iOS app for this

#
  • a wallet app
#

combined

#

inspiratiojn

ocean raptor
hardy glen
#

@sinful brook

#

They “fixed” the game a little

#

Good enough for private game

native dune
#

FaZe

hardy glen
#

yessir

#

Faze weenie warrior 420

#

HOW TO GET INTO TWEAK DEVELOPMENT
This has been asked countless times so it's time that there is a long message that explains this.
One of the first things you want to do is reach a "baseline" before you can even think about getting started.

What this means is that you need to be familiar with Object Oriented Programming and how to use Objective C.
uroboro was kind enough to create a guide that you can find here: https://uroboro.github.io/Learn-Objective-C-in-24-Days-Clone/
Additionally, you should also learn a little bit about how iOS works, learn some basic frameworks/stuff you will need to work with.
Stuff like how to use UIKit, Foundation, etc. Once you have a pretty good understanding of these, then you can proceed.

The next step is to actually start making tweaks. Install a tool called Theos for your appropriate device.
The installation wiki can be found here: https://github.com/theos/theos/wiki, please make sure to follow the appropriate platform instructions.
After that, you are ready to start making tweaks, please follow a tweak development guide. (Here's one if you're lazy: https://kodeycodesstuff.tech/guide) @azure sail

azure sail
#

@grave sparrow

#

@grave sparrow

#

@grave sparrow

tardy narwhal
#

are actually tryna get into it alpha

azure sail
#

Yeah

tardy narwhal
#

good luck, be sure to snoop around GitHub for other oss projects

azure sail
#

True

hardy glen
#

@twilit jungle will answer every question u have

#

Any time of the day, feel free to bother him

snow python
tepid olive
#

HOW TO GET INTO TWEAK DEVELOPMENT
leave1leave2leave3leave4leave5leave6leave7

hardy glen
#

true

hardy glen
#

^ can confirm

twilit jungle
hardy glen
#

Working on a dgh0st diss track rn

#

Okay capt on the hook

#

Ill do the verses

hasty ruin
hardy glen
#

exactly

hardy glen
#

Cover art for the track^

faint lionBOT
hasty ruin
#

W

hardy glen
#

New profile picture twins, what do you think

indigo peak
#

@hardy glen

hardy glen
#

Okay off to go make my repo

#

Lets see how this goes

next wadi
indigo peak
#

@hardy glen

faint timber
#

Eminem just salty he can’t have megan

indigo peak
#

ew who wants megan thee stallion

faint timber
#

Wrong megan

restive ether
#

megan graduated college man don’t hate on an intelligent woman like that

#

she the baddest in the game

faint timber
#

I’ve heard that description before sus

indigo peak
restive ether
#

no the game of your dad asking your mom for a divorce

indigo peak
#

thats not a game

lime pivot
hardy glen
#

Nice just made my repo, this shit was easy asf

hardy glen
#

this is amazing lmao

hardy glen
tacit spade
#

HOLY CRAP I UNDERSTAND AUTO LAYOUT

#

IT MAKES SENSE

#

IT ALL JUST CLICKED

#

THAT’S SO COOL

faint timber
#

Don’t you just love eureka moments

ocean raptor
gentle grove
indigo peak
#

how do make a jailbreak ios 15

#

i know html and css

#

and a little html5

torn oriole
#

Step 1: Bully ios into submission

#

Step 2: jailbreak

lime pivot
#

it's incredibly rewarding when you just know how to use autolayout and can come up with a crazy complex layout that works perfectly with zero or minimal code involved

tepid olive
#

tf is auto layout

lime pivot
#

layout but automatic

tepid olive
#

tf is layout

lime pivot
#

out which is laid

#

it's the way you express how you want your UI to be laid out, simplifies what often used to be pretty complex logic you'd have to write by hand

tepid olive
ocean raptor
twilit jungle
main apex
indigo peak
#

i can confirm

lime pivot
#

@ocean raptor defaults read with no params is trippy lol

#

I didn't consider that was a thing

azure sail
#

hello

#

i will make tweak

indigo peak
#

hello

#

do it

azure sail
#

i know html and css

tepid olive
#

before its too late

#

safe yourself alpha

azure sail
#

ok

lime pivot
#

write a tweak in Win32

azure sail
#

msdos

tepid olive
lime pivot
#

yes write a tweak in x86 assembly

azure sail
#

how to jailbreak xcode sim

indigo peak
#

Step 1: Bully sim into submission
Step 2: jailbreak

main apex
#

I wish we could make tweaks in c# using visual studio.

lime pivot
azure sail
lime pivot
#

the madman is actually gonna do it

tepid olive
#

you need taurine++ with ios 15 support

azure sail
#

taurine vip

#

and taurine gold

lime pivot
#

the cooler taurine

main apex
#

The get laid taurine

tepid olive
azure sail
#

how to hook some bitches

ocean raptor
#

defaults find too, but I'm not sure how I'm gonna implement it

azure sail
#

how to hook breadcrumbs

#

genuine question

#

no clickbait

twilit jungle
#

same way you'd hook anything else

azure sail
#

what's it called

indigo peak
ocean raptor
azure sail
gusty pelican
#

%hook iOSClassNameThatIsWayTooLongForNoReason

indigo peak
#

hello

#

i am not amy

azure sail
#

just found it

#

%hook SBDeviceApplicationSceneStatusBarBreadcrumbProvider

twilit jungle
#

np

restive ether
#

what

#

there’s like a whole help command

#

and cameron even spent time writing a manpage

#

so install man

#

there are no side effects

#

the old -a used a apple framework but it’s slow and sucks, making -a just work as a recursive -p was better and faster

#

appstore apps never need to be ran in uicache so it didn’t really matter

#

yeah

#

the way -p works does not support appstore apps

#

on ios 14 anyways

ocean raptor
#

I wouldn't be sure, there still may be stuff that happens when actually uninstalling

restive ether
#

any other part of that is irrelevant to me

ocean raptor
#

:true:

surreal mountain
#

@azure sail check out uh

#

i forget their name

#

they made croutons14

#

i think its OSS?

azure sail
#

yeah i found it

#

but ty

surreal mountain
#

ok cool

vivid dew
#

swift bros we're winning

tacit spade
restive ether
gentle grove
tepid olive
#

i was blind to the light

#

python is actually pretty good

silver rampart
#

anyone have a link to the llvm 11 toolchain

silver rampart
hardy glen
#

Long time no see krit

silver rampart
grim sparrow
#

True

#

Gm

silver rampart
#

'morning

hardy glen
#

@grim sparrow if I want to sign my repo, my only job is to provide a Release.gpg file in the repo right? Or do I also have to sign debs

untold river
#

still annoyed how gh actions have to zip everything together

grim sparrow
# hardy glen <@270540064512147456> if I want to sign my repo, my only job is to provide a Rel...

#!/bin/bash
script_full_path=$(dirname "$0")
cd $script_full_path || exit 1

rm Packages Packages.bz2 Packages.xz Packages.zst Release Release.gpg

echo "[Repository] Generating Packages..."
apt-ftparchive packages ./pool > Packages
zstd -q -c19 Packages > Packages.zst
xz -c9 Packages > Packages.xz
bzip2 -c9 Packages > Packages.bz2

echo "[Repository] Generating Release..."
apt-ftparchive \
        -o APT::FTPArchive::Release::Origin="Amy's Repo" \
        -o APT::FTPArchive::Release::Label="Amy's Repo" \
        -o APT::FTPArchive::Release::Suite="stable" \
        -o APT::FTPArchive::Release::Version="1.0" \
        -o APT::FTPArchive::Release::Codename="ios" \
        -o APT::FTPArchive::Release::Architectures="iphoneos-arm" \
        -o APT::FTPArchive::Release::Components="main" \
        -o APT::FTPArchive::Release::Description="Amy's Dump of Tweaks" \
        release . > Release

echo "[Repository] Signing Release using Amy's GPG Key..."
gpg -abs -u 816C7A50B575162DC29288CD72339224580758CE -o Release.gpg Release

echo "[Repository] Finished"
silver rampart
untold river
#

nice

grim sparrow
silver rampart
#

this doesn't unzip it, just uploads zipped zipps to the release, bc i'm too lazy and the workflow takes like 3 hours to run, but it'd be easy enough to figure out

hardy glen
#

thanks a lot

grim sparrow
#

that script will make a repo that gets all the speed optimisations in sileo

untold river
#

Packages.zst

#

wholesome

hardy glen
#

yay

untold river
#

zstd compressed debs when

silver rampart
#

repos are overrated

#

upload uncompiled source with no prebuilts to an obscure github org and delete all of your socials so nobody knows where to find it

grim sparrow
#

however .xz debs are generally smaller

untold river
grim sparrow
#

Sileo using .xz is 2.02mb and Sileo using .zst is around 2.3mb

untold river
silver rampart
grim sparrow
#

Nothing that I could measure on my phone

silver rampart
#

if its in a subdir just specify all the dir locations in the release text

grim sparrow
#

The difference is similar to that of libhooker and substrate

#

there is a difference but nothing you will ever notice without timing it

#

very precisely

grim sparrow
silver rampart
hardy glen
#

apt-ftparchive

grim sparrow
#

sudo apt install apt-utils

hardy glen
#

What if I use arch

grim sparrow
#

L

hardy glen
untold river
silver rampart
#

L

hardy glen
grim sparrow
#

what you could do

#

and what I’ve setup

untold river
#

i remember there's apt for openSUSE

grim sparrow
#

which is slightly better

#

is just a github action

untold river
grim sparrow
#

so whenever I add a deb to the packages folder it repackages there

silver rampart
grim sparrow
#

The top is using .xz, the 2nd and 3rd are using .zst

#

iPhoneOS .zst

hardy glen
#

Time to setup an action

silver rampart
grim sparrow
#

I’m just trying to think now of where I’ve seen one

silver rampart
#

could've sworn there was a link in the pins in this channel which is why i'm here

#

alas, no

#

trying to build a preference bundle with the old ABI to test a fix someone claims works

grim sparrow
#

well I found one for 10

silver rampart
#

that works

grim sparrow
silver rampart
#

oop

#

dont have an x86 linux distro

#

(also it unfortunately needs compiler-rt, so looking for the macos one)

grim sparrow
#

I have the Xcode.xctoolchain from Xcode 11.7

#

if you want that

silver rampart
#

sure

#

(not sure if that one works but i'll give it a shot)

grim sparrow
#

I know it does for arm64e on iOS 13/14

silver rampart
#

i lowkey cant even remember what the ABI problem exactly is

grim sparrow
#

something something non stable abi

silver rampart
#

i think using 12.0.0 breaks like, prefs in iOS 13?

grim sparrow
#

yes

#

if you compile with clang 12 then you cant use arm64e on 13-

silver rampart
#

oop nvm then

#

dont need a toolchain

grim sparrow
#

what problem are you having

grim sparrow
#

then why wouldn’t clang 11 work?

#

clang 11 compiled works on 13 and 14

#

its just 12 (and 13) being stupid

silver rampart
#

trying to find a way to get 12/13 working on ios 13

#

bc i was trying to do that like a year ago and its been in the back of my head since then

grim sparrow
#

all I can tell you

#

is that capabilities 0x80 means its clang12/13 arm64e

#

lol

silver rampart
#

yeah

grim sparrow
#

I feel like there must be a hidden flag somewhere in clang12/13

silver rampart
#

it's a bitmask of the first (one or two?) bytes in the cpu_subtype field on the dyld header/fat_arch

grim sparrow
#

it’s actually something that took me a day to realise I was using the wrong toolchain

silver rampart
#

macos server panicked and now i have to manually vnc in and restart everything pain

#

someone mentioned to me in the theos discord that just changing the flag let it work on 13

#

wrote a script to do that

grim sparrow
hardy glen
#

got it

grim sparrow
silver rampart
untold river
#

wtf

hardy glen
#

Ending up using docker in the script

#

Lmao

hardy glen
#

@grim sparrow thank you for the help. i ended up using this ```bash
#!/bin/bash
script_full_path=$(dirname "$0")
cd $script_full_path || exit 1

rm -f Packages Packages.bz2 Packages.xz Packages.zst Release Release.gpg

echo "[Repository] Generating Packages..."

echo "[Repository] Creating Docker Container..."
docker run --name repo -dit -v ${PWD}:/data ubuntu

echo "[Repository] Updating Docker Container and Installing Utils..."
docker exec -it repo bash -c "(apt-get update; apt-get install apt-utils)"

docker exec -it repo bash -c "(cd data; apt-ftparchive packages ./pool > Packages)"
zstd -q -c19 Packages > Packages.zst
xz -c9 Packages > Packages.xz
bzip2 -c9 Packages > Packages.bz2

echo "[Repository] Generating Release..."
docker exec -it repo bash -c "(cd data; apt-ftparchive -o APT::FTPArchive::Release::Origin="Hearse's Repo" -o APT::FTPArchive::Release::Label="Hearse's Repo" -o APT::FTPArchive::Release::Suite="stable" -o APT::FTPArchive::Release::Version="1.0" -o APT::FTPArchive::Release::Codename="ios" -o APT::FTPArchive::Release::Architectures="iphoneos-arm" -o APT::FTPArchive::Release::Components="main" -o APT::FTPArchive::Release::Description="Hearse's Dump of Tweaks" release . > Release)"

echo "[Repository] Deleting Docker Container"
docker rm -f repo

echo "[Repository] Signing Release using Hearse's GPG Key..."
gpg -abs -u key -o Release.gpg Release
echo "[Repository] Finished"```

#

idk if its in my head but refreshing/adding it feels much faster

indigo peak
#

@silver rampart welcome back

ocean raptor
hardy glen
#

probably in my headfr

ocean raptor
#

apt is in the AUR iirc

hardy glen
#

yea it doesn't build and i didn't want to build manually so i just ended up using docker

indigo peak
#

🗿

untold river
#

🗿

silver rampart
#

nice to see some innovation in a software scene held back by 10+ years of backwards compatibility

silver rampart
#

cutting edge innovation™️

misty cradle
#

wtf krit back

ocean raptor
#

Would it be possible to make a binary that when loaded into ghidra will exploit the log4j bug?

high citrus
ocean raptor
#

Yep

#

Cool

lethal kayak
#

F

#

just use IDA

indigo peak
#

anyone know how to / if you can create a homescreen icon and have it execute some code when you open it through a tweak

tepid olive
indigo peak
#

hm

#

i just had a tought

#

by initializing the class that the app has

#

and i give it a custom bundle id

#

like

#

com.your.mom

#

and then on like application launch method

#

i check the bundle id

#

and if its that one

#

do magic

tepid olive
#

yeah bundle ID is also possible for webclips but that's only iOS 14+

indigo peak
#

can you create a webclip through a tweak?

tepid olive
#

yeah, with a tweak you can technically install a webclip directly without asking the user to confirm profile installation

#

just need to write to /Library/WebClips

#

or something like that

indigo peak
#

hm

#

interesting

tepid olive
#

might be in /var/mobile actually

#

I remember messing around with it in Filza

indigo peak
#

/var/mobile/Library/WebClips

twilit jungle
hardy glen
twilit jungle
#

Why would you shoot someone’s nose?

hardy glen
#

its a diss track cover

twilit jungle
silver rampart
tepid olive
#

guys

#

i need a cert which is still working for my ipas

#

where i can find them

silver rampart
tepid olive
silver rampart
#

they sell working certs

tepid olive
#

i see

silver rampart
#

$8/mo

#

apple never catches them and so they're always signed

tepid olive
#

cheap but there is free ones at chineese qq groups

#

nvm imma just take a look

silver rampart
#

lord it's iOS 15.2 and we still don't have good headers

hardy glen
#

F

#

How would headers be dumped i am confused

#

From the ipsw?

silver rampart
#

many ways

hardy glen
#

Idk why i just said ipa, i haven’t slept forgive me

silver rampart
hardy glen
#

Right i used that in the past

#

The headers website i mean

#

So hows the android life

silver rampart
#

it downloads the ipsw, extracts the dyld shared cache, uses DyldExtractor by arandomdev to get the images, and then uses the ktool library I wrote to dump headers

#

some dump programs (classdump-dyld) operate directly on the shared cache

hardy glen
#

Oh nice, ktool library that dumps headers? Interesting

silver rampart
#

others (classdump, optool if that counts), operate only on images

hardy glen
#

To dump headers, i currently use dsdump

#

Oh wow

silver rampart
#

some like, I think, RuntimeBrowser, load it in at runtime and dump them that way (not 100% sure)

hardy glen
#

Can we get those pinned

silver rampart
#

been my mostly sole project for the last 4 months or so lol

hardy glen
#

Wow… i always wanted to work off the dsdump write up and “attempt” at making a header dumping tool

indigo peak
#

just make springboard an ipa and sideload it with tweak dylibs

#

ez

hardy glen
#

And its cross platform as well

#

Now i can dump headers on linux

silver rampart
hardy glen
#

Okay gonna try it on my ti-84 python edition

indigo peak
#

@silver rampart wtf is statusviz source code

silver rampart
#

most of my tweaks were written over the course of approximately 4 hours a piece

#

and then never touched again

#

statusviz is probably not even the worst

indigo peak
hardy glen
#

Same i never go back, i just stay up all night

indigo peak
silver rampart
hardy glen
#

Can’t wait to try it out on a swift app

silver rampart
#

I think I finished it by like 6 AM too

hardy glen
#

The reason i like dsdump is because it handles swift quite well

silver rampart
#

it was just an insane hack using a ton of mitsuha bar views, FFT, and libCozy for color backdropping

indigo peak
#

im just trying to add something to the status bar

#

but like, replacing something else

silver rampart
hardy glen
#

I have code to change the status bar color to random colors thats all

indigo peak
#

thats not that hard to do fr

silver rampart
#

my main focus for the original project 4 months ago was just someone requesting a class-dump for Linux bc class-dump itself kinda sucks butt

hardy glen
silver rampart
#

now it does all of this shit

#

including img4 utilities bc why the fuck not

hardy glen
#

Big W for windows/linux users

silver rampart
#

all of that stuff is wonderful to have bc jack shit works on Windows on Arm

hardy glen
#

Yea lmao

silver rampart
#

miracle i got an iOS toolchain to compile for it

hardy glen
#

Idk who is allowed to pin here but hopefully we can get both of those pinned because thats huge

#

0xfeedfacf thats all i know

silver rampart
#

My projects over the last 4 or so months:
https://headers.cynder.me/ - Quality, syntax-highlighted Header dumps for every single ios version from 13-15. Dumped with ktool.

  • Click a line number of a method to generate logos hooks for that method
  • Select a version in the top right to diff two different ios versions of a header.
  • Binaries (fully extracted, imports and everything work) can be downloaded from here as well

ktool - https://github.com/cxnder/ktool
" is a multi-purpose, 100% cross platform toolkit for MachO/ObjC dumping, analysis, and editing. Now includes a command-line GUI. Can run just about anywhere.

Things it can do:

  • Dump/Browse functional ObjC headers, classes, .tbds (a la class-dump, tapi, otool, etc.)
  • Browse and/or Hexdump Load Commands, Segments, etc via the GUI
  • Insert/replace load commands, etc (a la optool, install-name-tool)
  • Display a lot of valuable info about MachO binaries, including ones with mangled/corrupted load commands.
  • Plenty more

It's also a public, usable, python library, meaning you can go absolutely wild with it."

#

more pinnable message ^

hardy glen
#

Oh didn’t know that headers.krit got updated too

#

That is indeed pinnable

indigo peak
#

but do i want to pin it

#

thats the real question

hardy glen
#

@silver rampart curious, how long did it take you to dump headers for every ios version

silver rampart
#

@indigo peak so i just counted

#

and as the person with the most pinned messages in this channel, i invoke pin-seniority

hardy glen
#

^

#

lmao

indigo peak
hardy glen
#

Damn not bad

hardy glen
#

Wtf

silver rampart
#

due to an oversight during a refactor, it'd redump the entire framework for every single class in it

#

lol

hardy glen
#

Whats the time complexity now

silver rampart
#

no idea, but it takes approx 4 minutes to dump 2000 frameworks on a 3 core github actions machine

hardy glen
#

Damn thats impressive

silver rampart
#

majority of the time now is spent downloading the ipsw and waiting on DyldExtractor

hardy glen
#

Exponential time go vroom

silver rampart
#

still need to automate the process of uploading the dumps to the website lol

#

takes like 30 minutes

#

current roadblock with dumping actual iOS 15 headers is the new cache format

hardy glen
#

holy fuck this is nice asf

#

i like the gui

silver rampart
#

(it has mouse support too)

hardy glen
#

yea i saw that

silver rampart
#

(also the text wraps and you can resize the window) (way cooler to me than anyone else tbh)

hardy glen
#

i like this

#

gui feels nice, midnightcommander vibes

silver rampart
#

felt it'd be easier to do than a regular GUI in all honesty, turns out that was not the case

#

probably would've been easier if i didn't for some reason refuse to use any curses GUI libraries

hardy glen
#

also found a bug i think, upon clicking the ktool option on top left hand side. Mouse input goes through The floating window

silver rampart
#

being able to use it on stuff like my hub server is very nice though

silver rampart
hardy glen
#

yea i am so confusedd lmao

#

i was pressing q/esc/backspace

silver rampart
#

i just needed a way to read the log text

hardy glen
#

best tool i have seen this year geared towards tweak dev/reverse engineering

#

gui got high potential

silver rampart
#

someone more familiar with PyQt or another solid real UI framework could fairly easily adapt this into an actual GUI app

hardy glen
#

certainly, i am more of a do everything in the terminal type of guy

silver rampart
#

also this fuckin table formatter

#

got really drunk one night, sat down, wrote the whole thing, by some miracle it worked, shipped it

hardy glen
#

Beautiful

silver rampart
#

came back to fix a bug literally the next day and could not decipher a line of fuckin code

hardy glen
#

lmaoo

silver rampart
#

legitimately had to rewrite a good portion of it

#

describes most of the GUI code if i'm being honest

#

perfectly sane line wrapping code

hardy glen
#

I am currently learning python so i would be happy to look at the code and learn some shit, perhaps contribute in the future

silver rampart
gentle grove
#

pycharm moment

#

Its been so long since I did anything big in python that its weird seeing stuff without semicolons

hardy glen
#

Same

silver rampart
#

i've been working on this for so long now someone asked me for objc help last week and i forgot syntax stuff

#

send help

hardy glen
#

I was working on my first python project, and with the force habit, i wrote couple lines with semi colons at the end until someone pointed it out

silver rampart
#

python is amazing

hardy glen
#

True

#

Also true

silver rampart
#

but dont conform to pep-8 and any sane IDE or linter will yell at you

#

(and rightfully so, its a pain to read)

hardy glen
#

Yea i use clang-tidy just for that.

#

I prefer readability

silver rampart
#

lines = [col[i:i + column_maxes[col_i]] for i in range(0, len(col), column_maxes[col_i])]

hardy glen
#

Yea wtf

silver rampart
#

it uses a 3rd arg in range() that sober me was not aware even existed (step size)

gentle grove
#

true but you would never do that

#

Unless you're insane

#

Which you are

#

So

silver rampart
#

that line takes a string and chunks it up into a List with column_maxes[col_i] sized strings containing the original string

hardy glen
#

What formatter do you use for python

silver rampart
#

pycharm default

gentle grove
hardy glen
#

ah

silver rampart
#

it does well

hardy glen
#

I was steered towards black

silver rampart
#

although it's fully configurable as well

gentle grove
#

I don't really like formatters because there's always that one time where the formatter won't let you make something that looks better

#

There's always the single edge case

silver rampart
#

but i stick to standard PEP-8, there's not as much room for bullshitting in python as like, ObjC

gentle grove
#

And adding a comment to ignore the error is uglier

gentle grove
silver rampart
#

this function makes the formatter the big angry

#

fuckin argparse

hardy glen
#

F

silver rampart
#

so i have this "macro-style" function for checking if required args are passed

hardy glen
#

Nice

silver rampart
#

but the argparse args variable only exposes the variable names, and i want to show like, "hey you need --headers and not do_headers

gentle grove
#

Imagine using formatters

hardy glen
#

I like formatters

high citrus
hardy glen
#

I am a messy person

silver rampart
hardy glen
#

This proves it

silver rampart
# high citrus honestly not that bad, I make worse lines

print(int("".join([str(i) for i in [ord(a) ^ ord(b) for a,b in eval(bytes.fromhex('6576616c2862797465732e66726f6d686578282737613639373027292e6465636f6465282929').decode())("".join(f"{ord(i):08b}" for i in "python3asdf"),"0000{0:b}".format(1325394000 * 8287531693697519 + 1151356516))]]), 2).to_bytes(84, "big").decode())

#

witness me

hardy glen
#

yeah after reading that, i am closing the tab

silver rampart
#

run it

#

bonus points if you can figure out how it works

hardy glen
silver rampart
high citrus
high citrus
silver rampart
#

got bored in jupyter

hardy glen
#

Nice setup

pearl sail
#

jupyter extension for vscode is cursed as fuck

silver rampart
#

alternate less dramatic angle

silver rampart
#

i have a hub server running on a macos machine a few devs and i share

gentle grove
silver rampart
pearl sail
#

badly

gentle grove
#

what are those

hardy glen
#

Is that ida running in wine

silver rampart
#

^

#

no

#

sec

gentle grove
#

What kind of workbook

hardy glen
#

You bought ida

silver rampart
#

mhm

hardy glen
#

damn

#

i guess i am just broke

silver rampart
#

i had to save up over several months

gentle grove
#

How much is ida

silver rampart
#

my support plan also expired right when apple dropped the new ios 15 dsc format

hardy glen
#

1 million

#

Dollars

silver rampart
hardy glen
#

Thats only for one decomp

gentle grove
#

4.5 thousand dollars??

hardy glen
#

Yes

gentle grove
#

What the fuck

hardy glen
#

For one decomp

gentle grove
#

Why would you buy that

hardy glen
#

Because its superior

#

Than anything else

lethal kayak
#

just pirate it though fr

silver rampart
#

bc of the amount of time i spend using it

hardy glen
#

not everyone wants to pirate

lethal kayak
#

yes they do

hardy glen
#

If i had the money, i’d buy it too

lethal kayak
#

well if i had the money i'd also buy a lambo

silver rampart
#

being completely honest, i pirate the windows version, but in good conscience, lol

hardy glen
#

Obviously, because you can’t pirate a lambo

#

You can steal one though

silver rampart
#

with how much his work pays, that's pennies

lethal kayak
#

checkmate liberal

hardy glen
#

Fair enough

silver rampart
#

and not to mention that, but a lot of ppl who have ida licenses have them paid for by their work or uni

#

and to businesses and unis, that's also pennies

#

yes

#

do that

lethal kayak
#

well obviously

silver rampart
#

get that sick ios 15 support in DSCU

lethal kayak
#

but the discussion was about individuals buying it lol

silver rampart
#

the individual pricing was bullshit

lethal kayak
#

yeah

silver rampart
#

IDA Home is a great starting point imo

#

idk how good the cloud decomp was

#

i bought pro before they rolled it out and never bothered to check again

hardy glen
#

Yea i got 7.6 for $0

grim sparrow
silver rampart
#

better than hopper?

grim sparrow
#

but not great

#

idk

silver rampart
#

(low bar)

grim sparrow
#

Honestly I use IDA and Hopper a lot evenly

hardy glen
#

True

silver rampart
#

did 7.6 leak

grim sparrow
#

yeah

silver rampart
#

already

grim sparrow
#

for windows at least

silver rampart
#

damn

#

which SP

grim sparrow
#

it did a while ago

#

2

hardy glen
#

Yea for windows, i use it through wine

silver rampart
#

fuck me

grim sparrow
#

when

silver rampart
#

my paid version is further behind in updates than the fuckin leak

#

pain

lethal kayak
#

it works quite well through wine aside from the UI aesthetic

silver rampart
#

least i dont have to worry about kcache shit on windows anymore

#

bc 7.6 was when they added the decompression into ida itself

grim sparrow
#

imo they perform better in different circumstances

hardy glen
grim sparrow
#

which is why sometimes I'll use one of the other

hardy glen
#

But my theme does not save in 7.6

grim sparrow
#

nah I didn't renew it

#

I'm stuck on 5.0

silver rampart
#

lol, from what i've heard, chained fixups break it completely

grim sparrow
#

Capt you should send me the money to renew it

#

you probably used it more than me

#

lol

silver rampart
#

also hopper dsc extraction is just, bad

grim sparrow
#

I think its $40

hardy glen
#

bindiff does not install in wine

grim sparrow
hardy glen
#

Which sucks

lethal kayak
#

hopper is actually affordable

#

lol

hardy glen
#

dark mode makes it look better

grim sparrow
silver rampart
#

it'll fix the dll error maybe

grim sparrow
#

I have the entirety of the nfc drivers commented in IDA

#

and correctly typed

silver rampart
#

sec lemme pull out my flex

hardy glen
#

have my license

#

i have sp1 atm

grim sparrow
#

Sp2 is somewhere on the internet

#

I'm running sp1 rn

#

I swear I sent someone here sp2 but I never bothered to update

#

Service Pack

hardy glen
#

service pack?

grim sparrow
#

iirc

tepid olive
#

it packs services

hardy glen
#

yea i just assumed from windows "sp"

grim sparrow
#

its like an update pack

#

Evidently you are not a Windows user

silver rampart
hardy glen
#

if someone gets bindiff running in wine, pls teach me

silver rampart
#

'get a hobby' they said

grim sparrow
#

hobbies are for nerds

#

also

silver rampart
#

75% complete RE of the SecureROM for the S3 watch

grim sparrow
#

thats pretty epic

silver rampart
hardy glen
#

damn nice

high citrus
#

me when I need to parse the input of advent of code

grim sparrow
#

I spent far too long going through the nfc drivers just me to only need 4 functions because I can hijack them

#

aemulonfcd is a collection of reverse engineering and over engineering

silver rampart
#

comprehension

#

so great to have and the things you can do with it are so terrible

grim sparrow
#

@restive ether thought I just had, you could probably re-use the Aemulo XPC hax to get stable communication from a jailed process to Springboard without the need for rocket bootstrap

lethal kayak
#

securerom/iboot source leak is interesting to look at

#

even if it's old

silver rampart
#

t8010 isn't that old

lethal kayak
#

yeah

silver rampart
#

i really rather wish t8004 dropped with it

lethal kayak
#

it's also great that it includes the comments with it

silver rampart
#

would've made my life reversing the S3 watch rom a lot easier

high citrus
lethal kayak
#

f

high citrus
#

and combine that with some list comprehension and you get things like this

grim sparrow
#

the worst part was when I realised that one part of my RE was wrong

#

and that fucked over a lot of my other stuff

grim sparrow
#

turns out this one parameter is int ** and not int *

silver rampart
#

and I have to base the entire thing off of one xref to a function that xrefs a specific string

#

so if either of those are wrong it entirely shits the bed in a very confusing way

#

(e.g. on 7010(?) roms)

grim sparrow
#

and then I had to spend a month getting reliable communication between 2 sandboxed processes

#

and eventually finished at xpc hax

#

I think its the most sandboxed process on device rolling_eyes

#

I sent you nothing

silver rampart
#

aren't all apps sandboxed

grim sparrow
#

until you unsandbox them

#

lol

silver rampart
#

what apps aren't sandboxed then

grim sparrow
#

omg

#

just figured out why sileo will chomp memory when refreshing

restive ether
#

hungry hungry hippos

grim sparrow
#

Capt go read the *os internals books

silver rampart
#

^

#

does anyone here with an actual dev environment and an arm64e jailbroken device wanna test something for me

grim sparrow
#

define actual dev environment

silver rampart
#

currently, i'm building my tweaks on a jupyter hub terminal running on a macos server i have

#

then downloading them and uploading the debs to a random github release i made

#

then dming myself a link to them on twitter

grim sparrow
#

my dev environment in a nutshell

silver rampart
#

then opening that link in twitter on my ipad and installing it via sileo

#

so anything marginally better than that

grim sparrow
#

I have an a12 device and macos if thats good enough

restive ether
#

sileo install deb with depends challenge

grim sparrow
#

stfu

silver rampart
#

sileo install preferenceloader challenge (unbeatable) (not clickbait)

restive ether
grim sparrow
#

I am doing memory optimisations now

#

!

restive ether
#

just installed preference loader in 3 seconds

#

vibe ok

grim sparrow
#

lol

silver rampart
#

u cant without installing some random package that depends it

#

it does not show up

restive ether
#

not true at all

grim sparrow
#

it does?

silver rampart
#

tbf i'm probably on an old version

grim sparrow
#

sounds like it

silver rampart
#

or a dumbass

#

probably both

restive ether
#

you’re using the build that still does that cydia mode thing

#

with tags

silver rampart
#

i'm on the very first version of odyssey that supported 13.5.1

grim sparrow
#

Update

#

lol

restive ether
#

L

silver rampart
#

no

#

it works im scared to touch it

grim sparrow
#

it does not work internally

silver rampart
#

neither do i

grim sparrow
#

everytime you refresh repos you will casually leak between 70mb and 200mb

restive ether
#

sileo 2.0 break your install challenge

grim sparrow
#

everytime you open a package page you will leak around 20mb

silver rampart
#

no match for my own shit code

grim sparrow
#

this aged well

restive ether
#

to be fair

silver rampart
restive ether
#

the leaks weren’t too obvious

#

except like one

grim sparrow
#

but yes this is a repo refresh leak

restive ether
#

totally reasonable

silver rampart
#

anyways, this is a bit complicated, but

#

wait

#

what version is your a12 device on

grim sparrow
#

14.3

restive ether
#

14.3

silver rampart
#

shit

restive ether
#

wtf

#

twins

silver rampart
#

ok thonk

grim sparrow
#

Are you one of the 7 people still using the alpha builds?

hardy glen
#

@silver rampart is there a way you could add the ability to open the header in a new tab for your header website

silver rampart
silver rampart
grim sparrow
#

trying to think of a package I could use

#

oh I know

restive ether
#

use bruhkeys

grim sparrow
#

I'm just gonna use macspoof because i have that shitty setup done

silver rampart
#

all of my packages with prefs use my own code that requires compiler-rt to build sadCat

#

so i cant do it on this machine

restive ether
#

oh pro still doesn’t have compiler-rt i wonder if someone did it but didn’t push it

grim sparrow
silver rampart
#

that works

grim sparrow
#

aight building now

silver rampart
#

oh also, before u run remap.py, python3 -m pip install --force-reinstall k2l

hardy glen
silver rampart
#

just gonna paste this to summarize what remap.py does

restive ether
#

oh it’s levi

#

what a guy

silver rampart
#

no idea who anyone is in the scene anymore i love it

restive ether
#

nice guy

grim sparrow
#

this deb?

silver rampart
#

doesn't ldid -e just extract the codesig

grim sparrow
#

yeah didn't notice that

#

lol

silver rampart
restive ether
#

man ldid 🙄

grim sparrow
#

its been a long day rolling_eyes

ocean raptor
silver rampart
#

that's gonna be a joy to type in terminal

grim sparrow
#

discord did it

#

not me

silver rampart
#

now we pray it works

#

now we spend 2 minutes trying to get a link to it from discord

ocean raptor
restive ether
silver rampart
#

agh

#

can you modify the control to remove the firmware limt

grim sparrow
#

lol sure

silver rampart
#

i'd do it myself but dpkg -x doesn't extract the packaging tarball

silver rampart
#

tysm

silver rampart
#

ty i will promptly forget that in 5 minutes

ocean raptor
#

That's why man and search in less exist

silver rampart
restive ether
#

you have less hoes

ocean raptor
faint lionBOT
#
MoreSiri

More languages support for Siri.

Author

PoomSmart

Version

1.0-5

Price

Free

Repo
More Info
grim sparrow
restive ether
#

where is more wtf

grim sparrow
ocean raptor
restive ether
#

wtf

#

what about most

ocean raptor
# grim sparrow

iirc ldid -s only does sha1, not sha256, but you'd have to check that

grim sparrow
#

is that the difference between -s and -S?

#

or am I just dumb

#

nvm

silver rampart
#

c strings are hard

#

give the old man some slack

ocean raptor
#

It's cause he uses custom arg parsing instead of getopt(3)

ocean raptor
#

@tepid olive don't fr me

#

@main apex @tepid olive @grim sparrow @silver rampart don't fr me

silver rampart
#

not surprising bc of the massive under the hood changes

indigo peak
silver rampart
#

(that i still dont even understand yet)

grim sparrow
#

@restive ether now I don't meant to alarm you but I just found a massive memory problem

#

lol

ocean raptor
grim sparrow
#

when you try and install a deb, it would load the entire deb into memory

#

at once

#

and hold it

silver rampart
#

why

grim sparrow
#

may be why installing larger debs can be so taxing on the device.....

silver rampart
#

not criticizing just curious

ocean raptor
grim sparrow
grim sparrow
#

its purely just to hash it

silver rampart
#

could mmap it

grim sparrow
#

I'm refactoring it now to load in buffers

#

and unload each buffer

#

I hate looking through this and finding dumb things that someone implemented that have stuck around for so long

#

like the refresh leak that stuck around for the best part of 2 years

silver rampart
#

imagine being concerned about memory usage 😎

grim sparrow
#

I managed to get it to leak 5gb

#

before I gave up

silver rampart
#

lipo command in ktool intentionally leaks a shitload of references bc all of the patching/writing functionality is hacked in as an afterthought

#

# Slice() might hold a ref preventing it from being closed? but i'm just going to let it close on exit() :)

restive ether
silver rampart
#

virgin insulting everyone else's code vs chad insulting your own code

grim sparrow
#

true

silver rampart
#

vs lad not even writing code in the first place

#

wait does ios even support memory mapped IO?

#

would be amazed if it didn't but

#

@grim sparrow if you're working with files in the MB size range, might speed up IO (especially if you're buffering it, but here that shouldn't be an issue)

grim sparrow
#

the current implementation should be fine

#

she says

restive ether
#

virgins installing large themes and wonder why their phone jetslammed itself into oblivion

grim sparrow
#

well

#

what I just implemented

silver rampart
#

also should reduce the memory load on the system by half

#

mmap is nice

grim sparrow
#

is there a better way to do this, probably

restive ether
#

me when i do a little canister trolling and crash sileo

grim sparrow
#

I am aware theres a cryptokit function to do all of that for me but I need iOS 12 support

silver rampart
#

i feel like

#

nvm

#

read my mind

#

there u go

restive ether
#

virgin iOS 12 user vs chad modern iOS

silver rampart
#

vs lad android 12

grim sparrow
#

the speed improvements on iOS 12 are insane

ocean raptor
#

I wasn't insulting... also if he used getopt, since file is optional you'd have to do -S=file.plist, which isn't exactly better

silver rampart
#

he should've just used argparse Sad

restive ether
grim sparrow
#

impossible

#

shudders

silver rampart
#

the ldid2 makefile is like one line of substantial code and doesn't work

ocean raptor
silver rampart
#

lol

ocean raptor
restive ether
#

won’t even work on 15

silver rampart
#

look man i'm on arm64 windows

ocean raptor
silver rampart
#

i use what works

#

does that compile for arm64 windows

ocean raptor
#

Idk, never tried, lmk if it does

restive ether
#

could always add it to actions

#

troll

silver rampart
#

do it

restive ether
#

nick was trying to add dumbass arch’s like armv7k

silver rampart
#

arm7k is a nice arch

#

someday™️

ocean raptor
silver rampart
#

its literally just armv7

#

there is no difference

#

except for probably the CPU Subtype enum but i'm not about to go check

restive ether
#

are you a fan of arm64_32

silver rampart
#

never seen it

#

v7k is just the nickname apple gives to armv7 devices that support img4

ocean raptor
tepid olive
#

big fan of armv5

ocean raptor
restive ether
#

@opal ridge

silver rampart
restive ether
#

pretty sure it’s the series 3 or 4

silver rampart
#

s4 and onward

restive ether
#

oh

silver rampart
#

is 32_64 or whatever it is

#

v7k are the ones vulnerable to checkm8

ocean raptor
#

@opal ridge add windows and windows arm to ldid workflow pls

silver rampart
#

unfortunately not jtaggable with the limited hardware i have :(

restive ether
#

i think nick wanted to add sparc too gnutroll

silver rampart
#

wsl1 kinda works here

ocean raptor
#

Oh

#

Than we already have that