Required tools for playing around with memory:
hexdumpobjdumpreadelfxxdgcore
| . | |
| .. | |
| ........ | |
| @ | |
| * | |
| *.* | |
| *.*.* | |
| 🎠|
namespaces - overview of Linux namespaces http://man7.org/linux/man-pages/man7/namespaces.7.html
mount_namespaces - overview of Linux mount namespaces
| # FLEA | |
| ''' | |
| n, l mod 2^t depend only on p,q mod 2^t. | |
| So we can recover p,q bit-by-bit from LSB. | |
| Given p mod 2^t, q mod 2^t = (n / p) mod 2^t is unique. | |
| Ideally, l would give 1/2^t filter, | |
| but here it gives a bit less and we get up to 2000 candidates in the end. | |
| ''' | |
| from libnum import * |
| #!/usr/bin/env python | |
| # Copyright (c) 2012-2018 CORE Security Technologies | |
| # | |
| # This software is provided under under a slightly modified version | |
| # of the Apache Software License. See the accompanying LICENSE file | |
| # for more information. | |
| # | |
| # Gets logged on users via NetrWkstaUserEnum (requires admin on targets). | |
| # Mostly adapted from netview.py and lookupsid.py | |
| # |