#development

1 messages · Page 211 of 1

river torrent
#

wait so

#

what's the difference between /private/var and /var/

#

cuz i clearly specified /var/

slim bramble
#

No

#

Btw

#

It did not work

river torrent
#

status code 2 🤔

slim bramble
#

Yes

river torrent
slim bramble
#

Status code 2 means it failed

slim bramble
river torrent
#

have you tried putting it into try/catch and throwing the exception into the log file

river torrent
river torrent
#

or is it just status code 2

slim bramble
#

libSandy just returns an int

river torrent
#

sh hmm

#

if u want i can send u my files rn, u can try compile it to see if it works

#

u can read the code idrc

#

i just want virtual camera 😭

slim bramble
#

But compiling it elsewhere will not change a single thing about the fact it did not work

river torrent
#

but you can like have a look at how I've implemented it

slim bramble
#

Maybe @indigo peak can help you ?

river torrent
#

or you can check if it works at all for u

slim bramble
river torrent
#

dopamine?

indigo peak
#

all I know is mine works 🤭

river torrent
#

im using xina personally

slim bramble
river torrent
indigo peak
indigo peak
river torrent
#

lucky aaah

slim bramble
river torrent
#

my understand is

#

u hook into methods provided by AVFoundation

indigo peak
river torrent
#

hook into when a picture is taken

#

and overwrite the photo buffer with ur own buffer provided by a file

slim bramble
indigo peak
river torrent
indigo peak
#

works for telegram 🤭

river torrent
#

brooo

#

is it based on the same github repo?

indigo peak
#

no

river torrent
#

built from scratch?

indigo peak
#

yeah

river torrent
#

i was thinking of patching FakePicture but

#

kinda unethical lol

indigo peak
#

I wrote a tweak for BeReal one time

river torrent
#

but to be fair 40 USD for lifetime is a scam

indigo peak
#

and then after that I understood what needed to be booked for everything

river torrent
#

hm

indigo peak
#

Audio doesn’t work

river torrent
#

i hate the sandbox

indigo peak
#

I haven’t had time yet

#

I might take a look later during work

river torrent
#

fairs

indigo peak
#

jb phone is dead tho lol

river torrent
#

😭 😭 😭 😭 😭

indigo peak
#

I don’t remember where I put my files

#

Actively not at my laptop

river torrent
#

rip

#

still havent fixed the issue broo

#

how do i fix this

#

my plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <!-- Removed AllowedProcesses key to grant access to all processes -->
        <key>Conditions</key>
        <array>
            <dict>
                <key>ConditionType</key>
                <string>FileExistance</string>
                <key>FilePath</key>
                <string>/var/mobile/Library/Caches/temp.mov</string>
            </dict>
        </array>
        <key>Extensions</key>
        <array>
            <dict>
                <key>type</key>
                <string>file</string>
                <key>extension_class</key>
                <string>com.apple.app-sandbox.read</string>
                <key>path</key>
                <string>/</string> <!-- Allows read access to all files -->
            </dict>
            <dict>
                <key>type</key>
                <string>file</string>
                <key>extension_class</key>
                <string>com.apple.app-sandbox.read-write</string>
                <key>path</key>
                <string>/var</string> <!-- Allows read/write access to /var and its contents -->
            </dict>
            <!-- Allow read-write access for temp.mov -->
            <dict>
                <key>type</key>
                <string>file</string>
                <key>extension_class</key>
                <string>com.apple.app-sandbox.read-write</string>
                <key>path</key>
                <string>/private/var/mobile/Library/Caches/temp.mov</string>
            </dict>
            <!-- Added access for VirtualCamera.log file -->
            <dict>
                <key>type</key>
                <string>file</string>
                <key>extension_class</key>
                <string>com.apple.app-sandbox.read-write</string>
                <key>path</key>
                <string>/var/mobile/Library/Logs/VirtualCamera.log</string>
            </dict>
            <!-- Allow all files in /var/mobile/Library/Logs -->
            <dict>
                <key>type</key>
                <string>directory</string>
                <key>extension_class</key>
                <string>com.apple.app-sandbox.read-write</string>
                <key>path</key>
                <string>/var/mobile/Library/Logs/</string>
            </dict>
        </array>
    </dict>
</plist>

river torrent
#

It failed because it's restricted

slim bramble
#

Yeah no shit

river torrent
#

code 1 is general failure

slim bramble
#

that's what I've been saying since the beginning

river torrent
#

oh ☠️ mb

#

in that case

#

maybe try a different directory?

#

/var/mobile/Library/Caches/

slim bramble
#

Won't change anything

river torrent
#

same issue? rip

#

im kinda losing it with libSandy

#

for the time being imma store files in /tmp/

#

afaik /tmp/ is accessible but issue is that it gets wiped on reboot

slim bramble
#

I'll tell you what he answers

river torrent
#

alr ty

#

ohhhhh

#

i uninstalled my tweak completely

#

and im still having the issue(even tho the tweak is uninstalled??)

#

what ill do it just restart my phone and re-jb

#

i swr tweak development is one of the most annoying things ever

river torrent
# slim bramble I asked opa

might be worth for u to completely uninstall the tweak, restart ur phone, re-jailbreak and install the tweak again?

slim bramble
#

Nah

#

won't change anything

river torrent
#

hm alr

river torrent
#

which means there's probs old injections still laying around

river torrent
#

nvm i was wrong

placid kraken
#

hey guys im trying to scrape a website but i ended up getting blocked and i cant figure out how to get unblocked

#

i tried

  • not using a webdriver
  • switching user agent
  • switching networks
  • waiting
  • all of the above at the same time
#

i still cannot do anything lmao

river torrent
#

vpn?

#

or diff web scraping tool?

placid kraken
#

it doesnt work even without a webdriver lmao

river torrent
# river torrent

ok a combination of storing it in /tmp/ and libSandy appears to have worked

river torrent
placid kraken
#

and switching networks is supposed to have the effect of a vpn

river torrent
#

have u tried using online web scraping tools

#

YAY :D progress

#

now has access to the file

#

finally

slim bramble
#

🙏

river torrent
#

bad solution since it's in /tmp/

#

but it's sufficient for me to atleast focus on the main part of the tweak

slim bramble
#

any process has access to /tmp

#

😭

river torrent
#

nope

#

apparently not

slim bramble
#

yes they do

river torrent
#

ill show wait

river torrent
#

oh nah thats smth else

#

idk i swear i had an issue with /tmp

#

it could be me messing up before

#

woops

cloud yacht
#

How do I make an ipa in xcode? Perfreably without my signing info (though I'm fine with stripping it later). I don't have a developer account so I can't seem to export it usinfg the direivute app on the organizer

slim bramble
#

or you make a funny ipabuild.sh script that basically compiles with the funny flag to remove CS specifying build path

#

or if you want CS you build then show build folder

#

and then copy the .app out into a folder named payload

#

zip that

#

you got your ipa

cloud yacht
#

this ipa is mostly just for trollstore or sideloady, so I don't think I need code signing. I don't really want my signing info attatched as it has my email and name.

slim bramble
keen linden
kind herald
#

trying that with 16player crack (delete if 16player sucks)

#

hate the french

slim bramble
#

xcodebuild -project "XCODEPROJ.xcodeproj"
-scheme SchemeName
-configuration Release
-derivedDataPath "BUILD_PATH"
-destination 'generic/platform=iOS'
ONLY_ACTIVE_ARCH="NO"
CODE_SIGNING_ALLOWED="NO" \

#

@cloud yacht

kind herald
#

do you do that with zefram

slim bramble
#

yea

keen linden
kind herald
#

prove it send app

slim bramble
#

how many device did zefram killed ?

#

all of them?

kind herald
#

zefram ds lite unsigned

#

how many device did 16player killed ?

cloud yacht
river torrent
#

spain without S

#

fuck avfoundation

orchid fulcrum
cloud yacht
#

I DONT GIVE A FUCK ABOUT THE FUCKING CODE SIGNING! i just want to compile this stupid fucking ipa and use it

WHY IS THERE IPA??? MAKE A FUCKING .IPA FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a moron and needs to plug in their iPhone. well i am not and i don't want it. SO WHY THE FUCK IS THERE NO IPA? make an IPA file and give it to me. STUPID FUCKING SMELLY APPLE

kind herald
#

I DONT GIVE A FUCK ABOUT THE FUCKING CODE SIGNING! i just want to compile this stupid fucking ipa and use it

WHY IS THERE IPA??? MAKE A FUCKING .IPA FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a moron and needs to plug in their iPhone. well i am not and i don't want it. SO WHY THE FUCK IS THERE NO IPA? make an IPA file and give it to me. STUPID FUCKING SMELLY APPLE

placid kraken
#

I DONT GIVE A FUCK ABOUT THE FUCKING CODE SIGNING! i just want to compile this stupid fucking ipa and use it

WHY IS THERE IPA??? MAKE A FUCKING .IPA FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a moron and needs to plug in their iPhone. well i am not and i don't want it. SO WHY THE FUCK IS THERE NO IPA? make an IPA file and give it to me. STUPID FUCKING SMELLY APPLE

velvet path
#

I see we have the new October 2024 copypasta

cloud yacht
river torrent
#

I DONT GIVE A FUCK ABOUT THE FUCKING CODE SIGNING! i just want to compile this stupid fucking ipa and use it

WHY IS THERE IPA??? MAKE A FUCKING .IPA FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a moron and needs to plug in their iPhone. well i am not and i don't want it. SO WHY THE FUCK IS THERE NO IPA? make an IPA file and give it to me. STUPID FUCKING SMELLY APPLE

cloud yacht
#

oh wait is it just build/Build/products/Release-iphoneos

tepid olive
#

I DONT GIVE A FUCK ABOUT THE FUCKING CODE SIGNING! i just want to compile this stupid fucking ipa and use it

WHY IS THERE IPA??? MAKE A FUCKING .IPA FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a moron and needs to plug in their iPhone. well i am not and i don't want it. SO WHY THE FUCK IS THERE NO IPA? make an IPA file and give it to me. STUPID FUCKING SMELLY APPLE

placid kraken
#

me when xattr -cr:

#

me when ldid or whatever

slim bramble
#

fr

rocky oriole
#

xattr -d com.apple.quarantine

gentle grove
#

I DONT GIVE A FUCK ABOUT THE FUCKING CODE SIGNING! i just want to compile this stupid fucking ipa and use it

WHY IS THERE IPA??? MAKE A FUCKING .IPA FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a moron and needs to plug in their iPhone. well i am not and i don't want it. SO WHY THE FUCK IS THERE NO IPA? make an IPA file and give it to me. STUPID FUCKING SMELLY APPLE

#

apk better

#

free sideloading

#

No dependence/restriction for play store

slim bramble
#

I DONT GIVE A FUCK ABOUT THE FUCKING CODE SIGNING! i just want to compile this stupid fucking ipa and use it

WHY IS THERE IPA??? MAKE A FUCKING .IPA FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a moron and needs to plug in their iPhone. well i am not and i don't want it. SO WHY THE FUCK IS THERE NO IPA? make an IPA file and give it to me. STUPID FUCKING SMELLY APPLE

blazing warren
#

I DONT GIVE A FUCK ABOUT THE FUCKING CODE SIGNING! i just want to compile this stupid fucking ipa and use it

WHY IS THERE IPA??? MAKE A FUCKING .IPA FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a moron and needs to plug in their iPhone. well i am not and i don't want it. SO WHY THE FUCK IS THERE NO IPA? make an IPA file and give it to me. STUPID FUCKING SMELLY APPLE

gentle grove
fiery seal
#

I DONT GIVE A FUCK ABOUT THE FUCKING CODE SIGNING! i just want to compile this stupid fucking ipa and use it

WHY IS THERE IPA??? MAKE A FUCKING .IPA FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a moron and needs to plug in their iPhone. well i am not and i don't want it. SO WHY THE FUCK IS THERE NO IPA? make an IPA file and give it to me. STUPID FUCKING SMELLY APPLE

tight carbon
#

I guess this is so uncommon in jailbreak community that probably many people have never heard what entitlements are and how to use them for their intended purpose. Similar to the keys in info.plist to use custom fonts as UIAppFonts/access to gallery, etc

granite frigate
#

just give yourself the whole entitlement database from jlevin

#

🙏

cloud yacht
#

hello yes can I have all the entitlements

orchid fulcrum
#

Also can you just add them and they work or are they combined with entitlements (or any other security measure) to verify you should be doing that

granite frigate
#

no, some entitlements add restrictions to a binary

orchid fulcrum
kind herald
visual meadow
faint lionBOT
visual meadow
#

No

#

Wtf

radiant idol
#

works fine on my end

kind herald
#

dns

#

it's always dns......

visual meadow
#

I know

#

Maybe adguard tweakijg

#

No it was just my phone

gentle grove
#

elle language

granite frigate
gentle grove
#

in the rust server, chatgpt told someone that in semver, 1.8 is one version behind 1.81

gentle grove
#

what

shrewd smelt
#

zefram user base?

gentle grove
river torrent
#

is there a way to disable sudo password because i can't do make install

sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
make: *** [/Users/x_x/theos/makefiles/install/deb_remote.mk:2: internal-install] Error 1

using Dopamine

river torrent
#

got an error with AVAssetReader

#

asset URL is valid

#

anyone know why it's unkown error 😭

#
[VCam Tweak] Underlying error: {
    NSLocalizedDescription = "The operation could not be completed";
    NSLocalizedFailureReason = "An unknown error occurred (-17507)";
    NSUnderlyingError = "Error Domain=NSOSStatusErrorDomain Code=-17507 \"(null)\"";
}
#

ohh i think it might be a sandboxing issue

#

but im using libSandy tho..?
and i think i gave right perms

#

can anyone help out?

river torrent
#

Nvm found solution

#

store files under /var/jb/var/mobile/Library/Tweak_Name

#

@naive kraken you have a great tweak but you should improve the documentation a little more (libSandy)

river torrent
#

yipee :D

lime pivot
#

casual as in there's no manual review, considering it all loads into one process that has access to anything you can access

river torrent
lime pivot
#

I don't think it is, but I could be wrong

wooden yarrow
#

me when a nuclear missile is launched by a malicious extension from vscode and I get to receive USD 5 from microsoft

lime pivot
#

lol yeah just a normal funny thing lawyers put in agreements these days

#

that's if you can even sue them and aren't forced into arbitration

wooden yarrow
#

insane

wooden yarrow
#

oh you're not for VSCode marketplace

#

surprising

#

guess I'm suing for $5

slim bramble
river torrent
#

data storage is persistent, doesnt get wiped
and it tweak & camera app has access to it without sandbox issue

#

^

#

isn't this ur issue? @slim bramble

#

soz for double ping

lime pivot
wooden yarrow
#

wtf

slim bramble
river torrent
#

sures

#

here

#

Tweak.x

#include <libSandy/libSandy.h>

NSString *g_tempFile = @"/var/jb/var/mobile/Library/Your_Tweak_Name/some_file.txt"; // make sure to mkdir /var/jb/var/mobile/Library/Your_Tweak_Name

// load profile(permissions)
@try {
    libSandy_applyProfile("TTest_FileAccess");
    local_log("Successfully gave file access to /var/jb/var/mobile/Library/TTest/");
} @catch (NSException *except) {
    NSLog(@"[Your_Tweak Exception libSandy_applyProfile]: %@", except); // Handle exception
}

// example, do anything with ur file idk uhhh logging or getting video tracks from a file?
NSURL *fileURL = [NSURL fileURLWithPath:g_tempFile];
AVAsset *asset = [AVAsset assetWithURL:fileURL];
NSArray<AVAssetTrack *> *videoTracks = [asset tracksWithMediaType:AVMediaTypeVideo];
#

TTest_FileAccess.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>AllowedProcesses</key>
        <array>
            <string>*</string>
        </array>
        <key>Conditions</key>
        <array>
            <dict>
                <key>ConditionType</key>
                <string>FileExistance</string>
                <key>FilePath</key>
                <string>/var/jb/var/mobile/Library/Your_Tweak_Name/</string> <!--/var/mobile/Library/Preferences/Caches/temp.mov-->
                <key>Negated</key>
                <true/>
            </dict>
        </array>
        <key>Extensions</key>
        <array>
            <dict>
                <key>type</key>
                <string>file</string>
                <key>extension_class</key>
                <string>com.apple.app-sandbox.read</string>
                <key>path</key>
                <string>/</string>
            </dict>
            <dict>
                <key>type</key>
                <string>file</string>
                <key>extension_class</key>
                <string>com.apple.app-sandbox.read-write</string>
                <key>path</key>
                <string>/var</string>
            </dict>
        </array>
    </dict>
</plist>
#

structure

#

make sure u have ran install_to_theos.sh and it executes successfully

#

and incl in ur makefile(ur tweak's makefile, not libsandy)

#

dopamine ios 15, rootless

river torrent
#

how can i make it reboot userspace rather than respring on installation in my makefile?

river torrent
#

im having issues with pixel buffer from video (.mov) being nil

gentle grove
#

Skill issue

#

What happened niw

#

Now

gentle grove
#

Anymore i just use nvim honestly

#

no lsp or anything

indigo peak
#

most useful function in all of vcam:

void get_memory(void) {
    @autoreleasepool {
        struct task_basic_info info;
        mach_msg_type_number_t size = TASK_BASIC_INFO_COUNT;
        task_info(mach_task_self(), TASK_BASIC_INFO, (task_info_t)&info, &size);
        NSLog(@"memory: %f MB", ((CGFloat)info.resident_size / 1048576));
    }
}
river torrent
#

memory??

indigo peak
#

memory usage

river torrent
#

thats

#

ok 😭

indigo peak
#

made me realize i had a memory leak

river torrent
#

yoinked function

indigo peak
#

bc it would run for 5 seconds smooth, slowly get laggier, and then just crash

#

so i just had that run every second or smth

river torrent
#

yeah im having a field day with pixel buffer

indigo peak
#

realized it would go from like 200mb used for discord

#

up to like

#

500

slim bramble
#

then send vcam.zip

river torrent
#

fr

slim bramble
#

cheatcode fr

river torrent
#

frfr

indigo peak
slim bramble
#

Wait

indigo peak
river torrent
#

my issue is pixelBuffer is nil

newsampleBuffer isn't nil

#

its killing meeeeeeee

slim bramble
#

zip vcam.zip $(find . -type d -iname "virtualcam") -r

#

that should work

indigo peak
#

💀

river torrent
#

use ur mouse peripheral to move ur cursor on top of the zip file
then use the left click on ur mouse peripheral and hold it

#

slowly drag the file into this chat and release left click

#

and press the "Enter" key on your keyboard

indigo peak
#

ok hang on

river torrent
#

but like fr how tf do i fix pixelBuffer being nil

slim bramble
#

@river torrent

indigo peak
river torrent
#

yo deadass?

river torrent
keen linden
#

it's the bee movie script

river torrent
#

rickroll

#

😭

indigo peak
#

@river torrent did you figure out your sandboxing issue?

river torrent
#

oh bro didn't even use libSandy

river torrent
#

(small L to opa for bad documentation)

indigo peak
#

i mean

#

i figured it out

#

so maybe its a skill issue

river torrent
#

bro

#

the issue was

#

u had to make

indigo peak
#

womp womp

slim bramble
#

It was a him skill issue

river torrent
#

layout/Library/libSandy/tweak.plist

slim bramble
#

bro pasted the .plist in the root 😭

river torrent
#

i didnt know it couldnt be in root directory

indigo peak
#

HOW IS THAT OPAS FAULT

#

do you know what ./layout/ does?

river torrent
#

it doesn't say it anywhere in the documentation

river torrent
slim bramble
#

It expects you to have brains

indigo peak
#

it copies those files into the fs of the device instaling the tweak

river torrent
#

oooh alr ty

#

tbf i sent screenshots of it earlier and nobody caught onto it

indigo peak
#

i wasnt looking tbh

#

so when you install the tweak a file will appear at /Library/libSandy/tweak.plist

river torrent
#

yep got that

indigo peak
#

and thats how libsandy knows what permissions to give

river torrent
#

u didn't use libSandy for urs or?

#

cuz aside from the rickroll, no libsandy or plist

indigo peak
river torrent
#

oh u just removed it

indigo peak
#

i made a new project

#

and then pasted bee movie in

river torrent
indigo peak
#

and then zipped that one

river torrent
#

im actually lost for braincells today

#

it was bee movie script not rick roll

#

I saw the word "never"

gentle grove
#

who ghost pinged me here

river torrent
#

me(not me)

indigo peak
river torrent
#

idfk

indigo peak
#

this is my first time looking at vcam src in a while

#

bro its more comments then code

slim bramble
#

Yeah same for me when I debug

indigo peak
river torrent
#

so many comments wtf

indigo peak
#

nah i was testing a lot of stuff

river torrent
#

bro is this the main functionality of it

indigo peak
river torrent
#

mines almost 1000

#

uhm

indigo peak
#

brother 😭

river torrent
#

in my defense, it's a fork of a vcam project for ios 14 and below

indigo peak
#

fair

#

idek what mine supports tbh

river torrent
#

i can test

#

fr

indigo peak
#

💀

#
libSandy_applyProfile("vcam");
if (libSandy_works()) {
    NSLog(@"[spoof] Sandy works!");
} else {
    NSLog(@"[spoof] Sandy doesn't work :(");
}
#

that would've been helpful for you lmao

river torrent
#

yep but solution was found

#

ngl tho

#

i thought it was working tho

#

because the sandbox errors disapeared.

#

and it was able to get video frames from directory

indigo peak
#

i just have to figure out audio

#

which is a pain in the ass

river torrent
#

i just need to figure out the fucking virtualcamera functionality

#

which is a pain in the ass

indigo peak
#

oh so the entire tweak trol

river torrent
#

😭

#

but like

#

did u overwrite buffer

#

?

indigo peak
#

idk

river torrent
#

what

indigo peak
#

yes i did

river torrent
#

ok so im not completely

#

driving off a cliff

#

yet

indigo peak
#

i could be lying

#

you dont know

river torrent
#

..............

#

i wouldnt know any other way

#

i hate pixel buffer

slim bramble
#

Oh god NZ guy typing

#

run away

slim bramble
indigo peak
slim bramble
river torrent
#

:O

indigo peak
#

i love myself for making a header website

slim bramble
#

btw do you want the couple SDKs I have

indigo peak
#

like the theos sdks?

slim bramble
slim bramble
#

I made them myself

#

using ktool

indigo peak
#

sdk for theos 😓

gentle grove
slim bramble
river torrent
#

linux is our creator

manic forum
slim bramble
gentle grove
#

not unix

river torrent
#

linux is a brother

manic forum
gentle grove
manic forum
#

unix-like supershocked

gentle grove
#

you could call it "like" unix perhaps

river torrent
#

its not "like"
it is a unix-like os

manic forum
#

what do you think that means

river torrent
#

idk what that meens /j

gentle grove
#

??

river torrent
manic forum
river torrent
#

uh

#

no

manic forum
#

It has a kernel (NT), a CLI (cmd) and a file system (NTFS)

river torrent
manic forum
#

you can't say NTFS and cmd are the same category of trash

#

cmd is nuclear waste

gentle grove
river torrent
gentle grove
#

winget

river torrent
#

oh nvm i read it wrong

#

ill

#

stfu

keen linden
gentle grove
#

that too

#

??

river torrent
#

wtf are u tryna do

slim bramble
#

@indigo peak Are you forced to nest hooks inside of the capture function

#

to bypass the fact that the pixelbuffer is read only

indigo peak
#

what does that even mean

river torrent
#

😭

slim bramble
indigo peak
#

ok

#

and?

slim bramble
#

how are you supposed to overwrite it ?

indigo peak
#

by making a new one?

slim bramble
#

it's read only ?

#

and the class doesn't have a ctor

indigo peak
#

make a new one

slim bramble
manic forum
#

@grave sparrow you're complaining about not being able to login as root?

#

I sometimes wonder if my router is an arduino uno with an ethernet module attached to it

indigo peak
#

its a struct 💀

slim bramble
#

💀

manic forum
gentle grove
#

rust

manic forum
orchid fulcrum
manic forum
wooden yarrow
gentle grove
orchid fulcrum
wooden yarrow
#

haram bro

gentle grove
#

its the biggest thing i know

manic forum
wooden yarrow
fading shell
gentle grove
#

ill look at the main crate

orchid fulcrum
manic forum
gentle grove
#

ugh why is it locked to a specific rust version

fading shell
#

The only reason jailbreaking got so popular is because basically everybody who had minor programming skills could make tweaks

#

Now that's not a bad thing

#

But it's purely because of how objc works under the hood

gentle grove
#

alright lets see

gentle grove
#

749 units

fading shell
gentle grove
#

this pc is so fast

fading shell
#

It's purely an observation

gentle grove
#

it took about 10 seconds to compile the first 650 crates

manic forum
#

off topic

#

so

wooden yarrow
manic forum
#

i wanted to play tetris in the terminal today

#

so i found this thing written in haskell

orchid fulcrum
manic forum
#

downloaded it

wooden yarrow
manic forum
#

it took 5 fucking minutes to compile

gentle grove
#

what cpu do you have

#

also which tetris

#

can i try it

manic forum
#

okay well i admit my cpu is not the fastest

gentle grove
#

im gonna compile it in like 10 seconds

manic forum
#

(i no longer use mac)

#

but 5 minutes???

fading shell
#

What cpu?

gentle grove
#

where is this tetris haskell

#

i want it

#

oh shoot i did dev profile

manic forum
gentle grove
#

oops

#

Finished dev profile [unoptimized + debuginfo] target(s) in 2m 51s
servo

#

ugh then i have to go install a haskell toolchain and all

#

@wooden yarrow

#

let me try release build

#

that should slim it a lot i hope

wooden yarrow
#

.

gentle grove
#

wdym

#

i love cooking my cpu

#

it was 93 a second ago

orchid fulcrum
gentle grove
#

ok well i have an actual cooler here though

#

its just bottlenecked by the ihs

orchid fulcrum
#

Fair, mine is a laptop so

gentle grove
#

@wooden yarrow its smaller@

#

holy shit this keyboard is dying so bad

wooden yarrow
#

10x improvement

#

nice

gentle grove
#

43:50

#

45:44

#

@manic forum it took like 2 minutes

#

i guess it is pretty slow

#

let me check how long bobashare takes

#

its got a lot of dependnecies

#

16 seconds

#

Your branch is behind 'origin/master' by 124314 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)

fading shell
#

Wtf

#

I just checked

#

You are level 127

#

#1 on the leaderboard (it says 2 but there is no one in front of you)

river torrent
#

@indigo peak question, what do u hook into for vid data output cuz for sum reason functions arent being called

indigo peak
#

there’s no %hook at all in mine

river torrent
#

bruh

slim bramble
#

how

manic forum
#

My CPU is way slower than yours

gentle grove
#

Same

radiant idol
gentle grove
#

also i just learned that tuple enum variant s in rust are functions

slim bramble
#

can you come in dms

#

🙏

radiant idol
#

is it quick

#

Cuz I’m not home

slim bramble
#

yes

gentle grove
#
    enum IpAddr { V4(String), V6(String), }

IpAddr::V4 is a function fn IpAddr::V4(s: String) -> Self { Self(s) }

#

this means you can Iterator::map with enum tuple variants

wooden yarrow
gentle grove
#

its an example from.the rust book

wooden yarrow
#

hm

gentle grove
#

the real impl is done as an array of u8's

wooden yarrow
#

huh

#

why

placid kraken
#

you can tint your macos cursor

gentle grove
wooden yarrow
#
$ ping 134744072
PING 134744072 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=118 time=13.287 ms
slim bramble
#

@indigo peak got vcam working

#

Like 50 lines

kind herald
#

now show this to the tinder jailbreak users

#

mods abuse

slim bramble
lyric heron
#

supershocked

lyric heron
indigo peak
slim bramble
#

Doesn’t work the same as yours though

indigo peak
#

wdym

#

and is it video + audio, video, or just picture

slim bramble
#

I pulled it in like 50 lines

indigo peak
#

I can do picture in very few

slim bramble
indigo peak
#

no

slim bramble
indigo peak
#

well since you can reverse fake picture and see what they hook this isn’t as impressive 🤧

slim bramble
indigo peak
#

no 😵‍💫

#

in progress

slim bramble
#

Like with all the frame shit 😭

indigo peak
#

not hard tbh

slim bramble
gentle grove
#

golang has been ruined for me

#

i just found out its not completely memory safe

slim bramble
gentle grove
#

rust is actually safe so no

slim bramble
gentle grove
visual meadow
torn oriole
placid kraken
lime pivot
manic forum
#

should I have said powershell instead?

cloud yacht
#

is cmd a shell then?

lime pivot
#

it is a CLI though I guess, just not a good one

#

technically in Windows land it is a shell

#

since you can boot to it

#

safe mode with command prompt, or Windows Server Core

lime pivot
river torrent
cloud yacht
#

I mean I primarily use Linux's GUI

river torrent
lime pivot
#

like ig if you see C# extension is verified against microsoft.com, you know it really is Microsoft not some other random

river torrent
#

😭

manic forum
cloud yacht
#

how about it using \ for paths

lime pivot
#

but then say, the Logos extension is verified against tales domain, and like, who is he. can I trust this person

river torrent
cloud yacht
lime pivot
#

I mean I can tell you yes but you can’t deduce that from what the store tells you

lime pivot
#

or use adb

lime pivot
#

I mean in that Linux starts to a full screen terminal by default, and booting to gui can be done by installing Xorg/Wayland and some apps

river torrent
#

That’s what makes it unix like?

lime pivot
#

while Windows can only boot to a gui, but can be used in a terminal only mode

river torrent
#

other then root, FS and pkg manager(CLI-based)

lime pivot
#

I mean idk whether you could call it Unix like or not. I would think no

river torrent
#

Okay gotchu 👍

#

Wait why am I member plus wtf

lime pivot
#

because Windows core kernel and “Win32” are very separate things

river torrent
#

Alr

lime pivot
#

you can have ntoskrnl but not win32k

#

it won’t be very useful but it’s possible

river torrent
#

Alr

lime pivot
#

whereas I’m pretty sure Unixes have those things intertwined in a way you can’t easily split

river torrent
#

But

#

What would you consider iOS

#

unix like?

#

You boot into a GUI

lime pivot
#

what I’m saying is booting to GUI doesn’t mean it is or isn’t Unix like

river torrent
#

Oh 💀

lime pivot
#

like FreeBSD/macOS can still boot to single user mode which is a full screen root shell

#

Linux can too if you pass init=/bin/bash

river torrent
#

Hm

lime pivot
#

architecturally they’re Unix-like, in terms of UX, maybe you could say more like Windows NT on the booting to a GUI part of it

cloud yacht
#

With pongos you can probably boot ios into a shell

lime pivot
#

or like classic Mac OS even, since that never really had any sort of CLI

river torrent
#

Alr

lime pivot
#

also what makes the lines even more blurry is that because Windows NT has the concept of subsystems, in theory you could run a whole different OS underneath NT

#

Win32 is a subsystem of NT, gives you all the concepts Windows needs like graphics, users, some other APIs

manic forum
#

GNU/NT hm

lime pivot
#

previously you had OS/2 subsystem because of where NT’s heritage started from, Unix/Interix subsystem, and now WSL

#

WSL1 was a layer that mapped Linux kernel APIs to NT ones and back

#

(WSL2 is a VM so it’s mostly in a separate ring from NT or usermode)

#

in theory Microsoft could have done a funny build of NT that boots to bash

placid kraken
#

yall wtf is this this saying 😭

#

i cannot fucking decode what it's trying to say

harsh junco
river torrent
#

i love the built-in hand warmer my iphone has!

#

apple is so innovative

hasty ruin
#

thank swiftui for that 😃

orchid fulcrum
#

That feeling when you are searching for something in UIKit but all articles cover the SwifUI counterparts woeis

vivid dew
river torrent
#

theoretically couldn't some dickhead

#

make a tweak that changes ur iphone passcode

#

and locks u out

hasty ruin
#

yes but they could do much worse so what’s the point

river torrent
#

jailbreaking sounds so risky now wtf

manic forum
#

it could delete system files, steal your credentials (potentially), steal your photos, browsing history, location, or really do anything

#

this is the reason why banking apps also don't usually run on jailbroken devices unless you bypass their checks

#

when you jailbreak your device you're fully trusting everyone involved in the development of that jailbreak and the packages installed by it to not do anything malicious or sketchy

river torrent
#

sheesh im aware it could do that but never had to process that in my head

harsh junco
manic forum
weary heath
orchid fulcrum
#

This is why i think chariz/havoc etc should request source of the tweak and make it go through some detectors/manual review

#

Then again i have never come across such a case

fading shell
#

I would support this although Chariz already does review tweaks manually

orchid fulcrum
#

right, but with questionable efficiency since they don't have the source code. imo

cloud yacht
#

I mean you could give the source code but compile a different version

orchid fulcrum
#

true lol

#

they can check hashes then

fading shell
cloud yacht
#

yeah theres some super cursed projects to build

orchid fulcrum
fading shell
cloud yacht
#

yeah and also you probably get a different binary when changing one of many different things

fading shell
#

You can't just check the binary if you want to be serious about it

#

As seen with xz

cloud yacht
#

yeah that too

fading shell
#

But at that point they can just compile it

#

And ship their version

cloud yacht
#

I mean xz was being compiled by other people

fading shell
#

But that would be a lot of effort

cloud yacht
#

if we could build like a docker image with the tools to build, and then make sure devs use that you could maybe make it pheasable.

#

but good luck getting devs to change

fading shell
#

Different code requires different build configurations

#

So one docker image for all would not work

#

Maybe if you sent them your own docker image

cloud yacht
#

if you still have makefile control you could probably make it work

fading shell
#

That could work

cloud yacht
#

but still annoying

cloud yacht
#

can you just not bundle them with the tweak/as submodules?

#

or does it not work that way?

fading shell
#

Well you need the headers in your $THEOS dir

#

To use them

#

Or include them somewhere else

#

Hmm

#

That's a bad habit though

orchid fulcrum
#

Yeah this is too much work for anyone obviously

cloud yacht
#

I mean sharing docker images has potential to go bad

#

you could just like put a crypto miner in there or malware of some sort

fading shell
cloud yacht
#

yeah

fading shell
#

That's the entire point of docker

cloud yacht
#

but it's not perfect

fading shell
#

Well you can configure your container to be able to modify files outside of the container

#

But like

#

There is no perfect solution

cloud yacht
#

it also has network access by default so if you have something on the network thats not secured it could be bad as well

granite frigate
#

it’s still better than letting random shell scripts run

#

so hm

gentle grove
#

who tf am i following

#

ken thompson?

#

how bad of a name is "scriptland" for a scripting language + runtime

gaunt pewter
hasty ruin
#

rust :/

slim bramble
gentle grove
pearl sail
slim bramble
#

I’d take the c8 z06

placid kraken
placid kraken
gaunt pewter
placid kraken
#

(optional)

acoustic imp
#

Happy b day @slim bramble

#

🎉

slim bramble
slim bramble
#

Thank you capt

pearl sail
#

cunt

#

the actual word is the slur I used yesterday

#

vette

hasty ruin
#

h

pearl sail
#

i

gentle grove
placid kraken
#

does anyone know how to get an internet connection to work on utm se for ipad

cloud yacht
#

Can you add a network adapter?

visual meadow
#

Yall think its possible to backport ios 18 imessage emoji reactions to 16

cloud yacht
#

Idk depends do you need to upgrade the entire iMessage protocal or can you just add the one feature? If it is upgrading the protocal, good luck not breaking imessage when switching to stock

gentle grove
#

@grave sparrow youre 195arded

hasty ruin
#

Mods

lusty jacinth
hasty ruin
#

What boba said

gentle grove
#

macos has decided i dont have a desktop anymore

#

how do people think this is the most stable os

#

windows is more stable

velvet path
gentle grove
#

if i fucked around with softwareupdate itd probably blow up too

velvet path
#

by poke I mean utilize it frequently

gentle grove
#

and for the record softwareupdate has blown itself up by me utilizing it frequently

#

so that isnt a windows thing

manic forum
hasty ruin
gentle grove
hasty ruin
#

literally the worst modern macOS version

gentle grove
gentle grove
hasty ruin
#

Catalina wasn’t even good

#

Mojave was though 👍

#

And Monterey 🤑

hasty ruin
faint timber
#

the worst fucking take on earth

gentle grove
#

i cant remember the last time i encounteted a 32 bit program

#

and i ran some program from like 2009 on my macbook a year ago

torn oriole
#

Not the first to kill 32bit

torn oriole
#

Oh

hasty ruin
torn oriole
#

(Fucking hell capt)

hasty ruin
torn oriole
#

Dude shut the fuck UP😭

#

It's not real

hasty ruin
torn oriole
#

If the existence of that edit leaks I'm literally a goner

#

At Capts mercy to confirm it's fake

gentle grove
#

this is unusable

#

takes a solid 60 seconds to load a page of docs

#

Now its just timing out

#

Guess ill read about libsox in the mean time

lusty jacinth
neon bear
#

yo, im trinna make an app but i will need a API server, i was thing of renting a VPS but idk where from, anyone has a recopmedation of any secure and perhaps cheep and eficients vps for APIS , thanku

tight carbon
neon bear
#

ty man , finna have it on my options, actually its really good

gentle grove
#

oeipo

torn oriole
gentle grove
#

can i execute this

torn oriole
#

Isn't that the [Redacted]

gentle grove
torn oriole
#

@grave sparrow it is right

gentle grove
#

wrong

#

i cannot execute it

#

or i dont think i can

#

can i execute arbitrary asm on android easily

torn oriole
#

Does it begin with a k

#

Noted

gentle grove
#

easily*

gentle grove
#

@grave sparrow buy this

pearl sail
#

@grave sparrow Boeing told me to break your kneecaps

indigo peak
#

then you’d finally have something long in your life

gentle grove
#

little endian?

gentle grove
#
class Foo {
    member: { x: number } | null;

    function foo() {
        if (this.member !== null) {
            this.bar(); // the compiler doesnt bother looking in here

            console.log(this.member.x); // this crashes, but the type system still thinks its non-null so it compiles
        }
    }

    function bar() {
        this.member = null;
    }
}; 
#

this is all you have to do to break typescript lmao

timid furnace
#

i mean

#

sure?

#

other languages would do the same thing

#

return types are one thing, no linter is gonna go check what a function call mutates

#
import dataclasses


@dataclasses.dataclass
class MemberClass:
    x: int


class Foo:
    def __init__(self):
        self.member: MemberClass | None = MemberClass(1)

    def foo(self):
        if self.member is not None:
            self.bar()

            print(self.member.x)

    def bar(self):
        self.member = None


foo = Foo()
print(foo.member)
foo.foo()
print(foo.member)
gentle grove
#

if you try to add a null check to the second one, it complains because the compiler thinks that it already knows this.member is not null\

gentle grove
#

python isnt pretending to do complete static checking there

#

python doesn't really check much but what it does check is correct

gentle grove
#
#[no_mangle]
pub unsafe extern "C" fn get_vec(out: *mut *mut u8) -> i64 {
    let mut data: Vec<u8> = vec![1, 2, 3];
    data.shrink_to_fit();
    *out = data.as_mut_ptr();
    let x = std::mem::ManuallyDrop::new(data);
    x.len() as i64
}

#[no_mangle]
pub unsafe extern "C" fn free_vec(data: *mut u8, length: usize) {
    let _ = unsafe { Vec::from_raw_parts(data, length, length) };
}

fn main() {
    let mut v = std::ptr::null_mut();
    let v_size = unsafe { get_vec(&mut v) };
    unsafe { free_vec(v, v_size as usize) };
}
#

and people think rust cant do c's bidding

placid kraken
#

that is so cursed

orchid fulcrum
#

What do you use to render

placid kraken
#

raylib

visual meadow
#

yall what emoji is this bro

harsh junco
#

the the the the the

clear iron
#

the the the the the

gentle grove
#

my ideas so far for testing are making a synthesizer, ytp, and now that

cloud yacht
#

Can it do Conway's game of life?

#

And at what point does it become a game engine instead of video editor

orchid fulcrum
placid kraken
#

how the heck are you gonna render the mandelbrot fractal in it

gentle grove
#

yeah maybe itd just be a filter

#

but the idea is you could make custom.filters

manic forum
#

> starts with the goal of making a programming language for videos
> makes a shader language trol

gentle grove
#

im trying to figure out how to design the api though

manic forum
#

seems to me like it's headed in that direction

gentle grove
#

should i have two layers where one is the actual editor api and the other is lower level ffmpeg wraps

grand tide
#

@indigo peak i found what’s causing jellyfish reborn to boot you into safemode

indigo peak
#

I found what it is too

#

I just never pushed a fix

grand tide
#

it happens when tweaks check drm servers on the home screen like reo

grand tide
indigo peak
#

ugh

#

I’m so lazy

grand tide
#

one day i guess

gentle grove
river torrent
#

I can't sign my .dylib for some reason
ldid.cpp(852): _assert(): false

#

I modified a .dylib binary cuz i wanted to change a string:

#

/var/lib/libgraphite.dylib

#

to

#

/var/mobile/Containers/Shared/AppGroup/.jbroot-2493B6D124AD5D04/var/mobile/Library/pkgmirror/usr/lib/libgraphite.dylib

weary heath
torn oriole
slim bramble
granite frigate
warped sky
gentle grove
#

so i can limit the scope a lot by just making it a clip multiplexer

#

my editor would just lrt you cut together the clips

#

then i add integrations for all kinds of things since thats the point

#

ffmpeg exists so i dont need to make muxers or codecs
manim (and others) exist so i dont need to implement my own graphics rendering system

#

But then that leaves me very little to actually do

#

but maybe thats enough for me to do

manic forum
#

new shader language

gentle grove
#

and also a blender integration

#

this would be so cool

#

Integrate all your stuff together

granite frigate
placid kraken
gentle grove
#

by definiting it not to be

#

since when does C specifically require fully supporting a specific architecture

#

(never)

#

the point is you can make a machine with 9 bit characters and implement c for it

river torrent
#

@torn oriole ^

#

are there any ways around it?

#

didn't know changing some text would be so complicated 😭

#

nah there's like a bunch of other strings around it I'll show

#

yeah i'll re-do ☠️

#

im trying to change a string

#

didn't know it would be this complicated

gentle grove
gentle grove
river torrent
#

the PATH of a library

river torrent
gentle grove
#

mach-o is dumb

#

whys there full paths

granite frigate
#

ok look

#

the easiest slution

#

add a symlink at /var/lib

river torrent
#

im already aware but i thought it was easy to just change a string

granite frigate
#

to your jbroot dylib

river torrent
gentle grove
#

i mean why are the object files full paths anyways instead of just the object name that gets loaded

#

macos is dumb

granite frigate
river torrent
#

alr W

gentle grove
#

it shouldnt pick the second one by default

#

on linux thats how it is

river torrent
#

i never rly needed a permanent solution, i just wanted to see if the tweak actually worked

#

ill create the symlink now tho

gentle grove
#

unless im wrong about this

#

but on linux my understanding is it's up to the whatever its called to resolve the actual path of the lib at execution time

#

ldconfig

#

and current dir isnt included by default i dont think

#

because security

gentle grove
#

yeah that seems right

#

whats wrong with letting the OS choose instead

#

then you can configure stuff if your layout isnt standard

#

perfect reason

#

can you override it easily to load the lib from a different path like on linux LD_LIBRARY_PATH

#

yeah but i think thats the main advantage of not having the full path

river torrent
#

ok so i created symlink

#

gonna reload tweak

gentle grove
#

name conflict? but that would basically only happen intentionally

#

hwo does it know what to change in the hardcoded path

#

/home/bbaovanc/mycustomlibpath/System/Library/Frameworks/Foundation.framework/Foundation

river torrent
#

Nope

gentle grove
#

how does ld-linux even work, does the kernel just automatically load the ld.so library into every process

#

because if not then how tf is it loaded

#

its the thing that loads

river torrent
#

and yes it exists

gentle grove
#

sorry not ld.so, thats just for a.out format

river torrent
#

alr gotchu

#

after my reboot userspace my symlink fucked up some reason

gentle grove
#

i have executed readelf

river torrent
#

ok so it's there