Discuss Scratch

HeHeTeeHeeHee
Scratcher
100+ posts

Mac

Chiroyce wrote:

scratchusername40 wrote:

it still has code, just low-level code

HeHeTeeHeeHee wrote:

does apple obfuscate code? I wanna reverse engineer an iPad OS application, just for fun….
they intended to find the source code obfuscated, and wanted to unobfuscate it. obfuscated code ≠ low-level code


like 1010101010101010 (binary code) or just some low level language which in reality is a high level language (Such as C++ or C)

HeHeTeeHeeHee wrote:

i'm brain dead aren't i
i usually use advanced topics or help with scripts but sometimes i can be found in things i'm playing and reading
dhuls
Scratcher
1000+ posts

Mac

HeHeTeeHeeHee wrote:

(#1101)

Chiroyce wrote:

scratchusername40 wrote:

it still has code, just low-level code

HeHeTeeHeeHee wrote:

does apple obfuscate code? I wanna reverse engineer an iPad OS application, just for fun….
they intended to find the source code obfuscated, and wanted to unobfuscate it. obfuscated code ≠ low-level code


like 1010101010101010 (binary code) or just some low level language which in reality is a high level language (Such as C++ or C)
Probably Swift, maybe C, C++, Objective-C and some others.
Note that the languages above are natively compiled to machine code and as such, may not be decompilable like Java.

Unix StackExchange wrote:

So you had a cow, but you inadvertently converted it to hamburger, and now you want your cow back.

Sorry, it just doesn't work that way.

You can decompile the binary. That won't give you your source code, but it'll give you some source code with the same behavior. You won't get the variable names unless it was a debug binary. You won't get the exact same logic unless you compiled without optimizations. Obviously, you won't get comments.
Not to mention it's probably obfuscated before compiling
scratchusername40
Scratcher
1000+ posts

Mac

dhuls wrote:

(#1102)

HeHeTeeHeeHee wrote:

(#1101)

Chiroyce wrote:

scratchusername40 wrote:

it still has code, just low-level code

HeHeTeeHeeHee wrote:

does apple obfuscate code? I wanna reverse engineer an iPad OS application, just for fun….
they intended to find the source code obfuscated, and wanted to unobfuscate it. obfuscated code ≠ low-level code


like 1010101010101010 (binary code) or just some low level language which in reality is a high level language (Such as C++ or C)
Probably Swift, maybe C, C++, Objective-C and some others.
Note that the languages above are natively compiled to machine code and as such, may not be decompilable like Java.

Unix StackExchange wrote:

So you had a cow, but you inadvertently converted it to hamburger, and now you want your cow back.

Sorry, it just doesn't work that way.

You can decompile the binary. That won't give you your source code, but it'll give you some source code with the same behavior. You won't get the variable names unless it was a debug binary. You won't get the exact same logic unless you compiled without optimizations. Obviously, you won't get comments.
Not to mention it's probably obfuscated before compiling
still technically code, this man said:

Chiroyce wrote:

there is no code involved in running an app


















Chiroyce
Scratcher
1000+ posts

Mac

scratchusername40 wrote:

still technically code, this man said

Chiroyce wrote:

there is no code involved in running an app
i meant source code that is obfuscated (like how JavaScript is run in browsers, the bundle is obfusacated when it is sent to the browser)







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
Jonathan50
Scratcher
1000+ posts

Mac

I don't really expect it's normal practice to obfuscate code prior to compiling it. Not that I have an annual revenue of $10^100000; just try it.

Not yet a Knight of the Mu Calculus.
b1048546
Scratcher
1000+ posts

Mac

dhuls wrote:

RIP iPod
This topic is called “Mac”.
scratchusername40
Scratcher
1000+ posts

Mac

dhuls wrote:

(#1106)
RIP iPod
much better link

Also i tried to send imessages using the osa-imessage npm package today and it didn't work, just a bunch of errors :​(
Anyone else have the same experience?


















MagicCrayon9342
Scratcher
1000+ posts

Mac

scratchusername40 wrote:

dhuls wrote:

(#1106)
RIP iPod
much better link

Also i tried to send imessages using the osa-imessage npm package today and it didn't work, just a bunch of errors :​(
Anyone else have the same experience?
You probably need to a valid phone number owned by you to do it. And a SIM card in your Mac?

kccuber
Scratcher
1000+ posts

Mac

MagicCrayon9342 wrote:

You probably need to a valid phone number owned by you to do it. And a SIM card in your Mac?
Where on the Mac order page do you see an option for a SIM card?


Made using Nord Theme & Inkscape
scratchusername40
Scratcher
1000+ posts

Mac

MagicCrayon9342 wrote:

(#1109)

scratchusername40 wrote:

dhuls wrote:

(#1106)
RIP iPod
much better link

Also i tried to send imessages using the osa-imessage npm package today and it didn't work, just a bunch of errors :​(
Anyone else have the same experience?
You probably need to a valid phone number owned by you to do it. And a SIM card in your Mac?
no it's imessage (you can only text apple devices but it doesn't need a cell connection)


















god286
Scratcher
1000+ posts

Mac

scratchusername40 wrote:

dhuls wrote:

(#1106)
RIP iPod
much better link

Also i tried to send imessages using the osa-imessage npm package today and it didn't work, just a bunch of errors :​(
Anyone else have the same experience?
You need a phone number and you need it to be activated with iMessage. Also you will probably need to use the iMessage app for a minute first?

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
b1048546
Scratcher
1000+ posts

Mac

b1048546 wrote:

dhuls wrote:

RIP iPod
This topic is called “Mac”.
scratchusername40
Scratcher
1000+ posts

Mac

god286 wrote:

(#1112)

scratchusername40 wrote:

dhuls wrote:

(#1106)
RIP iPod
much better link

Also i tried to send imessages using the osa-imessage npm package today and it didn't work, just a bunch of errors :​(
Anyone else have the same experience?
You need a phone number and you need it to be activated with iMessage. Also you will probably need to use the iMessage app for a minute first?
For one thing, you don't need a phone number or a phone at all, you can do it with an email address, and btw I've been using imessages for a long time
Also i think i figured out the problem. you need to have python installed because somehow an npm package uses python


















god286
Scratcher
1000+ posts

Mac

scratchusername40 wrote:

For one thing, you don't need a phone number or a phone at all, you can do it with an email address, and btw I've been using imessages for a long time
Wow that's cool. Does that mean that we can technically make Windows/Linux iMessage client?

Also bye bye Python for macOS 12.3

Last edited by god286 (May 13, 2022 09:55:04)


Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
scratchusername40
Scratcher
1000+ posts

Mac

god286 wrote:

(#1115)

scratchusername40 wrote:

For one thing, you don't need a phone number or a phone at all, you can do it with an email address, and btw I've been using imessages for a long time
Wow that's cool. Does that mean that we can technically make Windows/Linux iMessage client?
you have to run the package on a mac. Also somehow the package doesn't work on mine. I guess you could like connect to a server which was a mac and then the server could send the messages


















kccuber
Scratcher
1000+ posts

Mac

god286 wrote:

Also bye bye Python for macOS 12.3
Correction: Python 2*
Python 3 is still there in MacOS, and you could always just download it from the Python website again.


Made using Nord Theme & Inkscape
MagicCrayon9342
Scratcher
1000+ posts

Mac

kccuber wrote:

god286 wrote:

Also bye bye Python for macOS 12.3
Correction: Python 2*
Python 3 is still there in MacOS, and you could always just download it from the Python website again.
Python 3 included in Windows, how amazing would that be.

uwv
Scratcher
1000+ posts

Mac

god286 wrote:

(#1115)
Wow that's cool. Does that mean that we can technically make Windows/Linux iMessage client?
assuming you have a mac lying around, yes.

i use arch linux (btw) with the linux zen kernel and enjoy writing silly things in silly languages using silly frameworks
MagicCrayon9342
Scratcher
1000+ posts

Mac

uwv wrote:

god286 wrote:

(#1115)
Wow that's cool. Does that mean that we can technically make Windows/Linux iMessage client?
assuming you have a mac lying around, yes.
Save up $1000 then you can do it! Assume most don't have a mac lying around.

Powered by DjangoBB