#development

1 messages Ā· Page 8 of 1

snow python
#

Arrived today, waiting for class to finish to go and pick it up

primal perch
#

hey that means youre like a few blocks away

#

lmafo

snow python
#

exactly

#

Soon lol

primal perch
#

pics are expected

#

naturally

snow python
#

naturally

amber snow
#

if you have the sauce

#

and if you have the spice

#

a direct message

#

would be very nice

primal perch
#

int **

primal perch
#

@grave sparrow

naive kraken
#

it's probably some super secret a15 feature

#

idk

#

super weird

#

I mean not sure if that's a good way, but it is how it's done currently

#

why can't apple just make getchipset()

primal perch
naive kraken
#

idk

#

probably not easy

#

or private

#

lol

restive ether
#

very true

primal perch
#

thanks tencent

#

much better than strcmp iPhone14

#

at least

#

0x1b588bb3 gang

#

cope

#

idk

#

are you just grabbing kcaches from the ipsws

indigo peak
#

no

#

@primal perch do you have m2 or m1 pro

indigo peak
#

dang

#

okay

#

ty

primal perch
#

got 16/512 for the same cost as a m2 base

#

so miss me with that m2 shit

indigo peak
#

m1 pro

#

or m1

primal perch
#

plain m1

indigo peak
#

mhm

primal perch
#

m1 and 16gb of ram will last far longer than m2 8gb

indigo peak
#

@grave sparrow based

primal perch
#

imagine dragins better

indigo peak
#

why would it not be intended to return 501

#

thats the uid for mobile

#

so it should like

#

return the right uid

#

:hmm:

primal perch
#

[before calling dropRoot] whoami: root
[after calling dropRoot] whoami: root
so yeah

indigo peak
#

bro just call setuid(501) & setgid(501)

gentle grove
#

[before calling dropRoot] whoami: root
[after calling dropRoot] whoami: root
so yeah

#

well
[before calling dropRoot] whoami: root
[after calling dropRoot] whoami: root
@primal perch

indigo peak
#

did my professional code work

#

setgid setuid

#

wait did you get a device to test on

#

sick

gentle grove
#

Kernel Base: 0xFFFFFFF026058000
Kernel Mach Magic: 0xFEEDFACF
Kernel Slide: 0x1F054000
Kernel Proc: 0xFFFFFFF028C4EE50
Kernel Task: 0xFFFFFFE0F2C58698
Kernel Proc Again: 0xFFFFFFF028C4EE50
whoami: root
whoami: not root

indigo peak
#

mf you gonna add me to the repo or nah

#

why

#

i def wont publish as fiorebreak

primal perch
#

add me to repo

indigo peak
#

i still dont have access

primal perch
#

my brother in christ i did your homework

indigo peak
#

@naive kraken now implement a ipa decrypter in trollstore

#

it would technically be possible right

#

why not

#

nahh

#

trust

#

i got this

#

in like 12 hours you should be getting messages from me asking why my device boot looped

indigo peak
#

why not just do bool isA15OrNewer = (cpuFamily == CPUFAMILY_ARM_BLIZZARD_AVALANCHE);

primal perch
#

not really

#

im never happy

#

you asked

naive kraken
#

the get root method is hacky and if the app exits while still being root, it panics the kernel

naive kraken
#

wait nvm opainject needs platformization which you don't get without kernel exploit

#

šŸ‘

#

you sure tho about m1 iPads? because people say they're already supported

#

which means the offset is correct

crude swallow
#

@naive kraken may i include an option to install trollstore in altlinux

#

actually

#

can it be installed with altserver

vivid dew
#

trollstore

#

congrats on the release man i’d buy you a beer but i spent my life savings on marketable plushies

crude swallow
#

wjat kind of plushies

vivid dew
#

marketable ones

naive kraken
lime pivot
#
isA15OrNewer = cpuFamily == CPUFAMILY_ARM_BLIZZARD_AVALANCHE;

please and thank you

zenith hatch
#

what does sizeof(cpuFamily) do?

tepid olive
#

is there any way to install theos on win8.1

#

please

celest quiver
tepid olive
#

my pc is from 2009 i deleted everything else system its how it run win8.1

tepid olive
#

i remember something called cygwin ? cant it work? pls

tepid olive
celest quiver
#

cygwin 😭

celest quiver
tepid olive
#

even old sdks?

#

like 11.2

#

or older

#

ok

lime pivot
#

it's supported but no longer getting any dev work / frequent testing

#

or toolchains

#

welp

#

may as well consider it discontinued then, shrug

zenith hatch
#

ah

#

whats the swift counterpart

#

bc it doesnt seem to exist

#

omg this mac mini is so fucking speedy

#

wow

#

also big sur is not bad

#

gonna update tho

#

ah

#

oke

#

same

hexed knot
#

Is this not it bro

#

I found it with ā€œhow to find byte size of var in swiftā€

#

I dont think u looked anything up

zenith hatch
#

no bc i didnt care enough to google it

#

i asked whether a swift counterpart exists to continue the conversation silly

hasty ruin
#

I dont think u looked anything up

hexed knot
hasty ruin
#

79 ways to kms with swift

turbid fjord
#

Is that a bad thing? At least there is options

#

Hmm

#

Then don’t

#

Find a way you like and use it

#

Hmm

#

Good point

tepid olive
#

can someone help

#

i installed wsl with ''wsl--install'' and restart.

#

there is ''ubuntu'' and ''wsl'' apps (wsl crashs)

zenith hatch
#

i have some defaults on my mac that are causing issues, how can i find and remove them?

#

nvm

indigo peak
#

search windows features

#

scroll all the way down and make sure Windows Subsystem for Linux is enabled

tepid olive
#

yes its enabled

tardy narwhal
# tepid olive

You might want to retry installing it with the appropriate guide over at msft: https://docs.microsoft.com/en-us/windows/wsl/install

if you still run into an issue, feel free to report back and outline the step which you're stuck on

tepid olive
tardy narwhal
tepid olive
#

yes i see. thanks anyway

tardy narwhal
#

I'm still presuming you're either missing a step or need to clean & attempt the setup again - throw in a few reboots and windows might just comply

#

check your build version as well, just to be sure

tepid olive
#

but nothing i can do anymore

tardy narwhal
#

and your windows build is higher / equal to the one listed in the guide?

tepid olive
#

21H2
Windows Server 2022 Datacenter Azure Edition

tardy narwhal
#

i can't tell if that's matching, higher or lower than the stated requirement

tepid olive
#

ya it says win 10 or w11 but its server xd

tardy narwhal
#

Not in it's entirety, it states a specific build to be the minimum. You'd have to google which standard-windows version it corresponds to since the server editions are based off standard / enterprise windows

#

in return it tells me you haven't bothered to read the guide in detail, therefore please re-read the guide

tepid olive
#

ok

crude swallow
#

could anyone help with python

indigo peak
#

ok

crude swallow
#

i need to:

  • encrypt a file
  • decrypt it and read from it without actually changing it on the hard drive
  • decrypt it, add stuff to it, and encrypt it again
indigo peak
#

ask copilot

crude swallow
#

@copilot

indigo peak
#

@crude swallow

# write a function that encrypts a file

import sys
import os
import base64

def encrypt_file(filename):
    with open(filename, 'rb') as f:
        data = f.read()
        encoded = base64.b64encode(data)
        return encoded


# write a functon that decrypts a file on runtime
def decrypt_file(filename):
    with open(filename, 'rb') as f:
        data = f.read()
        decoded = base64.b64decode(data)
        return decoded

# decrypt the file add stuff to it and then encrypt it again
def main():
    # check if the file exists
    if os.path.exists('test.txt'):
        # decrypt the file
        decoded = decrypt_file('test.txt')
        # add stuff to it
        decoded += b'hello'
        # encrypt the file
        encoded = encrypt_file('test.txt')
        # write the file
        with open('test.txt', 'wb') as f:
            f.write(encoded)
    else:
        print('File does not exist')
        
#

copilots creation

crude swallow
#

awesome thanks

#

ily no homo

indigo peak
#

i have 0 idea if it works or not lmfao

crude swallow
#

aw man this is base64

chilly plover
#

can we attach appium to m1 mac apps?

indigo peak
gentle grove
#

bruh

#

"base64" "encryption"

crude swallow
#

rsa will do

cedar stag
#

Is it possible to attach to my own app running from /Applications via Xcode rather than lldb on cli? I've tried running debugserver on iPhone and attaching the process with Xcode but it always gets stuck at "Waiting to attach".

#

omg thank you!

cedar stag
#

I think I'm missing something. I've got debugserver running on 0.0.0.0:12345 but Xcode still refuses to connect. I've tried both wired and wireless. My phone is on 14.2 jailbroken with checkra1n and debugserver is from elucubratus repo. Mac and iPhone are on the same network as well.

#

I've skipped the lldb steps as you've said

#

lldb does connect btw lol

#

It's just xcode refusing to connect

restive ether
#

isn’t debugserver like bugged on that version or something

#

and it just doesn’t work

mortal dawn
#

.

#

What’s going on here

#

I never visit this section

zenith hatch
mortal dawn
zenith hatch
#

oke

zenith hatch
#

perish

zenith hatch
#

no im not

#

no im not

primal perch
#

capt is half white half asian

#

fat AND good at math

#

i’m plain white so i’m just fat

hexed knot
#

Plain White T’s

lime pivot
#

switch statement pls?

#

I don’t mind them making it less than straightforward to end up in pointer arithmetic territory, but the way Swift implements it is just a pain in the butt

#

2 straightforward lines of C ends up being like 5 wordy verbose lines of UnsafeMutableRawGourmetGlutenFreePointer

primal perch
#

i mean that’s c++ too

#

but i like c++ and not swift

#

so i won’t use that as my main argument

#

int x(0); int x{0};

#

int x = 0;

lime pivot
#

I feel like you were a bit more rude to them than was necessary

lime pivot
gentle grove
tepid olive
gentle grove
#

depends on how i was hating on it

tepid olive
#

something about the syntax

#

being painful

gentle grove
#

well yes it's super ugly

#

that's just a fact

restive ether
#

rust is cringe just like it’s users

snow python
primal perch
#
std::vector<int> x{ {20, 30, 40, 50} };```
#

its just the standard way to initialize since C++11 ig

primal perch
#

people dehumanize white names

lone bronze
#

yeah we white names are plebs

#

oh fuck i forgot im purple now... I be humanoid

gentle grove
lime pivot
#

still waiting for the Impossible Pointer

indigo peak
lime pivot
#

they're in the process of developing vegan pointers from plant-based alternatives

indigo peak
#

im writing my own vegan extension

lime pivot
lime pivot
#

šŸ˜‰

gentle grove
#

match statement

#

in rust šŸš€

#

or python šŸ

#

do you think the if-else chain would get optimized out

#

to a switch

#

nice

lime pivot
#

didn't know that, that's cool

gentle grove
#

so does this mean it'll apply to rust too

#

since rust uses LLVM

primal perch
#

LLVM thing

#

clang doesnt do the optimizing

#

nor any llvm frontend

gentle grove
#

I did on godbolt but with opt-level=3

#

It was same line count but different ordering or something

tardy narwhal
lime pivot
#

you told them they're beyond help bro

#

I'm sure it was just a bad choice of words but just be more patient I guess

primal perch
tepid olive
#

@tardy narwhal do u know fix

primal perch
#

already updated repos/ upgraded?

tepid olive
#

ok fixed

zenith hatch
#

unnecessary ping moment

primal perch
#

try to ask before pinging if its a generic question

#

if its a very specific question i will ping

tepid olive
#

sorry about that

#

my bad

#

my bad

#

ok

undone nest
primal perch
#

say i need help on some very specific swift question

#

i will ping kabir

turbid fjord
tepid olive
#

how i can see this files in path in file

#

like i want to change some files inside them

#

but i cant see folders in pc

turbid fjord
#

Lol

tepid olive
#

anything fun?

turbid fjord
#

Yes but not telling you. A google search will answer your question immediately + from the link Christmas dog sent here you don’t deserve help anyway

#

:)

tepid olive
#

ok

#

if i could find help in google . i wouldnt ask here

turbid fjord
#

Then you aren’t searching the right thing

tepid olive
#

ok? if you dont know just stop bully and talk shit

turbid fjord
#

Ok

celest quiver
#

bruh

turbid fjord
#

I wish you luck in finding your answer but you shall not be receiving further help from me

celest quiver
tepid olive
#

yes so funny

#

somewhere to ask question if you want to make fun and laugh move #general

tardy narwhal
tepid olive
#

thanks sir

#

i made it

turbid fjord
#

Tbf if you are struggling to change directory then you shouldn’t make tweaks

tepid olive
#

ok?

#

but not asked

#

everyone dont have pcs like you have

#

thats why i need virtual machine

#

ok

turbid fjord
#

Ik I’m just making a statement but like I LMFAO

tepid olive
#

stop make fun

turbid fjord
#

Bro

#

Nah

#

Bro how are you this dense

#

Changing directory has NOTHING to do with having a proper PC or a virtual machine

#

NOTHING

#

It’s a basic skill

tepid olive
#

im talking to other guy. who says install win10 since last night

turbid fjord
#

This is a waste of my time. I wish you luck

tepid olive
#

ok dont waste anymore talking here shit

turbid fjord
#

so idk what you chatting

turbid fjord
tepid olive
#

ok

#

bye

turbid fjord
#

Byeeeee

celest quiver
primal perch
naive kraken
#

I think you don't need platformization to get a task port of a non platformized process

#

so you can just use opainject + dumpdecrypted.dylib

crude swallow
#

i can't get fernet working in python

#

just spouts "cryptography.fernet.InvalidToken" at me

#

"cryptography.exceptions.InvalidSignature: Signature did not match digest."

glacial matrix
#

did you try debugging without the UI parts?

#

(pathlib.Path might make your life easier)

crude swallow
glacial matrix
#

I'd make a cli first and once it works I'd move to making a UI

cedar stag
cedar stag
#

Fixed it.

  • Don't start debugserver on device
  • Enter PID instead of process name to Xcode
indigo peak
#

how possible is a location spoofer on iOS 15 using tools that are already out

golden horizon
#

hello guys, someone know how can i found the kernel vinfo address of my ios version pls ?

zenith hatch
#

(i am completely unaware of what tools are out and what tools are needed)

snow python
indigo peak
#

I mean like kernel exploits, sandbox escapes, root privs etc

#

@zenith hatch

zenith hatch
#

true

indigo peak
silver rampart
#

how to change directory in linux

crude swallow
#

youre welcome

hasty ruin
silver rampart
crude swallow
indigo peak
#

well would it be possible to replicate something like idevicesetlocation but runs on device

#

and not through a pc

#

For me, yes, but by the time I figure it out, cs will probably release cheyote (that’s how long it would take)

#

real and true

snow python
indigo peak
#

is it anything full entitlements would fix?

#

or is it actual code that has to be rewritten

#

eat

#

Pick up food for today and tm

snow python
indigo peak
#

you can use trollstore to add entitlements

gentle grove
#

Stop being so entitled

crude swallow
#

stop trolling

gentle grove
#

i titled you

primal perch
tepid olive
#

Nitroless man

hasty ruin
#

Colleen Novielli, probably

vivid dew
#

larping as people who are employed

primal perch
#

larping as people who are employed

primal perch
#

@grave sparrow

#

int *&

gentle grove
primal perch
gentle grove
#

idk exactly what its for, maybe turning &mut into just &

#

so you dont end up with &&mut

indigo peak
#

@snow python youd probably know this since youve messed with location spoofing in the past

on older iOS versions (10 and below) in the com.apple.Maps.plist file, there used to be a key you can add to the file: __internal__PlaceCardLocationSimulation and make it true, and it would allow you to spoof your location in the stock apple maps app, it was apparently removed in iOS 11 and has been since then, do you know if theres anything similar to it in newer versions

from what i could find online, everything it outdated and there are no keys, but idk if you found something and kept it private or smth

primal perch
#

int *&

snow python
#

I need to better document these things

gentle grove
#

int******** bruh;

lime pivot
#

I wonder why it was in there. it’s prolly supposed to be done from Xcode instead these days?

#

tf is a platform rich application

#

does that make the app part of the 1%?

#

is there platform-working-class-application?

ocean raptor
faint timber
#

yoooo arm sex! @grave sparrow

primal perch
#

@naive kraken just realized the trollstore icon is literally the troll face

#

god bless

#

beautiful

turbid fjord
faint timber
primal perch
#

ice golem

turbid fjord
primal perch
#

oke where

hasty ruin
primal perch
turbid fjord
#

Yeah true

primal perch
#

most sane facebook user

zenith hatch
#

duh

tepid olive
#

god forbid they teach our kids ARABIC NUMERALS….

restive ether
zenith hatch
#

fr

dusky lintel
#

wait by sending a reply I reacted this would be great for iOS 15 and up

turbid fjord
#

I cannot comprehend what you are saying

cloud sundial
#

There should be a higher level class somewhere that you should be hooking instead

native dune
#

HUH

restive ether
#

react to this message if you want ios 15 jailbreak

restive ether
gentle grove
crude swallow
native dune
tepid olive
#

why doesn’t someone just make an ios 15 jailbreak smh

crude swallow
#

@tepid olive @grave sparrow @native dune @hasty ruin

#

i just saw your copypastas

#

yall deserve a giant fr 😭

hasty ruin
#

in dev channel?

crude swallow
#

ye

hasty ruin
#

they’re not copy pastas

#

We’re serious.

hasty ruin
native dune
#

what

crude swallow
#

fr

native dune
#

fr

turbid fjord
#

Did you Fr just type that out?

#

You missed the most important thing

#

====RAGE OVER=====

#

Or whatever it was

hasty ruin
primal perch
#

we serve food here sir

lone bronze
#

wdym our copypastas? I was the one who made that message. Unless you mean that the other discord users here made other messages not related to mine that also mentions the glorious 13.5.1 (which seems very likely seeming how great it is) however upon checking I do not find them making any "copypastas" and instead seem to just copy my message, which I worked hard on. And what do you mean I deserve a giant fr? I mentioned how great of an iOS version iOS 13.5.1 was, and due to me already being jailbroken on the greatest iOS version of all time I wasn't interested in an iOS 15 jailbreak. It was a statement that was not a reaction to any particular message in the channel, in fact I don't even read #development , right now I'm just replying to a random message and assuming what it says, rather I just made a statement on my own to clean up any future questions if any arose on the particular topic. Sure, this opinion may change if I were to accidentally update to that version, but since I'm already on the holy grail I see no reason to.

...

Actually, now that I think about it, I recognize that you weren't trying to attack what I said. You said a giant "fr" which stands for "for real". Since replying "for real" on a message is typically agreeing with it, I see now that you were just stating your agreement with my message and those who reposted it. In retrospect I shouldn't have jumped the shark on this - I'm very sorry for falsely assuming this and will make sure to spend extra thought before replying to any discord messages in the future. Thank you for stating your agreement with my statement. iOS 13.5.1 on top.

tepid olive
#

anyone know how to fix this

#

@grave sparrow maybe you do

#

ok its a procursus biso nbug

#

woowhoo

#

downgrading by 1 version fixed

robust mountain
primal perch
#

mashallah

lime pivot
#

wrong text direction lmao

gentle grove
#

true

#

It should be on the right

#

with reversed braces

#

} fi
{

primal perch
#

⬛

gentle grove
crude swallow
#

how can i restart python script from within infinite times

#

os.execv(sys.executable, ['python'] + sys.argv) works only once

#

after that it's FileNotFoundError: [Errno 2] No such file or directory

#

i want to keep it running

#

like

#

restart

#

the program ends and starts again

#

without any other instances still running

cloud sundial
#

@crude swallow os.execv(sys.argv[0], sys.argv)

#

Easiest way

cloud sundial
crude swallow
cloud sundial
#

Okay. What is the working directory then?

crude swallow
crude swallow
cloud sundial
#

I meant more like the value of os.getcwd() in the 2nd instance

#

Well another way is to provide absolute path of the file, using something like os.path.abspath(__file__)

crude swallow
#

yeah the working directory seems to be the same

cloud sundial
#

Make sure you're calling this from your main file however

cloud sundial
#

Try providing absolute path like I just mentioned

crude swallow
cloud sundial
#

Huh. Odd

crude swallow
#

oh i operate with files in this one

#

they're in the same directory as the python script

crude swallow
cloud sundial
#

Check where the error happens

crude swallow
#

o

#

i think i did it

#

had to use subprocesses but this will do

#

oops

#

the only downside is that the python script is actually never killed

#

without manual intervention

#

i need to kill it when the main window is closed by the press of the close button on the top bar

#

it initiated Gtk.main_quit

#

nevermind

#

the initial instance of the python script does get killed off

#

i tried putting pkill with the name of the script at the end but

#

the script still doesnt end

#

and the system monitor has no indications that it is running

cloud sundial
#

@crude swallow why would subprocess be different than what you were doing before?

crude swallow
#

i don't know but it works

crude swallow
#

this is a silly approach but gtk is also silly so screw it

cloud sundial
#

Yeah I'd rather use another approach, but I guess it works

crude swallow
#

subprocess.run(f'pkill -f main.py*',shell=True)

#

this kills off the GUI window but the terminal still indicates that the script is functioning

#

and idk how to kill it without manual intervention

misty cradle
#

@cloud sundial

cloud sundial
#

@misty cradle nerd

misty cradle
#

ok mr university

cloud sundial
#

Wut

#

Oh I read that as universe lol

chilly plover
#

any frida expert here?

#

need help in attaching script to an app

celest quiver
#

jizyah collector androidskull

#

😭

hexed knot
#

7 bit ascii is for [redacted]s

lone bronze
#

because 7,8,9 troll

glacial matrix
#

yeah. it was too much to even attempt

native dune
#

@tepid olive

#

hi property

hexed knot
#

Only idiots use it

hasty ruin
#

L

tepid olive
#

imagine pinging a bunch of random people

hasty ruin
#

@available

tepid olive
#

@import

gentle grove
#

@Nullable @NotNull

#

@echo orbit

gentle grove
#

theres someone named everyone#0001

celest quiver
#

never

restive ether
#

why don’t you ask them

primal perch
#

list of Capt Inc's sexual partners:

#

Thanks for reading!

ocean raptor
#

anyone here have a jailbroken device and some time to kill?

#

@grave sparrow you are probably free

#

considering you have no life

#

😭

hasty ruin
#

October šŸ‘

tepid olive
primal perch
grim sparrow
#

Add it yourself

tepid olive
#

zero

hexed knot
#

zero

grim sparrow
#

I’m serious

#

The forum says they will eventually but it’s not at all a high priority so they haven’t bothered yet

#

Just pr it

tepid olive
#

wanted to post this here

#

better than nothing, but still very far from a jb

#

and a security risk

#

to summarize: there are two 15.6 exploits, one is a kernel vuln allowing apps to have kernel permission ACE, the other is the usual webkit ACE

native dune
#

old news

pearl sail
#

Yoo the development of the jailbreaks is going to speed up!

#

/s

grim sparrow
#

Trol

tepid olive
#

Meth

crude swallow
#

Cocaine

tepid olive
#

Shut up Monkey

grim sparrow
#

yep

#

yep

crude swallow
#

what a quiet chat

#

lovely

faint timber
#

yes

twilit jungle
#

Okay but what about the first 3?

primal perch
#

in your mom

primal perch
#

480p 10fps

hasty ruin
#

Had to be downscaled bc discord couldn’t handle the drip

primal perch
#

real

#

do you have the original

hasty ruin
#

sadly not 😦

indigo fossil
#

icraze

#

You are famous

snow python
#

It really is

hasty ruin
primal perch
#

true true

#

where pics

indigo fossil
#

Steam deck

hasty ruin
#

zsh better

indigo fossil
#

Oh-my-zsh

#

What about the funny

#

Bourne

hasty ruin
#

no

glacial matrix
#

sh(ut)

crude swallow
#

huh????

hasty ruin
snow python
#

Whats wrong with KDE for a 720p monitor

#

And why gentoo when it was on the perfect os before

hasty ruin
#

cmd*

primal perch
#

cmd.exe W

turbid fjord
primal perch
#

fr

raw solar
#

nerds

indigo peak
#

how to view app documents folder using libimobiledevice

lime pivot
#

probably won’t work on Windows? don’t know if there’s a good fuse implementation there

primal perch
hasty ruin
indigo fossil
#

šŸ’€

glacial matrix
#

No --no-preserve-root?

gentle grove
hasty ruin
#

nor is rust

gentle grove
gentle grove
#

whoever made the meme is dumb

#

actually no

#

A pointer is 8 bytes

#

but in rust a pointer is 16 bytes because it holds both the pointer and the size

gentle grove
cloud sundial
#

Well if they are talking about pointers then it should be 4 bytes since they said x86

gentle grove
#

and that's still x86

cloud sundial
#

No that's x86-64

#

I'm just being a pain lol

gentle grove
#

that's still x86

#

but with larger pointers

#

should be

cloud sundial
#

Ik ik

cloud sundial
gentle grove
#

Fr

primal perch
#

ā€œreplaces C!ā€

gentle grove
#

used for bounds checking

hasty ruin
#

bro I found the weirdest fucking gif by searching for cheese

gentle grove
#

@grave sparrow This email is to confirm that the ā€˜ntwerk’ organization has been deleted from GitHub by ā€˜captinc’. Your organization’s repositories and content have been deleted from the system. You can reply directly to this email if you have any questions or feedback, we’d love to hear from you.

#

@cursive rampart This email is to confirm that the ā€˜ntwerk’ organization has been deleted from GitHub by ā€˜captinc’. Your organization’s repositories and content have been deleted from the system. You can reply directly to this email if you have any questions or feedback, we’d love to hear from you.

cursive rampart
#

sadder than all dogs go to heaven

gentle grove
#

This email is to confirm that the ā€˜ntwerk’ organization has been deleted from GitHub by ā€˜captinc’. Your organization’s repositories and content have been deleted from the system. You can reply directly to this email if you have any questions or feedback, we’d love to hear from you.

cursive rampart
#

@grave sparrow we must fix this injustice

#

but i’m at school

#

i can’t do anything rn

#

make new ntwerk

#

hurry

#

@gentle grove make

twilit jungle
midnight leaf
#

Hey guys, I have a question of possibility before I go down the rabbit hole. I’m trying to hook NSBundle bundleID that’s within my own tweak (it’s in a framework I’m including and not open source.) I’ve tried hooking that plain and simple but it’s causing the host app to have problems. Is it possible to hook just NSBundle+bundleIdentifier just within my tweak without effecting the hooked app?

primal perch
#

no you’ll have to hook some part of the framework

midnight leaf
#

Yea I was thinking of just compiling the framework into a dummy dylib and just hook that specifically after it’s loaded the symbols into my main tweak

twilit jungle
#

Is this framework used by the app or just your tweak?

midnight leaf
#

Just my tweak

twilit jungle
#

If you are first one to create that NSBundle then you could subclass it

gentle grove
#

@cursive rampart

primal perch
#

iOS 12.5.1

turbid fjord
#

I don’t think they saw the ping

#

@azure sail

azure sail
#

????

turbid fjord
#

Capt wants you idk

azure sail
#

@grave sparrow what do you want

turbid fjord
#

@grave sparrow L bozo

primal perch
#

no

naive sedge
#

P*thon

primal perch
#

need distancestats

#

cant see it

naive sedge
#

What is this code trying to do??

primal perch
#

why are you appending 10 km for every 1000 meters

#

should be 1km, no?

#

need better variable name then

naive sedge
#

Wait, so for every 1000 meters you want to add 10 to another variable?

#

Why not divide by 100

#

Why use the list

#

Just addition

primal perch
#

yea

#

sounds convoluted

naive sedge
#
money = 0
for item in distancestats:
  money += item / 100
#

Ah

primal perch
#

add all of the distances together since they have the same rate, and then just do a while loop to add 10$ while that total distance is > 1000

naive sedge
#

Why the while loop tho

#

Just divide by 100?

#

1000/100 = 10

primal perch
#
total = 0
[total += distance for distance in distances]
money = 0
while total > 1000:
    money += 10
    total -= 1000
naive sedge
#

But why the while loop lol

primal perch
#

more fun

#

clearer

#

optimization wise yeah that is true

naive sedge
#

And if they don’t do partial miles just round down

primal perch
#

but its also python so that doesnt really matter in practice

#

especially in the context of this intro level course assignment trol

#
total = sum(distances)
money = total // 100
#

but the logic could be simplified down to this with your idea

#

very nice

#

wait fuck me in the but

#

list comprehensions dont allow that

#

man

#

money = sum(distances) // 100

naive sedge
#

I mean this is what I'd do:

runners = [{
    'name': 'John',
    'meters': 100,
}, {
    'name': 'Jane',
    'meters': 200,
}]

for runner in runners:
    # $10 for every 1000 meters
    runner['reward'] = runner['meters'] / 100

print(runners)
primal perch
#

bonus points if you have a separate rate field

naive sedge
# primal perch bonus points if you have a separate rate field
runners = [{
    'name': 'John',
    'rate': 10, # $10 per 1000 meters
    'meters': 1000,
}, {
    'name': 'Jane',
    'rate': 1, # $1 per 1000 meters
    'meters': 2000,
}]

for runner in runners:
    runner['reward'] = runner['meters'] * 0.001 * runner['rate']

print(runners)
#

Just updated it to floor it, and noticed that we can say "km" rather than "1000 meters"
(As the race might only pay for each full km, not fractions of a km)

import math

runners = [{
    'name': 'John',
    'rate': 10, # $10 per km
    'meters': 1000,
}, {
    'name': 'Jane',
    'rate': 1, # $1 per km
    'meters': 2000,
}, {
    'name': 'Jack',
    'rate': 10, # $10 per km
    'meters': 1500,
}]

for runner in runners:
    # Calculate the total reward for each runner
    # Multiplying by 0.001 to convert from meters to kilometers
    #runner['reward'] = runner['meters'] * 0.001 * runner['rate']

    # If we only want to reward them for entire km, and not partial, we can floor it.
    runner['reward'] = math.floor(runner['meters'] * 0.001) * runner['rate']

print(runners)
primal perch
#

based

dapper bone
#

Do I smell the devil's language going on here?

primal perch
#

no there’s no javascript

pearl sail
#

Yeah we are using C#

naive sedge
dapper bone
#

I'm fairly certain this is P*thon

pearl sail
#

I’m using C#

#

Sorry the meth Just hit

naive sedge
#

uummm

snow python
primal perch
#

beautiful in his own way

snow python
#

😔

primal perch
#

i would know

#

i was the disappointment blessing

#

AMD Radeon Pro WX 4100

hexed knot
#

60 dollar hackintosh

primal perch
#

yes

#

19$ fortnite card

restive ether
primal perch
#

@restive ether Common Apple L

#

(the iphone 14 pro)

restive ether
#

why

primal perch
#

no usbc no 240hz no 16gb ram

#

literal shit

hexed knot
#

facts

restive ether
#

i only expected 1 of those 3 things

#

and it was usbc

primal perch
#

yea im shitposting

restive ether
#

i thought they would jump ahead of EU laws

hexed knot
#

why doesn’t a phone in 2022 have 240hz or 16gb

primal perch
#

im not buying another phone that isnt usbc tho

#

so if the 15 wants to be usbc great

restive ether
#

anyone who thought apple would massively increase ram is insane though lol

#

the 14 is 6 isnt it

primal perch
#

yea

#

so at least thers that

#

all are 6gb

hexed knot
#

The more ram the better!!!!

primal perch
#

yeah

restive ether
#

6 gigs is enough really

primal perch
restive ether
#

they should’ve probably did 8

primal perch
#

ya

restive ether
#

high performance games should always be the main beneficiary

primal perch
hexed knot
#

Atp the performance benefit between 14 and 13 will most likely not be noticeable at all

restive ether
#

they compared a13 to 16

hexed knot
#

Lol

primal perch
#

idk why just compare it to the last one

restive ether
#

it’s just baby step improvements

primal perch
#

its still 10-15% per year which is pretty good (when you look at intel/amd)

restive ether
#

and the fact they’re reselling extra a15 stock this year is an insult

primal perch
#

but ya that is

#

a15 in the base is gay as fuck

#

OOH THE EXTRA GPU CORE

#

nah who cares

midnight leaf
#

we cant hook a tweak correct? like say i wanted to hook my own.. I couldnt add the targetedtweak.dylib to executables of Moblesubstrate filter plist in hookingtweak.dylib's? Id have to target the app the targeted tweak initially hooks?

native dune
#

unless it’s not easy

#

idk i’m not that smart

restive ether
#

someone patched uhhh

#

whatever that really popular tvos alerts on ios tweak was called

gentle grove
#
if let Err(e) = fs::create_dir(&path).await {
    if e.kind() != io::ErrorKind::AlreadyExists {
        return Err(e);
    }
}

this is dumb

#

but idk how to make it nicer

midnight leaf
#

@restive ether I cant get the %constructor to be triggered. I set the executable name in the filter plist then dlopen the tweak before setting up the hook & that should make the %constructor be triggered again but its not.

#
CHOptimizedMethod0(self, NSString*, NSBundle, bundleIdentifier) {
    
    CPLog("bundleID being called by: %{public}@", [[NSProcessInfo processInfo] processName]);

    NSString *sourceString = [[NSThread callStackSymbols] objectAtIndex:1];
    NSCharacterSet *separatorSet = [NSCharacterSet characterSetWithCharactersInString:@" -[]+?.,"];
    NSMutableArray *array = [NSMutableArray arrayWithArray:[sourceString  componentsSeparatedByCharactersInSet:separatorSet]];
    [array removeObject:@""];

    NSString *frameworkStr = [array objectAtIndex:1];
    if ([frameworkStr isEqualToString:@"libappstoreplus"]){
        return @"com.cokepokes.newbundleid";
    } else {
        return CHSuper0(NSBundle, bundleIdentifier);
    }
    
    //CPLog("dongz Stack = %{public}@", [array objectAtIndex:0]);
    //CPLog("dongz Framework = %{public}@", [array objectAtIndex:1]);
    //CPLog("dongz Memory address = %{public}@", [array objectAtIndex:2]);
    //CPLog("dongz Class caller = %{public}@", [array objectAtIndex:3]);
    //CPLog("dongz Function caller = %{public}@", [array objectAtIndex:4]);
}```
midnight leaf
primal perch
#

true

#

this might as well be the instant reply for everything here

gentle grove
#

🧌

#

wtf

#

bruh

#

why is there an actual troll emoji

#

that will get annoying very fast

bleak furnace
primal perch
#

🧌

#

i think its new

gentle grove
primal perch
#

Approved in September 2021 as part of Emoji 14.0. Now available on iOS 15.4, Android 12L, Twitter, and Facebook. Coming soon to Samsung and Windows 11.

gentle grove
#

DetourNetworkUS — Today at 10:22 PM
Approved in September 2021 as part of Emoji 14.0. Now available on iOS 15.4, Android 12L, Twitter, and Facebook. Coming soon to Samsung and Windows 11.

primal perch
#

wtf

#

apples troll

#

this is cursed

gentle grove
#

that is so cusred

midnight leaf
# bleak furnace Set the same app bundle id of the targeted tweak within the .plist file. So if t...

Heres my dilemma, I'm adding a framework (precompiled framework that makes calls to *bundleIdentifier * within it.) I want to fake that. I added that framework to a tweak called libappstoreplus.dylib. In my tweak, (maintweak.dylib) i dlopen the libappstoreplus.dylib so maintweak can use the framework. That works. Now hooking *bundleIdentifier * is where the problem is. If I hook *bundleIdentifier * in the appstore, obviously that cause havoc. So i need to specifically target *bundleIdentifier * within the libappstoreplus.dylib. I've tried adding libappstoreplus.dylib to maintweak's filter plist but it doesnt do anything. Figured i could filter if ([[[NSProcessInfo processInfo] processName] isEqualToString:@"libappstoreplus.dylib"]){ in the constructor and only hook that way but processname is only showing "AppStore". It's almost like i need msfindsymbol/mshookfunction but for a method instead of a function.

tepid olive
#

processName is never gonna be libappstoreplus.dylib though?

#

because the dylib just isnt the process lol

#

library is loaded into the process, you could search loaded images and see if the library is loaded though

#

i might be missing the point of what yiure tryna do tho

midnight leaf
bleak furnace
# midnight leaf Heres my dilemma, I'm adding a framework (precompiled framework that makes calls...

Ok I understand what you want to do. When [NSBundle bundleIdentifier] is called by the App Store, it should return %orig, otherwise if it's called by your tweak, it should return something else. Is that right? So... Do you have information about the method/function caller within your tweak? I do something similar to prevent some functions to return a value when called from the app. I see you already used NSThread callStackSymbols but this is how I used it:

static BOOL isCalledByTweak() {
    NSArray *symbols = [NSThread callStackSymbols];
    int n = symbols.count > 5 ? 5 : symbols.count;
    for (int i = 0; i < n; i++) {
        if ([symbols[i] containsString:@"CALLER"])
            return TRUE;
    }
    return FALSE;
}

5 was enough to check that (in my case)

primal perch
#

that is ungodly jank

#

i wont judge but its still true

bleak furnace
midnight leaf
bleak furnace
primal perch
#

that would be less jank yes

#

get the range for AppStore's executable code and if its in that range, do the normal thing

#

or do the dylibs range executable code and if its in that range, do the speical thing

#

still pretty bad

#

because it relies on callStackSymbols

bleak furnace
primal perch
#

check the link register

#

at the beginning of the function just do register uint64_t returning_to asm("x30");

#

then compare that

#

if returning_to is in the range of the dylib's code then you can do the special thing

#

in theory that should work fine

primal perch
#

idk inline assembly syntax

primal perch
#
register uint64_t __lr asm("x30");
uint64_t returning_to = __lr;```
#

there

#

nvm you can just copy it and win

#

gg

#

cons: locked to arm64 and with pointer codes i think it affects the address bc the top 16 bits are used

#

so youd probably need to pacstrip

#

@grave sparrow

primal perch
hasty ruin
#

why wouldn’t I be

primal perch
#

icraze furry confirmed

hasty ruin
#

don’t make me leak your onlyfans

primal perch
#

go ahead

hasty ruin
#

mods won’t like it

#

actually nah this one is sfw

primal perch
primal perch
#

chartwerk

gentle grove
primal perch
#

or a key correct

#

read above

#

do you have to strip the codes to compare pointer

#

isn’t the top 12 bits or whatever used for the key

#

or16

primal perch
#

can you just & 0xffffffffffff or should you do __pacistrip or whatever

#

there’s a built in one i think

#

win

#

@midnight leaf so yea it’s pretty easy in theory

#

true

#

but using register is more fun

#

don’t like that

#

when capt face reveal

primal perch
#

uh

#

okd

turbid fjord
zenith hatch
#

idk

primal perch
#

none

zenith hatch
#

wholesome tip

hasty ruin
#

i normally add a super simple remote killswitch
easy to bypass if they have the slightest amount of skill, but has saved me a few times in the past

#

could also use a time based killswitch along with that, and give them an unprotected build after payment has been verified or whatever

#

but that's meh

tepid olive
#

best

#

most people wont bother to try to bypass it

#

remote killswitch is unnecessary

tepid olive
#

most of the people on r/tweakbounty are unproblematic from my experience, but ive only done a handful of them across the past few years

vivid dew
#

who

tepid olive
#

who

hasty ruin
primal perch
crude swallow
#

cock

#

cobol

gentle grove
crude swallow
#

WTF

#

i thought i guessed it right the second time

turbid fjord
crude swallow
turbid fjord
#

Oh true nvm

gentle grove
crude swallow
#

something something

gentle grove
#

Something like Common business oriented kanguage

#

oh ok

#

well anyways its not new

#

Carbon is the new shitty google one

#

Rust but immature

crude swallow
#

google shouldve came up with a better name

turbid fjord
crude swallow
faint timber
#

go develop some bitches @grave sparrow

crude swallow
#

fr

lime pivot
primal perch
#

they made go but worse somehow

lime pivot
grim sparrow
#

yes?

zenith hatch
tepid olive
#

Is ipa cheats make jailbreak required?

restive ether
#

console would tell you what you’re missing wouldn’t it

native dune
#

tell me if you figure this out, i’d like to know too

hasty ruin
#

tell me if you figure this out, i’d like to know too

turbid fjord
#

Don’t tell me if you figure this out, i wouldn’t like to know too

hasty ruin
#

L

snow python
#

@midnight leaf can I dm you, I have a question about your api if you have a moment

midnight leaf
#

Lmao

gentle grove
#

suggestion: don't waste time by asking to ask. if you ask the question outright, there is no time wasted going back-and-fourth

gentle grove
#

Why are you an orange @midnight leaf

snow python
#

It’s more to reduce spam here my guy

hasty ruin
midnight leaf
#

Reduce spam here? There’s so much shit posting that an actual conversation I’m sure would be welcoming to everyone

gentle grove
hasty ruin
#

it’s all because of capt

indigo peak
#

@midnight leaf @snow python can i not dm both of you, i dont have any questions but wanted a way to inject myself into the conversation

#

šŸ˜„

midnight leaf
indigo peak
#

ok ty

#

šŸ‘

gentle grove
#

@indigo peak @ @primal perch n

indigo peak
#

twerk

midnight leaf
steady nest
#

No one develops anymore

snow python
native dune
#

apparently it has been out for 2 years and nobody noticed it

steady nest
#

That will stop once you start to drive

hasty ruin
#

I’ve done less bc I don’t have a jb device on 14.2+ anymore, and I need that for smth

#

iPad is on 14.0

steady nest
#

L

hasty ruin
#

that’s a scary thought

primal perch
native dune
steady nest
#

Forgot you only need to know how to press the break pedal to drive in the US

midnight leaf
midnight leaf
steady nest
#

Driving at 15 is frightening

snow python
native dune
#

.

primal perch
#

try not to break your arm jerking yourself off

steady nest
#

You guys also drive automatic so...

midnight leaf