Skip to content

Commit

Permalink
Release v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hyugogirubato committed Jul 29, 2023
1 parent 1ccbaa3 commit 85d49d4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.1] - 2023-07-29

### Fixed

- **Native**: Added multi-thread support for base64 conversion.

## [1.1.0] - 2023-06-27

### Added
Expand Down Expand Up @@ -44,6 +50,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- Initial Release.

[1.1.1]: https://github.com/hyugogirubato/Frida-CodeShare/releases/tag/v1.1.1
[1.1.0]: https://github.com/hyugogirubato/Frida-CodeShare/releases/tag/v1.1.0
[1.0.3]: https://github.com/hyugogirubato/Frida-CodeShare/releases/tag/v1.0.3
[1.0.2]: https://github.com/hyugogirubato/Frida-CodeShare/releases/tag/v1.0.2
Expand Down
13 changes: 7 additions & 6 deletions scripts/android-native/native.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**@@@+++@@@@******************************************************************
**
** Android Native Interceptor frida script v1.4 hyugogirubato
** Android Native Interceptor frida script v1.5 hyugogirubato
**
** frida -D "DEVICE" -l "native.js" -f "PACKAGE"
**
** Update: Added "UUID" support for hex format.
** Update: Added multi-thread support for base64 conversion.
**
***@@@---@@@@******************************************************************
*/
Expand All @@ -20,7 +20,6 @@ const FUNCTION = true; // attach functions


let index = 0; // color index
const BASE64 = Java.use("java.util.Base64");
const COLORS = {
red: '\x1b[31m',
green: '\x1b[32m',
Expand Down Expand Up @@ -113,9 +112,11 @@ const showVariable = (address, colorKey, argIndex = 0, hexValue = false) => {
}

// Base64
const byteBuffer = Java.array("byte", byteArrayView);
const base64Data = BASE64.getEncoder().encodeToString(byteBuffer);
console.log(`${colorKey} --> [${argIndex}] Base64: ${base64Data}${COLORS.reset}`);
Java.perform(function () {
const byteBuffer = Java.array("byte", byteArrayView);
const base64Data = Java.use("java.util.Base64").getEncoder().encodeToString(byteBuffer);
console.log(`${colorKey} --> [${argIndex}] Base64: ${base64Data}${COLORS.reset}`);
});
}
}
}
Expand Down

0 comments on commit 85d49d4

Please sign in to comment.