Created
February 5, 2017 01:15
-
-
Save radare/3bb3a15f9209df7bf3127e1bcb700c85 to your computer and use it in GitHub Desktop.
radare2 + nodejs function list (1m15s on ntdll.dll)
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
const r2pipe = require("r2pipe"); | |
r2pipe.open('Downloads/ntdll/ntdll.dll', (err, r2) => { | |
r2.cmd('aa', (err) => { | |
r2.cmdj('aflj', (err, res) => { | |
let total = res.length; | |
for(let f of res) { | |
r2.cmdj('pdrj @ ' + f.name, (err, res) => { | |
if (--total < 1) { | |
r2.quit(); | |
} | |
}); | |
} | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment