GTFOBins.github.io/_gtfobins/ssh-keyscan.md

18 lines
392 B
Markdown
Raw Normal View History

2020-11-12 13:21:00 +00:00
---
description: |
2020-12-20 19:44:24 +00:00
The file content is actually parsed so only a part of each line is returned as a part of an error message.
2020-11-12 13:21:00 +00:00
functions:
file-read:
- code: |
LFILE=file_to_read
ssh-keyscan -f $LFILE
2020-11-12 13:21:00 +00:00
suid:
- code: |
LFILE=file_to_read
./ssh-keyscan -f $LFILE
2020-11-12 13:21:00 +00:00
sudo:
- code: |
LFILE=file_to_read
sudo ssh-keyscan -f $LFILE
2020-11-12 13:21:00 +00:00
---