Skip to content

Commit

Permalink
0x6c - Add section Loaded Native Libraries
Browse files Browse the repository at this point in the history
Closes #1370
  • Loading branch information
cpholguera authored Oct 22, 2021
1 parent b78ac7f commit c01ac80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Document/0x06c-Reverse-Engineering-and-Tampering.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ iOweApp 2828 mobile txt REG 1,2 664848 234595 /usr/lib/dyld
...
```

#### Loaded Native Libraries
The file `/proc/<pid>/maps` contains the currently mapped memory regions and their access permissions. Using this file we can get the list of the libraries loaded in the process.

#### Open Connections

`lsof` command when invoked with option `-i`, it gives the list of open network ports for all active processes on the device. To get a list of open network ports for a specific process, the `lsof -i -a -p <pid>` command can be used, where `-a` (AND) option is used for filtering. Below a filtered output for PID 1 is shown.
Expand Down

0 comments on commit c01ac80

Please sign in to comment.