Skip to content

Tiny guide for NPM and VSC? #94

@IlluminatiWave

Description

@IlluminatiWave

I wanted to install the NPM version to be able to access the Frida syntax in a typescript script, but I had problems.

  1. There is no way to run the module from the global environment (npm install -g frida).

  2. Install it in the “project” (I had to create a new folder just for the script and convert it to vsc project) it detects it, but it doesn't find the syntax.

I tried using

import * as frida from 'frida';

but it tells me that

The property 'Process' does not exist in type 'typeof import(“d:/New folder (2)/node_modules/frida/dist/index”)'.ts(2339)

in short, I cannot access the simple

const module = Process.findModuleByName(moduleName);

because it does not exist, either process or findModuleByName inside the npm module.

PS D:\New folder (2)> npm list --depth=0
New folder (2)@ D:\New folder (2)
├── [email protected]
└── [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions