#development

1 messages · Page 505 of 1

indigo peak
#

and there are a lot of versions of fake discord sites

upbeat wyvern
#

oh? give me an example of one of the links troll

indigo peak
#

like dlscord

#

someone got banned the other day bc slim was talking about rewriting gir in c#

upbeat wyvern
#

hah

indigo peak
#

so he was gonna use discords .net lib

#

which is called

#

which was on the ban list

#

and someone sent it and got banned troll

upbeat wyvern
#

haha

indigo peak
#

im always scared to send it now

#

bc idk if it got added back or not

gusty pelican
#

why won't slim write it in discord.js

indigo peak
#

!girdead

#

idk the command

#

!t girdead

faint lionBOT
indigo peak
#

he doesnt like js

#

like at all

#

so he doesnt want to rewrite the bot in js

#

so hes using c# rn

#

which honestly, i wouldve just used js

#

no matter how bad it is

gusty pelican
#

true

indigo peak
#

i think discord.js is more documented plus theres code online already

gusty pelican
#

js isn't bad

indigo peak
#

im not a fan

#

like ill use it

#

but i wont enjoy it

gusty pelican
#

yeah i think discord.js has better docs than discord.py

#

from what i've seen

indigo peak
#

discord py was something else man

hardy glen
#

learning time/space complexity pepehands

gusty pelican
#

I'm taking a algorithm class rn

#

Merge Sort kinda sexy

indigo peak
# gusty pelican I'm taking a algorithm class rn

((((((((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xc92460b4173d8ad1) | ((~((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff))) & 0xffffffffffffffff) & (~(0xc92460b4173d8ad1) & 0xffffffffffffffff))) ^ ((0xc92460b4173d8ad1 & (~((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xffffffffffffffff)) | ((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff) & (~(0xc92460b4173d8ad1) & 0xffffffffffffffff)))) | (~(((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff)) | (~((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xffffffffffffffff))) & 0xffffffffffffffff)) | 0x253a41858a5c76d6) - ((((((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xc92460b4173d8ad1) | ((~((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff))) & 0xffffffffffffffff) & (~(0xc92460b4173d8ad1) & 0xffffffffffffffff))) ^ ((0xc92460b4173d8ad1 & (~((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xffffffffffffffff)) | ((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff) & (~(0xc92460b4173d8ad1) & 0xffffffffffffffff)))) | (~(((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff)) | (~((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xffffffffffffffff))) & 0xffffffffffffffff)) & 0x253a41858a5c76d6)) & 0xffffffffffffffff)

#

Mixed boolean algorithm thingy

gusty pelican
#

hold on

#

send that again the same way you just did

indigo peak
#

the exact same way?

gusty pelican
#

yes

indigo peak
# gusty pelican I'm taking a algorithm class rn

((((((((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xc92460b4173d8ad1) | ((~((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff))) & 0xffffffffffffffff) & (~(0xc92460b4173d8ad1) & 0xffffffffffffffff))) ^ ((0xc92460b4173d8ad1 & (~((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xffffffffffffffff)) | ((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff) & (~(0xc92460b4173d8ad1) & 0xffffffffffffffff)))) | (~(((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff)) | (~((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xffffffffffffffff))) & 0xffffffffffffffff)) | 0x253a41858a5c76d6) - ((((((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xc92460b4173d8ad1) | ((~((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff))) & 0xffffffffffffffff) & (~(0xc92460b4173d8ad1) & 0xffffffffffffffff))) ^ ((0xc92460b4173d8ad1 & (~((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xffffffffffffffff)) | ((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff) & (~(0xc92460b4173d8ad1) & 0xffffffffffffffff)))) | (~(((0x431e33362537db49 | (~((~(0xbac03a4c7e26a10c ^ ((0xbac03a4c7e26a10c & (~(bss_val1) & 0xffffffffffffffff)) | (bss_val1 & (~(0xbac03a4c7e26a10c) & 0xffffffffffffffff)))) & 0xffffffffffffffff)) & 0xffffffffffffffff)) | (~((((0x431e33362537db4a | (~(bss_val1) & 0xffffffffffffffff)) - (~(bss_val1) & 0xffffffffffffffff)) & 0xffffffffffffffff)) & 0xffffffffffffffff))) & 0xffffffffffffffff)) & 0x253a41858a5c76d6)) & 0xffffffffffffffff)

gusty pelican
indigo peak
#

Mixed boolean algorithm thingu

indigo peak
upbeat wyvern
#

(bss_val1) & 0xffffffffffffffff) what is the point of this, do you have it running on a 128bit machine?

indigo peak
#

its from snapchat kekw

upbeat wyvern
#

oh it's for obfuscation?lol

indigo peak
indigo peak
#

i wish i knew

gusty pelican
#

yeah they're hiding the api calls

#

so people can't spam them

upbeat wyvern
#

I sort of would expect the compiler to optimize out val = (val & -1)

hardy glen
#

i wish i had the time to fucking read that but i have to do calculus and cs algorithms pepehands

indigo peak
#

the one thing i want in life

#

is a snapchat spammer

#

on device

upbeat wyvern
#

.... obfuscating API calls has to be the dumbest thing, you can just sniff the HTTP traffic and get it deobfuscated

indigo peak
#

i made a python script that utilizes pyautogui + screendump + vnc viewer that spams snapchat chats

indigo peak
#

whats stopping someone from taking wireshark and going brrrrr

upbeat wyvern
#

unless they have certificate pinning - absolutely nothing

indigo peak
#

i dont have a monitor mode adapter so i cant sniff the packets

upbeat wyvern
#

and if they do, just find where it pins it and change it

indigo peak
#

but my friend does

upbeat wyvern
#

huh you don't need that

#

charles proxy

indigo peak
#

snap doesnt work with charles

#

tried before

upbeat wyvern
#

well it uses https

#

I assume

#

so you need some sort of MITM

indigo peak
#

no the app prevents you from making any http requests

upbeat wyvern
#

or... just hook the functions it uses to send the data out to the tcp stack

hardy glen
#

wheres cryptic when you need them fr

indigo peak
#

it is so hard to hook snapchat without getting banned

upbeat wyvern
#

unless it's doing certificate pinning it should work with charles

#

but it probably is doing pinning, so then you just need to know what API it uses for that and hook that call probably

hardy glen
#

about to do a speedrun on snap. taking out snapchat from flex blacklist and seeing how long it takes

upbeat wyvern
#

or... run it on corellium and do core trace?

gusty pelican
#

surprisingly i have had flex enabled with snap and haven't been banned

#

I guess I've got tweaks blocked outright in Snap

hardy glen
#

yea.. i don’t think its instant

#

not sure though

indigo peak
#

i one time installed flex without choicy before

#

before i had flexall

hardy glen
#

i don’t wanna try on my test device/test account because i don’t wanna be ip banned. i am not sure it exists

indigo peak
#

and it banned me withiin 30 min

hardy glen
#

flex blacklists snapchat

#

itself i think

#

flexing/flexall both of them

indigo peak
#

no only flexall

#

flexing doesnt

#

@lethal ice so hear me out, i remake iflooder with support for spamming imessage games

lethal ice
#

go ahead

indigo peak
#

how would that even work

#

is the imessage game a "object" in the message

#

like a picture?

lethal ice
#

i think its like a picture yeah

wicked summit
#

it sends as a picture to non iPhone

indigo peak
#

true

lime pivot
upbeat wyvern
#

Yeah I remembered it was snapchat just after saying that

upbeat wyvern
#

(I should say remembered what snapchat is)

faint timber
#

snapchat is super easy to bypass pinning tho

#

@lime pivot

fallow ravine
#

sed appears to be the right way to go, thank you!

hardy glen
weary heath
#

If you want it to hook Snapchat

#
touch /var/mobile/Library/Preferences/com.dgh0st.flexall.blacklist.plist
vivid dew
#

dgh0st

twilit jungle
faint timber
#

can any1 halp me

hardy glen
#

fr if it’s like testing, dk what help I could be of to you

fallow ravine
glacial matrix
fluid lintel
#

Hi, do you know if it is possible to connect to the audio buffer via iokit?

faint timber
#

@glacial matrix last time I was ignore so frstache

indigo peak
nimble parcel
nimble parcel
#

ty :)

twilit jungle
indigo peak
#

wait sorry kabir for the mention

slender glade
#

for a month

indigo peak
#

rip

slender glade
#

How tf do u hook in swift tho

indigo peak
slender glade
#

ohhh u use swiftpm for it?

#

That's interesting

indigo peak
#

idk what that means

#

im gonna try to write a tweak

#

in swift now

slender glade
indigo peak
#

O

slender glade
#

called swift package manager

indigo peak
#

i see

slender glade
#

to create a package u do something like

#

swift package init

#

for executables u do swift package init --executable

#

then u have a Package.swift file

#

From there you add dependencies u want

indigo peak
#

interesting

nimble parcel
#

You can’t add external SPM deps rn unfortunately, because Theos builds the tweak differently from SPM. There’s a chance we’ll add support for more SPM features later though

slender glade
#

woe

indigo peak
#

im going to try to make a tweak in swift rn

#

ill let you know how it goes

slender glade
#

what's the tweak gonna do

indigo peak
#

so far, the installation was flawless

indigo peak
#

first i need to learn basic swift

slender glade
#

print("pussy")

#

boom

indigo peak
#

so python

#

but with semicolons?

slender glade
#

There aren't many cases where you use semicolons in swift

#

So like

#

You can have this

#

print("yea yea yea yea")
print("we paid")

#

But you can have print("yea yea yea yea");print("we paid")
The result will be the same but you have 2 statements on the same line

indigo peak
#

ah

#

so its like js

slender glade
#

basically they aren't required unless you want them to be

#

If that's easily understood

indigo peak
#

so like js

slender glade
#

tr

indigo peak
#
console.log("cock bruh")
console.log("penis cock bruh")


console.log("cock bussy"); console.log("cum")
slender glade
#

AGREED!!

#

@indigo peak u gotta learn optionals

#

they're a massive part of swift

indigo peak
slender glade
#

you’re gonna see them everywhere

late ridge
#

v helpful

indigo peak
#

im writing gameseagull in swift

#

or at least some of the tweaks

late ridge
#

..

indigo peak
late ridge
#

ok I so confused right now
can someone explain to me what in the world is going on here

haughty bear
#

Nice quality

indigo peak
#

i mean you are clicking on an ad

late ridge
#

no duh, but the bottom left shows the url as youtube.com when I hover over the link

indigo peak
#

are you using chrome?

late ridge
#

ya

late ridge
indigo peak
#

while i install chrome

#

help possibly?

#

@late ridge

#

when i clicked on it

late ridge
#

ya

#

I'm just confused as to how we're supposed to know it's malicious. I get it's an add but everywhere I could possibly think to look shows that it's going to youtube.com

slender glade
indigo peak
slender glade
#

o tf

#

why not compile on computer

late ridge
indigo peak
late ridge
#

ya

slender glade
#

make package install may make your life less hell than compiling on device

late ridge
#

which is my im confused lol

slender glade
#

wth

late ridge
#

do you have swift installed on ur phone?

indigo peak
#

libswift4

#

from bigboss

slender glade
#

[[swift]]

faint lionBOT
#
libswift (stable)

Swift runtime for iOS

Author

Kabir Oberai

Version

5.0-electra2

Price

Free

Add Repo
More Info
indigo peak
#

by Kabir Oberai

slender glade
late ridge
#

nah you need actual swift

indigo peak
#

i also have swift-toolchain

late ridge
#

besides that

slender glade
#

I think u need that for swift-build

indigo peak
late ridge
#

lol

indigo peak
#

i cant add procursus

slender glade
#

oh

#

Uhh

indigo peak
#

does [[swift]] have deps?

slender glade
#

Ok no results on elu so truhh

indigo peak
#

bc im gonna download it from the repo site

slender glade
#

Oh you mean

#

a deb from procursus

#

to a elu device

#

yea that doesn't work

indigo peak
slender glade
#

I tried that once

#

You'll get an error about zstd

indigo peak
#

hm

nimble parcel
slender glade
#

I think he also tried on a windows

nimble parcel
#

you need to use macOS, Linux, or WSL for Orion atm unfortunately

indigo peak
#

ah ok

indigo peak
slender glade
#

tr

#

Boot up Linux tbh

#

your best bet

indigo peak
slender glade
indigo peak
slender glade
indigo peak
#

close enough

slender glade
#

You just need to add THEOS_DEVICE_IP

#

to the makefile

indigo peak
#

tru

#

im assuming install proc for wsl theos the same as linux

slender glade
#

@indigo peak you know something super nice abt swift

indigo peak
#

go on

slender glade
#

you don't have to do #import or #include for other swift files already in the project

#

unlike how other languages do it

indigo peak
#

pogger

#

i would install it on linux

#

but

#

drivers arent on linux

slender glade
#

WOE

indigo peak
#

woe moment indeed

#

i have it installed

#

on my ssd

#

but i cant use

fallow ravine
#

there’s also stuff like macstadium and ec2 if you want to rent a mac for dev

indigo peak
#

nah ill be fine w/o a mac

#

i think

#

wsl kinda weird

#

ngl

#

for theos

fallow ravine
#

always start w linux wholesome

late ridge
#

were you saying you can't cause of driver issues?

indigo peak
#

yea

#

i cant use my ubuntu install bc i dont have the drivers for my wifi adapter

#

so im just doing wsl now

faint timber
#

@glacial matrix basically c++ isn’t letting me use goto label

glacial matrix
faint timber
#

I want to skip code entirely

glacial matrix
#

While-break can do that

#

Or just put the skipped code in an if branch

faint timber
#

Yeh I can do that, goto would just make it easier and more readable

upbeat wyvern
#

or make the code you want to skip a subroutine and don't call it 😄

#

that can help with readability

faint timber
#

That might actually be better instead of having a huge function of reused code

upbeat wyvern
#

yeah I always seem to find that when I want to use goto it works better as making another sub

#

with a few exceptions when I decided to just use goto

grim sparrow
#

Didn’t know Amazon used the Theos build system

snow python
#

That’s nice of them

indigo peak
#

MIDNIGHT CHIPS

#

YOURE ALIVE

#

HELLO

snow python
#

I am?!

#

Hi

indigo peak
#

how are you doing

velvet laurel
#

noob

indigo peak
#

what are you up to?

#

business as usual?

#

@nimble parcel using Orion, is it possible to hook an application's custom class?

#

I'm sorry if this ping is for a dumb question

#

because either im really dumb and cant figure it out, or its not possible

velvet laurel
indigo peak
#

how

#

i cannot figure this out

grim sparrow
#

Write an interface for it

indigo peak
#

or can you at least guide me in the right direction

#

like a obj-c interface?

grim sparrow
#

Yeah

#

In one of your .h files

indigo peak
#

i shall try that

grim sparrow
#

I need to try it again tbh

#

I last used it months ago and it was crashing a lot for no reason

indigo peak
#

hm

#

well i tried putting it in the only .h file i could find in the project

#

and nothing changed

grim sparrow
#

Show

indigo peak
#

show error first?

grim sparrow
#

Sure I guess

#

Just whatever

indigo peak
#

and from what i gathered from reading that, i needs GolfBall to be a declared class

grim sparrow
#

Yeah, where’s your interface for it

indigo peak
#

.\Sources\TestSwiftC\include\Tweak.h

#

its not being referenced from anywhere though

grim sparrow
#

Show

indigo peak
#

it generated the file on the first build

twilit jungle
indigo peak
#

fuck you dgh0st

twilit jungle
grim sparrow
#

Bear in mind it’s 2am and I haven’t used it in months so I don’t know how up to date my help is

indigo peak
#

well any help is better than no help

#
import Orion
import UIKit
import SpriteKit


class GolfHook : ClassHook<GolfBall> {
    func inside() -> Bool {
        return true
    }
}
#

thats the Tweak.x.swift file

twilit jungle
#

:frbruh:

grim sparrow
#

You need to import TestSwiftC I think

indigo peak
#

hm

#

ok

#

yup that worked

#

lmfao

grim sparrow
#

I swear that used to be imported by default

#

But oh well

indigo peak
#

WIAT IT IS

#

imported by defgualt

#

but when i was setting everything up

grim sparrow
indigo peak
#

i was following the guide word for word

#

bc i didnt want to have to restart if i fucked upo

#

Delete the contents of the file and replace them with the following

#

and the contents of a Tweak.x.swift when you first make it is ```SWIFT
import Orion
import TWEAKNAMEC

#

wow it actually works

#

no way

#

@late ridge i got swift working now, GameSeagull swift rewrite eta s0n™️

indigo peak
#

personally from my experience with Orion and Theos, granted I have had more experience in objective-c compared to swift, I prefer Theos/Logos

#

but im also not a good source for asking these sort of questions

#

thats just my optinion

tepid olive
#

i might start making tweaks again with orion

indigo peak
#

pogger

#

ive been using it

#

remaking my tweak

#

and its pretty meh

#

swift

#

not orion

tepid olive
#

it makes what i wanted to do much easier

#

swift is best wtf

indigo peak
#

and i never had any thing to test it with

#

most likely

tepid olive
#

Swift is very very fast if you know what ur doing

#

i'm not trol

#

no but it'll be slowly less used

indigo peak
tepid olive
#

objc is slower by default

#

iirc

#

for tweaks nah

#

for apps/ general use id say yes

indigo peak
#

for apps i would use swift

#

for tweaks i would use objc

#

probably not

#

youre good lmao

#

i was talking to scoob in italian yesterday

#

scoob/scoop/qwertyuiop

#

basically hes really big brain who helped me a fuck ton on my tweak

#

he wrote a tweak in assembly

#

yes

#

assembly

#

scary

#

my top fears:
3. heights
2. the dark

  1. assembly
  2. dgh0st's :bruh_l:
twilit jungle
indigo peak
#

public var orig: Self { get } ah yes, orig is self

velvet laurel
#

fiore scary

#

he harrases me

late ridge
#

in arm xzr is 0 right?

rain falcon
#

nfr

twilit jungle
#

What

#

type checks happen at compile time

hardy glen
#

yea i was about to say

#

thats the compiler’s job to handle the type checking

slender glade
#

Swift gives you an error in build time if it can't type check in reasonable time

#

So what you said isn't true

#

Are there

#

o

#

does "unexpectedly found nil while force unwrapping" count as one

quaint wigeon
#

happy birthday @slender glade

slender glade
#

tr wrong channel?

#

but thanks

glacial matrix
#

It will have the benefit of taking advantage of SPM so people will be able to use other libraries easily

glacial matrix
#

I guess

nimble parcel
#

nah, Swift is a lot faster than objc

#

objc has way more dynamism than swift — Swift’s type checking is purely done at compile time

#

you can’t even inline a method call in objc (at least unless you add explicit annotations), whereas Swift does aggressive optimisations across methods and modules

#

that’s not to say objc is slow, it’s just that Swift is much faster in comparison without having to go through hoops

nimble parcel
glacial matrix
#

Which is why I said “will”

nimble parcel
#

yeah, hopefully some day

slender glade
grim sparrow
slender glade
#

It only happens to me when I put like 30 things in the same view in swui

#

swift package manager

#

allows u to add dependencies

#

like swift argument parser for example

#

or alamofire (clueless)

#

or anything else that supports it lol

grim sparrow
#

Networking depends are stupid

#

And unnecessary

slender glade
#

go ahead

#

add argument parsing without swift argument parser

slender glade
#

lol what

#

ok you know how when you run a program in terminal

grim sparrow
#

lol

slender glade
#

you can add arguments

#

like for example

#

./example --sex

#

With swift argument parser u can check if user did --sex

grim sparrow
#

I swear there’s a native one now

#

That doesn’t require external libs

slender glade
#

fr

#

?

#

Well fugu was written in swift and was able to do it without that lib so idk

grim sparrow
#

Oh lol it’s a library authored by the swift team

slender glade
#

I think apple uses it

grim sparrow
#

They do

#

It’s authored by Apple

slender glade
#

it's nice but it's stupid how you can't have arguments or flags beginning with the same letter

grim sparrow
#

That kinda makes sense tbh

slender glade
#

for short options yes it wouldn't make sense to have two -z for example but if you could disable having a short option

#

Then it would make sense to allow two beginning with the same letter

grim sparrow
#

True

slender glade
indigo peak
#

@slender glade does swift print() show up the same as a NSLog

#

can i do oslog | grep KEYWORD

slender glade
indigo peak
#

okay, thanks

#

==> Warning: You are using a beta (ABI-unstable) build of Orion. Please do not distribute tweaks that you build with this version. i am going to distribute tweaks trol

slender glade
#

Interpolation is different

#

for example

#
print("value of anIntExample: \(anIntExample)")```
#

guess what that prints out

indigo peak
#

yeah its not working for me

slender glade
#

o wtf

#

y

indigo peak
#
class IconHook : ClassHook<GameIcon> {
    func setWins(_ num: Int) {
        print("PENIS test")
        orig.setWins(100);
    }
}
#

this works

#

like the orig.setWins

#

it sents all game wins to 100

#

but when i do print("PENIS test")

#

and i do sudo oslog | grep PENIS

slender glade
#

It doesn't print out penis test I assume?

indigo peak
#

it doesnt do anythig

slender glade
#

did you try with NSLog

#

And see if that prints the same thing

indigo peak
#

do i need to import anything for nslog

#

or is it the same

#

NSLog("PENIS test")

slender glade
#

As in

#

Try NSLog in obj c

#

lol

indigo peak
#

ok nslog worked

#
class IconHook : ClassHook<GameIcon> {
    func setWins(_ num: Int) {
        NSLog("PENIS test")
        orig.setWins(100);
    }
}
slender glade
#

wait

#

there's NSLog in swift?

#

til

indigo peak
slender glade
#

How are you debugging btw

indigo peak
#

wym?

slender glade
#

like

#

how are you seeing that it prints it

#

you’re using debugServer?

indigo peak
#

im running oslog on my device

#

so im compiling on my pc

#

and it installs the deb on my phone

#

and then on my phone

#

im using oslog

slender glade
#

o

#

ohh

#

tro

indigo peak
#

over ssh

#

so question

#

how would i put a var in the NSLog

#

bc

#

%@

#

doesnt have any special coloring

#

but that could just bc bc NSLog isnt a "native" swift thing

slender glade
#

Idk how NSLog works but uhh

#

try the swift interpolation

#

which is \(variable)

indigo peak
#

HAPPY BIRTHDAY

slender glade
#

wtf

indigo peak
#

!!

#

its reading it as a string

#

so it will print

#

PENIS /(self)

slender glade
indigo peak
#

and not the object of self

slender glade
#

switch the /

#

To a \

indigo peak
#

im dumb

#

that workede

slender glade
#

big double Yu

indigo peak
#

well idk yet

#

it changed the color

#

idk if it will compile/work now

slender glade
indigo peak
#

compile Check_Mark

#

runs Check_Mark

slender glade
#

Hotel? Trivago

#

@indigo peak does it actually print

indigo peak
#

si

slender glade
#

that's a big w Kung

#

king**

#

are you remaking ur tweak into the uhh

#

swift

indigo peak
#

im trying

#

not going too well

#

i dont know swift

#

like at all

#

so im just making it all up as i go

slender glade
#

OK THATS EPIC!!!

#

@indigo peak remember if u don't know what to do with a variable

#

just declare it as an optional and forget it!!

#

var sex = nil

indigo peak
#

@slender glade would you happen to know what im doing wrong

#
class IconHook : ClassHook<GameIcon> {
    func setWins(_ num: Int) {
        NSLog("PENIS \(self.name)");
        orig.setWins(100);
    }
}
#

so error: value of type 'IconHook' has no member 'name'

#
@interface GameIcon : UIView
-(void)setWins:(int)arg1 ;
-(NSString *)name ;
@end
lime pivot
#

reason why it gives you that dumb useless error that still hasn't been fixed is because your argument is optional, or not an ObjC type

#

you can wrap it in String(describing:) to work around that

#

so NSLog("big cocks %@", String(describing: self))

indigo peak
#

that did fix the issue

#

thanks

merry glade
gusty pelican
#

Working on my own shell in C, I'm having an issue where if I want to call execvp to call a command, if the command fails (doesn't exist on the system), then the forked process is still there. Is there a way to check to see if a command is runnable before forking the process?

merry glade
gusty pelican
#

So it's like

pid = fork();
if (pid == 0) {
  // do execvp
}
merry glade
#

The forked process shouldn't stay after execution is done

#

yeah this online snippet works as intended and does pretty much nothing different

#
int main(int argc, char*argv[])
{
    pid_t pid;
//    char *const paramList[] =  {"/usr/threshold/bin/preconfig.sh", options[indexSelected].optionName, NULL};
    char* paramList[] =  {"doesNotExist", "-r", NULL};

    printf ("Forking\n");
    if ((pid = fork()) == -1)
    {
        printf ("pid == -1\n");
        printf ("Error : Program did not fork correctly.");
    }
    else if (pid == 0) 
    {
        printf ("pid == 0\n");
        execvp(paramList[0], paramList);
        printf("Error : execvp did not execute successfully.\n");
    }

    printf ("Program done");
    return 0;
}```
gusty pelican
#

Yeah I think that's where I need waitpid

#

Hmm

#

See my issue is like

#

If you type in la instead of ls as a command that doesn't exist, it returns that it doesn't execute properly. However the issue now stands that the program has already forked regardless of how it executed. So if I want to quit out of my shell, for each time my command has failed previously, I have to type exit. In this case, I'd have to type exit twice (once for the forked and then the final original process)

#

That number continues to grow for each failed execution

#

Which I want to prevent

merry glade
#

'-'

grim sparrow
#

yes, you could

indigo peak
tepid olive
indigo peak
#

Hello evelyn

tepid olive
indigo peak
#

@tepid olive have you given Orion a shot yet?

tepid olive
#

yeah

#

i couldn't figure out things

indigo peak
#

Thoughts?

#

Same

#

Lmao

tepid olive
#

like adding subviews to a vc

indigo peak
#

I’m trying to rewrite my tweak in swift and it’s kinda hard

tepid olive
#

i don't have issues with swift i'm just not used to tweaks and everything

indigo peak
#

Ah

tepid olive
#

have you done stuff like adding views

indigo peak
#

I’m the same, except I don’t know swift

tepid olive
#

also for some reason it doesn't inject in apps

indigo peak
tepid olive
#

no idea why

indigo peak
#

It works for me

tepid olive
#

¯_(ツ)_/¯

indigo peak
#

Is it only some apps?

#

Or all apps

tepid olive
#

all

indigo peak
#

Hm

#

I’m assuming you checked

#

But is it in the plist file?

#

The app bundle

tepid olive
#

what?

#

my filter is sb

#

shouldn't that inject everywhere

indigo peak
#

no? maybe?

#

I think it just goes into springboard and not in any apps

tepid olive
#

well it doesn't inject in any app apparently

#

even with correct filter

indigo peak
#

hm

#

worth a shot ¯_(ツ)_/¯

#

It works for me

#

I added the app to the plist and it injects fine

tepid olive
indigo peak
#

It works for me

#

Sets all the wins to 100

#

I added the game pigeon bundle to the plist and it changes the value

tepid olive
#

xcode 13 support woeis1

indigo peak
#

I use vscode and wsl

tepid olive
#

xcode is nicer imo

indigo peak
#

I mean, makes sense

#

Xcode was made for swift

tepid olive
indigo peak
#

That took so long

tepid olive
#

i built it like 4 times

indigo peak
#

It hasn’t done it since

#

It errored on my first build

tepid olive
#

every time i use the wrong toolchain, it removes everything and redoes

indigo peak
#

And when I built again - without any changes - it built fine

tepid olive
#

is this right

indigo peak
#

It should be

misty cradle
#

probably

indigo peak
tepid olive
#

doesn't work troll

indigo peak
#

Woe

#

I’m still trying to figure out how to call other methods from a hook

#

It’s not working for me

#
class IconHook : ClassHook<GameIcon> {
    func setWins(_ num: Int) {
        NSLog("PENIS \(self.name)");
        orig.setWins(100);
    }
}
#

I’m trying to get the name from self

#

But self is the IconHook

#

And not an instance of GameIcon

tepid olive
#

nope, nothing, even when using viewDidLoad

indigo peak
#

layoutSubviews?

tepid olive
#

i'll try after

misty cradle
#

just hook

#

setBackgroundColor

#

change color and you'll see if it works

tepid olive
#

literally hooking every UIView and it doesn't work uhh

misty cradle
#

@tepid olive check in the console app

#

search for ur dylib

#

maybe there's some error loading it

tepid olive
#

what causes this fr

misty cradle
#

no idea

tepid olive
#

im stupid holy shit

#

my filter was still com.apple.prefs

indigo peak
#

oml

#

this is why we can’t have nice things Evelyn

tepid olive
#

hopefully it works now troll

#

i did open prefs but nothing happened because nothing injects in apps nfr

indigo peak
#

So were you trying to hook something in prefs

#

Or in an app like discord or Reddit or smth

tepid olive
#

i was hooking a uilabel in prefs

#

but nothing worked

indigo peak
#

Oh in like normal settings

tepid olive
#

sorry typos my computer is dying trol

indigo peak
#

com.apple.Preferences

#

that’s what you have in the plist?

tepid olive
#

yes

indigo peak
#

Interesting

tepid olive
#

no caps though

#

might be the problem

indigo peak
#

I think it isfr

tepid olive
#

regardless

#

i wanna use addSubview now

#

this is gonna be annoying to figure out without docs

#

evelyn hows the swift client

#

good

#

eta wen launching?

#

idk

indigo peak
#

Does it work in objc?

tepid olive
indigo peak
#

Evelyn

tepid olive
tepid olive
#

never touched it

indigo peak
#

Trol

#

Let me try rq

#

I’m on phone rn

#

So bear with

tepid olive
#

dw

indigo peak
#

@tepid olive is your test rn changing the label of airplane

tepid olive
#

i'm working with cscoversheetviewcontroller now

indigo peak
#

Stil in the setting app?

tepid olive
#

that's the lockscreen

#

lol safe mode

#

forgot orig

indigo peak
#

trol

#

Are you trying to add a button or something to the Lock Screen?

tepid olive
#

im just tryna NSLog from the viewWillLoad

#

no luck ofc

indigo peak
#

Yeah I’m not home rn so I can’t test builds

#

Sorry

tepid olive
#

no worries

#

i'll figure it out eventually

indigo peak
#

I want to try figuring it out too

#

Since I need to use it

#

If you don’t figure it out by the time I get home, I’ll be happy to help by running some tests

tepid olive
#

i wanna make a kwgt compat layer for iOS in SwiftUI nfr

#

man

indigo peak
#

Are you sure you’re using the right hook?

tepid olive
#

i think?

indigo peak
#

try layoutSubviews

#

If you haven’t already

tepid olive
#

did krit quit

indigo peak
#

Possibly

tepid olive
#

she made lockdown

#

safe mode uhh

#

@indigo peak w

#

this is what i did

#

¯_(ツ)_/¯

#

gonna try didMoveToWindow()

#

works fine with that too wholesome

#

time to add views

indigo peak
#

Hm

#

Pogger

#

I knew layoutSubviews would work

#

I’ve never gotten anything else to work besides layoutSubviews

#

Maybe viewDidLoad

slender glade
tepid olive
#

i have to hook the vc oh no

slender glade
#

Can't wait till I get the MacBook back

#

And start making tweaks in swift

tepid olive
#

this is useful asf

slender glade
#

why'd you use CI for this

#

Why not compile it yourself

tepid olive
tepid olive
slender glade
#

Oh tf

tepid olive
#

can't figure out how to get the view from viewDidLoad

surreal mountain
#

man

tepid olive
#

only 200mb

#

mf is in like 2 servers

indigo peak
#

@tepid olive if later you get this working, could you send me some source code for some hooks

tepid olive
#

i know how to add view

indigo peak
#

I would like some examples PES_Blush

tepid olive
#

my view isn't showing but i know how

indigo peak
#

Interesting

#

Is it bc of the order you’re calling orig?

twilit jungle
indigo peak
#

I don’t wanna copy

#

I want to see how it you know

#

Actually works

twilit jungle
#

wtf tweak developer not copying code, mods please take away dev role

grim sparrow
#

owo

tepid olive
#

target.view.addSubview(UIView())

indigo peak
grim sparrow
#

target is self

indigo peak
#

So self is ViewHook

#

Hm

tepid olive
#

target is the class

#

self/orig is the hook

grim sparrow
#

and by self I mean the live instance of the thing you're hooking

indigo peak
#
class IconHook : ClassHook<GameIcon> {
    func setWins(_ num: Int) {
        NSLog("PENIS \(self.name)");
        orig.setWins(100);
    }
}
#

So what is IconHook and what is GameIcon

#

Is it self and target?

#

Respectively

tepid olive
#

yes

indigo peak
#

That would’ve been helpful to know before

tepid olive
#

the docs are hard to understand

grim sparrow
#

PENIS

indigo peak
#

So if I was calling a method from a class I would use target._id

tepid olive
indigo peak
grim sparrow
#

I do NSLog(@"[ProductName] content")

indigo peak
#

Too professional for me

#

Whenever I NSLog it feels weird not putting PENIS right after

#

I feel like I need the PENIS

#

NSLog(@“%@“, var); feels wrong

slender glade
#

you need context here

twilit jungle
indigo peak
#

Wait

#

No

#

Don’t

tepid olive
twilit jungle
indigo peak
tepid olive
#

yes sir i assure you the print('TESTING COCK COCK CUM') is essential to this code's functions

tepid olive
#

yea

#

my pc bootloops if i remove it

#

so we will be keeping it in, issue closed. wontfix.

#

so true bestie

indigo peak
#

fr

#

WEED, PENIS, CUM

#

BALLS

slender glade
indigo peak
slender glade
#

@indigo peak how's your swift going

indigo peak
#

Currently dead

slender glade
#

whyyyyy

indigo peak
#

I have some stuff to try when I get home

slender glade
#

o

indigo peak
#

But I’m out rn, so i can’t compile woeis

slender glade
#

tro

hardy glen
#

wyd in swift

indigo peak
#

Converting gameseagull to swift

#

Bc Orion was released yesterday

#

I wanted to try it out

hardy glen
#

yea i just converted a tweak to orion too

#

i am actually working on a secret project fr

slender glade
#

#objectiveCForDeprecation

indigo peak
#

[redacted]

indigo peak
slender glade
#

on god

hardy glen
#

it will come useful to you fiore troll

indigo peak
#

Oh?

hardy glen
#

its not a tweak though

indigo peak
#

I can think of like 29 things that I do that it could be

slender glade
#

If you’re ever gonna do normal iOS development for like a company

#

Swift is required

#

like 100%

hardy glen
#

objc is not “out of buisness” AT all lmao

#

not going to be for the forseeable future

slender glade
#

didn't say it was

#

Just saying that

#

Swift is most preferable

indigo peak
#

@slender glade I like swift bc there’s more code to copy from stack over flow

slender glade
#

LOL

#

true

#

If I don't find anything on stack overflow

#

I just search on gist or normal gh

#

87% of the time I find whatever I'm looking for

hardy glen
#

idk what “normal ios dev for a company” would mean. but more than likely you are going to know objc even with swift. its not 100% swift

#

i wish it was like that cuz i am not a fan of objc but its not

grim sparrow
#

imo if you know swift you can pickup objc fairly quickly

indigo peak
#

Is it reversible?

#

If I know objc can I learn swift easily

grim sparrow
#

Kinda

#

probably

#

idk

#

I can only speak for Swift -> ObjC

indigo peak
#

Woe

#

Soon I can speak of objc -> swift

#

Amy have you used Orion yet?

tepid olive
#

she has

indigo peak
#

cool

tepid olive
indigo peak
#

Really?

#

Well i haven’t actually tried learning swift

#

I just blindly jumped into it

#

What’s the worst that can happen

slender glade
indigo peak
grim sparrow
#

damn

#

I first used it nearly one year ago today

misty cradle
#

orion

#

cant believe other tweaks took its name

#

made up such a good name for it

indigo peak
#

I had no idea

misty cradle
#

just to have it stolen by a tweak.

indigo peak
#

I apologize

slender glade
tepid olive
#

@indigo peak got SwiftUI label to show on LS 🎉

#

it shows for half a second though troll

indigo peak
tepid olive
#

i was like "wtf this isn't working, but what is flickering" and turns out it's the label just disappearing

indigo peak
tepid olive
#

with Orion, the 3d touch tweak

#

@indigo peak less fucking goooooo i got it working

vivid dew
#

stfu

tepid olive
#

ok

tepid olive
#

@indigo peak

#

not centered though woeis

indigo peak
hardy glen
#

rewriting orion with orion

slender glade
#

to make it centered

tepid olive
#

it's literal swiftui

#

u can do anything

slender glade
#

💪

#

ig u can try the multilineText alignment to make it centered

tepid olive
lethal ice
#

piss cock

indigo peak
#

gm scoob

#

how are you

#

will you write tweaks in swift?

tepid olive
indigo peak
#

I use cock cum and penis too much

lethal ice
#

why not weed

lethal ice
indigo peak
#

false

indigo peak
tepid olive
lethal ice
#

nah weed all the time

#

why do you think i named SEX weed.dylib

#

the sheer amount of weed consumed to create that tweak

indigo peak
tepid olive
lethal ice
#

The Saadat Secret™️

indigo peak
#

The day I consume weed for the first time is the day my tweaks become good

#

scoob taught me this

lethal ice
#

im not telling a 15 year old to do drugs

indigo peak
#

I’m 16

#

I will be old enough soon

#

I think weed is legal in my state

#

But like medicinal

#

But then again

#

It’s really easy to get a hold of

#

Bc like the kids in my school are like actual drug dealers

twilit jungle
indigo peak
#

Dgh0st probably does crack daily

lethal ice
#

yea easier to get than beer fr

indigo peak
#

I tried a margarita the other day and it was horible

#

At least I think it was a margarita

lethal ice
#

tequila

#

fuck that

indigo peak
#

Champagne smells like fancy beer

lethal ice
#

in margarita its okay but i hate tequila

#

wtf

twilit jungle
indigo peak
#

I’ve never actually drank alcohol alcohol, like an entire thing, I just beg my parents to let me try some

#

Beer meh, champagne smells to fancy for me, wine gross, margarita bad

restive ether
#

not me drinking since 10 this morning

lethal ice
#

drinking is fun until its too much and then u want to die

indigo peak
indigo peak
#

Cum is fun until it’s too much and then you want to die

lethal ice
#

not weed trol

twilit jungle
lethal ice
indigo peak
#

So scoob

#

How much weed for you to make tweaks in swift

lethal ice
#

never

tepid olive
#

a

misty cradle
pearl sail
#

I love tequilla

lethal ice
#

i plead the fif

twilit jungle
#

What