Home

Awesome

frida-fs

Create a stream from a filesystem resource.

Example

const fs = require('frida-fs');

fs.createReadStream('/etc/hosts').pipe(networkStream);
const fs = require('frida-fs');

for (const elm of fs.list("/proc/self/")) {
  console.log(JSON.stringify(elm));
}

console.log(fs.readFileSync("/etc/hosts"));