Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a wiki #28

Open
KINGSABRI opened this issue Apr 23, 2017 · 2 comments
Open

Create a wiki #28

KINGSABRI opened this issue Apr 23, 2017 · 2 comments

Comments

@KINGSABRI
Copy link

Feature request

As this script getting more attentions, each plugin has its own way and could need some research, of course.
The idea is, we create a wiki for each feature to explain the main issue and how to reproduce it manually. So, people who try to add or use these feature they will have a good understanding to build the same script with another language and add more features for existing scripts.

Expected behavior

To have something like knowledge base that explains each plugin/feature (not code) of mimipenguin

Reproduce Steps

To dump Linux memory for a specific process to disk, we need the following:

Gdm

  1. Get process id (PID): /proc/[PID]/cmdline
    cmdline is file holds the complete command line for the process.
  2. Get PID maps: /proc/[PID]/maps
    maps is file containing the currently mapped memory regions and their access permissions.
  3. Get processes memory pages: /proc/[PID]/mem
    mem is a file can be used to access the pages of a process's memory through

search for ^.+libgck\-1\.so\.0$ in memory dump

@Oxicode
Copy link

Oxicode commented Jun 5, 2017

+1

@bcoles
Copy link
Contributor

bcoles commented Mar 12, 2018

I noticed the wiki hasn't been created yet, so here's some notes for gnome-keyring and LightDM.

Note that the steps provided are simply to verify the issue and may differ slightly to the techniques used in mimipenguin.

gnome-keyring

Steps to reproduce:

# gcore $(pgrep gnome-keyring)
# strings core.* | grep -E '^.+libgck\-1\.so\.0$' -B 10 -A 10

LightDM

Steps to reproduce:

# gcore $(ps -eo pid,command | grep lightdm | grep session-child | awk -F ' ' '{ print $1 }')
# strings core.* | grep -E '^_pammodutil_getspnam_' -A1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants