#development

1 messages · Page 538 of 1

weary heath
#

recursion sucks

hardy glen
#
[manager addItem:(itemDict) ? itemDict : @{} withBundleID: (bundleIdentifier) ? bundleIdentifier : @"" withAppName: (appName) ? appName : @""];
#

real code

#

i love recursion fuck the call stack

indigo peak
hardy glen
#
 item.appImage =
      (([appName isEqualToString:@""]) ||
       ([appName isEqualToString:@"Siri Search"]))
          ? [UIImage systemImageNamed:@"hammer.fill"]
          : [UIImage _applicationIconImageForBundleIdentifier:bundleID
                                                       format:1
                                                        scale:3.0];
``` AS you can see
#

readability is key

indigo peak
#

f o r m a t

#

on it

hardy glen
#

🔨

#

🥜

indigo peak
#

every guy in a 5 mile radius: salute

indigo peak
hardy glen
#

for(;;)

#

use c instead of i in for loops so its c++

#

okay gotta put on my big boy goggles. add x8 + 1 into x8 register

#

what are the non volatile registers in arm64

#

the only thing i did in arm was write to a file and read it back

#

and do a for loop

#

i was supposed to take a college class on arm64 asm but its not in my course now since the college i am transferring to doesn't require it

#

i still want to take it so i actually get forced to learn arm

ocean raptor
hardy glen
#

++c > c++

#

which is not true

#

++c > c++ != true == false != true == true != true == false

vivid dew
#

ogey

hardy glen
#

about to start talking in c++ from now on

vivid dew
hardy glen
vivid dew
hardy glen
vivid dew
#

bye

hardy glen
vivid dew
#

don't speak nerd

hardy glen
#

you will pay for not accepting

vivid dew
#

dog_girl.png

ocean raptor
indigo peak
#

can you hook a method in a private framework without adding it to the makefile

ocean raptor
#

idk what you mean

indigo peak
#

i think i figured it out

gusty pelican
twilit jungle
lime pivot
hardy glen
#

flexdecrypt from 3d touch contextual menu

main apex
#

flexdecrypt doesn't work on procurus/libhooker right though?

hardy glen
#

it does

#

because that is what i used

#

i might even make it to work with fouldecrypt through prefs except i don't know how i would handle depends

#

idk which one is prefered. i just use fd since it just works

main apex
hardy glen
#

Maybe try the tweak and see if the binary is visible in /tmp

main apex
hardy glen
#

Decrypt an app

#

I used to use my iPhone 11 as a test device, now I use iPhone X

#

I have used fd on both taurine/odysseyra1n with no issues

untold river
#

that dock though

hardy glen
#

My most used applications

#

Wish Apple could make a fucking option to at least choose how many apps you want on the dock

#

@main apex that video is on odysseyra1n

#

I mean if fouldecrypt or any other is the move then I can add preferences, I would’ve done that rn but I don’t want to make them multiple depends

#

^ that just uses flexdecrypt

#

Using nstask

#

so it replicates flexdecrypts behavior.

#

I might also add a 3D action in Filza to decrypt binaries

#

Yea

#

It can

#

It just uses flexdecrypt

#

whatever flexdecrypt does, this will do

#

Just gives you a 3D Touch option for applications

#

Hm hold on, idk if flexdecrypt has any args except the exec path

#

I am just running “flexdecrypt /path/to/executable”

#

Can you give me an app for example

#

And test it with/without the menu

#

and see if the behavior is different.

#

F

#

I am going to assume everything is fine

#

@silver rampart this is the coolest shit ever

#

can't for it to become better because i might be using this shit daily

weary heath
#

Does the GUI work well on macOS? It gives me an error trying to load

faint stag
weary heath
#

I was able to fix it but the program hangs whenever i choose some menus

ocean raptor
#

@indigo peak did you remove the cursed code before releasing PeepoSlippy

indigo peak
#

definitely not

ocean raptor
indigo peak
#

of course i got on idb from a bad tweak

#

yoooo

hardy glen
ocean raptor
indigo peak
#

true

#

they didnt write about gameseagull KEKW

ocean raptor
hardy glen
#

One day I’ll be on idb

#

As my dream

tepid olive
restive ether
tepid olive
#

Interesting

tepid olive
#

@digital helm

fathom pasture
#

man...

tepid olive
#

LOL

indigo peak
#

we do a little trolling

twilit jungle
#

“not serious tweak”… releases it and feeds the source to GitHub CoPilot

indigo peak
#

cry about it

ocean raptor
#

I need to setup copilot...

#

And restrict it to only give me suggestions based on fiore's code

native dune
#

one day i’ll be on iDB

indigo peak
#

L bozo

#

im just built different

#

on there twice

next wadi
#

The idea behind BrokePods was originally proposed by @digital helm,

native dune
#

does anyone have a repo template with payments and shit

#

i’m too lazy

#

atleast restricted packages

gentle grove
native dune
#

ok

gentle grove
#

since you need like a payment gateway and stuff

native dune
#

but just like a restricted package ring

#

thing

gentle grove
#

o

misty cradle
#

Need I remind you that this server primarily comprises those who are cognitively dysfunctional, technologically illiterate, or perhaps most frequently, some complex combination of the two? We should not make an effort to render life any harder for -- nor confusing to -- them.

ocean raptor
untold river
#

but uhh you can't really download it if you dont implement a payment API somehow

native dune
# ocean raptor Just use chariz

for my paid packages? the reason i want my own repo is so i get payments instantly instead of having to wait 30 days to get the couple of dollars i made for a purchase with packix fr

#

idk if chariz does the same

native dune
untold river
native dune
#

ye

restive ether
#

n

vivid dew
#

tldr?

native dune
#

ok

lime pivot
lime pivot
native dune
#

no worries

#

it makes sense because of refunds and shit

restive ether
#

that would require a lot of monies

#

businesses ya know

native dune
#

yea

lime pivot
#

it’s a compromise to make sure we’re always able to give customers refunds when necessary, and if you end up being sus (I doubt it hah, but we still need that just in case)

#

yeah those words basically

native dune
#

i figured

restive ether
native dune
restive ether
#

it’s truly amazing

lime pivot
#

plus it does have a benefit to you in that we just handle sales taxes for you

tepid olive
#

just use the capt inc method

#

have people cashapp you

lime pivot
#

since logically we’re the one accepting money, we’re the ones that pay it

tepid olive
#

no fee that way itishowitis

lime pivot
#

it’s a pain in the ass so you may as well have us do it for you

restive ether
restive ether
tepid olive
#

I honestly don't understand what you want :/

lime pivot
#

what in gods name is this thread

restive ether
#

name a more iconic duo than saurik and text expressions

lime pivot
#

;P

vivid dew
#

troll

restive ether
native dune
#

@lime pivot do you guys do ui themes

lime pivot
#

what would that theme exactly?

native dune
#

uh

restive ether
#

the ui

#

of sorts

ocean raptor
#

TFW chariz rejected my tweak

native dune
#

yea

#

idk how to explain it

restive ether
#

cam that was like

ocean raptor
native dune
#

like for example the search icon on discord

restive ether
#

the only tweak you ever made

native dune
#

it can

vivid dew
#

you need to call pthread_join from a real thread

ocean raptor
restive ether
#

and it probably burned in someone’s status bar

ocean raptor
#

No

#

Different tweak

vivid dew
#

bootleg mach threads won't cut it apparently

ocean raptor
#

QuickActions

restive ether
#

oh

#

which one was that

#

the jumper rip off?

restive ether
#

lol

#

forgot about that

#

please stop using cgit it’s fucking ugly 🙏🙏

lime pivot
tepid olive
restive ether
#

he won’t use gitea cause they haven’t fixed their cringe yet

native dune
#

fuck microsoft

lime pivot
#

oh yeah I should scroll down

#

Micro$oft Bad upvotes to the left

tepid olive
#

github could bomb orphanages i still wouldnt think about using cgit/gittea/gitlab

restive ether
#

nah gitea is fine

lime pivot
#

they literally do lmao

restive ether
#

gitlab and cgit are fucking ugly though

native dune
#

gitlab is fine

lime pivot
#

see the ICE contract controversy

native dune
#

gittea is ugly

restive ether
tepid olive
#

gitlab's ui makes no sense why did they have to be different from every other git site

restive ether
#

yikes…

lime pivot
#

gitlab is just github if it had a left sidebar instead of a top tab bar

vivid dew
#

have your mach thread create a frozen pthread in the target, then call _pthread_set_self with the resulting pthread_t

restive ether
vivid dew
#

i don't use programs written in g*

restive ether
ocean raptor
#

Still waiting for single user gitea woeis

restive ether
native dune
#

i guess it’s only weird on mobile

vivid dew
#

from the bootleg thread

#

pthread_create is safe to call from those

restive ether
indigo peak
#

what's a good python GUI framework

ocean raptor
#

tk

native dune
#

ur mother

restive ether
#

what’s the one ktool uses

#

that has a gui

gentle grove
restive ether
#

github mobile doesn’t even work half the time

gentle grove
lime pivot
#

lol sometimes I have to use the safari page zoom to zoom out until it thinks I’m on desktop

#

no more desktop site link + request desktop site doesn’t also change your viewport to desktop resolution any more for some reason

gentle grove
#

so i used gitea

vivid dew
#

the thread that called it will continue running, the mach thread underlying the pthread you created will need to be killed

ocean raptor
#

Bro

restive ether
#

you don’t want cgit anyways the shit is disgusting 🙏🙏

ocean raptor
#

cgit literally has a manpage

#

With docs

lime pivot
#

hot take: just use github

gentle grove
#

literally searched the entire internet

lime pivot
#

your code may as well not exist if I can’t find it

gentle grove
#

couldnt find barely anything related to cgit

#

i think the most i could find was the arch wiki page

restive ether
#

because nobody wants to use it lmao

gentle grove
lime pivot
#

I’m surprised anyone uses it in current year

gentle grove
restive ether
#

i know a certainly bootstrap repo that’s quite active on the cgit

#

and then moved to gitlab

gentle grove
#

on the cgit

restive ether
#

which is arguably worse

lime pivot
#

there’s a gitweb built into git itself that’s better 🤷‍♀️

gentle grove
#

gitlab's website is so confusing

vivid dew
#

yes

gentle grove
#

i can never figure it out

ocean raptor
vivid dew
gentle grove
restive ether
#

been waiting at least a year

tepid olive
ocean raptor
restive ether
gentle grove
#

im gonna try gitweb

vivid dew
lime pivot
gentle grove
#

true

restive ether
gentle grove
#

why does systemctl status just freeze up

lime pivot
#

at least now there’s literally any SEO whatsoever and I can navigate the damn thing

gentle grove
#

for half of my serivces

native dune
#

why is docker so slow

lime pivot
#

well and it helps that they’re using it for issues and PRs too

lime pivot
vivid dew
#

up to you

native dune
#

i type docker ps

restive ether
#

skill issue

native dune
#

i wait 40 seconds

#

and it finally loads

vivid dew
#

you can use whichever synchronization method you want at that point

#

since your bootleg thread is now a full pthread

lime pivot
#

yikes idk how you manage to make docker that slow man

#

do you have DOCKER_HOST set or a docker context to like a server in Antartica or something???

vivid dew
#

his system is swapping constantly

#

1600% ram utilization

native dune
#

yes it’s running on a raspberry pi, but i had the same issues on a linode server too

#

like a fucking $40 a month linode

gentle grove
native dune
#

yeah no kidding

gentle grove
#

takes like 5 secs on my raspberr ypi 3b+

#

whbgcih is still super slow

native dune
#

i’m running it on an rpi 4 8gb

gentle grove
#

but home assistant seems to be too much to handle for my rpi

#

tf

#

idk what you did then

vivid dew
ocean raptor
#

@lime pivot @restive ether FreeBSD is using cgit and phabricator

gentle grove
native dune
#

and then on my rpi 3…. docker would take forever to restart a container that it times out

lime pivot
#

they can do better

native dune
restive ether
#

they could be less cringe about their source

gentle grove
native dune
lime pivot
#

yeah idk man you broke something pretty bad

#

that’s very weird

gentle grove
#

here ill check boba.best vps too

#

this one is 4 vcpu and 8 gib ram wholesome

native dune
#

leave it up to nebula to break docker

#

then i broke nginx

ocean raptor
native dune
#

and switched to cart

#

caddy

gentle grove
#

200ms, 50 containers

#

for docker ps

#

hehe

#

oh wait if i run it a second time it's 90ms

lime pivot
#

I mean take it with a truckload of salt because it’s a Ryzen 3700X but 6ms on my machine

gentle grove
#

wdym

native dune
#

y’all have op setups idk

gentle grove
#

idk what you did

lime pivot
#

heh subsequent runs are literally 1ms what the hell

gentle grove
#

linux must be caching something important or something

native dune
#

portainer on the other hand loads it instantly actually

gentle grove
#

oooo should i do podman ps on my personal computer

#

i use podman instead of docker on non-servers

#

i am NOT running podman on production

#

@native dune what are you running on your pi

lime pivot
#

I am a pod person ama

lime pivot
native dune
gentle grove
#

i cant get git instaweb working btw

gentle grove
ocean raptor
gentle grove
#

too much work

native dune
gentle grove
ocean raptor
native dune
gentle grove
#

what does your htop look like

gentle grove
native dune
#

@gentle grove

#

it wasnt as slow this time

#

it used to be slower

#

this was more like 10 seconds

lime pivot
vivid dew
#

bro your vaultwarden

#

it is diseased

native dune
#

unhealthy

#

LMFAO

ocean raptor
#

You seem to be really bad at reading docs

gentle grove
#

where tf is it mentioned

lime pivot
#

vaultwarden is… a name, hah

native dune
vivid dew
lime pivot
#

yeah that might do it lmao

native dune
gentle grove
native dune
#

uh

gentle grove
native dune
#

guys what do i delete

gentle grove
#

what do you have that you dont need

native dune
#

nothing

gentle grove
#

hah

native dune
#

fucking 32gb card

lime pivot
#

you might need to do a docker prune

gentle grove
#

i have one too

gentle grove
vivid dew
#

docker images | grep '<none>' | awk '{ print $3 }' | xargs docker rmi

gentle grove
#

also check docker system df

native dune
#

lemme move my piracy legit movie downloader config files to my hard drive

gentle grove
native dune
#

lmfao

vivid dew
#

what is prune

gentle grove
#

removes images that dont have ae tag

#

basically exactly what your command does

vivid dew
#

never heard of it

gentle grove
#

"Removes dangling or unused images from local storage."

native dune
#

stopping all da containers

lime pivot
#

you can also clean up the systemd journal

gentle grove
#

docker says "Remove unused images"

lime pivot
#

cause that just… grows infinitely and never deletes old shit

native dune
#

where

#

how

lime pivot
#

not sure you exactly care about logs from a year ago but hey I guess if you do, journald has your back, for some reason

#

don't remember exactly but it'll be on journalctl

gentle grove
#

is that still the default setting?

lime pivot
#

you can also set a limit

#

yeah it fucking is

gentle grove
#

i swear i remember it being changed on debian

#

let me investiagetg

vivid dew
#

let me grep through my binary log files

gentle grove
#

"auto" behaves like "persistent" if the /var/log/journal directory exists, and "volatile" otherwise (the existence of the directory controls the storage mode).

#

apparently

ocean raptor
lime pivot
#

it's so much more useful to be able to filter using journalctl and then pipe to grep

ocean raptor
#

gzgrep

native dune
#

do i need qemu-user-static

gentle grove
ocean raptor
#

Yeah, that

native dune
#

i cant even delete packages

lime pivot
#

yeah it'z sgrep

gentle grove
#

ive been piping zcat to grep all my life

lime pivot
#

zeeegrep

native dune
lime pivot
native dune
#

waiting......

lime pivot
#

I'm assuming it's debian or whatever

native dune
lime pivot
#

dpkg -S qemu

#

to figure out the package name

native dune
#

only dpkg command i use is dpkg -b troll

lime pivot
#

then apt remove that package

#

don't actually remove it

#

just see what it says it'll remove

lime pivot
native dune
#

what am i looking for

lime pivot
#

find the package name on the left

native dune
lime pivot
#

the package that owns qemu-whatever it was

gentle grove
#

also try apt autoremove to remove orphaned dependencies (but make sure you dont accidentally remove anything you need)

native dune
#

no storage

gentle grove
#

what

#

why would that prevent you from deleting

lime pivot
#

yikes

#

you probably need to reboot to rescue mode

native dune
gentle grove
#

yikes

native dune
gentle grove
#

did it fill up the buffer space that's reserved for root user too

lime pivot
#

idk how that even works on raspi-like bootloaders

lime pivot
#

try rebooting

gentle grove
#

delete all your containers, since you won't be needing them soon

#

it should clean up a tiny bit of space

native dune
lime pivot
#

no, seriously

#

Unix OSes are… incredibly bad at handling storage

native dune
#

im waiting for this

gentle grove
#

whats that

lime pivot
#

most importantly when it fills up

native dune
#

config files for my media downloader shit

#

that seems to be the cause

lime pivot
#

if it fills up it just fills up and everything breaks because everything assumes more disk space will exist forever

native dune
#

im moving it to my hdd

gentle grove
#

im going back to using less for man because it's better

untold river
#

zstd compress man pages

gentle grove
#

they're already gzipped i think

native dune
#

oh man

gentle grove
#

is that windows

#

why does it have runded corners

native dune
#

yes its windows

#

windows 11

#

and a sharex effect

gentle grove
#

wtf

native dune
#

?

gentle grove
#

try removing stuff again with apt

#

also try editing journald conf if possible

native dune
#

man

lime pivot
#

notepad++

#

I forgot that even exists

gentle grove
#

did they cahgne the ui

lime pivot
#

you have regex selected that's why

gentle grove
#

it looks different than i remember

lime pivot
gentle grove
#

those checboxes though

lime pivot
#

that's windows 11

native dune
#

wait

#

wrong ping

gentle grove
#

those checkboxes

native dune
lime pivot
#

wtf

native dune
#

why do i have that selected

lime pivot
untold river
gentle grove
# native dune wtf

yeah it's searching for the text "{MEDIASERVERDIR}" after the end of a line

#

i think

#

whcih is impossible

lime pivot
#

{} also has special meaning in regex

gentle grove
#

oh

lime pivot
#

so it's just a syntax error

#

it should tell you that but hey whatever

untold river
#

not an app thing

gentle grove
lime pivot
#

vscode does

native dune
#

just rebooted

gentle grove
#

regex101 is just smart enough to know since i didnt put a number inside

lime pivot
#

make sure you select ecmascript

gentle grove
#

my brain went blank for a sec

#

it's a syntax error if i do {23}

lime pivot
#

yep

gentle grove
#

conclusion: vscode is dumb troll

hardy glen
#

To make life easier

indigo peak
#

i helped with that!

#

@restive ether start a vote for dev role

hardy glen
tepid olive
#

read your emails

native dune
#

@lime pivot @gentle grove just reinstalled dietpi fr

native dune
#

dietpi is the os thats on my rpi

#

instead of ubuntu server or whatever

#

can you send your bitwarden caddy thing

#

because i forgor to back it up

gentle grove
#

i use raspbian

gentle grove
native dune
#

dietpi is based off of raspbian lite

gentle grove
native dune
gentle grove
native dune
#

thank u

hardy glen
#

i only read it for 2fa/codes

ocean raptor
hardy glen
#

Idk what license to put

hardy glen
restive ether
#

WTFYW

gentle grove
#

i use unlicense on my configs

restive ether
#

legal issues

hardy glen
#

I’ll figure it out later, I don’t have license for most of my shit

ocean raptor
ocean raptor
#

Or BSD-0

ocean raptor
untold river
#

MIT/BSD2 still have some limitations

untold river
ocean raptor
#

DO NOT USE BSD-4

gentle grove
ocean raptor
gentle grove
#

what about cc-0

untold river
#

that one clause in bsd4

#

is so annoying

gentle grove
#

is cc0 license good

untold river
#
3. All advertising materials mentioning features or use of this software must display the following acknowledgement:
This product includes software developed by the Sileo Team.

This clause can go suck nuts

ocean raptor
#

cc licenses are for artwork and text not code right?

untold river
gentle grove
untold river
gentle grove
#

although i gues it makes more sense to get a code licesne anyways

indigo peak
#

@restive ether so where hearse's dev role

ocean raptor
untold river
#

because of this one clause

ocean raptor
gentle grove
#

whats wrong wtih gpl compatible

untold river
ocean raptor
ocean raptor
gentle grove
#

oh

#

that's not good

hardy glen
#

sbingner swooped

untold river
#

basically:
"i give no fucks do whatever" license: 0BSD (more legal than unlicense at least)
your average permissive license: MIT/BSD-2/BSD-3
copyleft license (gotta open source the derivatives): apache, gpl

untold river
#

looks like the FSF recommends cc0 if you want to public domain your code

hardy glen
#

I’ll just use MIT

gentle grove
#

MIT is good

#

i love mit license

untold river
#

true

restive ether
#

oh and ldrestart

vivid dew
#

i use the anyone but coolstar + a bunch of other random people license

restive ether
#

oh my name is in that license

#

so don’t use it

#

i need leviathan dog

untold river
#

wasnt there a license that forbid cameren from using code

vivid dew
hardy glen
#

double based

torn oriole
#

Triple based

tepid olive
#

girlboss only license

#

good

#

best license honestly

vivid dew
untold river
#

deez nutz license

vivid dew
#

see you in 18 hours

untold river
#

LF moment

vivid dew
#

this is so the remote thread you created doesn't crash when calling anything that needs the thread specific data to be set

vivid dew
#

i mean, you can if you want

gentle grove
#

windows when they use CRLF

vivid dew
#

but you have a remote port to the bootleg thread so you can control that

ocean raptor
vivid dew
#

pthread_set_self turns your bootleg thread into a proper pthread

#

the other one you spawned to get the pthread struct from can be killed whenever

#

the bootleg thread (which is no longer bootleg)

#

you want to call pthread_exit

#

but if you don't care about cleaning up you can just kill it

restive ether
gentle grove
#

should i delete my repo with 95,142 github actions workflow runs

#

and 9,562 commits

tepid olive
#

If someone gives you $14 million then yes

vivid dew
#

yes

#

there is too much code in the world

indigo peak
#

can you make apple watch apps with theos

hardy glen
#

You would need xcode to do that extension shit

indigo peak
grim sparrow
#

Yes

#

You can

#

You can do anything

#

You’ll probably just need to add a new mk file changing a couple things

hardy glen
#

I am going to try to do safari extensions

grim sparrow
#

Read

#

The

#

Jlevin

#

Books

hardy glen
#

I still haven’t gotten around to reading his books

indigo peak
#

@grim sparrow have you ever done it

#

im assuming not

grim sparrow
#

No I just know it’s possible

indigo peak
#

interesting

#

do you know anyone who has done it'

grim sparrow
#

Dude

#

Just

#

Copy the iPhone app mk

#

And change iphoneos to watchos

indigo peak
#

i guess that works

indigo peak
#

@grim sparrow couldn't i just use the xcodeproj.mk

grim sparrow
#

Ideally yes

#

Didn’t know you had macOS setup

indigo peak
#

i don't

#

i was looking at this fancy repo: elihwyma/ExampleXcodeApp and I looked in the dir for *.mk and saw it in there

#

i see now that i need a mac tr

restive ether
hardy glen
#

probably isn’t too difficult

untold river
#

the free build minutes

hardy glen
#

Old ass note 4 running Android 10

#

Forgot I even had this

faint stag
#

wtf, am i forced to codesign apps in xcode now or am i just dumb?

#

guess i have to deal with it frpensive

hardy glen
#

Ngl this phone is dope

#

It’s got good past development work done to make it usable

vivid dew
#

that's a weird looking iphone

gentle grove
#

smallest docker image in history

hardy glen
indigo peak
#

how do i hook NSString

#

and lets just say

#

replace every string with a static string

#

hypothetically

#

how would i do that

#

nono

#

i want to hook NSString

#

i already hooked UILabel

#

and i want more

#

rip

#

okay

#

thanks

#

well

#

i thought that the class method

#

+(id)string

#

would be what i needed

#

but its like

#

nothing

#

so hear me out

#
+(id)string {
  return [[NSString alloc] initWithString:@"jew"];
}
#

well it depends

#

does string call alloc init

#

or does alloc init call stirng

#

yooo

#

i got into safemode

#

pog!

#

@grave sparrow i found something that if i changed the string it would definitely break the entire OS

#

-(char *)UTF8String

#

i think it would

#

well yeah

#

over exaggeration

#

oh well, this seems like a lot of work just for some shitty little joke

#

fr

#

UILabel, UITextView

#

aren't discord messages YYLabels

vivid dew
#

get the mach port and call thread_terminate from thread 2

indigo peak
#

interesting

vivid dew
#

yeah

indigo peak
#

i was only doing it because someone wanted a caesar cipher on there phone

#

so i was like

#

ill do it

vivid dew
#

you should get the port before calling pthread_set_self

#

go ahead

#

see what happens

untold river
lime pivot
indigo peak
#

@silver rampart ktool should work on wsl, right

silver rampart
#

only place i ever use it

indigo peak
#

because it's not working for me woeis

silver rampart
#

send error

indigo peak
#

zsh: /mnt/c/Users/donat/AppData/Local/Programs/Python/Python39/Scripts//ktool: bad interpreter: c:\users\donat\appdata\local\programs\python\python39\python.exe^M: no such file or directory

silver rampart
#

did you install it in windows and try to use it in WSL?

indigo peak
#

i tried on windows, but i thought i deleted it

silver rampart
#

type python3 in WSL, see if it has the same issue

indigo peak
silver rampart
#

try python3 -m pip install --force-reinstall k2l

indigo peak
#

same error

indigo peak
#

do i send the whole path?

silver rampart
#

sure

indigo peak
#

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.Ubuntu20.04onWindows_2004.2021.825.0_x64__79rhkp1fndgsc:/mnt/c/Program Files/Common Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Program Files/Eclipse Foundation/jdk-16.0.2.7-hotspot/bin:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/Gow/bin:/mnt/c/MinGW/bin:/mnt/c/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/bin:/mnt/c/Library/Swift-development/bin:/mnt/c/Library/icu-67/usr/bin:/mnt/c/Program Files/nodejs/:/mnt/c/Users/donat/Desktop/mongosh-1.0.6-win32-x64/bin:/mnt/c/Program Files/MongoDB/Tools/100/bin:/mnt/c/Program Files/Go/bin:/mnt/c/Program Files/PuTTY/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/dotnet/:/mnt/c/Users/donat/AppData/Local/Programs/Python/Python310/Scripts/:/mnt/c/Users/donat/AppData/Local/Programs/Python/Python310/:/mnt/c/Users/donat/AppData/Local/Programs/Python/Python39/Scripts/:/mnt/c/Users/donat/AppData/Local/Programs/Python/Python39/:/mnt/c/Users/donat/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/donat/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/donat/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/donat/AppData/Roaming/npm:/mnt/c/Users/donat/AppData/Local/Programs/mongosh/:/mnt/c/Users/donat/go/bin:/mnt/c/Users/donat/.dotnet/tools

silver rampart
#

idk how wsl2 works but why are so many windows program paths in it

indigo peak
#

i have no clue man

#

it also could've been from me trying to set up zsh on it

#

currently trying to install python3.9 to see if that would work

#

@silver rampart what version of python is recommended for ktool

silver rampart
#

anything above 3.7, it shouldn't matter

#

ur env is, not correct

#

try this python3 -x $(which ktool)

indigo peak
silver rampart
#

ah yeah that windows version is like a month old

#

just delete /mnt/c/Users/donat/AppData/Local/Programs/Python/Python39/Scripts/ktool

indigo peak
#

@silver rampart i got it to work

#

it was weird

#

i uninstalled python 3.9 + 3.10 from my windows install

#

installed 3.8.9, and then ran pip install k2l through cmd and then i restarted the wsl shell

#

and i ran python3 -x $(which ktool) and then it worked

#

so idk wtf that bs is

#

but

silver rampart
indigo peak
#

i'm just as confused as you are

#

i think

silver rampart
#

im not confused

indigo peak
#

the way wsl handles python is by running the exe

#

so wsl doesn't have its own python interpeter

#

thats just my guess

silver rampart
#

no

indigo peak
#

okay, then i have no idea

silver rampart
#

afaik that's not how that works

#

you have windows bins/scripts in your path in WSL

indigo peak
#

so its just a me thing

#

interesting

silver rampart
#

python3 -x $(which ktool) -> find the place $PATH says ktool is, remove the first line hashbang, (which is trying to execute the windows binary), then run it with WSL's python3

#

only reason that works is bc you have the same version of k2l installed on both linux and windows, and its platform-independent, so you can use the windows script with the linux library

indigo peak
#

i just thought that is was weird that i had to install ktool through windows but run it through WSL

silver rampart
#

its again bc ktool in your path resolves to the windows bin

indigo peak
#

that's dumb

#

but it is probably my fault lmfao

silver rampart
#

probs

#

see if you have it here

indigo peak
#

i dont

#

i just points to /mnt/c/Users...

silver rampart
#

see if you have it in /home/donat/.local/bin/

indigo peak
#

yeah its in there

silver rampart
#

add alias ktool="/home/donat/.local/bin/ktool" to your shell profile and restart/source it

indigo peak
#

nope

#

still broke

#

wait i know why

#

please hold

#

yep

#

it worked

silver rampart
#

hook all of these

#

ez

indigo peak
#

beautiful

#

definitely worth the setup hassle

#

@silver rampart uhhh

#

what does this mean

#

it didnt work for Discord, but it worked for MobileTimer

#

wtf

silver rampart
#

how much did it not work, tho

indigo peak
#

none

#

is it because discord is an appstore app and clock is not

#

let me try instagram or somethign

silver rampart
#

could be

#

i've only tested this on apple stuff

#

but i've seen people use it fine on youtube.app

indigo peak
#

yeah instagram didnt work

#

hm

#

i think it might be from my decryption of the app

#

but im not sure

tepid olive
#

shut up

#

(nitro scammer)

ocean raptor
#

@restive ether how do I get advanced dev?

indigo peak
#

work on a jailbreak

#

like everyone else

#

besides amy

ocean raptor
#

I've contributed to taurine and odyssey

grim sparrow
#

What did you contribute

#

I remember you wanted it for a while

#

And then I sent you the dump I had

ocean raptor
#

Unregister apps on restore rootfs

#

I PRd it to odyssey and CS committed it but removed me as the author woeis

ocean raptor
grim sparrow
#

L

tepid olive
ocean raptor
#

Done

silver rampart
restive ether
#

there’s not really criteria for it

silver rampart
restive ether
silver rampart
#

can't remember where I put my keys this morning but I remembered you saying that over a year and a half ago

#

to someone else

restive ether
#

we changed it since homie is more or less MIA

silver rampart
#

he's off playing cs

restive ether
#

this is true

ocean raptor
#

I'll finish my tweak for chariz, how about that?

indigo peak
#

I made brokepods

#

How about that

#

@restive ether if I make a competent discord theming platform for iOS can I get advanced dev

ocean raptor
indigo peak
#

I made calculator history

grim sparrow
#

Advanced dev is supposed to be a vote

#

I think

tepid olive
#

so is dev and designer

tepid olive
#

gonna release thanos fuck 2

#

go ahead

ocean raptor
#

Go ahead, vote on it

restive ether
#

nerd

hardy glen
#

U gotta have a deep understanding of ios/macos internals to get advanced dev i feel like

restive ether
#

same thing

misty cradle
#

real

indigo peak
#

I just watched a video for that last night

tepid olive
#

I have no words

misty cradle
#

folder language bro

#

so simple

tepid olive
#

this dude probably put more effort into his shit post language than i do to my actual code

misty cradle
vivid dew
tepid olive
ocean raptor
#

I need to learn uikit woeis

indigo peak
#

you also need to learn how to not break an entire core functionality of jailbreaking

ocean raptor
#

Shut up

ocean raptor
#

And was fixed quickly

#

At least I didn't bootloop anybody

#

TFW sbingner's uicache bootlooped people

hardy glen
#

Literally spend a week on it, and it will be easy. I don’t even pull up the docs for certain shit since I already gotten used to pulling them up 100 times

#

I am about to buy the Jonathan levin books

vivid dew
hardy glen
indigo peak
hardy glen
#

Learn UIKit + understand MVC then everything easy

ocean raptor
#

Just get good then everything easy

hardy glen
#

lineage os 18.1

#

New Tweaks for android

vivid dew
#

no just read it off the struct

#

non posix

hardy glen
#

Tbf I got no idea what they are talking about

vivid dew
#

meme functions that are not part of the pthread standard

vivid dew
tepid olive
vivid dew
hardy glen
vivid dew
#

i prefer the VIPER pattern

tacit spade
#

Is it even possible for a subclass to be overriding my hook? I would think the answer would be no, right?

hardy glen
#

..-. ..- -.-. -.- / -.-- --- ..-

tacit spade
#

or like, could my hook not work on subclasses added in ios 14, if I linked it against iOS 13?

indigo peak
#

should i make a app for windows thats literally just the SF Symbols app on mac, but for windows

#

or like

vivid dew
#

no

indigo peak
#

windows + linux

#

so the 3 linux users can use it

hardy glen
#

I would still use the Website ngl

#

I would rather want it in a browser tab than a whole new window

indigo peak
#

the website is so shit tho

vivid dew
#

actually wait

#

you can still call pthread_mach_thread_np you just need to call it after pthread_set_self

#
    mach_port_t rfake_thread = (mach_port_t)remote_call_and_trap(rthread, ex_handler, ^(arm_thread_state64_t *state) {
        // Now that we're a real thread, get the fake thread's mach port.
        // This works because libpthread doesn't overwrite the thread's mach port in pthread_set_self.

        uint64_t __pthread_mach_thread_np = (uint64_t)reslide_shared_cache_ptr(&pthread_mach_thread_np, my_scb, their_scb);
        __darwin_arm_thread_state64_set_sp(*state, top_of_stack);
        __darwin_arm_thread_state64_set_pc_fptr(*state, pac_data_to_func(__pthread_mach_thread_np));
        state->__x[0] = rpthread_t; // input pthread_t
    });
#

wtf

hardy glen
#

The one you gave me, it’s nice

vivid dew
#

are you calling it from the injector or the target

#

the mach port is local to the target

#

hmm

#

no idea what that means

indigo peak
#

you guys are still talking about this

#

i would've given up by now

vivid dew
#

capt is dead

#

i am talking to myself

tardy narwhal
#

you need more spongeballin in your life triangle

tardy narwhal
#

oh rip i lost nitro

vivid dew
#

it was in ios 12

indigo peak
#

%hook Chariz

ocean raptor
#
%hook Chariz
-(BOOL)purchased {
   return true;
}
%end
#

Checkmate chariz

#

Get owned

lime pivot
#

oh no

silver rampart
weary heath
ocean raptor
#

The plist should restrict it to load into chariz.com

grim sparrow
#

eeeerrrrrrr

#

I was using the site normally

#

....

vivid dew
#

ogey

grim sparrow
#

thanks capt

ocean raptor
grim sparrow
#

man

ocean raptor
grim sparrow
#

fr just trying to figure out what process is hosting this server

#

and thought that would be an easy way of doing it

ocean raptor
#

Clone it then grep -R

grim sparrow
#

github search pulling through my laziness

#

both of mine are on monterey

turbid fjord
#

I’m in bed

#

I can’t use it rn

grim sparrow
#

then get out of bed

turbid fjord
#

Ok but I cant use it

#

No

grim sparrow
#

lol

turbid fjord
#

I’m not at home

grim sparrow
#

get an uber or something

#

idk

turbid fjord
#

I’m at my uncles house for tonight

#

Tomorrow afternoon

turbid fjord
ocean raptor
#

I'm on Big Sur, but I don't have Xcode troll

turbid fjord
#

I’ll be home in approximately 14 hours

#

Anyway what’s the issue out of curiosity

hardy glen
turbid fjord
#

Oh I see

#

Fr

#

I can help tomorrow if you need me too

hardy glen
#

i still haven't updated hack to monterey

turbid fjord
hardy glen
#

i am supposed to be updating today

#

i am on big sur at the moment

#

i don't even know if my smbios supports monterey

ocean raptor
#

Ok

#

Compiled

#

better not be a token grabber

vivid dew
#

thanks for the token

ocean raptor
#
% ./foo 
Using x86_64 architecture...
Creating a second thread...
Sleeping main thread for 2 seconds...
    Hello from the second thread
    Hello from the second thread
    Hello from the second thread
    Hello from the second thread
Acquiring the mach port for that second thread...
Terminating the second thread using its mach port...
Return value from kernel is: 0
% echo $?
0
indigo peak
#

ODk3MzIzNzg2NjkxNTYzNTIx.[redacted]

ocean raptor
#

Yes

#

i forgor 💀

#

Dw, it's a laptop from my school

weary heath
#

How can I make an app send me a notification in a hook