-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
daniel baier
committed
Feb 11, 2022
1 parent
f0c405e
commit 6421345
Showing
7 changed files
with
537 additions
and
47 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Create release build | ||
|
||
In order to create a standalone friTap.py script we ensure at first that the used frida Javascript is on its latest version | ||
|
||
```bash | ||
cd <friTap repo> | ||
frida-compile agent/ssl_log.ts -o _ssl_log.js | ||
``` | ||
|
||
next we invoke the `createRelease.py` script in order to create a friTap.py standalone version: | ||
```bash | ||
cd <friTap repo>/release | ||
./createRelease.py | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
|
||
import os | ||
import stat | ||
|
||
template_index=30 | ||
release_string="./friTap.py" | ||
|
||
def main(): | ||
with open('../_ssl_log.js') as js_File: | ||
frida_js_code = js_File.readlines() | ||
|
||
with open("./friTap_release_template.py", "r") as f: | ||
contents = f.readlines() | ||
|
||
contents.insert(template_index, frida_js_code) | ||
|
||
with open(release_string, "w") as f: | ||
for lines in contents: | ||
f.write("".join(str(line) for line in lines)) | ||
|
||
st = os.stat(release_string) | ||
os.chmod(release_string, st.st_mode | stat.S_IEXEC) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
Oops, something went wrong.