Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v8_script_compiler_compile_function_internal not found #27

Closed
bestK opened this issue Nov 30, 2023 · 1 comment
Closed

v8_script_compiler_compile_function_internal not found #27

bestK opened this issue Nov 30, 2023 · 1 comment

Comments

@bestK
Copy link

bestK commented Nov 30, 2023

PS D:\tools\v8killer> D:\tools\v8killer\v8killer.ps1
[*] Executable: C:\Users\WIN10\AppData\Local\nvs\cache\node.exe
[*] Args: ["D:\\tools\\v8killer\\js\\hello_world.js"]
[*] Core lib path: D:\tools\v8killer\v8_killer_core.dll
[*] Creating process.
[*] PID: 20268
[*] Alloc core lib path memory.
[*] Remote lib path memory Address: 0x180c97b0000.
[*] Writing core lib path to process.
[*] Getting LoadLibraryW address.
[*] Creating remote thread.
[*] Core lib inject success. Waiting for thread end.
[*] V8_KILLER_CONFIG_FILE_PATH: D:\tools\v8killer\config\demo.toml
[*] Read Config success
[*] Config: Config { identifiers: Identifiers { V8_SCRIPT_COMPILER_COMPILE_FUNCTION_INTERNAL: [SymbolIdentifier(SymbolIdentifier { symbols: ["_ZN2v814ScriptCompiler23CompileFunctionInternalENS_5LocalINS_7C
ontextEEEPNS0_6SourceEmPNS1_INS_6StringEEEmPNS1_INS_6ObjectEEENS0_14CompileOptionsENS0_13NoCacheReasonEPNS1_INS_14ScriptOrModuleEEE", "?CompileFunctionInternal@ScriptCompiler@v8@@CA?AV?$MaybeLocal@VFunctio
n@v8@@@2@V?$Local@VContext@v8@@@2@PEAVSource@12@_KQEAV?$Local@VString@v8@@@2@2QEAV?$Local@VObject@v8@@@2@W4CompileOptions@12@W4NoCacheReason@12@PEAV?$Local@VScriptOrModule@v8@@@2@@Z"] })], V8_STRING_UTF8LE
NGTH: [SymbolIdentifier(SymbolIdentifier { symbols: ["_ZNK2v86String10Utf8LengthEPNS_7IsolateE", "?Utf8Length@String@v8@@QEBAHPEAVIsolate@2@@Z"] })], V8_STRING_WRITE_UTF8: [SymbolIdentifier(SymbolIdentifie
r { symbols: ["_ZNK2v86String9WriteUtf8EPNS_7IsolateEPciPii", "?WriteUtf8@String@v8@@QEBAHPEAVIsolate@2@PEADHPEAHH@Z"] })], V8_CONTEXT_GET_ISOLATE: [SymbolIdentifier(SymbolIdentifier { symbols: ["_ZN2v87Co
ntext10GetIsolateEv", "?GetIsolate@Context@v8@@QEAAPEAVIsolate@2@XZ"] })], V8_STRING_NEW_FROM_UTF8: [SymbolIdentifier(SymbolIdentifier { symbols: ["_ZN2v86String11NewFromUtf8EPNS_7IsolateEPKcNS_13NewString
TypeEi", "?NewFromUtf8@String@v8@@SA?AV?$MaybeLocal@VString@v8@@@2@PEAVIsolate@2@PEBDW4NewStringType@2@H@Z"] })] }, rules: {"hook_console_log": ConfigRule { matcher: ResourceNameKeyword(ResourceNameKeyword
Matcher { keyword: "hello_world.js" }), processors: [InsertBefore(InsertBeforeProcessor { content: "const originalConsoleLog = console.log\n    console.log = function () {\n      originalConsoleLog('now yo
u see :)')\n      return originalConsoleLog.apply(this, arguments)\n    }" }), InsertAfter(InsertAfterProcessor { content: "console.log = originalConsoleLog\n    " })] }} }
[-] v8_script_compiler_compile_function_internal not found
[*] Thread ended. Resume original thread.
[*] --- Following is the original process output ---
hello world

PS D:\tools\v8killer> 
// hello_world.js
console.log("hello world")
# PowerShell
$env:V8_KILLER_CONFIG_FILE_PATH = "D:\tools\v8killer\config\demo.toml"
.\v8_killer_launcher.exe  "C:\Users\WIN10\AppData\Local\nvs\cache\node.exe"   "D:\tools\v8killer\js\hello_world.js" 
@bestK
Copy link
Author

bestK commented Nov 30, 2023

#18

@bestK bestK closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant