socket activity #fix
This commit is contained in:
parent
2b87e7e6bc
commit
0dd0f51bf2
@ -69,8 +69,8 @@
|
|||||||
```js
|
```js
|
||||||
Module.enumerateExportsSync(
|
Module.enumerateExportsSync(
|
||||||
// finding socket module path
|
// finding socket module path
|
||||||
Process.enumerateModulesSync().filter(function(m){·
|
Process.enumerateModulesSync().filter(function(m){
|
||||||
return m.name === { linux: 'libc.so', darnwin: 'libSystem.B.dylib', windows: 'ws2_32.dll' }[Process.platform]
|
return m.name === { linux: 'libc.so', darwin: 'libSystem.B.dylib', windows: 'ws2_32.dll' }[Process.platform]
|
||||||
})[0].path
|
})[0].path
|
||||||
).forEach(function(ex){
|
).forEach(function(ex){
|
||||||
if (
|
if (
|
||||||
@ -106,8 +106,8 @@ Android example
|
|||||||
Java.perform(function(){
|
Java.perform(function(){
|
||||||
Module.enumerateExportsSync(
|
Module.enumerateExportsSync(
|
||||||
// finding socket module path
|
// finding socket module path
|
||||||
Process.enumerateModulesSync().filter(function(m){·
|
Process.enumerateModulesSync().filter(function(m){
|
||||||
return m.name === { linux: 'libc.so', darnwin: 'libSystem.B.dylib', windows: 'ws2_32.dll' }[Process.platform]
|
return m.name === { linux: 'libc.so', darwin: 'libSystem.B.dylib', windows: 'ws2_32.dll' }[Process.platform]
|
||||||
})[0].path
|
})[0].path
|
||||||
).forEach(function(ex){
|
).forEach(function(ex){
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user