-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Showing
5 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
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,3 @@ | ||
all: | ||
r2 -e cfg.fortunes=false -q -i train.r2 /bin/ls > ops.kv | ||
cat test.txt | r2pm -r r2ai |
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,3 @@ | ||
-m Undi95/Utopia-13B-GGUF | ||
-i ops.kv read this as bytes=disassembly for an arm64 program, and tell me how can i encode a nop | ||
decode every bit of the mov instruction |
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,4 @@ | ||
e asm.offset=0 | ||
e asm.flags=0 | ||
e asm.sub.names=0 | ||
pId $SS| sort -u | awk '{$1=$1;print}' | sed -e 's, ,=,' |
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,16 @@ | ||
(function() { | ||
const dir = r2.cmd("%SRCDIR").trim(); | ||
if (dir === "") { | ||
console.error("Environment %SRCDIR not defined"); | ||
return; | ||
} | ||
const ai = new R2AI() | ||
ai.setRole("You are developer writing documentation for Frida scripts to be read by users. Your explanation shouldn't be longer than one paragraphs"); | ||
// console.log(ai.query("Hello World")) | ||
const files = r2.callj("ls -j " + dir); | ||
const listing = files.map ((x) => x.name).filter((x) => x.endsWith('.ts')).map((x) => dir + '/' + x); | ||
for (let fileName of listing) { | ||
const desc = ai.queryFile(fileName, "explain in few words what's this probe doing").split(/\n/)[0]; | ||
console.log(fileName + ":\n " + desc); | ||
} | ||
})(); |
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,3 @@ | ||
-m Undi95/Utopia-13B-GGUF | ||
-r act as a translator tool that takes my sentences in english and you translate it to japanese phoneme transcription instead of kanjis. this is not a conversation. you should also tell me how can i pronunce it using english phonemes | ||
good morning |