ptswarm / reflutter Goto Github PK
View Code? Open in Web Editor NEWFlutter Reverse Engineering Framework
License: GNU General Public License v3.0
Flutter Reverse Engineering Framework
License: GNU General Public License v3.0
Hi,
I wanted to let you know that while testing reFlutter (with @alximw) on Android 9/10 on an x86/x64 emulator, we realised that the call to Syslog::PrintErr
was leading to a crash. The reason for the crash has been detailed here and a fix has already been released by the Dart maintainers. Sadly their policy is to update only the latest branch. An idea to avoid the bug in new and old releases would be to rely on OS::PrintErr
instead.
SnapshotHash: d56742caf7b3b3f4bd2df93a9bbb5503
appname: Stepn
Platform: ios
version: 14.8
Here is what I did:
Extracted the IPA from the jailbroken iOS device [Damp original file with crackerXI]
Used the command reflutter app.ipa and entered my laptop's local IP
Got the modified IPA file. Installed it in the iOS device using AppSync Unified
While opening the application, it crashes on startup/ does not startup at all
First of all: Great project, thank you very much! ❤️
I'm using Frida to hook some functions in libflutter.so. In productive Flutter-based Android apps the symbols are missing, so you have to manually find the functions you want to hook in Ghidra. I was hoping that reflutter would not strip libflutter.so, but I just noticed that the symbols are also missing.
Since you compile it, you should be able to control the stripping. Could you disable it? This would make reverse-engineering a lot easier and I don't see any disadvantages.
Thanks!
Hi, thx for the great project. I was working on a use case, where Flutter has to be forced to use a real HTTP proxy (instead of silently redirecting to a transparent proxy).
I want to share my patch for info, maybe sbdy could use it (targets Dart's HttpClient
implementation, enforces proxy and prevents overwriting it via findProxy
setter):
Here's a short Twitter thread, showing it applied to a target app:
https://twitter.com/mame82/status/1459157357989187592
Hi there
Seems the dart code is executed by VM, so even if we know the code offset, how can we read that? is there any guidance on how to read?
Example: (192.168.1.154) etc.
Please enter your BurpSuite IP: 192.168.1.2
63ca99584a1aef79722b2a7c6414570b54416bab
I got this message when try to reflutter file apk. Could you help me to check it?
I believe that is missing build engine for this version.
Maybe only the String parameter
Hello,
I got this error when trying to run:
reflutter app.apk
Engine SnapshotHash: e7ad14f921786dbf76b9add4b0a5c950
This engine is currently not supported.
Most likely this flutter application uses the Debug version engine which you need to build manually using Docker at the moment.
More details: https://github.com/ptswarm/reFlutter
What can I do about this situation?
Hi, this project is quite awesome!
I have tried some android app built with flutter, but they just crashed without any log tagged with "reflutter" after I modified them using this tool. Surely I have use uber-apk-signer mentioned in the guide to align and sign the apk.
Here are some apps using flutter I found in github to test this tool, do I make something wrong about the usage of this tool?
Moss: https://github.com/Sky24n/Moss/releases/tag/v1.0.0
Pixez: https://github.com/Notsfsssf/pixez-flutter/releases/tag/0.7.6
Thanks for your time to read this!
I want to use socket5 for proxy, how can I do it, thank you
This project is awesome! I'd like to do some libflutter.so
patching myself, but I'm not sure what the correct procedure is.
I've got the Docker container set up, and it seems like the code I want to edit is in /customEngine
, but it's unclear to me how to proceed. Is there an explanation of your original patching technique (for dumping the Dart classes, etc.)? Or are there any plans to expand the Docker usage explanation?
Edit: So apparently the Docker container automatically builds libflutter
after the wait time specified in the docker run
command. The resulting libflutter
builds will be in the directory (on the host machine) where you ran docker run
.
Morning, trying to figure out the usage of your tool.
I found it very useful and wish you all the best in further app improvements.
Only one issue I've found is:
The example usage of the tool is quite difficult to understand for the users that didn't work with Burp Suite.
For example:
What IP should I insert here:
Please enter your Burp Suite IP:
I've tried:
127.0.0.1
10.0.2.15
192.168.*.*
The reason why am I asking about that is:
When I run:
adb logcat -e reflutter | sed 's/.*DartVM//' >> reflutter.txt
and launch the signed apk file:
release.RE-aligned-debugSigned.apk
on my Emulator I don't see any logs in reflutter.txt
;
What did I do wrong?
Thank you
hello and thank you for sharing your great work,
Is it possible to change the code in base64Decode (https://github.com/dart-lang/sdk/blob/main/sdk/lib/convert/base64.dart)
so it print the input ( string)?
Can you please share steps to modify the code in the method base64Decode and re build the apk ?
Regards
Hi, Thank you for providing such an awesome project.
I tried to intercept the flutter based iOS applications however, after installation of the modified IPA file, the application crashes on launch.
Here is what I did:
reflutter app.ipa
and entered my laptop's local IPEverythning seems to work, i reproduced the app using reflutter main.apk
, and signed the apk.
I can intercept the first request, but the app is stuck on the first screen (waiting for a response from server before continuing)
I can see some code in the reflutter.txt file, but it's not enough since I can't access the rest of the app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.