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.
dhuls
Scratcher
1000+ posts

Mac

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?



Templates:

Doesn't belong in the ATs:
Unfortunately, this post does not belong in the Advanced Topics. Please report your post, and in the box type the following:
Please move this post to ‘Thinks I’m Making or Creating' or ‘Show and Tell’
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?

meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
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)


meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
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.



Templates:

Doesn't belong in the ATs:
Unfortunately, this post does not belong in the Advanced Topics. Please report your post, and in the box type the following:
Please move this post to ‘Thinks I’m Making or Creating' or ‘Show and Tell’
uwv
Scratcher
100+ 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 don't have issues i swear
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.



Templates:

Doesn't belong in the ATs:
Unfortunately, this post does not belong in the Advanced Topics. Please report your post, and in the box type the following:
Please move this post to ‘Thinks I’m Making or Creating' or ‘Show and Tell’

Powered by DjangoBB

Standard | Mobile